You are on page 1of 21

X Steam Tables

Excel macros, IF-97 Steam tables.


By: Magnus Holmgren
www.x-eng.com

The excel scripts are stored inside this workbook. A complete list of functions for use is available on th
The steam tables are free and provided as is. We take no responsibilities for any errors in the code or
OBS: This workbook uses macros. Set security options in Tools:Macro:Security to enable macros.

Saturation properties given temperature


Temperature
120.00 C
Saturation pressure
#VALUE! bar a
Liquid
Enthalpy
#VALUE! kJ/kg
Density
#VALUE! kg/m3
Entropy
#VALUE! kJ/kgK
Vapour
Vapour enthalpy
#VALUE! kJ/kg
Vapour density
#VALUE! kg/m3
Vapour Entropy
#VALUE! kJ/kgK
Evaporation energy
#VALUE! kJ/kg

Saturation properties given pressure


Pressure
12.570 bar a
Saturation temperature
#VALUE! C
Liquid
Enthalpy
#VALUE! kJ/kg
Density
#VALUE! kg/m3
Entropy
#VALUE! kJ/kgK
Vapour
Vapour enthalpy
#VALUE! kJ/kg
Vapour density
#VALUE! kg/m3
vapour Entropy
#VALUE! kJ/kgK
Evaporation energy
#VALUE! kJ/kg

Properties given pressure and temperature


Pressure
1.00 bar a
Temperature
100.00 C
Enthalpy
#VALUE! kJ/kg
Density
#VALUE! kg/m3
Entropy
#VALUE! kJ/kgK
Vapour fraction
#VALUE! %
IF97 Region
#VALUE!
Phase
#VALUE!
Isobaric heat capacity
#VALUE! kJ/kg
Speed of sound
#VALUE! m/s

Properties given pressure and enthalpy


Pressure
12.57 bar a
Enthalpy
2788.00 kJ/kg
Temperature
#VALUE! C
Density
#VALUE! kg/m3
Entropy
#VALUE! kJ/kgK
Vapour fraction
#VALUE! %
IF97 Region
#VALUE!
Phase
#VALUE!
Isobaric heat capacity
#VALUE! kJ/kg
Speed of sound
#VALUE! m/s

of functions for use is available on the "Calling functions" worksheet


sibilities for any errors in the code or damage thereby.
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

1
1
1
100

bar
bar
bar
kJ/kg

100 kJ/kg
1 kJ/(kg K)
0.2 kJ/(kg K)

#VALUE!
#VALUE!
#VALUE!
#VALUE!

C
C
C
C

Saturation temperature
Temperture as a function of pressur
Temperture as a function of pressur
Temperture as a function of enthalp

100 C
84 kJ/kg
### kJ/kg

0.3 kJ/(kg K)
5 kg/m3

#VALUE! bar
#VALUE! bar
#VALUE! bar

Saturation pressure
Pressure as a function of h and s.
Pressure as a function of h and rho

20 C
1 kJ/(kg K)
0.5
0.5
2 kg/m3

#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!

kJ/kg
kJ/kg
kJ/kg
kJ/kg
kJ/kg
kJ/kg
kJ/kg
kJ/kg
kJ/kg

Saturated vapour enthalpy


Saturated liquid enthalpy
Saturated vapour enthalpy
Saturated liquid enthalpy
Entalpy as a function of pressure an
Entalpy as a function of pressure an
Entalpy as a function of pressure an
Entalpy as a function of temperatur
Entalpy as a function of pressure an

100 C
### kJ/kg
5 kJ/(kg K)

#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!

m3/kg
m3/kg
m3/kg
m3/kg
m3/kg
m3/kg
m3/kg

Saturated vapour volume


Saturated liquid volume
Saturated vapour volume
Saturated liquid volume
Specific volume as a function of pre
Specific volume as a function of pre
Specific volume as a function of pre

100 C
### kJ/kg
1 kJ/(kg K)

#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!

kg/m3
kg/m3
kg/m3
kg/m3
kg/m3
kg/m3
kg/m3

Saturated vapour density


