Safety Valve Blowback Calculation (Optimization2)
Safety Valve Blowback Calculation (Optimization2)
Safety Valve Blowback Calculation (Optimization2)
System:
Tag:
Code
Sr No
Symbol
Main Steam
Header to 18
ata header
Main Steam
Header to 18
ata header
For validation
PSV315A+315b+
331 A+ 331B
PSV 415+425
PSV 350A+
350 b +450a
+450 b
PSV 351+451
Unit
Value
1 no
Value
1 no
Value
1 no
Value
1 nos
Value
Kg/cm2(g)
64.00
18.80
18.80
13.06
8.96
tph
S
190.04
bar(a)
C
63.74
537.80
S
139.34
19.42
S
139.34
19.42
S
96.91
13.79
S
13.55
9.77
psia
F
kJ/kg
925.01
1000.04
#VALUE!
317.50
282.10
603.50
#VALUE!
317.50
282.10
603.50
#VALUE!
317.50
200.50
603.50
#VALUE!
317.50
142.14
603.50
#VALUE!
Kg/cm2(g)
psia
0.02
14.98
0.00
14.70
0.00
14.70
0.00
14.70
0.00
14.70
mm
mm
200.00
8.18
300.00
9.50
300.00
9.50
300.00
9.50
150.00
7.10
Pipe OD
Pipe ID
mm
in
219.10
323.90
12.00
323.90
12.00
323.90
12.00
168.30
6.07
Input Data
Steam Data
Steam Quality
Steam Mass flow rate
Pa
ASME test
case
W
A1
lbm/s
in2
116.38
50.00
85.33
113.20
85.33
113.20
59.35
113.20
8.30
28.90
a
b
ho
Factor
Factor
Enthalpy @ S/V inlet
Btu/lbm
Btu/lbm
823.00
4.33
#VALUE!
823.00
4.33
#VALUE!
823.00
4.33
#VALUE!
831.00
4.33
#VALUE!
831.00
4.33
#VALUE!
ft-lbf/Btu
lbm-ft/lbf-s2
778.16
32.20
778.16
32.20
778.16
32.20
778.16
32.20
778.16
32.20
mm
300.00
550.00
400.00
400.00
200.00
mm
mm
8.38
323.90
9.53
558.80
9.53
406.40
9.53
406.40
8.18
219.10
J
gc
Gravitational constant
Installation data
269110762.xls
Page 1 of 18
A3
in2
114.80
ID in
354.60
182.60
182.60
50.00
21.25
15.25
15.25
7.98
Calculations
Pressure & Velocity for Discharge Elbow
A
1
P1
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
ft/s
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
0.50
30.00
0.37
0.37
0.37
0.56
1.50
32.00
30.00
0.56
30.94
30.00
0.79
31.16
30.00
0.79
31.16
30.00
1.50
32.07
0.013
0.013
0.013
0.013
0.013
3.3
k
Specific Heat ratio
3.4 f(L/D)
1.30
0.42
1.30
0.40
1.30
0.41
1.30
0.41
1.30
0.42
3.5
P/P*
1.65
1.65
1.65
1.65
1.65
3.6
P1a
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
V1
3.2
L/D
psia
B
1
P3
269110762.xls
Page 2 of 18
psia
#VALUE!
#VALUE!
#VALUE!
200
200
200
19.85
9.41
13.12
13.12
25.06
19.85
0.013
9.41
0.013
13.12
0.013
13.12
0.013
25.06
0.013
1.3
0.26
1.30
0.12
1.30
0.17
1.30
0.17
1.30
0.33
1.506
1.43
1.43
1.44
1.55
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
0.258
0.122
0.170
0.170
0.326
V/V*
0.712
0.74
0.74
0.73
0.68
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
in
#VALUE!
200
L/D
Length of pipe
Disch pipe Length to dia ratio
L/D for pipe
#VALUE!
Total Lmax / D
Darcy-Weisbach friction factor
k
Specific Heat ratio
f(L/D) Total Lmax / D
P/P*
P2
psia
V2
From chart II - 1
V3 X ( V/V*)
W X ( V1-V2) / gc
269110762.xls
#VALUE!
Vent pipe calculation
#VALUE!
#VALUE!
#VALUE!
#VALUE!
Page 3 of 18
(P2-Pa) X A2 - ( P1 - Pa ) X A1
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
Condition to be satisfied
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
Please check the formulas below this line from the ASME code . This portion is not completed. Once it correcte
F1
lbf
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
lbf
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
lbf
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
lbf
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
F3
269110762.xls
Page 4 of 18
Properties
X Steam Tables
Excel macros, IF-97 Steam tables.
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
www.x-eng.com
OBS: This workbook uses macros. Set security options in Tools:Macro:Security to enable macros.
FLOW
PIPE SIZE
OD
THICK
ID
AREA
VELOCITY
V2/2G
Weight of particle
Area
495 TPH
137.5 KG/S
M3/S
400 NB
406 mm
36.5 mm
333 mm
0.087092 m2
0 m/s
0 mwsc
#VALUE! kg/m2
#VALUE! kg/cm2
#VALUE! gm/cm2
(m2/s2)/(m/s2)
50 gm
0.2 cm2
250 gm/cm2
Page 7
Properties
lete list of functions for use is available on the "Calling functions" worksheet
responsibilities for any errors in the code or damage thereby.
Tools:Macro:Security to enable macros.
given pressure
bar a
C
1 kg/cm2
4.3 kg/cm2
kJ/kg
kg/m3
kJ/kgK
#VALUE!
kJ/kg
kg/m3
kJ/kgK
kJ/kg
#VALUE!
0.980665 bar
4.21686 bar
152.96
9299
2221.452
2215.719
8790.6
#VALUE!
HP HEATER
kJ/kg
m/s
=
=
EXTRACTION PRESSURE
SAT.
FW INLWT
FW OUTLET
DRAIN
2
7.2 KG/CM2
Err:511
69.9
95.3
99.1
Page 8
TTD
Err:511
29.20
Properties
1.020408
-37.7
Page 9
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
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
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
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
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)
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
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
1 bar
1 bar
100 C
#VALUE! kJ/kg
#VALUE! kJ/kg
#VALUE! kJ/kg
uL_T
u_pT
u_ph
u_ps
100
1
1
1
C
bar
bar
bar
100 C
### kJ/kg
1 kJ/(kg K)
#VALUE!
#VALUE!
#VALUE!
#VALUE!
kJ/kg
kJ/kg
kJ/kg
kJ/kg
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)
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)
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
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
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! -
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)
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
#VALUE!
Vapour fraction
x_ph
1 bar
### kJ/kg
x_ps
1 bar
4 kJ/(kg K)
#VALUE!
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!
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.
on temperature
ure as a function of pressure and enthalpy
ure as a function of pressure and entropy
ure 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