Pipe Sizing Calc.
Pipe Sizing Calc.
Pipe Sizing Calc.
Medium
Medium Oil lines (pump discharge, normal lines)
Flowrate 5500 kg/h Oil lines (pump suction)
Density 922 kg/m3 *check medium density* Oil lines (gravity flow, under vacuum)
Flowrate 5.97 m3/h Water (pump discharge, normal lines)
Water (pump suction)
Pipe size (DN) 40 Water (gravity flow)
Pipe OD 48.3 mm
Pipe Schedule Sch 40/40S Saturated steam
Pipe THK 3.56 mm Superheated steam
Pipe ID 41.18 mm Condensate
Properties given pressure and temperature Properties given pressure and enthalpy
Pressure 1.00 bar a Pressure 12.57 bar a
Temperature 20.00 °C Enthalpy 2788.00 kJ/kg
Enthalpy 84.0 kJ/kg Temperature 191.0 °C
Density 998.21 kg/m3 Density 6.39 kg/m3
Entropy 0.30 kJ/kgK Entropy 6.51 kJ/kgK
Vapour fraction 0% Vapour fraction 100 %
IF97 Region 1 IF97 Region 2
Phase Liquid Phase Steam
Isobaric heat capacity 4.184798 kJ/kg Isobaric heat capacity 2.819479 kJ/kg
Speed of sound 1483.417 m/s Speed of sound 503.5512 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: [email protected]
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 10 bar 179.885632 °C Saturation temperature
T_ph 1 bar 200 kJ/kg 47.7591645 °C Temperture as a function of pressur
T_ps 1 bar 1 kJ/(kg K) 73.7085942 °C Temperture as a function of pressur
T_hs 100 kJ/kg 0.2 kJ/(kg K) 13.8493351 °C Temperture as a function of enthalp
Pressure
psat_T 100 °C 1.01417978 bar Saturation pressure
p_hs 84 kJ/kg 0.3 kJ/(kg K) 2.29549827 bar Pressure as a function of h and s.
p_hrho 2000 kJ/kg 5 kg/m3 6.04646903 bar Pressure as a function of h and rho
Enthalpy
hV_p 1 bar 2674.94964 kJ/kg Saturated vapour enthalpy
hL_p 1 bar 417.436486 kJ/kg Saturated liquid enthalpy
hV_T 100 °C 2675.57203 kJ/kg Saturated vapour enthalpy
hL_T 100 °C 419.099155 kJ/kg Saturated liquid enthalpy
h_pT 1 bar 20 °C 84.0118112 kJ/kg Entalpy as a function of pressure an
h_ps 1 bar 1 kJ/(kg K) 308.610717 kJ/kg Entalpy as a function of pressure an
h_px 1 bar 0.5 1546.19306 kJ/kg Entalpy as a function of pressure an
h_Tx 100 °C 0.5 1547.33559 kJ/kg Entalpy as a function of temperature
h_prho 1 bar 2 kg/m3 1082.77339 kJ/kg Entalpy as a function of pressure an
Specific volume
vV_p 1 bar 1.69402252 m3/kg Saturated vapour volume
vL_p 1 bar 0.00104315 m3/kg Saturated liquid volume
vV_T 100 °C 1.6718606 m3/kg Saturated vapour volume
vL_T 100 °C 0.00104346 m3/kg Saturated liquid volume
v_pT 1 bar 100 °C 1.69595941 m3/kg Specific volume as a function of pre
v_ph 1 bar 1000 kJ/kg 0.43792566 m3/kg Specific volume as a function of pre
v_ps 1 bar 5 kJ/(kg K) 1.03463539 m3/kg Specific volume as a function of pre
Density
rhoV_p 1 bar 0.59031092 kg/m3 Saturated vapour density
rhoL_p 1 bar 958.63689 kg/m3 Saturated liquid density
rhoV_T 100 °C 0.59813599 kg/m3 Saturated vapour density
rhoL_T 100 °C 958.354277 kg/m3 Saturated liquid density
rho_pT 1 bar 100 °C 0.58963675 kg/m3 Density as a function of pressure an
rho_ph 1 bar 1000 kJ/kg 2.2834926 kg/m3 Density as a function of pressure an
rho_ps 1 bar 1 kJ/(kg K) 975.623679 kg/m3 Density as a function of pressure an
Specific entropy
sV_p 0.01 bar 9.15546556 kJ/(kg K) Saturated vapour entropy
sL_p 0.01 bar 1.8359E-05 kJ/(kg K) Saturated liquid entropy
sV_T 0 °C 9.15575672 kJ/(kg K) Saturated vapour entropy
sL_T 100 °C 1.30701433 kJ/(kg K) Saturated liquid entropy
s_pT 1 bar 20 °C 0.29648292 kJ/(kg K) Specific entropy as a function of pre
s_ph 1 bar 84 kJ/kg 0.29681384 kJ/(kg K) Specific entropy as a function of pre
Specific internal energy
uV_p 1 bar 2505.54739 kJ/kg Saturated vapour internal energy
uL_p 1 bar 417.332171 kJ/kg Saturated liquid internal energy
uV_T 100 °C 2506.01531 kJ/kg Saturated vapour internal energy
uL_T 100 °C 418.99333 kJ/kg Saturated liquid internal energy
u_pT 1 bar 100 °C 2506.17143 kJ/kg Specific internal energy as a functio
u_ph 1 bar 1000 kJ/kg 956.207434 kJ/kg Specific internal energy as a functio
u_ps 1 bar 1 kJ/(kg K) 308.508219 kJ/kg Specific internal energy as a functio
Specific isobaric heat capacity
CpV_p 1 bar 2.07593803 kJ/(kg°C) Saturated vapour heat capacity
CpL_p 1 bar 4.21614943 kJ/(kg°C) Saturated liquid heat capacity
CpV_T 100 °C 2.07749187 kJ/(kg°C) Saturated vapour heat capacity
CpL_T 100 °C 4.21664512 kJ/(kg°C) Saturated liquid heat capacity
Cp_pT 1 bar 100 °C 2.07410855 kJ/(kg°C) Specific isobaric heat capacity as a
Cp_ph 1 bar 200 kJ/kg 4.17913573 kJ/(kg°C) Specific isobaric heat capacity as a
Cp_ps 1 bar 1 kJ/(kg K) 4.19060704 kJ/(kg°C) Specific isobaric heat capacity as a
Specific isochoric heat capacity
CvV_p 1 bar 1.55269698 kJ/(kg°C) Saturated vapour isochoric heat cap
CvL_p 1 bar 3.76969968 kJ/(kg°C) Saturated liquid isochoric heat capa
CvV_T 100 °C 1.5536987 kJ/(kg°C) Saturated vapour isochoric heat cap
CvL_T 100 °C 3.76770022 kJ/(kg°C) Saturated liquid isochoric heat capa
Cv_pT 1 bar 100 °C 1.55139725 kJ/(kg°C) Specific isochoric heat capacity as a
Cv_ph 1 bar 200 kJ/kg 4.03517636 kJ/(kg°C) Specific isochoric heat capacity as a
Cv_ps 1 bar 1 kJ/(kg K) 3.90291947 kJ/(kg°C) Specific isochoric heat capacity as a
Speed of sound
wV_p 1 bar 472.054157 m/s Saturated vapour speed of sound
wL_p 1 bar 1545.45195 m/s Saturated liquid speed of sound
wV_T 100 °C 472.255949 m/s Saturated vapour speed of sound
wL_T 100 °C 1545.09225 m/s Saturated liquid speed of sound
w_pT 1 bar 100 °C 472.337524 m/s Speed of sound as a function of pre
w_ph 1 bar 200 kJ/kg 1542.68248 m/s Speed of sound as a function of pre
w_ps 1 bar 1 kJ/(kg K) 1557.85854 m/s Speed of sound as a function of pre
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 Substan
Viscosity in the mixed region (4) is interpolated according to the density. This is not true since it will be two fases.
my_pT 1 bar 100 °C 1.227E-05 Pa s Viscosity as a function of pressure a
my_ph 1 bar 100 kJ/kg 9.1400E-04 Pa s Viscosity as a function of pressure a
my_ps 1 bar 1 kJ/(kg K) 3.8422E-04 Pa s Viscosity as a function of pressure a
Prandtl
Calcualted as Cp*my/tc
pr_pT 1 bar 200 °C 9.5781E-01 -
pr_ph 1 bar 2875 kJ/kg 9.5781E-01 -
Thermal Conductivity
Revised release on the IAPS Formulation 1985 for the Thermal Conductivity of ordinary water substance (IAPWS 1998)
tcL_p 100 bar 0.52454019 W/(m K) Saturated vapour thermal conductiv
tcV_p 1 bar 0.02475367 W/(m K) Saturated liquid thermal conductivity
tcL_T 100 °C 0.67775751 W/(m K) Saturated vapour thermal conductiv
tcV_T 100 °C 0.02479387 W/(m K) Saturated liquid thermal conductivity
tc_pT 100 bar 350 °C 0.0685453 W/(m K) Thermal conductivity as a function o
tc_ph 1 bar 350 kJ/(kg K) 0.66929633 W/(m K) Thermal conductivity as a function o
tc_hs 100 kJ/(kg K) 0.34 kJ/(kg K) 0.60628312 W/(m K) Thermal conductivity as a function o
Surface Tension
IAPWS Release on Surface Tension of Ordinary Water Substance, September 1994
st_T 100 °C 0.07550766 N/m Surface tension for two phase wate
st_p 1 bar 0.05898778 N/m Surface tension for two phase wate
Vapour fraction
x_ph 1 bar 1000 kJ/kg 0.25805542 Vapour fraction as a function of pres
x_ps 1 bar 4 kJ/(kg K) 0.44539796 Vapour fraction as a function of pres
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 1 bar 418 kJ/kg 0.2885 Vapour volume fraction as a functio
vx_ps 1 bar 4 kJ/(kg K) 0.9992 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.
age 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
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
volume as a function of pressure and temperature.
volume as a function of pressure and enthalpy
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
entropy as a function of pressure and temperature (Returns saturated vapour entalpy if mixture.)
entropy as a function of pressure and enthalpy