Saturated liquid density
Saturated vapour density
Saturated liquid density
Density as a function of pressure an
Density as a function of pressure an
Density as a function of pressure an

20 C
### kJ/kg

#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!

kJ/(kg K)
kJ/(kg K)
kJ/(kg K)
kJ/(kg K)
kJ/(kg K)
kJ/(kg K)

Saturated vapour entropy


Saturated liquid entropy
Saturated vapour entropy
Saturated liquid entropy
Specific entropy as a function of pre
Specific entropy as a function of pre

100 C
### kJ/kg

#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!

kJ/kg
kJ/kg
kJ/kg
kJ/kg
kJ/kg
kJ/kg

Saturated vapour internal energy


Saturated liquid internal energy
Saturated vapour internal energy
Saturated liquid internal energy
Specific internal energy as a functio
Specific internal energy as a functio

Pressure
psat_T
p_hs
p_hrho

Enthalpy
hV_p
hL_p
hV_T
hL_T
h_pT
h_ps
h_px
h_Tx
h_prho

1
1
100
100
1
1
1
100
1

bar
bar
C
C
bar
bar
bar
C
bar

1
1
100
100
1
1
1

bar
bar
C
C
bar
bar
bar

1
1
100
100
1
1
1

bar
bar
C
C
bar
bar
bar

0.01
0.01
0
100
1
1

bar
bar
C
C
bar
bar

1
1
100
100
1
1

bar
bar
C
C
bar
bar

Specific volume
vV_p
vL_p
vV_T
vL_T
v_pT
v_ph
v_ps

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

Specific internal energy


uV_p
uL_p
uV_T
uL_T
u_pT
u_ph

u_ps

1 bar

1 kJ/(kg K)

#VALUE! kJ/kg

Specific internal energy as a functio

100 C
200 kJ/kg
1 kJ/(kg K)

#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!

kJ/(kgC)
kJ/(kgC)
kJ/(kgC)
kJ/(kgC)
kJ/(kgC)
kJ/(kgC)
kJ/(kgC)

Saturated vapour heat capacity


Saturated liquid heat capacity
Saturated vapour heat capacity
Saturated liquid heat capacity
Specific isobaric heat capacity as a
Specific isobaric heat capacity as a
Specific isobaric heat capacity as a

100 C
200 kJ/kg
1 kJ/(kg K)

#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!

kJ/(kgC)
kJ/(kgC)
kJ/(kgC)
kJ/(kgC)
kJ/(kgC)
kJ/(kgC)
kJ/(kgC)

Saturated vapour isochoric heat cap


Saturated liquid isochoric heat capa
Saturated vapour isochoric heat cap
Saturated liquid isochoric heat capa
Specific isochoric heat capacity as a
Specific isochoric heat capacity as a
Specific isochoric heat capacity as a

100 C
200 kJ/kg
1 kJ/(kg K)

#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!

m/s
m/s
m/s
m/s
m/s
m/s
m/s

Saturated vapour speed of sound


Saturated liquid speed of sound
Saturated vapour speed of sound
Saturated liquid speed of sound
Speed of sound as a function of pre
Speed of sound as a function of pre
Speed of sound as a function of pre

Specific isobaric heat capacity


CpV_p
CpL_p
CpV_T
CpL_T
Cp_pT
Cp_ph
Cp_ps

1
1
100
100
1
1
1

bar
bar
C
C
bar
bar
bar

Specific isochoric heat capacity


CvV_p
CvL_p
CvV_T
CvL_T
Cv_pT
Cv_ph
Cv_ps

1
1
100
100
1
1
1

bar
bar
C
C
bar
bar
bar

1
1
100
100
1
1
1

bar
bar
C
C
bar
bar
bar

Speed of sound
wV_p
wL_p
wV_T
wL_T
w_pT
w_ph
w_ps

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 Substa
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 bar
1 bar
1 bar

100 C
100 kJ/kg
1 kJ/(kg K)

#VALUE! Pa s
#VALUE! Pa s
#VALUE! Pa s

1 bar
1 bar

200 C
### kJ/kg

#VALUE! #VALUE! -

Viscosity as a function of pressure a


