Skip to content

Commit a40c8b7

Browse files
committed
Automatic merge of T1.6-186-g21d9ada29 and 9 pull requests
- Pull request #1082 at 1e9d30b: Allow variable water level in glass gauge - Pull request #1057 at 85bde8e: Switchable brake system - Pull request #1122 at 73c47b4: Wagon Size and Centering Controls - Pull request #1124 at e241a0d: Built-in PBL2 brake controller - Pull request #1128 at b6c197f: Particle Emitter Overhaul - Pull request #1169 at 906f204: Revise TrainCar.SetUpWheels to Better Handle Unusual Rolling Stock - Pull request #1175 at d28315e: Make Data Logger interval configurable - Pull request #1176 at 4cd961b: Remove Implicit Requirement for Engine Name to Come After "Engine (" - Pull request #1178 at 015769e: Fix Diesel RPM Rate of Change
11 parents 5fe5f49 + 21d9ada + 1e9d30b + 85bde8e + 73c47b4 + e241a0d + b6c197f + 906f204 + d28315e + 4cd961b + 015769e commit a40c8b7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/MSTSSteamLocomotive.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7537,7 +7537,7 @@ private void UpdateWaterInjection(float elapsedClockSeconds)
75377537
}
75387538
else // Exhaust steam injector
75397539
{
7540-
if (throttle > 0.01)
7540+
if (throttle > 0.01 && BackPressureIHPtoPSI[IndicatedHorsePowerHP] > 1)
75417541
{
75427542
Injector1CorrectedPressurePSI = BackPressureIHPtoPSI[IndicatedHorsePowerHP];
75437543
ActualInjector1FlowRateLBpS = Injector1Fraction * Injector1NozzleCorrectionFactor * pS.FrompH(ExhaustSteamInjectorMaximaWaterDeliveryLBatPSIandF.Get(tenderTemperatureF, Injector1CorrectedPressurePSI));
@@ -7559,7 +7559,7 @@ private void UpdateWaterInjection(float elapsedClockSeconds)
75597559
// A small amount of supplemental steam will be added to live steam injectors to maintain pressure, hence a small heat loss
75607560
Inject1SteamHeatLossBTUpS = LiveSteamInjector1SupplementSteamUsedLBpS * (BoilerSteamHeatBTUpLB - WaterHeatPSItoBTUpLB[Injector1WaterTempPressurePSI]); // Calculate heat loss for injection steam, ie steam heat to water delivery temperature
75617561
}
7562-
else // Auxiliary live steam supply when no throttle
7562+
else // Auxiliary live steam supply when no throttle or back pressure drops too low
75637563
{
75647564
Injector1CorrectedPressurePSI = Injector1AuxiliaryPressureCorrectionFactor * BoilerPressurePSI;
75657565
ActualInjector1FlowRateLBpS = Injector1Fraction * Injector1AuxiliaryNozzleCorrectionFactor * pS.FrompH(LiveSteamInjectorMaximaWaterDeliveryLBatPSIandF.Get(tenderTemperatureF, Injector1CorrectedPressurePSI));
@@ -7635,7 +7635,7 @@ private void UpdateWaterInjection(float elapsedClockSeconds)
76357635
}
76367636
else // Exhaust steam injector
76377637
{
7638-
if (throttle > 0.01)
7638+
if (throttle > 0.01 && BackPressureIHPtoPSI[IndicatedHorsePowerHP] > 1)
76397639
{
76407640
Injector2CorrectedPressurePSI = BackPressureIHPtoPSI[IndicatedHorsePowerHP];
76417641
ActualInjector2FlowRateLBpS = Injector2Fraction * Injector2NozzleCorrectionFactor * pS.FrompH(ExhaustSteamInjectorMaximaWaterDeliveryLBatPSIandF.Get(tenderTemperatureF, Injector2CorrectedPressurePSI));
@@ -7657,7 +7657,7 @@ private void UpdateWaterInjection(float elapsedClockSeconds)
76577657
// A small amount of supplemental steam will be added to live steam injectors to maintain pressure, hence a small heat loss
76587658
Inject2SteamHeatLossBTUpS = LiveSteamInjector2SupplementSteamUsedLBpS * (BoilerSteamHeatBTUpLB - WaterHeatPSItoBTUpLB[Injector1WaterTempPressurePSI]); // Calculate heat loss for injection steam, ie steam heat to water delivery temperature
76597659
}
7660-
else // Auxiliary live steam supply when no throttle
7660+
else // Auxiliary live steam supply when no throttle or back pressure drops too low
76617661
{
76627662
Injector2CorrectedPressurePSI = Injector2AuxiliaryPressureCorrectionFactor * BoilerPressurePSI;
76637663
ActualInjector2FlowRateLBpS = Injector2Fraction * Injector2AuxiliaryNozzleCorrectionFactor * pS.FrompH(LiveSteamInjectorMaximaWaterDeliveryLBatPSIandF.Get(tenderTemperatureF, Injector2CorrectedPressurePSI));

0 commit comments

Comments
 (0)