Skip to content

Commit 7d0f327

Browse files
committed
Tweak to emergency res behavior
1 parent cfdada3 commit 7d0f327

File tree

1 file changed

+2
-2
lines changed
  • Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/Brakes/MSTS

1 file changed

+2
-2
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/Brakes/MSTS/AirSinglePipe.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -797,9 +797,9 @@ public override void Update(float elapsedClockSeconds)
797797
// Manage emergency res charging
798798
if ((Car as MSTSWagon).EmergencyReservoirPresent)
799799
{
800-
if (TripleValveState == ValveState.Release && EmergResPressurePSI > BrakeLine1PressurePSI && AutoCylPressurePSI > 5)
800+
if (TripleValveState == ValveState.Release && EmergResPressurePSI > BrakeLine1PressurePSI)
801801
{
802-
if (EmergResQuickRelease) // Quick release: Emergency res charges brake pipe during release
802+
if (EmergResQuickRelease && AutoCylPressurePSI > 5) // Quick release: Emergency res charges brake pipe during release
803803
{
804804
float dp = elapsedClockSeconds * EmergResChargingRatePSIpS;
805805
if (EmergResPressurePSI - dp < BrakeLine1PressurePSI + dp * EmergBrakeLineVolumeRatio)

0 commit comments

Comments
 (0)