Viscosity as a function of pressure a
Viscosity as a function of pressure a

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
tcV_p
tcL_T
tcV_T
tc_pT
tc_ph
tc_hs

100
1
100
100
100
1
100

bar
bar
C
C
bar
350 C
bar
350 kJ/(kg K)
kJ/(kg K) 0.34 kJ/(kg K)

#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!

W/(m K)
W/(m K)
W/(m K)
W/(m K)
W/(m K)
W/(m K)
W/(m K)

Saturated vapour thermal conductiv


Saturated liquid thermal conductivit
Saturated vapour thermal conductiv
Saturated liquid thermal conductivit
Thermal conductivity as a function o
Thermal conductivity as a function o
Thermal conductivity as a function o

Surface Tension
IAPWS Release on Surface Tension of Ordinary Water Substance, September 1994

st_T
st_p

100 C
1 bar

#VALUE! N/m
#VALUE! N/m

Surface tension for two phase wate


Surface tension for two phase wate

#VALUE!
#VALUE!

Vapour fraction as a function of pre


Vapour fraction as a function of pre

Vapour fraction
x_ph
x_ps

1 bar
1 bar

### kJ/kg
4 kJ/(kg K)

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
vx_ps

1 bar
1 bar

418 kJ/kg
4 kJ/(kg K)

#VALUE!
#VALUE!

Vapour volume fraction as a functio


Vapour volume fraction as a functio

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 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.

page can be removed)

on temperature
ture as a function of pressure and enthalpy
ture as a function of pressure and entropy
ture as a function of enthalpy and entropy

on pressure
e as a function of h and s.
e as a function of h and rho (density). Very unaccurate for solid water region since it's almost incompressible!

ed vapour enthalpy
ed liquid enthalpy
ed vapour enthalpy
ed liquid enthalpy
as a function of pressure and temperature.
as a function of pressure and entropy.
as a function of pressure and vapour fraction
as a function of temperature and vapour fraction
as a function of pressure and density. Observe for low temperatures (liquid) this equation has 2 solutions. (Not valid!!)

ed vapour volume
ed liquid volume
ed vapour volume
ed liquid volume
c volume as a function of pressure and temperature.
c volume as a function of pressure and enthalpy
c volume as a function of pressure and entropy.

ed vapour density
ed liquid density
ed vapour density
ed liquid density
as a function of pressure and temperature.
as a function of pressure and enthalpy
as a function of pressure and entropy.

ed vapour entropy
ed liquid entropy
ed vapour entropy
ed liquid entropy
c entropy as a function of pressure and temperature (Returns saturated vapour entalpy if mixture.)
c entropy as a function of pressure and enthalpy

ed vapour internal energy


ed liquid internal energy
ed vapour internal energy
ed liquid internal energy
c internal energy as a function of pressure and temperature.
c internal energy as a function of pressure and enthalpy

c internal energy as a function of pressure and entropy.

ed vapour heat capacity


ed liquid heat capacity
ed vapour heat capacity
ed liquid heat capacity
c isobaric heat capacity as a function of pressure and temperature.
c isobaric heat capacity as a function of pressure and enthalpy
c isobaric heat capacity as a function of pressure and entropy.

ed vapour isochoric heat capacity


ed liquid isochoric heat capacity
ed vapour isochoric heat capacity
ed liquid isochoric heat capacity
c isochoric heat capacity as a function of pressure and temperature.
c isochoric heat capacity as a function of pressure and enthalpy
c isochoric heat capacity as a function of pressure and entropy.

ed vapour speed of sound


ed liquid speed of sound
ed vapour speed of sound
ed liquid speed of sound
of sound as a function of pressure and temperature.
of sound as a function of pressure and enthalpy
of sound as a function of pressure and entropy.
Viscosity of Ordinary Water Substance", 2003 are used.

y as a function of pressure and temperature.


y as a function of pressure and enthalpy
y as a function of pressure and entropy.

ed vapour thermal conductivity


ed liquid thermal conductivity
ed vapour thermal conductivity
ed liquid thermal conductivity
l conductivity as a function of pressure and temperature.
l conductivity as a function of pressure and enthalpy
l conductivity as a function of enthalpy and entropy

