You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Source/Orts.Simulation/Simulation/RollingStocks/TrainCar.cs
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3281,7 +3281,9 @@ public virtual float GetBrakeShoeFrictionFactor()
3281
3281
}
3282
3282
else
3283
3283
{
3284
-
frictionfraction=(7.6f/(MpS.ToKpH(AbsSpeedMpS)+17.5f)+0.07f);// Base Curtius - Kniffler equation - u = 0.50, all other values are scaled off this formula; // For simple friction use "default" curve
3284
+
// set default values if simple adhesion model, or if diesel or electric locomotive is used, which doesn't check for brake skid.
3285
+
3286
+
frictionfraction=1.0f;// Default value set to leave existing brakeforce constant regardless of changing speed
3285
3287
returnfrictionfraction;
3286
3288
}
3287
3289
}
@@ -3332,7 +3334,7 @@ public virtual float GetBrakeShoeFrictionCoefficientHuD()
3332
3334
}
3333
3335
else
3334
3336
{
3335
-
frictionfraction=7.6f/((MpS.ToKpH(AbsSpeedMpS)+17.5f)+0.07f);// Base Curtius - Kniffler equation - u = 0.50, all other values are scaled off this formula; // For simple friction use "default" curve
3337
+
frictionfraction=1.0f;// Default value set to leave existing brakeforce constant regardless of changing speed
0 commit comments