You are on page 1of 14

INSTRUCTION FLOWCHART FOR USING THE 2PhaseRelief0000.

XLS WORKSHEET
(USER MANUAL IS ALSO AVAILABLE)

START

ENSURE THAT THIS IS


THE SOURCE PROGRAM
FILE (2PhaseRelief0000.xls)

USE FILE, SAVE AS OPERATIONS TO SAVE A COPY


WITH THE DESIRED NAME & LOCATION

COMPLETE THE CALCULATION COVER SHEET, AND


CALCULATION CONTENTS SHEET

USE THE DECISION FLOWCHART TO DETERMINE


THE APPROPRIATE WORKSHEET FOR YOUR
CALCULATION

GO TO THE APPROPRIATE WORKSHEET AND USE THE


EDIT, MOVE OR COPY SHEET COMMANDS TO
CREATE A COPY OF THE WORKSHEET

RENAME THIS COPIED WORKSHEET

ENTER INPUT DATA ETC. INTO THE RENAMED SHEET

IF THE WORKSHEET HAS A


SOLVE BUTTON, PRESS IT

ANY MORE YES


CALCULATIONS?

NO

DELETE ALL UNUSED WORKSHEETS (INCLUDING THIS ONE)

ENSURE CALCULATION COVER AND CONTENTS


WORKSHEETS ARE COMPLETED

SAVE AND PRINT ENTIRE WORKBOOK

STOP
3A.100A(10/2000) SHEET 1 OF N

STONE & WEBSTER J.O./W.O. No: J.O./W.O. No


A A Shaw Group Company CLIENT:
PROJECT:
Client
Project
CALCULATION COVER SHEET
LOCATION: Location
TITLE: EQUIP/DWG.No: CALCULATION No:
Calc No.
OBJECTIVE:

INPUTS:

ASSUMPTIONS:

ASSUMPTIONS REQUIRING CONFIRMATION:

BASIS OF CALCULATION, METHOD, OR SOFTWARE TO BE USED:

Two phase relief calculation software based on API RP-520, 7th Edition, Jan 2000, Appendix D

CONCLUSION:

DATA CONFIRMATION REQUIRED Y N

REVISION 0 1 2 3 4 5 6

PREPARER /
DATE

CHECKER /
DATE

###
3A.100B(10/2000) SHEET 2 OF N

STONE & WEBSTER J.O./W.O. No: J.O./W.O. No


A A Shaw Group Company CLIENT:
PROJECT:
Client
Project
CALCULATION TABLE OF CONTENTS
LOCATION: Location
CALCULATION NUMBER: Calc No.
TITLE PAGE

###
Date Printed: 09/28/2017

DECISION FLOWCHART FOR SIZING TWO-PHASE RELIEF DEVICES


Applicability conditions for "Liquid Inlet, Close Boiling":

1. Only subcooled or saturated liquid at PRV inlet, either flashing or non-


Only flashing through PRV.
saturated Vapour / gas Does Is non-
2-Phase NO YES YES YES AND
water / steam present at flashing condensable gas
Flow
present inlet? occur? present?
? 2. Turbulent flow
Defined as:
Liquid and YES NO NO NO
AND SHOW
SHOW // HIDE
HIDE
gas either at SHOW
SHOW // HIDE
HIDE APPLICABILITY
APPLICABILITY
inlet, outlet, SHOW
SHOW // HIDE
HIDE APPLICABILITY
3. EITHER
APPLICABILITY CONDITIONS
CONDITIONS
or within APPLICABILITY
APPLICABILITY CONDITIONS
CONDITIONS
Flashing multi-component systems with nominal boiling range (highest to
relieving CONDITIONS
CONDITIONS
lowest component) < 150F (80C)
device. No Are applicability Are applicability OR Are applicability
solid. Steam YES conditions of worksheet YES conditions of worksheet
Flashing single componentYES conditions
systems where Tr < of
0.9worksheet
or Pr < 0.5 YES
present at "Liquid Inlet, Close "2 Phase Inlet, Close "Non-condensable
inlet? Boiling" Boiling" Gas Present"
satisfied? satisfied? satisfied?
NO
NO NO NO

Use Fig. 11-2 Treat as dry "2 Phase "2 Phase


of ASME VIII, saturated steam
"Liquid Inlet, "Liquid Inlet, "2 Phase Inlet, "Non-condensable
Inlet, Wide Inlet, Close
Appendix 11 relief (single phase) Wide Boiling" Close Boiling" Non-flashing" Gas Present"
Boiling" Boiling"

MANDATORY ASME CODE SUB-COOLED LIQUID INLET NON-FLASHING SIMPLE FLASHING NON-CONDENSABLE
2 PHASE INLET GAS PRESENT

(Method as per API RP-520, 7th Edition, January 2000, Appendix D)

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

If sst then c = s , otherwise


#DIV/0!

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

transition saturation pressure ratio hst #DIV/0!


