☀ Tip: Train Editor |
You can use the Train Editor to more conveniently edit the train.dat. This page should still be used as a reference. However, you can also edit the train.dat manually if so desired. |
Version 1.22 is being used: | |
▶ | BVE1200000 BVE1210000 BVE1220000 |
Version 2.0 is being used (choose either one): | |
▶ |
BVE2000000 OPENBVE |
OpenBVE 1.5.3.0 is required: | |
▶ | OPENBVE1530 |
#NameOfTheSection |
#ACCELERATION |
This starts the section. |
a0, a1, v1, v2, e |
a0: A positive floating-point number representing the acceleration at a speed of 0 km/h expressed in km/h/s. a1: A positive floating-point number representing the acceleration at a speed of v1 expressed in km/h/s. v1: A positive floating-point number representing a reference speed in km/h corresponding to a1. v2: A positive floating-point number representing a reference speed in km/h corresponding to e. e: A positive floating-point number representing an exponent. The behavior is different for version 1.22 and version 2.0 file formats. |
Acceleration between 0 km/h and v1, where x is the current speed of the train in km/h: | |
ƒ | a0 + (a1 - a0) * x / v1 |
Acceleration between v1 and v2, where x is the current speed of the train in km/h: | |
ƒ | v1 * a1 / x |
For version 2.0: Acceleration above v2, where x is the current speed of the train in km/h: | |
ƒ | v1 * a1 * v2e-1 / xe |
Converting a version 1.22 exponent into a version 2.0 exponent: | |
ƒ | e2.0 = min(1 - v2 * log(e1.22) / log(9/4), 4) |
Example of an Acceleration section for 4 power notches: | |
▶ |
#ACCELERATION 0.77,0.39,7,7,1 1.96,1.96,24,24,3 1.96,1.96,52,52,3.4 1.96,1.96,52,83,2.7 |
#PERFORMANCE |
This starts the section. |
☀ | The following spelling variations can be used: |
#PERFORMANCE, DECELERATION |
Deceleration |
CoefficientOfStaticFriction |
Reserved |
CoefficientOfRollingResistance |
AerodynamicDragCoefficient |
Example of a Performance section: | |
▶ |
#PERFORMANCE 3.6 0.35 0 0.0025 1.1 |
#DELAY |
This starts the section. |
DelayPowerUp |
DelayPowerDown |
DelayBrakeUp |
DelayBrakeDown |
ⓘ Setting a delay for each notch |
From V1.5.3.4 onwards, a comma separated list may be used for any of the above parameters, supplying the delay values from Notch 0 upwards. If this list is shorter than the total number of notches, the last value will be used for all subsequent notches. |
Example of a Delay section: | |
▶ |
#DELAY 0.5 0 0.32 0.32 |
#MOVE |
This starts the section. |
JerkPowerUp |
JerkPowerDown |
JerkBrakeUp |
JerkBrakeDown |
BrakeCylinderUp |
BrakeCylinderDown |
Example of a Move section: | |
▶ |
#MOVE 500 3000 3000 500 200 160 |
#BRAKE |
This starts the section. |
BrakeType |
▸ Options for BrakeType: |
0: Electromagnetic straight air brake 1: Digital/analog electro-pneumatic air brake without brake pipe (electric command brake) 2: Air brake with partial release feature |
BrakeControlSystem |
▸ Options for BrakeControlSystem: |
0: None 1: Closing electromagnetic valve (lock-out valve) (締切電磁弁) 2: Delay-including control (遅れ込め制御) |
ƒ | 0.5 * (MaximumAcceleration + Deceleration) |
BrakeControlSpeed |
Example of Brake section: | |
▶ |
#BRAKE 0 1 10 |
#PRESSURE |
This starts the section. |
BrakeCylinderServiceMaximumPressure |
BrakeCylinderEmergencyMaximumPressure |
MainReservoirMinimumPressure |
MainReservoirMaximumPressure |
ⓘ Brake cylinder and main reservoir |
Note that for all brake systems, the pressure in the brake cylinder can never exceed the highest pressure that can be produced in the main reservoir. As such, setting BrakeCylinderEmergencyMaximumPressure to a higher value than MainReservoirMaximumPressure will result in lower deceleration than set by Deceleration in the Pressure or Deceleration section. If BrakeCylinderEmergencyMaximumPressure is greater than MainReservoirMinimumPressure, there might not be enough pressure available in the main reservoir to obtain a full service or emergency brake application, and also, the brake cylinder might not be exhaused immediately with the automatic air brake and the electromagnetic straight air brake. |
BrakePipeNormalPressure |
Example of a Pressure section: | |
▶ |
#PRESSURE 440 440 690 780 490 |
#HANDLE |
This starts the section. |
HandleType |
▸ Options for HandleType: |
0: Separate power and brake handles 1: One combined power and brake handle |
PowerNotches |
BrakeNotches |
PowerNotchReduceSteps |
☀ Frequently used application: |
If the value is set to PowerNotches, the driver needs to reset the power notch to neutral before the power is actually reduced. If the driver wanted to go from power notch P4 to power notch P3, it would be first required to move down to neutral. When going down from P4 over P3, P2 and P1, the internal power output will still resemble power notch P4 during that time. Only once the neutral position is reached will the power output be actually reduced to zero. The driver could then increase the power to P3 as initially desired. |
EbHandleBehaviour |
▸ Options for EbHandleBehaviour: |
0: No action is taken. 1: The Power handle is returned to neutral. 2: The Reverser handle is returned to neutral. 3: Both the Power and the Reverser handle are returned to neutral. |
LocoBrakeNotches |