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
returnbase.GetAvailableTractionForceN(t);// TODO: provide more accurate values
642
+
// TODO: provide more accurate values
643
+
// Note: if this clause is fulfilled, this method is not used to calculate TractiveForceN, it just provides information for other subsystems about theoretical tractive force
644
+
returnbase.GetAvailableTractionForceN(t);
643
645
}
644
646
floatforceN=0;
645
647
floatpowerW=float.MaxValue;
@@ -658,6 +660,9 @@ public override float GetAvailableTractionForceN(float t)
658
660
{
659
661
powerW=DieselPowerSupply.MaximumPowerW*t;
660
662
}
663
+
// This section calculates the traction force of the locomotive as follows:
664
+
// Basic configuration (no TF table) - uses P = F /speed relationship - requires power and force parameters to be set in the ENG file.
665
+
// Advanced configuration (TF table) - use a user defined tractive force table
661
666
if(TractiveForceCurves==null)
662
667
{
663
668
// This sets the maximum force of the locomotive, it will be adjusted down if it exceeds the max power of the locomotive.
0 commit comments