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/MSTSSteamLocomotive.cs
+20-8Lines changed: 20 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -297,7 +297,8 @@ public class MSTSSteamLocomotive : MSTSLocomotive
297
297
SmoothedData OilBurnRateSmoothKGpS = new SmoothedData(3); // Changes in Oil BurnRate take x seconds to fully react to changing needs - models increase and decrease in heat. Oil faster then steam
Trace.TraceInformation("This doesn't appear to be a balanced compound locomotive, ie LP Cylinders = HP Cylinders. Game performnce may not be realistic.");
1484
1496
SteamEngines[i].NumberCylinders = 2;
1485
1497
SteamEngines[i].LPNumberCylinders = 2;
@@ -2029,13 +2041,13 @@ public override void Initialize()
else if (SteamEngines[i].MaxIndicatedHorsePowerHP == 0)
2038
-
{
2050
+
{
2039
2051
// Max IHP = (Max TE x Speed) / 375.0, use a factor of 0.85 to calculate max TE
2040
2052
SteamEngines[i].MaxIndicatedHorsePowerHP = MaxSpeedFactor * (SteamEngines[i].MaxTractiveEffortLbf * MaxLocoSpeedMpH) / 375.0f; // To be checked what MaxTractive Effort is for the purposes of this formula.
@@ -2065,7 +2077,7 @@ public override void Initialize()
2065
2077
// Check to see if MaxIHP is in fact limited by the boiler
2066
2078
if (MaxIndicatedHorsePowerHP > MaxBoilerOutputHP)
2067
2079
{
2068
-
// MaxIndicatedHorsePowerHP = MaxBoilerOutputHP; // Set maxIHp to limit set by boiler - No need to limit IHP, naturally limited by steam production?????
2080
+
// MaxIndicatedHorsePowerHP = MaxBoilerOutputHP; // Set maxIHp to limit set by boiler - No need to limit IHP, naturally limited by steam production?????
0 commit comments