tension for two phase water/steam as a function of T


tension for two phase water/steam as a function of T

fraction as a function of pressure and enthalpy


fraction as a function of pressure and entropy.

and therfore vapour volume fraction

volume fraction as a function of pressure and enthalpy


volume fraction as a function of pressure and entropy.

utions. (Not valid!!)

Tema1
p1'=
t1'=
h1'=

4.1 bar
152 C
#VALUE! kJ/kg

*
*

p2'=
t2'=
h2'=

7.8 bar
106 C
#VALUE! kJ/kg

*
*

p1"=
t1"=
h1"=

4.1 bar
112.5 C
#VALUE! kJ/kg

*
*

p2"=
t2"=
h2"=

7.8 bar
137 C
#VALUE! kJ/kg

*
*

m1=
h1s=
h2x=
t2x=
tmed=
t1c=t1s=
t2c=

#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
144.52
#VALUE!

kg/s
kJ/kg
kJ/kg
C
C
C
C

2=
w2=
de=
s=
=
di=
nt=
n=
n=

#VALUE!
1.5
25
35
2
21
#VALUE!
7
436

kg/m3
m/s
mm
mm
mm
mm

Deci n=(z1;z2)
z1=
D'/s=
D'=
ne1=
nd1=
nr1=
nt1r=
w2,1r=

367
20
700 mm
11
21
346
173
#VALUE! m/s

m2=
t1s=
r=

tmax=
tmin=

102.77777778 kg/s
144.52 C
0.987

#VALUE! C
7.52 C

Tema 2

w2fr=
u=
l=
tp1'=
tm1'=
cp1'=

211 *

*
*
*

1.52 m/s

z2=
D'/s=
D'=
ne2=
nd2=
nr2=
nt2r=
w2,2r=

439
22
770 mm
12
23
416
208
#VALUE! m/s

8 mm
5 m
138.79 C
141.655 C
#VALUE! kJ/kgK

Dc=
tp1''=
tm1''=
cp1''=

811 mm
140.79 C
142.655 C
#VALUE! KJ/kgK

1'=
1'=
1'=
1'=
Ga1'=
Pr1'=
K1'=
GaPrK=
Nu1'=

#VALUE!
#VALUE!
2.10E-07
#VALUE!
2.7838E+016
#VALUE!
#VALUE!
#VALUE!
#VALUE!

kg/m3
W/mK
m2/s
Pa s

1''=
1''=
1''=
1''=
Ga1''=
Pr1''=
K1''=
Nu1''=

#VALUE!
#VALUE!
2.08E-07
#VALUE!
2.8210E+016
#VALUE!
#VALUE!
#VALUE!
#VALUE!

kg/m3
W/mK
m2/s
Pa s

10000
1'=
ql1'=

#VALUE! W/m2 K
#VALUE! W/m

p=

52.335 W/m K

tp2'=
cp2'=
2'=
2'=
2'=
2'=
Prf2'=
Re2'=
Nu2'=
Prp2'=
2'=
ql2'=

1''=
ql1''

7000
tp2''=

kJ/kgK
kg/m3
W/mK
m2/s
Pa s

cp2''=
2''=
2''=
2''=
2''=
Prf2''=
Re2''=
Nu2''=
Prp2''=

#VALUE! W/m2K
#VALUE! W/m

ql=
tp=

6325 W/m
138.38 C

kl=

#VALUE! W/mK

Q2=
L=
l=
ks=
Sc=

#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!

KW
m
m
W/m2K
m2

#VALUE!
6.5
#VALUE!
#VALUE!
#VALUE!
20
1.5
30
8
5
0.3
17
#VALUE!
#VALUE!
198

C
C
C
C
C
mm
mm
mm
mm

2''=
ql2''
*
*

m/s
mm
kg/m3

#VALUE! C
#VALUE!
#VALUE!
#VALUE!
2.15E-07
#VALUE!
#VALUE!
145926.67093
#VALUE!
#VALUE!

94

6000

kJ/kgK
kg/m3
W/mK
m2/s
Pa s

5000
4000
3000
2000
1000
0
138.79

