File tree Expand file tree Collapse file tree 2 files changed +4
-19
lines changed
Orts.Simulation/Simulation/RollingStocks Expand file tree Collapse file tree 2 files changed +4
-19
lines changed Original file line number Diff line number Diff line change @@ -875,7 +875,7 @@ checked:
875875- the maximum brake cylinder pressure will be reduced to the maximum pressure
876876 possible from a full service train brake application if it was set above this
877877 amount
878- - any brake pipe leakage specified by ``TrainPipeLeakRate `` is disabled
878+ - any brake pipe leakage specified by ``TrainPipeLeakRate `` is limited to 2.5 psi/minute
879879- the dynamic brake delay on electric locomotives is reduced to 2 seconds
880880 if it was defined to be above 4 seconds
881881- dynamic brake force left at the default value of 20kN will be increased to
Original file line number Diff line number Diff line change @@ -1869,21 +1869,6 @@ public override void Initialize()
18691869 }
18701870 }
18711871
1872- // Initialise Train Pipe Leak Rate
1873- if ( TrainBrakePipeLeakPSIorInHgpS == 0 ) // Check to see if TrainBrakePipeLeakPSIorInHgpS has been set in the ENG file.
1874- {
1875- // Set Default Train Brake Pipe Leak depending upon whether locomotive has Vacuum or air brakes - overwritten by ENG file setting.
1876- // Default currently set to zero - means that by default function is off, and a value must be entered into the ENG file to get it to work
1877- if ( ( BrakeSystem is VacuumSinglePipe ) )
1878- {
1879- TrainBrakePipeLeakPSIorInHgpS = 0.0f ; // Vacuum brakes
1880- }
1881- else
1882- {
1883- TrainBrakePipeLeakPSIorInHgpS = 0.0f ; // Air brakes
1884- }
1885- }
1886-
18871872 if ( DynamicBrakeEngineBrakeReplacement && DynamicBrakeEngineBrakeReplacementSpeed == 0 )
18881873 {
18891874 DynamicBrakeEngineBrakeReplacementSpeed = DynamicBrakeSpeed2MpS ;
@@ -1990,9 +1975,9 @@ protected void CorrectBrakingParams()
19901975 // correct questionable MaxCylPressurePSI
19911976 BrakeSystem . CorrectMaxCylPressurePSI ( this ) ;
19921977 }
1993- // Disable brake pipe leak to prevent stuck brakes
1994- if ( TrainBrakePipeLeakPSIorInHgpS > 0 )
1995- TrainBrakePipeLeakPSIorInHgpS = 0 ;
1978+ // Limit brake pipe leak to 2.5 psi/min (~ 1 bar every 6 minutes) to prevent stuck brakes
1979+ if ( TrainBrakePipeLeakPSIorInHgpS > 2.5f / 60f )
1980+ TrainBrakePipeLeakPSIorInHgpS = 2.5f / 60f ;
19961981 }
19971982 // No OR compressor speed defined, use MSTS compressor speed or 0.025 m^3/s (whichever is higher)
19981983 if ( MainResChargingRatePSIpS < 0 )
You can’t perform that action at this time.
0 commit comments