You are on page 1of 1

Functions for steam and water properties

Description Function Output Unit


(P,T)-->Cp, Heat capacity STMCp Err:511 Err:511
(P)-->Cp for saturated steam STMCpSS Err:511 Err:511
(P)-->Cp for saturated water STMCpSW Err:511 Err:511
(V,T)-->Dv, Dynamic viscosity STMDv Err:511 Err:511
(P,H)-->Q, Dryness fraction STMPHQ Err:511
(P,H)-->S, Specific entropy STMPHS Err:511 Err:511
(P,H)-->T, Temperature STMPHT Err:511 Err:511
(P,H)-->V, Specific volume STMPHV Err:511 Err:511
(P,Q)-->H, Specific enthalpy STMPQH Err:511 Err:511
(P,Q)-->S STMPQS Err:511 Err:511
(P,Q)-->V STMPQV Err:511 Err:511
(P,S)-->H STMPSH Err:511 Err:511
(P,S)-->Q STMPSQ Err:511
(P,S)-->T STMPST Err:511 Err:511
(P,S)-->V STMPSV Err:511 Err:511
Demo (P)-->T, Saturation temperature STMPT Err:511 Err:511
(P,T)-->H STMPTH Err:511 Err:511
(P,T)-->S STMPTS Err:511 Err:511
(P,T)-->V STMPTV Err:511 Err:511
(P,V)-->H STMPVH Err:511 Err:511
(P,V)-->Q STMPVQ Err:511
(P,V)-->S STMPVS Err:511 Err:511
(P,V)-->T STMPVT Err:511 Err:511
(V,T)-->Tc, Thermal conductivity STMTc Err:511 Err:511
Demo (T)-->P, Saturation pressure STMTP Err:511 Err:511
(T,Q)-->H STMTQH Err:511 Err:511
(T,Q)-->S STMTQS Err:511 Err:511
(T,Q)-->V STMTQV Err:511 Err:511
Data used for above function calls.
20 Pressure
250 Temperature
0.0014 Specific volume
2500 Specific enthalpy
7 Specific entropy
0.433 Dryness fraction
Range of input:
0,01 bar < Pressure < 1000 bar
0 C < Temperature < 800 C
For error handling see the file error.doc

Example 1
Saturation temperature of steam at 50 bar
50 Err:511 Err:511 Err:511

Example 2
Saturation pressure of steam at 150 C
150 Err:511 Err:511 Err:511

You might also like