Professional Documents
Culture Documents
XLS WORKSHEET
(USER MANUAL IS ALSO AVAILABLE)
START
NO
STOP
3A.100A(10/2000) SHEET 1 OF N
INPUTS:
ASSUMPTIONS:
Two phase relief calculation software based on API RP-520, 7th Edition, Jan 2000, Appendix D
CONCLUSION:
REVISION 0 1 2 3 4 5 6
PREPARER /
DATE
CHECKER /
DATE
###
3A.100B(10/2000) SHEET 2 OF N
###
Date Printed: 09/28/2017
MANDATORY ASME CODE SUB-COOLED LIQUID INLET NON-FLASHING SIMPLE FLASHING NON-CONDENSABLE
2 PHASE INLET GAS PRESENT
Source Program: 2PhaseRelief0000 STONE & WEBSTER Source Program Last Edited: 30/05/01, 16:33
CALCULATION SHEET - TWO PHASE RELIEF Sheet No. ? OF N
Client Client Job No. J.O./W.O. No
Project / Plant Project Calc No. Calc No.
Location Location Date
System By
Time
Applicability "Liquid Inlet, Wide Boiling"
1. Only subcooled or saturated liquid at PRV inlet, either flashing or non-flashing through PRV. AND
2. Turbulent Flow. AND
3. EITHER Flashing multi-component systems with nominal boiling range (highest to lowest component) > 150F (80C)
OR Flashing single component systems where Tr > 0.9 or Pr > 0.5
Input Data
Q Relief Rate kg/h #DIV/0! USgal/min
Pset PRV set pressure barg 0.0 psig
%OverP PRV allowable percentage overpressure % 0 %
P0 Relieving pressure at the PRV inlet 1.01 bara 14.7 psia
T0 Relieving temperature at the PRV inlet C
o
491.4 R
rl0 Liquid density at PRV inlet kg/m3 0.00 lb/ft3
Ps Saturation (vapour) pressure (or bubble point) corresponding to T0 bara 0.0 psia
P9 90% of Ps 0.00 bara 0.0 psia
x9 Mass fraction that is vapour phase at P9 (isenthalpic flash from T0, x0, Ps) - 0 -
rv9 Density of vapour phase at P9 (isenthalpic flash from T0, x0, Ps) kg/m 0.0000 lb/ft
rl9 Density of liquid at P9 (isenthalpic flash from T0, x0, Ps) kg/m 0.00 lb/ft
Pa Backpressure bara 0.0 psia
Calculations (Method as per API RP-520, 7th Edition, January 2000, Appendix D)
r9 Homogeneous dens. at 90% of Ps (isenthalpic flash from T0, x0, Ps) #DIV/0! kg/m3 #DIV/0! lb/ft3
l 0
s =9
( 9
1
) Leung omega factor ws
2 s 1
st = ( s+
s
2
) c 3
1+2 s 2 s
22 ( s1 ) c + s s ln
c ( )+ 1=0
s 2 s s
G=
{ [ ()
68 . 09 2 ( 1 s ) +2 s s ln s ( s 1 )( s )
]} 2
Po l0
G=96. 3 [ l 0 ( P0 P ) ]
1
2
s
s ( )
1 +1 where P = Ps if critical, P = Pa if subcritical
Ghighsub #DIV/0! lb/s.ft
where h = hc if critical, h = ha if subcritical
Glowsub #DIV/0! lb/s.ft
Relief rate (mass flux) G #DIV/0! kg/s.m #DIV/0! lb/s.ft
Ql 0
A =0 .3208
Kd Kb Kc G
Valve discharge coefficient (prelim. 0.65 for subcooled, 0.85 for sat.- TBC) Kd 0.65
% gauge back pressure %gPb #DIV/0!
Back pressure correction factor Kb #DIV/0!
Rupture disc combination factor - use 1 for no rupture disc Kc 1.000
#DIV/0!
Required effective PSV discharge area A #DIV/0! cm #DIV/0! in
Source Program: 2PhaseRelief0000 STONE & WEBSTER Source Program Last Edited: 30/05/01, 16:33
#VALUE!
CALCULATION SHEET - TWO PHASE RELIEF Sheet No. ? OF N
Client Client Job No. J.O./W.O. No
Project / Plant Project Calc No. Calc No.
Location Location Date
System By
Time
Applicability "Liquid Inlet, Close Boiling"
1. Only subcooled or saturated liquid at PRV inlet, either flashing or non-flashing through PRV. AND
2. Turbulent Flow. AND
3. EITHER Flashing multi-component systems with nominal boiling range (highest to lowest component) < 150F (80C)
OR Flashing single component systems where Tr < 0.9 or Pr < 0.5
Input Data
Q Relief Rate kg/h #DIV/0! USgal/min
Pset PRV set pressure barg 0.0 psig
%OverP PRV allowable percentage overpressure % 0%
P0 Relieving pressure at the PRV inlet 1.01 bara 14.7 psia
T0 Relieving temperature at the PRV inlet C
o
491.4 R
rl0 Liquid density at PRV inlet kg/m3 0.00 lb/ft3
Cp Liquid specific heat at constant pressure at the PRV inlet kJ/kgK 0.000 Btu/lbR
Ps Saturation (vapour) pressure (or bubble point) corresponding to T0 bara 0.0 psia
rvs Density of vapour at Ps,T0 kg/m 0.0000 lb/ft
rls Density of liquid at Ps, T0 kg/m 0.00 lb/ft
hvs Specific enthalpy of vapour at Ps, T0 kJ/kg 0.0 Btu/lb
hls Specific enthalpy of liquid at Ps, T0 kJ/kg 0.0 Btu/lb
Pa Backpressure bara 0.0 psia
Calculations (Method as per API RP-520, 7th Edition, January 2000, Appendix D)
vvls Difference between the vapour and liquid specific volumes at Ps, T0 #DIV/0! m3/kg #DIV/0! ft3/lb
hvls Latent heat of vaporisation at Ps (difference between the vapour and 0 kJ/kg 0 Btu/lb
liquid specific enthalpies at Ps, T0)
Leung omega factor
2
v
s =0 .185 l 0 C p T 0 Ps vls
h vls ( ) ws
2 s ( s+
s
2
) c 3
st =
1+2 s 2 s
22 ( s1 ) c + s s ln
c ( )+ 1=0
s 2 s s
G=
{ [ ( )(
68 . 09 2 ( 1 s ) +2 s s ln
s
s 1 )( s )
]} 2
Po l0
G=96. 3 [ l 0 ( P0 P ) ]
1
2
s
s ( )
1 +1 where P = Ps if critical, P = Pa if subcritical
where h = hc if critical, h = ha if subcritical Ghighsub #DIV/0! lb/s.ft
Glowsub #DIV/0! lb/s.ft
Relief rate (mass flux) G #DIV/0! kg/s.m #DIV/0! lb/s.ft
Ql 0
A =0 .3208
Kd Kb Kc G
Valve discharge coefficient (prelim. 0.65 for subcooled, 0.85 for sat.- TBC) Kd 0.65
% gauge back pressure %gPb #DIV/0!
Back pressure correction factor Kb #DIV/0!
Rupture disc combination factor - use 1 for no rupture disc Kc 1.000
#DIV/0!
Required effective PSV discharge area A #DIV/0! cm #DIV/0! in
Source Program: 2PhaseRelief0000 STONE & WEBSTER Source Program Last Edited: 30/05/01, 16:33
#VALUE!
CALCULATION SHEET - TWO PHASE RELIEF Sheet No. ? OF N
Client Client Job No. J.O./W.O. No
Project / Plant Project Calc No. Calc No.
Location Location Date
System By
Time
Applicability "2 Phase Inlet, Non-flashing"
1. EITHER Two phase at PRV inlet, non-flashing through PRV.
OR Highly subcooled liquid and either a non-condensable gas, condensable vapour, or both.
Input Data
W Relief rate kg/h 0 lb/h
Pset PRV set pressure barg 0.0 psig
%OverP PRV allowable percentage overpressure % 0%
P0 Relieving pressure at PRV inlet 1.01 bara 14.7 psia
T0 Relieving temperature at PRV inlet C 491.4 R
x0 Mass fraction vapour at PRV inlet (quality) - 0-
rvg0 Density of vapour phase at PRV inlet kg/m 0.0000 lb/ft
rl0 Density of liquid at PRV inlet kg/m 0.00 lb/ft
k Cp/Cv for vapour phase at std. conditions (if unknown, use a value of 1.0) - 0-
Pa Backpressure bara 0.0 psia
Calculations (Method as per API RP-520, 7th Edition, January 2000, Appendix D)
vvg0 Specific volume of vapour phase at PRV inlet #DIV/0! m/kg #DIV/0! ft/lb
v0 Homogeneous specific volume at PRV inlet #DIV/0! m/kg #DIV/0! ft/lb
x 0 v vg 0
0= a0
v0 void fraction #DIV/0!
0
= Leung omega factor w #DIV/0!
k
+( 2 2 )( 1 c )2 +2 2 ln( c )+2 2 (1 c )= 0
c2
#DIV/0! #DIV/0!
P0
68 . 09 {2 [ ln ( a )+( 1)( 1 a )]} 2
P0
G=
G=68 . 09 c v0
v0 ( 1 1 )+1
a
Relief rate (mass flux) G #DIV/0! kg/s.m #DIV/0! lb/s.ft
0 . 04 W
A=
K d Kb Kc G
Valve discharge coefficient (preliminary value 0.85 - TBC) Kd 0.85
% gauge back pressure %gPb #DIV/0!
Back pressure correction factor Kb #DIV/0!
Rupture disc combination factor - use 1 for no rupture disc Kc 1.000
Source Program: 2PhaseRelief0000 STONE & WEBSTER Source Program Last Edited: 30/05/01, 16:33
#VALUE!
CALCULATION SHEET - TWO PHASE RELIEF Sheet No. ? OF N
Client Client Job No. J.O./W.O. No
Project / Plant Project Calc No. Calc No.
Location Location Date
System By
Time
Applicability "2 Phase Inlet, Wide Boiling"
1. Two phase at PRV inlet, flashing through PRV. Noncondensable gas may be present. AND
2. EITHER Flashing multi-component systems with nominal boiling range (highest to lowest component) > 150F (80 oC)
OR Flashing single component systems where Tr > 0.9 or Pr > 0.5
OR Pv0/P0 > 0.9 OR Pg0/P0 < 0.1, OR contains more than 0.1 weight % hydrogen
Input Data
W Relief rate kg/h 0 lb/h
Pset PRV set pressure barg 0.0 psig
%OverP PRV allowable percentage overpressure % 0 %
P0 Relieving pressure at PRV inlet 1.01 bara 14.7 psia
T0 Relieving temperature at PRV inlet C 491.4 R
x0 Mass fraction that is vapour phase at PRV inlet (quality) - 0 -
rv0 Density of vapour phase at PRV inlet kg/m 0.0000 lb/ft
rl0 Density of liquid at PRV inlet kg/m 0.00 lb/ft
P9 90% of P0 0.91 bara 13.2 psia
x9 Mass fraction that is vapour phase at P 9 (isenthalpic flash from T0, P0, x0) - 0 -
rv9 Density of vapour phase at P9 (isenthalpic flash from T0, P0, x0) kg/m 0.0000 lb/ft
rl9 Density of liquid at P9 (isenthalpic flash from T0, P0, x0) kg/m 0.00 lb/ft
Pa Backpressure bara 0.0 psia
Pv0 Saturation (vapour) pressure corresponding to the inlet temperature T 0. For a multi-component system, use the
bubble point pressure corresponding to T0
Pg0 Noncondensable gas partial pressure at the PRV inlet
Calculations (Method as per API RP-520, 7th Edition, January 2000, Appendix D)
vv0 Specific volume of vapour phase at PRV inlet #DIV/0! m/kg #DIV/0! ft/lb
v0 Homogeneous specific volume at PRV inlet #DIV/0! m/kg #DIV/0! ft/lb
v9 Homog. sp. vol. at 90% of P0 (isenthalpic flash from T0, P0, x0) #DIV/0! m/kg #DIV/0! ft/lb
x0 vv 0
0= a0
v0 void fraction #DIV/0!
v9
=9
( v0
1
) Leung omega factor w #DIV/0!
2 2 2 2
2 +( 2 )( 1 c ) +2 ln( c )+2 (1 c )= 0
c
critical pressure ratio hc #DIV/0!
Pc=c P0
critical pressure Pc #DIV/0! bara #DIV/0! psia
P back pressure ratio ha 0.000
a = a #DIV/0! #DIV/0!
P0
CRITICAL FLOW SUBCRITICAL FLOW
1
P0
P0
2
68 . 09 {2 [ ln( a )+( 1)( 1 a )]}
G=
G=68 . 09 c v0
v0
( 1 1)+1
a
0 . 04 W
A=
K d Kb Kc G
Valve discharge coefficient (preliminary value 0.85 - TBC) Kd 0.85
% gauge back pressure %gPb #DIV/0!
Back pressure correction factor Kb #DIV/0!
Rupture disc combination factor - use 1 for no rupture disc Kc 1.000
Source Program: 2PhaseRelief0000 STONE & WEBSTER Source Program Last Edited: 30/05/01, 16:33
#VALUE!
CALCULATION SHEET - TWO PHASE RELIEF Sheet No. ? OF N
Client Client Job No. J.O./W.O. No
Project / Plant Project Calc No. Calc No.
Location Location Date
System By
Time
Applicability "2 Phase Inlet, Close Boiling"
1. Two phase at PRV inlet, flashing through PRV. AND
2. EITHER Flashing multi-component systems with nominal boiling range (highest to lowest component) < 150F (80 oC)
OR Flashing single component systems where Tr < 0.9 or Pr < 0.5
Input Data
W Relief rate kg/h 0 lb/h
Pset PRV set pressure barg 0.0 psig
%OverP PRV allowable percentage overpressure % 0 %
P0 Relieving pressure at PRV inlet 1.01 bara 14.7 psia
T0 Relieving temperature at PRV inlet C 491.4 R
x0 Mass fraction vapour at PRV inlet (quality) - 0 -
rv0 Density of vapour at PRV inlet kg/m 0.0000 lb/ft
rl0 Density of liquid at PRV inlet kg/m 0.00 lb/ft
hv0 Specific enthalpy of vapour at PRV inlet kJ/kg 0.0 Btu/lb
hl0 Specific enthalpy of liquid at PRV inlet kJ/kg 0.0 Btu/lb
Cp Specific heat of liquid at PRV inlet kJ/kgK 0.000 Btu/lbR
Pa Backpressure bara 0.0 psia
Calculations (Method as per API RP-520, 7th Edition, January 2000, Appendix D)
vv0 Specific volume of vapour at PRV inlet #DIV/0! m/kg #DIV/0! ft/lb
vvl0 Difference between the vapour and liquid specific volumes at PRV inlet #DIV/0! m/kg #DIV/0! ft/lb
v0 Homogeneous specific volume at PRV inlet #DIV/0! m/kg #DIV/0! ft/lb
hvl0 Latent heat of vaporisation at P0 (difference between the vapour and 0 kJ/kg 0 Btu/lb
liquid specific enthalpies at PRV inlet)
x0 vv 0
0= void fraction a0 #DIV/0!
v0
2
x0 vv 0 0 . 37 P0 v vl 0 0 . 185 C p T 0 P 0 v vl 0
=
v0
2
1
( h vl0 )
+
2
v0
2
hvl 0( ) 2
Leung omega factor
w #DIV/0!
+( 2 )( 1 c ) +2 ln( c )+2 (1 c )= 0
c2
hc
Pc=c P0 critical pressure ratio #DIV/0!
critical pressure Pc #DIV/0! bara #DIV/0! psia
Pa
a =
P0 ha
back pressure ratio 0.000
#DIV/0! #DIV/0!
CRITICAL FLOW SUBCRITICAL FLOW
1
P0
68 . 09 {2 [ ln ( a )+( 1)( 1 a )]}2
P0
G=
G=68 . 09 c v0
v0
( 1 1 )+1
a
Relief rate (mass flux) G #DIV/0! kg/s.m #DIV/0! lb/s.ft
0 . 04 W
A=
K d Kb Kc G
Valve discharge coefficient (preliminary value 0.85 - TBC) Kd 0.85
% gauge back pressure %gPb #DIV/0!
Back pressure correction factor Kb #DIV/0!
Rupture disc combination factor - use 1 for no rupture disc Kc 1.000
Source Program: 2PhaseRelief0000 STONE & WEBSTER Source Program Last Edited: 30/05/01, 16:33
#VALUE!
CALCULATION SHEET - TWO PHASE RELIEF Sheet No. ? OF N
Client Client Job No. J.O./W.O. No
Project / Plant Project Calc No. Calc No.
Location Location Date
System By
Time
Applicability "Non-condensable Gas Present"
1. Two phase flashing flow with a noncondensable gas or both a condensable vapour and noncondensable gas. AND
2. Solubility of noncondensable gas in the liquid must not be appreciable (else use flashing condensable gas procedure). AND
3. EITHER Flashing multi-component systems with nominal boiling range (highest to lowest component) < 150F (80 oC)
OR Flashing single component systems where Tr < 0.9 or Pr < 0.5. AND
4. EITHER Pv0/P0 < 0.9 OR Pg0/P0 > 0.1, AND 5. Contains less than 0.1 weight % hydrogen
Input Data (definitions of symbols appear on separate sheet)
W kg/hr 0 lb/hr rl0 kg/m3 0.00 lb/ft3
Pset barg 0.0 psig x0 - 0 -
%OverP % 0 % hv0 kJ/kg 0.0 Btu/lb
P0 1.01 bara 14.7 psia hl0 kJ/kg 0.0 Btu/lb
T0 o
C 491.4 R Pv0 bara 0.0 psia
Cp kJ/kgK 0.000 Btu/lbR Pg0 bara 0.0 psia
rv0 kg/m3 0.0000 lb/ft3 k 1- 1 -
rvg0 kg/m3 0.0000 lb/ft3 Pa bara 0.0 psia
Calculations (Method as per API RP-520, 7th Edition, January 2000, Appendix D)
vvg0 #DIV/0! m3/kg #DIV/0! ft3/lb vvl0 #DIV/0! m3/kg #DIV/0! ft3/lb
v0 #DIV/0! m /kg 3
#DIV/0! ft /lb 3 hvl0 0 kJ/kg 0 Btu/lb
x 0 v vg 0
0=
v0 void fraction a0 #DIV/0!
2
0 v vl 0
=
k
+0. 185 ( 1 0 ) l 0 C P T 0 PvO
hvl 0 ( ) Leung omega factor
w #DIV/0!
2
Pg 0
Pc= [ y g 0 gc + ( 1 y g 0 ) vc ] P0 yg 0=
2 + ( 2 2 ps) ( 1 ps ) +2
ps ps ps 2
ln ps +2
ps2
( 1 ps ) =0,
P0 where ps = 0 /k for ps= gc ,
critical pressure
Pc #DIV/0! bara #DIV/0! psia and ps = for ps=vc
criticallity #DIV/0! #DIV/0!
[ ( )]
a = y g 0 g + ( 1 y g0 ) v , ( a =Pa / P0 )
P y g 0 gc 2 k ( 1 y g 0 ) vc 2 2
0 1 1 G=68 . 09 0
k g ( 1 =
v ) (
1 ,
) v0 0
+
1
Gg=
68. 09 2
{ [ 0
k
ln g +(0
k )
1 ( 1 g )
]} 2
P0 / v 0 ,
hg 0.544
0 1 hv
k g (
1 +1
) Gg
0.985
#DIV/0!
1
{
68 . 09 2 [ ln v + ( 1 ) ( 1 v ) ] }2 Gv #DIV/0!
Gv = P0 / v 0 ,
(
1
v
1 +1
) Gsub #DIV/0! lb/s.ft Gcrit #DIV/0! lb/s.ft
1
[
G= y g 0 G 2 + ( 1 y g 0 ) G
g v2 ] 2
0. 04 W
A=
K d Kb Kc G
Valve discharge coefficient (preliminary value 0.85 - TBC) Kd 0.85
% gauge back pressure %gPb #DIV/0!
Back pressure correction factor Kb #DIV/0!
Rupture disc combination factor - use 1 for no rupture disc Kc 1.000
#DIV/0!
Required effective PSV discharge area A #DIV/0! cm #DIV/0! in
PSV inlet #VALUE! mm #VALUE! in
Designation (Always use ballanced bellows valve for 2 phase relief) #VALUE! #VALUE!
PSVoutlet #VALUE! mm #VALUE! in
Orifice area (per valve) #VALUE! cm #VALUE! in
Number of operational valves #VALUE! #VALUE!
Rated flow - all valves #VALUE! kg/h #VALUE! lb/h
Source Program: 2PhaseRelief0000 STONE & WEBSTER Source Program Last Edited: 30/05/01, 16:33
#VALUE!
SYMBOL DEFINITION SHEET - TWO PHASE RELIEF
Symbol Definition
* To obtain the vapour specific volume, or vapour specific enthalpy at the PRV inlet,
use the vapour partial pressure
Source Program: 2PhaseRelief0000 STONE & WEBSTER Source Program Last Edited: 30/05/01, 16:33
ws 6.6815
hs 0.975 ( s+
1
s
2
) c
dnc 0.001 2 s
2 2 ( s 1 ) c + s s ln
c ( )
s
3
+ s s 1=0
2
This spreadsheet solves the above equations iteratively, to give the partial pressure ratios, hv and hg, for two
phase flashing flow with noncondensable gas present. Run macro "Solve_for_nv" to solve.