StmSI_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 SI units. Use for both superheated or wet steam.
Format
StmSI_TPH(P, H)
Arguments
-
P
Pressure of the steam in KPa. The valid range is 0.611213 to 100000 KPa..
-
H
Specific enthalpy of the steam in J/g. The valid range is 0.04158 to 4160.641 J/g.g.
Returns
Computed steam temperature in °C or Error digital state.
Sample Values
|
Pressure |
Enthalpy |
Temperature |
State |
|
2500. |
3685.1 |
599.3 |
Superheated |
|
5000. |
3664.5 |
599. |
Superheated |
|
10000. |
3622.7 |
598.9 |
Superheated |
|
40000. |
3346.4 |
598.9 |
Superheated |
|
2500. |
2617.0 |
223.96 |
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.