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
Automatic merge of T1.5.1-1004-g6fd841761e and 18 pull requests
- Pull request #799 at dfc715e: Consolidated wind simulation
- Pull request #839 at d00beb9: First phase of https://blueprints.launchpad.net/or/+spec/additional-cruise-control-parameters
- Pull request #876 at f92de76: docs: add source for documents previously on website to source Documentation folder
- Pull request #882 at 8f695a4: Blueprint/train car operations UI window
- Pull request #885 at 2728d6d: feat: Add notifications to Menu
- Pull request #891 at 9a1d6b2: Auto save
- Pull request #892 at 1f5ba4c: Signal Function OPP_SIG_ID_TRAINPATH
- Pull request #896 at 5866028: First implementation of https://blueprints.launchpad.net/or/+spec/specific-sounds-for-ai-trains
- Pull request #900 at c27f32d: DMI updates
- Pull request #903 at 3e390b8: Downloading route content (Github, zip)
- Pull request #912 at 359cfee: New Triple Valve Features Vol. 2
- Pull request #922 at 0d3e70b: Autopilot for timetable mode
- Pull request #946 at 66f836c: Advanced track sounds
- Pull request #949 at e375e56: Oil Burning Locomotive
- Pull request #952 at b2af1f5: Investigation - Pulsing graphics part 1
- Pull request #953 at a519452: Fix Lights Crash on Corrupt Shapes
- Pull request #954 at 84c2f4b: Add Support for Multiple Track Profiles
- Pull request #956 at 6adc5a3: Map settings saved
Copy file name to clipboardExpand all lines: Source/Orts.Simulation/Simulation/RollingStocks/MSTSSteamLocomotive.cs
+88-1Lines changed: 88 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -115,6 +115,13 @@ public class MSTSSteamLocomotive : MSTSLocomotive
115
115
bool Injector1SoundIsOn = false;
116
116
public bool Injector2IsOn;
117
117
bool Injector2SoundIsOn = false;
118
+
bool WaterMotionPumpFitted = false;
119
+
float WaterMotionPump1FlowRateLBpS;
120
+
float WaterMotionPump2FlowRateLBpS;
121
+
float MaximumWaterMotionPumpFlowRateLBpS;
122
+
bool WaterMotionPump1IsOn = false;
123
+
bool WaterMotionPump2IsOn = false;
124
+
float WaterMotionPumpHeatLossBTU;
118
125
public bool CylinderCocksAreOpen;
119
126
public bool BlowdownValveOpen;
120
127
public bool CylinderCompoundOn; // Flag to indicate whether compound locomotive is in compound or simple mode of operation - simple = true (ie bypass valve is open)
MaximumWaterMotionPumpFlowRateLBpS = (1.2f * EvaporationLBpS) / 2.0f; // Assume two pumps and that they can pump a fraction more water the the maximum steam production
if (WaterGlassLevelIN > 7.99) // turn pumps off if water level in boiler greater then 8.0, to stop cycling
7246
+
{
7247
+
WaterMotionPump1IsOn = false;
7248
+
WaterMotionPump2IsOn = false;
7249
+
}
7250
+
else if (WaterGlassLevelIN <= 7.0 && WaterGlassLevelIN > 5.75) // turn water pump #1 on if water level in boiler drops below 7.0 and is above
7251
+
{
7252
+
WaterMotionPump1IsOn = true;
7253
+
WaterMotionPump2IsOn = false;
7254
+
}
7255
+
else if (WaterGlassLevelIN <= 5.75 && WaterGlassLevelIN > 4.5) // turn water pump #1 on if water level in boiler drops below 7.0 and is above
7256
+
{
7257
+
WaterMotionPump1IsOn = true;
7258
+
WaterMotionPump2IsOn = true;
7259
+
}
7260
+
}
7261
+
else
7262
+
{
7193
7263
// Injectors
7194
7264
// Injectors normally not on when stationary?
7195
7265
// Injector water delivery heat decreases with the capacity of the injectors, ideally one injector would be used as appropriate to match steam consumption. @nd one only used if required.
0 commit comments