critical pressure ratio hc #DIV/0!
hs
Pc Ps Pst Pa 0.000
c = , s = , st = , a= ha 0.000
P0 P0 P0 P0
subcooling region (low subcooling if hs > hst) #DIV/0! #DIV/0!
criticallity (critical if ha < hc) #DIV/0! #DIV/0!

LOW SUBCOOLING HIGH SUBCOOLING


1

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

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! USgal/min

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

If sst then c = s , otherwise


1
#DIV/0!

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

transition saturation pressure ratio hst #DIV/0!


critical pressure ratio hc #DIV/0!
hs
Pc Ps Pst Pa 0.000
c = , s = , st = , a= ha 0.000
P0 P0 P0 P0
subcooling region (low subcooling if hs > hst) #DIV/0! #DIV/0!
criticallity (critical if ha < hc) #DIV/0! #DIV/0!

LOW SUBCOOLING HIGH SUBCOOLING


1

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

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! USgal/min

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

critical pressure ratio hc #DIV/0!


Pc=c P0
critical pressure Pc #DIV/0! bara #DIV/0! psia
Pa
a = back pressure ratio ha 0.000
P0

#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

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

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

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

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
Effective discharge 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!
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!

SUBCRITICAL FLOW CRITICAL FLOW


1

[ ( )]
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

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

W Mass flow rate


Pset PRV set pressure
%OverP PRV allowable percentage overpressure
P0 Relieving pressure (set pressure, plus allowable overpressure, plus atmospheric pressure)
T0 Relieving temperature at the PRV inlet
Cp Liquid specific heat at constant pressure at the PRV inlet
rv0 density of the vapour* (NOT including any noncondensable gas present) at the PRV inlet
rvg0 density of the gas (or combined vapour and gas) at the PRV inlet
rl0 Liquid density at the PRV inlet
vvg0 Specific volume of the vapour phase at the PRV inlet
vvl0 Difference between the vapour* (not including any noncondensable gas present) and liquid specific
volumes at the PRV inlet
v0 Homogeneous specific volume of the two-phase system at the PRV inlet
x0 Mass fraction that is vapour phase at the PRV inlet (quality)
hv0 specific enthalpy of the vapour* (NOT including any noncondensable gas present) at the PRV inlet
hl0 specific enthalpy of the liquid at the PRV inlet
hvl0 Latent heat of vaporization at the PRV inlet. For multi-component systems, h vl0 is the difference
between the vapour and liquid specific enthalpies
Pv0 Saturation (vapour) pressure corresponding to the inlet temperature T 0. For a multi-component
system, use the bubble point pressure corresponding to T 0
Pg0 Noncondensable gas partial pressure at the PRV inlet
k Ratio of specific heats of the gas (or combined vapour and gas) at PRV inlet. If the specific heat ratio
is unknown, a value of 1 can be used
Pa Backpressure

* 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

Method 1(isolating nc^2) y=mx+c 0


nc1 nc2 fn(nc1) fn(nc2) m c nc3 SQRT((nc3-nc1)^2) error successful?
0.832935 0.833935 0.832935 0.833793 0.858874 0.117549 0.832934 9.4288717278E-08 9.429E-08 Yes

Method 2 (isolating ln(nc/ns)) y=mx+c 0


nc1 nc2 fn(nc1) fn(nc2) m c nc3 SQRT((nc3-nc1)^2) error successful?
0.832931 0.833931 0.832932 0.833857 0.925356 0.062173 0.832934 3.1998047232E-06 3.2E-06 Yes

Method 3 (isolating nc) y=mx+c 0


nc1 nc2 fn(nc1) fn(nc2) m c nc3 SQRT((nc3-nc1)^2) error successful?
0.832935 0.833935 0.832935 0.833987 1.051316 -0.042743 0.832934 9.0110739537E-07 9.011E-07 Yes
This spreadsheet solves the above equation iteratively, to give the critical pressure ratio, hc, for low subcooled
liquid inlet to PRV. Run macro "Solve_for_nc" to solve.
0.832935
Final Answer hc 0.832935
w 25.66498
a0 0.454545 a = y g 0 g + ( 1 y g0 ) v ,
k 1
0 1 1
( ) ( )
ha 0.875
yg0 1 = 1
0.25 k g v
dnc 0.01

First Iterative method y=mx+c 0


nv1 nv2 fn(nc1) fn(nc2) m c nv3 SQRT((nc3-nc1)^2) error successful?
0.98537 0.99537 0.985365 0.983523 -0.184228 1.166898 0.985366 3.7398834876E-06 3.74E-06 Yes
ng1 0.543891
Second Iterative method y=mx+c 0
nv1 nv2 fn(nc1) fn(nc2) m c nv3 SQRT((nc3-nc1)^2) error successful?
1.205341 1.215341 1.205341 1.203686 -0.165548 1.404882 1.205341 1.4506211121E-07 1.451E-07 Yes
ng_ -0.116023
0.98537 0.543891
Final Answer hv 0.98537 hg 0.543891

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.

You might also like