It may be that ORTS code should be (moving two paren):
SuperheatRefTempF = (Me2.ToFt2(SuperheatAreaM2) * C.ToF(C.FromK( MaxFlueTempK * SuperheatKFactor )) ) / pS.TopH(TheoreticalMaxSteamOutputLBpS);
If I could figure out what that SuperheatKFactor had for units, it would help.
But it still leaves you with the rest of the equation being a ratio upon a temp in degree F, which cannot be valid. You need degree K to multiply ratios like that.
That conversion to degree F involves adding some constants, so it does not act like a const multiply.
So my best guess is that it should be (moving conversion to F around entire result):
SuperheatRefTempF = C.ToF(C.FromK( (Me2.ToFt2(SuperheatAreaM2) * MaxFlueTempK * SuperheatKFactor) / pS.TopH(TheoreticalMaxSteamOutputLBpS) ));
Offending line: SuperheatAreaM2 ) * C.ToF(C. FromK(MaxFlueTe mpK)) * SuperheatKFactor) / pS.TopH( TheoreticalMaxS teamOutputLBpS) ;
SuperheatRefTempF = (Me2.ToFt2(
It may be that ORTS code should be (moving two paren): SuperheatAreaM2 ) * C.ToF(C.FromK( MaxFlueTempK * SuperheatKFactor )) ) / pS.TopH( TheoreticalMaxS teamOutputLBpS) ;
SuperheatRefTempF = (Me2.ToFt2(
If I could figure out what that SuperheatKFactor had for units, it would help.
But it still leaves you with the rest of the equation being a ratio upon a temp in degree F, which cannot be valid. You need degree K to multiply ratios like that.
That conversion to degree F involves adding some constants, so it does not act like a const multiply.
So my best guess is that it should be (moving conversion to F around entire result): SuperheatAreaM2 ) * MaxFlueTempK * SuperheatKFactor) / pS.TopH( TheoreticalMaxS teamOutputLBpS) ));
SuperheatRefTempF = C.ToF(C.FromK( (Me2.ToFt2(