Professional Documents
Culture Documents
The excel scripts are stored inside this workbook. A complete list of functions for use is available on the "Calling functions" worksheet
The steam tables are free and provided as is. We take no responsibilities for any errors in the code or damage thereby.
www.x-eng.com
OBS: This workbook uses macros. Set security options in Tools:Macro:Security to enable macros.
X Steam Tables
v2.6
http://www.x-eng.com
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:
magnus@x-eng.com
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
T_ph
T_ps
T_hs
14.504
1
1
100
psi
psi
psi
btu/lb
100 btu/lb
1 btu/(lb F)
0.2 btu/(lb F)
#VALUE!
#VALUE!
#VALUE!
#VALUE!
deg F
deg F
deg F
deg F
Saturation temperature
Temperture as a function of pressure and enthalpy
Temperture as a function of pressure and entropy
Temperture as a function of enthalpy and entropy
100 deg F
100 btu/lb
100 btu/lb
### btu/(lb F)
5 lb/ft3
Saturation pressure
Pressure as a function of h and s.
68 deg F
1 btu/(lb F)
0.5
0.5
2 lb/ft3
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
btu/lb
btu/lb
btu/lb
btu/lb
btu/lb
btu/lb
btu/lb
btu/lb
btu/lb
100 deg F
### btu/lb
### btu/(lb F)
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
ft3/lb
ft3/lb
ft3/lb
ft3/lb
ft3/lb
ft3/lb
ft3/lb
100 deg F
### btu/lb
1 btu/(lb F)
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
lb/ft3
lb/ft3
lb/ft3
lb/ft3
lb/ft3
lb/ft3
lb/ft3
50 deg F
100 btu/lb
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
btu/(lb F)
btu/(lb F)
btu/(lb F)
btu/(lb F)
btu/(lb F)
btu/(lb F)
100 deg F
### btu/lb
1 btu/(lb F)
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
btu/lb
btu/lb
btu/lb
btu/lb
btu/lb
btu/lb
btu/lb
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
btu/(lb F)
btu/(lb F)
btu/(lb F)
btu/(lb F)
btu/(lb F)
btu/(lb F)
btu/(lb F)
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
btu/(lb F)
btu/(lb F)
btu/(lb F)
btu/(lb F)
btu/(lb F)
Pressure
psat_T
p_hs
p_hrho
Pressure as a function of h and rho (density). Do not use for 100%liquid region due to incompressibility!
Enthalpy
hV_p
hL_p
hV_T
hL_T
h_pT
h_ps
h_px
h_Tx
h_prho
1
1
100
100
14.504
1
1
100
1
psi
psi
deg F
deg F
psi
psi
psi
deg F
psi
Entalpy as a function of pres. and density. For low temps (liquid) this equation has 2 solns.(Not valid)
Specific volume
vV_p
vL_p
vV_T
vL_T
v_pT
v_ph
v_ps
1
1
100
100
1
1
10
psi
psi
deg F
deg F
psi
psi
psi
1
1
100
100
1
1
1
psi
psi
deg F
deg F
psi
psi
psi
Density
rhoV_p
rhoL_p
rhoV_T
rhoL_T
rho_pT
rho_ph
rho_ps
Specific entropy
sV_p
sL_p
sV_T
sL_T
s_pT
s_ph
1
1
50
100
1
10
psi
psi
deg F
deg F
psi
psi
1
1
100
100
1
1
1
psi
psi
deg F
deg F
psi
psi
psi
1
1
100
100
1
100
100
psi
psi
deg F
deg F
psi
psi
psi
100 deg F
200 btu/lb
### btu/(lb F)
1
1
100
100
1
psi
psi
deg F
deg F
psi
100 deg F
Cv_ph
Cv_ps
100 psi
100 psi
200 btu/lb
### btu/(lb F)
#VALUE! btu/(lb F)
#VALUE! btu/(lb F)
100 deg F
100 btu/lb
### btu/(lb F)
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
Speed of sound
wV_p
wL_p
wV_T
wL_T
w_pT
w_ph
w_ps
1
1
100
100
1
100
100
psi
psi
deg F
deg F
psi
psi
psi
ft/s
ft/s
ft/s
ft/s
ft/s
ft/s
ft/s
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"", 2003 are used.
Viscosity in the mixed region (4) is interpolated according to the density. This is not true since it will be two fases.
my_pT
my_ph
my_ps
1 psi
100 psi
100 psi
100 deg F
100 btu/lb
### btu/(lb F)
#VALUE! lb/ft/hr
#VALUE! lb/ft/hr
#VALUE! lb/ft/hr
200 deg F
0.19 btu/lb
#VALUE! #VALUE! -
Prandtl
Calcualted as Cp*my/tc
pr_pT
pr_ph
1 psi
1 psi
Thermal Conductivity
Revised release on the IAPS Formulation 1985 for the Thermal Conductivity of ordinary water substance (IAPWS 1998)
tcL_p
tcV_p
tcL_T
tcV_T
tc_pT
tc_ph
tc_hs
1
1
50
50
1
1
100
psi
psi
deg F
deg F
psi
psi
btu/lb
50 deg F
100 btu/(lb F)
### btu/(lb F)
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
btu/(h*ft*F)
btu/(h*ft*F)
btu/(h*ft*F)
btu/(h*ft*F)
btu/(h*ft*F)
btu/(h*ft*F)
btu/(h*ft*F)
Surface Tension
IAPWS Release on Surface Tension of Ordinary Water Substance, September 1994
st_T
st_p
100 deg F
1 psi
#VALUE! lb/ft
#VALUE! lb/ft
#VALUE!
#VALUE!
Vapour fraction
x_ph
x_ps
1 psi
1 psi
### btu/lb
4 btu/(lb F)
vx_ph
vx_ps
1 psi
1 psi
418 btu/lb
4 btu/(lb F)
#VALUE!
#VALUE!
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
Fixed unit conversion in T_ps region4 (No effekt for SI units.)
News in V2.4
* TODO!!! Check Cv in region 5
* ToDO!!! Tc och my not def. In region 4
* 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 www.x-eng.com)
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.
* Cp, Cv and w undefined in the mixed region. (Before interpolation with the vapor fraction was used.)
Fuel/Coal
01
Air
02
Water
Water
Treatment
w1
p,T
Coal Bas
1000 g/s
Carbon (C )
Hydrogen (H )
Oxygen (O)
Nitrogen (N )
Chlorine (Cl )
Ash (A )
Sulphur (S )
Composition (wt%)
742.3
41.70
48.50
13.50
0.00
131.8
23.2
0.00
0.00
1931
7264
0.00
0.00
0.00
Carbon (C )
Hydrogen (H )
Oxygen (O)
Nitrogen (N )
Chlorine (Cl )
Ash (A )
Sulphur (S )
Total
0.7423
0.0417
0.0485
0.0135
0.0000
0.1318
0.0232
1.001
0.00
0.00
0.21
0.79
0.00
0.00
0.00
61.86
41.70
3.031
0.964
0.000
0.7
0.000
0.000
123.7
465.4
0.000
0
Composition (mol%) 1
Carbon (C )
Hydrogen (H )
Oxygen (O)
Nitrogen (N )
Chlorine (Cl )
Ash (A )
Sulphur (S )
0.571
0.385
0.028
0.009
0.000
0.007
0.000
0.000
0.210
0.790
0.000
0.000
Total
1.000
1.000
Hot Gases
Boiler
01
02
Water
Treatment
Feed
storage
tank
w2
742.3
41.70
1979
7278
0.00
131.8
23.20
0.000
0.000
0.000
0.000
0.000
131.80
0.000
Split
w1
w2
w3
w4
w5
w1
w2
w3
w4
w5
0.07
0.00
0.00
0.19
0.00
0.00
0.71
0.00
0.00
0.01
0.00
1.00
0.00
0.00
1.0
1.0
61.86
41.70
3.031
0.964
0.000
0.7
0
0
0
0
0
0
0.571
0.385
0.028
0.009
0.000
0.007
0.000
0.000
0.000
0.000
0.000
0.000
1.000
0.00
split
w1
w2
w3
w4
w5
w1
w2
w3
w4
w5
steam
Radiation Energy
w5
Factory
condensate
Flue Gas
cleaner
03
05
06
04
w3
O2
CO2
Air Comp
+ 0.5 O2 CO
CO + 0.5O2 CO2
C +
CO2 2CO
S
O2
O2
0.21 yes
N2
0.79 no
Overall reaction
3C + 3O2 + S CO2 + SO2 + 2CO
Heat of Combus
-393.51 kJ/mol
-32.7925 kJ/g
Carbon (C
0.7423
Hydrogen (
0.0417
Oxygen (O
Nitrogen (N
0.0485
0.0135
Chlorine (Cl
Ash (A )
0.1318
Sulphur (S
0.0232
condensate
Temp (K)
150.00
condensate
seperated substances
Ash/ Carbon
unwanted salts
g/mol
12
1
16
14
35.5
1
32