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
// Steam locomotive details updated in UpdateTractiveForce method, and inserted into adhesion module
2439
2439
// **************** NB WheelSpeed updated within Steam Locomotive module at the moment - to be fixed to prevent discrepancies ******************
2440
2440
}
2441
-
2442
-
else
2441
+
else
2443
2442
{
2444
-
2443
+
2445
2444
//Compute axle inertia from parameters if possible
2446
2445
if(AxleInertiaKgm2>10000.0f)// if axleinertia value supplied in ENG file, then use in calculations
2447
2446
{
@@ -2476,7 +2475,7 @@ public void AdvancedAdhesion(float elapsedClockSeconds)
2476
2475
LocomotiveAxle.DriveForceN=MotiveForceN;//Total force applied to wheels
2477
2476
LocomotiveAxle.TrainSpeedMpS=SpeedMpS;//Set the train speed of the axle model
2478
2477
LocomotiveAxle.Update(elapsedClockSeconds);//Main updater of the axle model
2479
-
2478
+
2480
2479
// Output
2481
2480
MotiveForceN=LocomotiveAxle.CompensatedAxleForceN;//Get the Axle force and use it for the motion (use compensated value as it is independent of brake force)
0 commit comments