Thermo Utility Functions
Thermo Utility Functions
Thermo Utility Functions
0, MS EXCEL Add-ins
Functions for properties of steam/water
When you activate STMXL.XLA, you have access to all steam/water functions. By pressing fx
button in MS Excel a dialog over all function comes up. Select "User Defined" and you will have
a list over all user defined functions. When you pick a function, a brief description of the
function appears at the bottom of the dialog box. If you press "Next", Excel will continue with a
dialog box that asks for the necessary inputs for the function. In case, you press "Enter" button,
you should fill all the parameters with numbers, cell reference, variable name and so on. These
are the normal Excel functions behavior and is not specific for this program. If you need more
help please see the on-line help of MS Excel or the user manual. The function names are
compatible with the DLL version of steam properties. Those users who upgrade to this version
from DLL version of steam properties will find several new functions. There are some simple
rules that will help you to remind function names. Here, you have a complete list of functions for
properties of steam and water. A print of this page will be helpful if you are new to this package.
STMPQS (P,Q)-->S .
STMPQV (P,Q)-->V .
STMPSH (P,S)-->H .
Function Description Comment
STMPSQ (P,S)-->Q .
STMPST (P,S)-->T .
STMPSV (P,S)-->V .
STMPTH (P,T)-->H .
STMPTS (P,T)-->S .
STMPTV (P,T)-->V .
STMPVH (P,V)-->H .
STMPVQ (P,V)-->Q .
STMPVS (P,V)-->S .
STMPVT (P,V)-->T .
STMTQH (T,Q)-->H .
STMTQS (T,Q)-->S .
STMTQV (T,Q)-->V .
AirHT (mc,H)-->T .
AirST (mc,S)-->T .
FlueHT (H,%)-->T .
Function Description Comment
FlueST (S,%)-->T .
H: Specific enthalpy
P: Pressure
S: Specific entropy
T: Temperature
V: Specific volume
-1001: The pressure is outside the acceptable range specified in IFC formulation for
Industrial use!
0.01 bar < P < 1000 bar
-1002: The temperature is outside the acceptable range specified in IFC formulation for
Industrial use!
0 C < T < 800 C
-1004: Pressure of the wet steam may not be more than 221.0 bar (pressure at critical
point is 221.2 bar) i.e.
P <= 221.0 bar
-1005: Temperature of the wet steam may not be more than 374.0 C (temperature at
critical point is 374.15 C) i.e.
T <= 374.0 C
-1012: It is impossible to find a point with the specified pressure [P] and specific entropy
[s]!
-1013: It is impossible to find a point with the specified pressure [P] and specific volume
[v]!
-1014: It is impossible to find a point with the specified pressure [P] and specific
enthalpy [h]!
-1015: Inputs are not enough to determine the state of the steam or water. Pressure and
temperature are too close to wet steam data.
-22E+9: Volumetric compositions should be within the interval zero and one and the sum
must be one.
-26E+9: It is impossible to find a temperature with the specified specific heat capacity.
-29E+9: This combination of dry and wet bulb temperatures are not possible!
-2005: Temperature of wet vapor may not be more than Tcr i.e.
Tr < = 1.0
-2012: It is impossible to find a point with the specified reduced pressure [Pr] and
reduced specified entropy [sr]!
-2013: It is impossible to find a point with the specified reduced pressure [Pr] and
compressibility factor [Z]!
Z=(V*P)/(R*T)
V = Specific volume
R = Gas Constant = 8.3144 J/(mol.K) = 10.732 psia.ft2/(lb-mol.R)
-2014: It is impossible to find a point with the specified reduced pressure [Pr] and
reduced specific enthalpy [h]!
-2015: Inputs are not enough to determine the state of the fluid. Pressure and temperature
are too close to wet vapor data.
-2016: It is impossible to find a point with the specified reduced pressure [Pr] and
reduced fugacity-pressure ratio [f]!