New Feature: Independant Loco Brake

Go down

New Feature: Independant Loco Brake

Post by leezer3 on Mon May 28, 2018 10:01 pm

https://vps.bvecornwall.co.uk/OpenBVE/Builds/OpenBVE-2018-09-07.zip


This is a (relatively basic) independant locomotive brake.
First, set the brake type in the #BRAKE section:
0- Not fitted
1- Notched brake handle
2- Automatic air brake


Second, set two further parameters in the #HANDLE section (after the previously added EbHandleBehaviour), which are as follows:

Number of notches. Note: This value is ignored if an automatic air brake is set.

Locomotive brake type. This should be one of the following types:
0- Combined- The brakes on the locomotive operate at the higher of the train brake and locomotive brake settings.
1- Independant- The locomotive brakes are independant of the train brakes.
2- Blocking- The locomotive brake blocks the train brakes at it's level.

To access this via Panel2.cfg, use the following subjects:
locobrake - Returns the current locomotive brake notch.
locobrakecylinder - Returns the brake cylinder pressure on the locomotive.

Animated files have one new variable:
locobrake - Returns the current locomotive brake notch.
To access the locomotive brake cylinder, please use the existing variable brakeCylinder[carIndex]

The included Train Editor will set these variables if you desire Smile


Last edited by leezer3 on Fri Sep 07, 2018 11:45 am; edited 2 times in total

leezer3

Posts : 1229
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Re: New Feature: Independant Loco Brake

Post by Quork on Wed May 30, 2018 12:20 pm

That's great news! However I'll have to add I've never seen a notched loco brake.

EDIT 1: I don't know why YouTube turned the video, but I just made one for you: https://youtu.be/CkQ5pNmm2Xc

EDIT 2: I just noticed most of my first post somehow got lost, so here it is:
The direct brake (in German usually called "Zusatzbremse" i.e. additional brake) is usually installed on locos and control cars. In all vehicles I know and all I've ever seen there are three settings: Release, hold and apply. The release and hold settings are always snapping positions, the apply setting usually not (I'm aware of two conterexamples: DB class 101 and one of the two basic types of InterCity control cars, but there are definitely more). You see those three settings in action in the video above, which is on a class 120 loco.
avatar
Quork

Posts : 1217
Join date : 2012-05-05
Age : 27
Location : Hofheim a.T., Hessen (Hesse), European Union

Back to top Go down

Re: New Feature: Independant Loco Brake

Post by leezer3 on Wed May 30, 2018 5:10 pm

Oh, I know Razz

Now in UK practice, notched brakes (locomotive or otherwise!) are normally only found on modern single-handle multiple units, and I can't think of one on a locomotive either Smile
For that matter, a large proportion of BVE trains using notched brakes should probably have a variable percentage handle or straight air brakes.

In this case however, notched brakes were the easiest to implement initially, especially as just about all the currently produced UK stuff (my main testbeds, and hence I know the most about the workings of these...) tends to use them.

UK practice (on first generation stuff after the initial cull of completely non-standard kit) is one of those maddening little rabbit-holes:
Locomotives generally speaking used air braking on the bogies, but the train brake was either vaccuum only or switchable between air and vaccuum.
The 'combined' mode is essentially a simplified version of the control system, but depending on the loco, there can be a whole bunch of interlocking with stuff like the AWS, reverser position, the other cab etc.
The handle itself is a standard self-lapping affair, with two fixed positions of Running (release) and Emergency, with the rest obviously being variable range brake application.

Manual (not mine):
http://locodocs.co.uk/brmanuals/DriversBrakingInstructions-33056-3-Issue1.htm

Implementing the air brake is on my list, but it ended up being easier to implement & test the notched variant first.
(Still need someone else to find the inevitable glaring logic holes in this one mind!)

leezer3

Posts : 1229
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Re: New Feature: Independant Loco Brake

Post by Quork on Wed May 30, 2018 7:09 pm

Oh, yeah, I remember, I had once set out to find some way of calculating the current brake force of air brakes... Maybe I should return to that one Laughing bom
avatar
Quork

Posts : 1217
Join date : 2012-05-05
Age : 27
Location : Hofheim a.T., Hessen (Hesse), European Union

Back to top Go down

Re: New Feature: Independant Loco Brake

Post by gcs7e7 on Sat Aug 25, 2018 3:59 pm

Hi!

I tried this new opportunity in one of my vehicles. The locomotive brake is displayed on the screen, but there is no brake during activation.

You can see the video:


gcs7e7

Posts : 2
Join date : 2018-08-25
Age : 19
Location : Budapest, Hungary

https://bveworks.wordpress.com/

Back to top Go down

Re: New Feature: Independant Loco Brake

Post by leezer3 on Mon Aug 27, 2018 6:58 pm

Any chance of a copy of the train.dat file please?
No need for anything else Smile

A video really doesn't tell me much about how you've setup the brake parameters.
My first immediate wondering would be if it doesn't like having a single car and loco brakes, but I need to see how it's setup to investigate.

leezer3

Posts : 1229
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Re: New Feature: Independant Loco Brake

Post by gcs7e7 on Thu Aug 30, 2018 1:11 am

Sorry, it's here: Smile

pastebin.com/TDeY002d

gcs7e7

Posts : 2
Join date : 2018-08-25
Age : 19
Location : Budapest, Hungary

https://bveworks.wordpress.com/

Back to top Go down

Re: New Feature: Independant Loco Brake

Post by leezer3 on Fri Sep 07, 2018 11:40 am

Apologies for the slight delay in getting back to this, been away.

Please try the following build, along with the updated instructions in the first post:
https://vps.bvecornwall.co.uk/OpenBVE/Builds/OpenBVE-2018-09-07.zip

I've tested this with your supplied train.dat (adding the additional parameter in the #brake section), and it now appears to work Smile
Again though, please remember that this is still marginally experimental, and the implementation should not be considered final.

leezer3

Posts : 1229
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Re: New Feature: Independant Loco Brake

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum