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
if(absSpeedMpS==0&&cutoff<0.05f)// If the reverser is set too low then not sufficient steam is admitted to the steam cylinders, and hence insufficient Motive Force will produced to move the train.
IndicatedHorsePowerHP=MaxIndicatedHorsePowerHP;// Set IHP to maximum value
5004
-
IsCritTELimit=true;// Flag if limiting TE
5005
-
}
5006
-
else
5007
-
{
5008
-
IsCritTELimit=false;// Reset flag if limiting TE
5009
-
}
5010
-
5011
-
DrawBarPullLbsF=N.ToLbf(Math.Abs(TractiveForceN)-LocoTenderFrictionForceN);// Locomotive drawbar pull is equal to motive force of locomotive (+ tender) - friction forces of locomotive (+ tender)
5012
-
DrawBarPullLbsF=MathHelper.Clamp(DrawBarPullLbsF,0,DrawBarPullLbsF);// clamp value so it doesn't go negative
5013
-
5014
-
DrawbarHorsePowerHP=(DrawBarPullLbsF*MpS.ToMpH(absSpeedMpS))/375.0f;// TE in this instance is a maximum, and not at the wheel???
5015
-
DrawbarHorsePowerHP=MathHelper.Clamp(DrawbarHorsePowerHP,0,DrawbarHorsePowerHP);// clamp value so it doesn't go negative
5016
-
5017
4996
#region - Steam Adhesion Model Input for Steam Locomotives
5018
4997
5019
4998
// Based upon information presented on pg 276 of "Locomotive Operation - A Technical and Practical Analysis" by G. R. Henderson -
IndicatedHorsePowerHP=MaxIndicatedHorsePowerHP;// Set IHP to maximum value
5384
+
IsCritTELimit=true;// Flag if limiting TE
5385
+
}
5386
+
else
5387
+
{
5388
+
IsCritTELimit=false;// Reset flag if limiting TE
5389
+
}
5397
5390
5398
5391
// Find the maximum TE for debug i.e. @ start and full throttle
5399
5392
if(absSpeedMpS<1.0)
@@ -6322,6 +6315,14 @@ public override string GetStatus()
6322
6315
6323
6316
publicoverridestringGetDebugStatus()
6324
6317
{
6318
+
6319
+
6320
+
DrawBarPullLbsF=N.ToLbf(Math.Abs(MotiveForceN)-LocoTenderFrictionForceN);// Locomotive drawbar pull is equal to motive force of locomotive (+ tender) - friction forces of locomotive (+ tender)
6321
+
DrawBarPullLbsF=MathHelper.Clamp(DrawBarPullLbsF,0,DrawBarPullLbsF);// clamp value so it doesn't go negative
6322
+
6323
+
DrawbarHorsePowerHP=(DrawBarPullLbsF*MpS.ToMpH(absSpeedMpS))/375.0f;// TE in this instance is a maximum, and not at the wheel???
6324
+
DrawbarHorsePowerHP=MathHelper.Clamp(DrawbarHorsePowerHP,0,DrawbarHorsePowerHP);// clamp value so it doesn't go negative
0 commit comments