#VALUE! W/m2K
#VALUE! W/m
6015.77
6749.97
138.79

Tema 3
tmax=
tmin=
tmed,r=
t2r=
t1r=
de=
=
s=
k=
n=
w1=
di=
1=
nt=
n=

9000
8000

#VALUE! C
#VALUE!
#VALUE!
#VALUE!
2.19E-07
#VALUE!
#VALUE!
145926.67093
#VALUE!
#VALUE!

#VALUE! W/m2K
#VALUE! W/m

4526.8
8782.42
140.79

z1=
D'/s=
D'=
ne1=
nd1=
nr1=
nt1,r=
w1I,r=

187
14
420 mm
8
15
172
86
#VALUE!
w1f,r=

z2=
D'/s=
D'=
ne2=
nd2=
nr2=
nt2,r=
w1II,r=

241
16
480 mm
9
17
224
112
#VALUE!

0.32732281 m/s

Di=
=
St2=
2=
w2=
1=
Prf1=
1=
Re1=
Nu1=
1=
1a=

456
10
0.0523585794
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!

mm
mm
m2
kg/m3
m/s
m2/s

P2=
dh2=
2=
2=
Re2=
Prf2=
Nu2=
Pt2=
dt2=
2=
2a=

6.5658224892
0.0318976515
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
5.4035393642
0.038758729
#VALUE!
#VALUE!

m
m
m2/s
Pa s

Pa s
W/mK
W/m2K

m
m
W/mK
W/m2K

Iteratia 1

Iteratia 2

ks=
qs=
tp1=
tp2=
Prp1=
Prp2=
t1=
t2=
1=
2=
ks1=
1=

#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!

W/m2K
W/m2
C
C

Q2r=
Sr=
kl=
ql=
L=
l=

#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!

kW
m2
W/mK
W/m
m
m

W/m2K
W/m2K
W/m2K
%

qs=
tp1=
tp2=
Prp1=
Prp2=
t1=
t2=
1=
2=
ks1=
2=

#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!

W/m2
C
C

W/m2K
W/m2K
W/m2
%

tema 4
Consensatie ag primar
pab=
#VALUE! Pa
1=
#VALUE! m3/kg
C=
0.024
Condensatie ag secundar
k=
0.25
Re2=
47040
Re1=
840
f=
0.040
Prf=
#VALUE!
tmp=
#VALUE!
Prp=
#VALUE!
ft=
#VALUE!
L=
#VALUE!
plin=
#VALUE!
i=
6
ploc=
#VALUE!
p=
#VALUE!
Subracire ag primar
i=
6.5
f=
#VALUE!
tm1=
139.79
Prp=
#VALUE!
ft=
#VALUE!
L=
#VALUE!
plin=
#VALUE!
ploc=
#VALUE!
p=
#VALUE!

#VALUE! bar

mm

C
m
Pa

#VALUE! bar

Pa
Pa

#VALUE! bar
#VALUE! bar

C
m
Pa
Pa
Pa

#VALUE! bar
#VALUE! bar
#VALUE! bar

Ag secundar
i=
7
f=
0.0432926056
ft=
#VALUE!
plin=
#VALUE! Pa
ploc=
#VALUE! Pa
p=
#VALUE! Pa

#VALUE! bar
#VALUE! bar
#VALUE! bar

Tema 5
r=
h10=
td=
cp1=
cp2=
C1=
C2=
=
PR=rac=
P=t=inc=
NTC1=
NTC2=
psp,1=
psp,2=

#VALUE!
100
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
0.8586956522
0.6739130435
#VALUE!
#VALUE!

kJ/kg
kJ/kg K
kJ/kg K
kW/K
kW/K

Cmin

e1'=
e1''=
e2'=
e2''=
ex=

#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!

s1'=
s1''=
s2'=
s2''=

#VALUE!
#VALUE!
#VALUE!
#VALUE!

*
*
*

*
*
*

10000
9000
8000
7000

Row 89
Linear (Row
89)
Row 90
Linear (Row
90)

6000
5000
4000
3000
2000
1000
0
138.79

140.79

You might also like