0% found this document useful (0 votes)
111 views3 pages

Xsteam Functions

The document provides steam tables created by Magnus Holmgren according to IAPWS IF-97, including various thermodynamic properties such as temperature, pressure, enthalpy, specific volume, density, and more. It contains Excel scripts for calculations and notes on the use of macros, as well as a version history detailing updates and fixes. The steam tables are free to use but come with no guarantees of accuracy or responsibility for errors.

Uploaded by

zalabi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
111 views3 pages

Xsteam Functions

The document provides steam tables created by Magnus Holmgren according to IAPWS IF-97, including various thermodynamic properties such as temperature, pressure, enthalpy, specific volume, density, and more. It contains Excel scripts for calculations and notes on the use of macros, as well as a version history detailing updates and fixes. The steam tables are free to use but come with no guarantees of accuracy or responsibility for errors.

Uploaded by

zalabi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

X Steam Tables

Steam tables by Magnus Holmgren according to IAPWS IF-97


The excel scripts are stored inside this workbook. (No extra files are needed. Start from a copy of this workbook. This page can be removed)
For error-reporting, feedback, other units etc. contact:
The steam tables are free and provided as is. We take no responsibilities for any errors in the code or damage thereby.
OBS: This workbook uses macros. Set security options in Tools:Macro:Security… to enable macros.

