BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

New Feature: Independant Loco Brake

4 posters

Go down

New Feature: Independant Loco Brake Empty New Feature: Independant Loco Brake

Post by leezer3 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 : 1945
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

New Feature: Independant Loco Brake Empty Re: New Feature: Independant Loco Brake

Post by Quork 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.
Quork
Quork

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

Back to top Go down

New Feature: Independant Loco Brake Empty Re: New Feature: Independant Loco Brake

Post by leezer3 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 : 1945
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

New Feature: Independant Loco Brake Empty Re: New Feature: Independant Loco Brake

Post by Quork 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
Quork
Quork

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

Back to top Go down

New Feature: Independant Loco Brake Empty Re: New Feature: Independant Loco Brake

Post by gcs7e7 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 : 26
Join date : 2018-08-25
Age : 24
Location : Budapest, Hungary

https://facebook.com/bveworks/

Back to top Go down

New Feature: Independant Loco Brake Empty Re: New Feature: Independant Loco Brake

Post by leezer3 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 : 1945
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

New Feature: Independant Loco Brake Empty Re: New Feature: Independant Loco Brake

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

Sorry, it's here: Smile

pastebin.com/TDeY002d

gcs7e7

Posts : 26
Join date : 2018-08-25
Age : 24
Location : Budapest, Hungary

https://facebook.com/bveworks/

Back to top Go down

New Feature: Independant Loco Brake Empty Re: New Feature: Independant Loco Brake

Post by leezer3 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 : 1945
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

New Feature: Independant Loco Brake Empty Re: New Feature: Independant Loco Brake

Post by Manuel18 Sat Feb 02, 2019 5:28 pm



Testing my SNCF TGV Sud Est... I was unnable to trigger electromagnetic brake using my trainbrake in conclusion my train use just air brake...

Looks like LocoBrakeType on value '2' overrides TrainBrakeType to value '2'.

Anyway a Dynamic Brake isn't bad idea... Because exist soo many electric locomotives and diesel locomotives for OpenBVE than are using a "Combined Power/Brake handle" to solve the need of that brake.

Code:
#BRAKE
1              ; BrakeType
1              ; BrakeControlSystem
30             ; BrakeControlSpeed
2              ; LocoBrakeType (1.5.3.4+)
#PRESSURE
440            ; BrakeCylinderServiceMaximumPressure
440            ; BrakeCylinderEmergencyMaximumPressure
550            ; MainReservoirMinimumPressure
780            ; MainReservoirMaximumPressure
600            ; BrakePipeNormalPressure
#HANDLE
1              ; HandleType
10             ; PowerNotches
10             ; BrakeNotches
0              ; PowerNotchReduceSteps
0              ; EbHandleBehaviour (1.5.3.3+)
10             ; LocoBrakeNotches (1.5.3.4+)
2              ; LocoBrakeType (1.5.3.4+)
Manuel18
Manuel18

Posts : 75
Join date : 2012-10-18
Age : 29
Location : Caracas,Venezuela

Back to top Go down

New Feature: Independant Loco Brake Empty Re: New Feature: Independant Loco Brake

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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