We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a78797f commit f0c670cCopy full SHA for f0c670c
Source/Orts.Simulation/Simulation/RollingStocks/TrainCar.cs
@@ -1486,7 +1486,7 @@ public void UpdateTrainDerailmentRisk(float elapsedClockSeconds)
1486
DerailClimbDistanceM = Me.FromFt( (float)((parameterA * parameterB * Me.ToIn(WheelFlangeLengthM)) / ((angleofAttackmRad + (parameterB * Me.ToIn(WheelFlangeLengthM))))) );
1487
1488
// calculate the time taken to travel the derail climb distance
1489
- var derailTimeS = AbsSpeedMpS / DerailClimbDistanceM;
+ var derailTimeS = DerailClimbDistanceM / AbsSpeedMpS;
1490
1491
// Set indication that a derail may occur
1492
if (DerailmentCoefficient > NadalDerailmentCoefficient)
0 commit comments