StmEng_TPH
- Last UpdatedSep 17, 2025
- 1 minute read
- PI System
- PI Server 2023
- PI Server
Calculates the steam temperature as a function of pressure and enthalpy—all variables expressed in English units. Use for both superheated and wet steam.
Format
StmEng_TPH(P, H)
Arguments
-
P
Pressure of the steam in psia. The valid range is 0.08865 to 14503.77 psia..
-
H
Specific enthalpy of the steam in BTU/lbm. The valid range is -0.017879547 to 1744.60206 BTU/lbm.
Returns
Computed steam temperature in °F or Error digital state.
Sample Values
|
Pressure |
Enthalpy |
Temperature |
State |
|
300. |
1526.2 |
999.1 |
Superheated |
|
800. |
1511.4 |
998.7 |
Superheated |
|
1400. |
1493.2 |
998.8 |
Superheated |
|
5000. |
1364.6 |
999.0 |
Superheated |
|
300. |
1122. |
417.37 |
90 % vapor |
Note: Even if the input enthalpy is less than that of the saturated liquid, the function still returns the saturated temperature as the answer without setting an error state.