Skip to content

Commit 68f075e

Browse files
committed
Automatic merge of T1.6-147-g31e3fe251 and 10 pull requests
- Pull request #1082 at e4d7f70: Allow variable water level in glass gauge - Pull request #570 at 1b6b22e: glTF 2.0 support with PBR lighting - Pull request #1091 at 492795a: Automatic speed control - Pull request #1122 at 73c47b4: Wagon Size and Centering Controls - Pull request #1124 at e241a0d: Built-in PBL2 brake controller - Pull request #1130 at 0f4342d: Fix F9 points to an incorrect car ID. - Pull request #1157 at 39cd994: Dynamic brake authorization by TCS - Pull request #1167 at d5c0d64: Fix: RunActivity slow to terminate because of long sleep in Host Process - Pull request #1171 at 8fd2066: no internet connection is available, not possible to open the Menu Content Form - Pull request #1169 at 6cf8c3e: Better Handling of Wagons with Invalid Bogie Configuration
12 parents cf1239e + 31e3fe2 + e4d7f70 + 1b6b22e + 492795a + 73c47b4 + e241a0d + 0f4342d + 39cd994 + d5c0d64 + 8fd2066 + 6cf8c3e commit 68f075e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7427,7 +7427,7 @@ private void UpdateWaterInjection(float elapsedClockSeconds)
74277427
// Temperature Correction Factor = (Tsat - Tfeedwater) / (Tsat - Tref), Assume ref = 20C
74287428

74297429
var ReferenceTemperature = 20.0f; // Reference temperature for injector performance
7430-
ActualInjectorTemperatureCorrectionFactor = ( C.FromF(PressureToTemperaturePSItoF[BoilerPressurePSI]) - TenderWaterTemperatureC) / (C.FromF(PressureToTemperaturePSItoF[BoilerPressurePSI]) - ReferenceTemperature);
7430+
ActualInjectorTemperatureCorrectionFactor = (float)Math.Sqrt(( C.FromF(PressureToTemperaturePSItoF[BoilerPressurePSI]) - TenderWaterTemperatureC) / (C.FromF(PressureToTemperaturePSItoF[BoilerPressurePSI]) - ReferenceTemperature));
74317431

74327432
// Calculate enthalpy of injector feed water based on boiler water temperature
74337433
// hfg kJ/kg) = 2500 - 2.4 * Tsat (C) - 4% accurate, to be explored later for better accuracy

0 commit comments

Comments
 (0)