Temperature
Tsat_p °C Saturation temperature
T_ph °C Temperture as a function of pressure and enthalpy
T_ps °C Temperture as a function of pressure and entropy
T_hs °C Temperture as a function of enthalpy and entropy
Pressure
psat_T bar Saturation pressure
p_hs bar Pressure as a function of h and s.
p_hrho bar Pressure as a function of h and rho (density). Very unaccurate for solid water region since
Enthalpy
hV_p kJ/kg Saturated vapour enthalpy
hL_p kJ/kg Saturated liquid enthalpy
hV_T kJ/kg Saturated vapour enthalpy
hL_T kJ/kg Saturated liquid enthalpy
h_pT kJ/kg Entalpy as a function of pressure and temperature.
h_ps kJ/kg Entalpy as a function of pressure and entropy.
h_px kJ/kg Entalpy as a function of pressure and vapour fraction
h_Tx kJ/kg Entalpy as a function of temperature and vapour fraction
h_prho kJ/kg Entalpy as a function of pressure and density. Observe for low temperatures (liquid) this e
Specific volume
vV_p m3/kg Saturated vapour volume
vL_p m3/kg Saturated liquid volume
vV_T m3/kg Saturated vapour volume
vL_T m3/kg Saturated liquid volume
v_pT m3/kg Specific volume as a function of pressure and temperature.
v_ph m3/kg Specific volume as a function of pressure and enthalpy
v_ps m3/kg Specific volume as a function of pressure and entropy.
Density
rhoV_p kg/m3 Saturated vapour density
rhoL_p kg/m3 Saturated liquid density
rhoV_T kg/m3 Saturated vapour density
rhoL_T kg/m3 Saturated liquid density
rho_pT kg/m3 Density as a function of pressure and temperature.
rho_ph kg/m3 Density as a function of pressure and enthalpy
rho_ps kg/m3 Density as a function of pressure and entropy.
Specific entropy
sV_p kJ/(kg K) Saturated vapour entropy
sL_p kJ/(kg K) Saturated liquid entropy
sV_T kJ/(kg K) Saturated vapour entropy
sL_T kJ/(kg K) Saturated liquid entropy
s_pT kJ/(kg K) Specific entropy as a function of pressure and temperature (Returns saturated vapour ent
s_ph kJ/(kg K) Specific entropy as a function of pressure and enthalpy
Specific internal energy
uV_p kJ/kg Saturated vapour internal energy
uL_p kJ/kg Saturated liquid internal energy
uV_T kJ/kg Saturated vapour internal energy
uL_T kJ/kg Saturated liquid internal energy
u_pT kJ/kg Specific internal energy as a function of pressure and temperature.
u_ph kJ/kg Specific internal energy as a function of pressure and enthalpy
u_ps kJ/kg Specific internal energy as a function of pressure and entropy.
Specific isobaric heat capacity
CpV_p kJ/(kg°C) Saturated vapour heat capacity
CpL_p kJ/(kg°C) Saturated liquid heat capacity
CpV_T kJ/(kg°C) Saturated vapour heat capacity
CpL_T kJ/(kg°C) Saturated liquid heat capacity
Cp_pT kJ/(kg°C) Specific isobaric heat capacity as a function of pressure and temperature.
Cp_ph kJ/(kg°C) Specific isobaric heat capacity as a function of pressure and enthalpy
Cp_ps kJ/(kg°C) Specific isobaric heat capacity as a function of pressure and entropy.
Specific isochoric heat capacity
CvV_p kJ/(kg°C) Saturated vapour isochoric heat capacity
CvL_p kJ/(kg°C) Saturated liquid isochoric heat capacity
CvV_T kJ/(kg°C) Saturated vapour isochoric heat capacity
CvL_T kJ/(kg°C) Saturated liquid isochoric heat capacity
Cv_pT kJ/(kg°C) Specific isochoric heat capacity as a function of pressure and temperature.
Cv_ph kJ/(kg°C) Specific isochoric heat capacity as a function of pressure and enthalpy
Cv_ps kJ/(kg°C) Specific isochoric heat capacity as a function of pressure and entropy.
Speed of sound
wV_p m/s Saturated vapour speed of sound
wL_p m/s Saturated liquid speed of sound
wV_T m/s Saturated vapour speed of sound
wL_T m/s Saturated liquid speed of sound
w_pT m/s Speed of sound as a function of pressure and temperature.
w_ph m/s Speed of sound as a function of pressure and enthalpy
w_ps m/s Speed of sound as a function of pressure and entropy.
Dynamic Viscosity
Viscosity is not part of IAPWS Steam IF97. Equations from "Revised Release on the IAPWS Formulation 1985 for the Viscosity of Ordinary Water Substance", 200
Viscosity in the mixed region (4) is interpolated according to the density. This is not true since it will be two fases.
my_pT Pa s Viscosity as a function of pressure and temperature.
my_ph Pa s Viscosity as a function of pressure and enthalpy
my_ps Pa s Viscosity as a function of pressure and entropy.
Prandtl
Calcualted as Cp*my/tc
pr_pT -
pr_ph -
Thermal Conductivity
Revised release on the IAPS Formulation 1985 for the Thermal Conductivity of ordinary water substance (IAPWS 1998)
tcL_p W/(m K) Saturated vapour thermal conductivity
tcV_p W/(m K) Saturated liquid thermal conductivity
tcL_T W/(m K) Saturated vapour thermal conductivity
tcV_T W/(m K) Saturated liquid thermal conductivity
tc_pT W/(m K) Thermal conductivity as a function of pressure and temperature.
tc_ph W/(m K) Thermal conductivity as a function of pressure and enthalpy
tc_hs W/(m K) Thermal conductivity as a function of enthalpy and entropy
Surface Tension
IAPWS Release on Surface Tension of Ordinary Water Substance, September 1994
st_T N/m Surface tension for two phase water/steam as a function of T
st_p N/m Surface tension for two phase water/steam as a function of T
Vapour fraction
x_ph Vapour fraction as a function of pressure and enthalpy
x_ps Vapour fraction as a function of pressure and entropy.
Vapour Volume Fraction
Observe that vapour volume fraction is very sensitive. Vapour volume is about 1000 times greater than liquid volume and therfore vapour volume fraction
gets close to the accurancy of steam IF-97
vx_ph Vapour volume fraction as a function of pressure and enthalpy
vx_ps Vapour volume fraction as a function of pressure and entropy.

Version history
News in V2.6
* Error in valid region for function tc_ptrho
* Error in function h3_pt for temperatures near the saturation point.
News in V2.5
* DLL distrubution for use in other applications
* Freebasic translation
* Fixed small error in Cv Region 5 p>1000bar
News in V2.4a
* ToSIUnit for h_ps region 4. (No effect in SI unit version).
News in V2.4
* Functions by p,rho inplemented in matlab also.
* Many missing ; in matlab causing printouts detected.
* OpenOffice version introduced. (Fixed calculation differences in open office and excel)
* Matlab error giving varaible undefined in some backwards solutions fixed.
News in V2.3
* Option Explicit, gives more efficient calculations.
* Extensive testing
* my_ph not defined in region 4.
* Problems at region border for h4V_p to adress solver problems at the exact border.
* Problem at fast border check in region_ph fixed.
News in V2.2
* Extensive testing
* Fixed error in Cp_ph
* Function p_hrho added. (Very good for calcualting pressure when heating a volume with water/steam mixture.)
* Fixed error in T_hs return no value for vet region bellow the water saturation line.
* Prandtl number added
News in V2.1
* Calling function h_prho
* Fixed problem with Cv reporting NaN in region 5.
* Equivivalent to the Matlab version. (Downloadable from [Link])
News in V2
* Calling functions of h and s added.
* Thermal conductivity, Surface tension added
* Calling functions h_px and h_tx added.
* Cp, Cv and w undefined in the mixed region. (Before interpolation with the vapor fraction was used.)
* A work sheet "Properties" for simple lookups added.

You might also like