StmEng_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 English units. Use for both superheated and wet steam.
Format
StmEng_HPS(P, S)
Arguments
-
P
Pressure of the steam in psia. The valid range is 0.08865 to 14503.77 psia.
-
S
Specific entropy of the steam in BTU/lbm/R. The valid range is -0.1 to 3.0 BTU/lbm/R.
Returns
Computed vapor specific enthalpy in BTU/lbm or Error digital state.
Sample Values
|
Pressure |
Entropy |
Enthalpy |
State |
|
300. |
1.7964 |
1526.1 |
Superheated |
|
800. |
1.6807 |
1511.5 |
Superheated |
|
1400. |
1.6096 |
1493.4 |
Superheated |
|
5000. |
1.4001 |
1365.0 |
Superheated |
|
300. |
1.4183 |
1122.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.