StmSI_HPS
- Last UpdatedSep 17, 2025
- 1 minute read
- PI System
- PI Server 2023
- PI Server
Calculates the vapor specific enthalpy as a function of pressure and entropy—all variables expressed in SI units. Use for both superheated or wet steam.
Format
StmSI_HPS(P, S)
Arguments
-
P
Pressure of the steam in KPa. The valid range is 0.611213 to 100000 KPa..
-
S
Specific entropy of the steam in J/g/K. The valid range is -0.154549 to 11.9210 J/g/K.
Returns
Computed vapor specific enthalpy in J/g or Error digital state.
Sample Values
|
Pressure |
Entropy |
Enthalpy |
State |
|
2500. |
7.5956 |
3684.9 |
Superheated |
|
5000. |
7.2578 |
3664.5 |
Superheated |
|
10000. |
6.9013 |
3623. |
Superheated |
|
40000. |
6.0135 |
3347.4 |
Superheated |
|
2500. |
5.8837 |
2617.0 |
90 % vapor |
Note: Even if the input entropy is less than that of the saturated liquid, the function still computes the enthalpy by extrapolation without setting an error state.