You are on page 1of 10

Ensure a truly rigorous relief valve

sizing method
Pressure relief valves (PRVs) protect equipment from excessive overpressure and,
in case of emergency situations, they should ensure a sufficient discharge of mass
to reduce the pressure below the recommended pressure limits.

August 2018

Guner, U., Bryan Research & valves is introduced, in addition to the


Engineering, Inc. existing, ideal gas-based
models. Furthermore, API Standard
2
Pressure relief valves (PRVs) protect 520 suggests using a real gas
equipment from excessive isentropic coefficient calculation
overpressure and, in case of method as an alternative to the ideal
emergency situations, they should gas-specific heat ratio for sizing relief
ensure a sufficient discharge of mass valves. Different vapor and
to reduce the pressure below the supercritical vapor vent sizing
recommended pressure limits. The approaches and their performance
purpose of relief sizing is to determine against a rigorous model are
the area needed to hold the required compared here. The rigorous model
mass discharge from the valve under performs many isentropic flashes
different overpressure scenarios. The using appropriate thermodynamic
discharged mass can be vapor, liquid, packages offered.a The performance
supercritical fluids or two-phase fluids. of each method is assessed through
This article focuses on relief valve both pure component and mixture
sizing methods for vapor phase and examples. A rigorous sizing method
supercritical fluids at choked flow. can be conveniently applied, along
with other alternative methods, for API
The American Petroleum Institute (API 520 sizing calculations.a
Standard 520)1,2 recommends basing
vapor-phase sizing methods on an
ideal gas flow assumption.1 This Design and sizing
assumption has been addressed by PRVs are the primary means of
several industry groups, and may lead excessive overpressure protection. A
to high levels of deviation in cases of pressure relief device is designed to
near-critical and supercritical open, relieve excessive pressure,
fluids.3,4 In the most recent version of reclose and prevent further flow of fluid
API 520, a rigorous approach for after normal conditions have been
calculating mass flux through the
restored. PRVs consist of an inlet discharged through the relief system is
nozzle connected to the vessel, a not within the scope of this article.
movable disc that controls the flow
through the nozzle and a spring that The mass flux, Gn, is calculated from
controls the position of the disc. The either an appropriate theoretical model
operation of conventional spring- or numerically. The discharge
loaded PRVs is based on a force coefficient KD accounts for the
balance. The spring load is preset to difference between the predicted ideal
apply a force that is opposite to the nozzle and the actual mass flux in the
pressure force exerted by the fluid on valve. It is available from the valve
the other side when it is at the set vendors.
pressure. When the pressure at the
inlet of the valve is below the set It is important that the relief area be
pressure of the valve, the disc is neither too large nor too small. An
seated on the nozzle to prevent flow undersized valve will not provide the
through the nozzle. required overpressure protection,
whereas an oversized valve will result
The purpose of relief valve sizing is to in excessive flow. This can adversely
determine the proper discharge area affect the opening and closing
of the relief device and the diameter of characteristics of the relief valve,
the associated inlet and outlet piping. resulting in possible damage to the
Although an orifice is commonly used valve. Unexpected high flow due to
to describe the minimum flow area oversizing also results in undersized
constricted in the valve, the geometry discharge piping and effluent handling
resembles a nozzle and the area is systems downstream of the valve. In
determined by applying Eq. 1 for flow addition, the cost of an oversized relief
in an isentropic nozzle.5,6 The required valve will be higher. Over-predicted
orifice area for a relief valve is: mass flux leads to an undersized
valve, while under-predicted mass flux
results in an oversized valve.
Therefore, it is crucial to calculate
mass flux correctly. The next section
(1) will investigate theoretical models for
mass flux through relief valves.
where A is the area of the valve, m˙ is
the mass flowrate through the METHODOLOGIES
valve, Gn is the mass flux and KD is the
discharge coefficient. Mass flux in PRVs is modeled using an
isentropic nozzle equation. The
The value of mass flowrate, m˙, is expression (Eq. 2) for the mass flux
determined by energy and mass (G) in an ideal (isentropic) nozzle is
balances on the vessel under the obtained directly from an energy
conditions of a specific relief scenario: balance in the nozzle.2,5,6
a run-away reaction, an external fire,
loss of cooling, thermal expansion of a
liquid, control valve failure, etc.
Calculation of mass flowrate
(3)
(2)
where P1 is the pressure at the
where P1 is the pressure at the valve inlet, v1 is the specific volume at the
entrance, P is the fluid pressure, Pn is inlet, and n is the isentropic expansion
the downstream pressure (pressure at coefficient. P and v are the pressure
the nozzle exit or nozzle throat), ρn is and specific volume within the
the density at the nozzle exit (throat), isentropic path. The major
and un is the velocity at the exit. assumptions in the derivation of Eq. 3
are that the gas follows an isentropic
When a compressible fluid moves from path, and the isentropic coefficient is
a high-pressure upstream condition to constant along this path.
a low downstream pressure across a
nozzle, orifice or pipe, it expands. As a Combining Eqs. 2 and 3 and the
result, its density decreases and definition of sonic velocity, the mass
velocity increases. For a given inlet flux relation for choked flow can be
condition and with decreasing obtained, using Eq. 4:
downstream pressure, the mass flux in
the nozzle increases due to the
expansion and flow area reduction,
until a limiting velocity is reached in the
nozzle. This is called choked or critical
flow. The limiting velocity is the sonic
velocity of the fluid at the throat (4)
condition. The mass flux that
corresponds to the sonic velocity is
known as the critical mass flux. The
pressure at which critical mass flux In this equation, P1 and ρ1 are the inlet
occurs is called the critical flow gas pressure and density, and n is the
pressure. When the downstream isentropic expansion coefficient. The
pressure is lower than the critical flow expansion coefficient is assumed to be
pressure, mass flux will remain constant along the isentropic nozzle
constant at the maximum value. path.

To solve Eq. 2 analytically, a For gases, the density at the valve inlet
relationship between pressure and can be calculated with Eq. 5:7
density (or specific volume) is needed.
For vapors and gases with a constant
isentropic expansion coefficient, the
expression for the pressure and
specific volume relationship along an
isentropic path can be shown in Eq.
3:2,7 (5)
where Z is the compressibility, Mw is gas-specific heat ratio at the valve inlet
the molecular weight, T1 is the conditions can be used.
temperature at the inlet, P1 is the
pressure at the inlet, and R is the gas Real gas-specific heat ratio
constant.
API 520 stresses that most simulators
Calculating isentropic will provide the real gas-specific heat
ratio, and that using the real gas-
expansion coefficients specific heat ratio may lead to
In the derivation of relief valve sizing undersized valves.2 The proprietary
equations, the common assumption is process simulation softwarea reports
that the gas behaves ideally when both ideal gas and real gas-specific
following the isentropic path between heat ratios. To test the impact of using
upstream and downstream valve real gas-specific heat ratio instead of
conditions. However, the inlet gas ideal gas-specific heat ratio on PRV
density is calculated using the real gas sizing, the critical mass flux based on
equation (Eq. 5). An ideal gas flow the real gas-specific heat ratio can be
assumption leads to Eq. 6 for the written:
critical mass flux:

(8)
(6)
Eq. 8 is simply obtained by
where ĸ is the ideal gas isentropic replacing ĸ in Eq. 6 with n*. The
coefficient and term n* is the real gas-specific heat
ratio and is shown in Eq. 9 as

(7) (9)

It can be seen from Eq. 7 that the ideal where Cp and Cv are the real gas-
gas isentropic coefficient is simply specific heat at constant pressure and
equal to the ideal gas-specific heat volume, respectively.
ratio. Similar to Eq. 4, the derivation of
mass flux in Eq. 6 is based on the Real gas isentropic
assumption that the ideal gas-specific
heat ratio is constant along the coefficient
isentropic path. Therefore, the ideal Another approach for calculating mass
flux is to calculate the isentropic
expansion coefficient for real gases. temperature), T1. Upon choosing an
The analytical derivation for the real appropriate thermodynamic package
gas isentropic coefficient requires a using the process simulation software,
valid thermodynamic model that flashes are performed both at the inlet
describes the pressure-volume (P1, T1) and outlet conditions
relationship. The analytical derivation [(P1 − ΔP), T1)] to obtain a specific
can get complicated, and the volume change Δv. The real gas-
coefficient may change along the specific heat ratio, Cp ⁄ Cv, is calculated
isentropic path. In the event of a at the inlet flash. The calculated real
constant isentropic coefficient, an gas isentropic coefficient can be
expression (Eq. 10) for the isentropic plugged into Eq. 4 to obtain critical
coefficient can be derived as:2,4 mass flux.

Direct integration method


The energy balance for an isentropic
(10) nozzle path that is given in Eq. 2 is
valid irrespective of non-ideality or
Since the isentropic coefficient is compressibility for any homogenous
assumed constant along the isentropic fluid. Therefore, it can be taken as the
path, the expression in Eq. 10 can be reference model for calculating valve
calculated at the valve inlet conditions. mass flux. This general expression
However, it is still a complex task to get can be used when the pressure-
an analytical expression for the density relationship at constant
derivative term at the right-hand side of entropy is available. This relationship
Eq. 10. It can be calculated in Eq. 11 is not available analytically for most
numerically as: thermodynamic models. However, the
integral in Eq. 2 can be evaluated
numerically by direct summation over
small pressure intervals. Eq. 2 can be
discretized as Eq. 12:
(11)

where ΔP is the change in pressure


and Δv is the change in specific
volume. (12)
The derivative (ΔP ⁄ Δv)T is calculated where P(i + 1) and P(i) are the
at inlet conditions using the process consecutive pressures at a pressure
simulation software. The gas at the increment, ¯ρi is the average density
inlet pressure (relief pressure) P1 is in the isentropic path between
expanded to a pressure: P1 − ΔP. The pressures: P(i) and P(i + 1), ρn is the
change in pressure ΔP is set to a small density at the downstream conditions
value (10 psi used in calculations). The and Pn is the downstream pressure.
temperature at the outlet of the The pressure domain between the
expansion process is set equal to the valve upstream pressure, P1, and
inlet temperature (relief valve downstream pressure, P2, is
divided into m pressure steps. The decreasing the parameter, s) at the
step size is shown in Eqs. 13, 14 and expense of increased computation
15: load.

ΔP(i) = P(i) – P(i + 1) (13) Comparison


for i = 0, . . , m, where In the previous section, different
theoretical models for evaluating mass
P(0) = P1 (14) flux for relief valves are presented.
Direct integration is the most general,
and rigorous and accurate method, as it
deals with real gasses and does not
P(m) = Pn (15) require an assumption of a constant
isentropic coefficient. Therefore, it can
The step size, s, in each increment is be used as a reference model for mass
equal to a fraction of the pressure at flux calculations. The other models are
that step (Eq. 16): benchmarked against the direct
integration method in different case
ΔP(i) = sP(i) (16) studies to assess the validity of
assumptions in these models.
In this equation, s is set to 0.05.
Average density is taken as the The methods are compared based on
arithmetic average of the two densities the percent deviation of the calculated
(Eq. 17): mass flux from the rigorous direct
integration method mass flux
calculation for different systems at
various inlet reduced pressures.
(17)
Inlet reduced pressure is the ratio of
inlet pressure to the critical pressure of
These calculations are performed in
the gas. Critical pressure is the
process simulation softwareFirst, a
pressure at the thermodynamic critical
valid thermodynamic package for the
point of the substances above which
system is chosen. Then, fluid is
flashed at each pressure increment substances cannot be liquefied.
and inlet entropy using the chosen Critical pressure should not be
thermodynamic environment. confused with the critical flow pressure
Pressure, average density and outlet that defines the downstream pressure
density resulting from the flash at which flow becomes choked. Inlet
calculations at each increment are reduced critical flow ratio is defined in
plugged into Eq. 12 and summed over Eq. 18 as:
all m steps to evaluate integration. The
only error associated with this
technique is related to the numerical
error that is introduced due to the
discretization. Error can be reduced by (18)
choosing a smaller step size (by
where PC is the critical pressure flux that is calculated using the ideal
determined using process simulation gas isentropic coefficient (Eq. 6)
software. The percent deviation of the under-predicts the mass flux at all
mass flux is defined in Eq. 19 as: reduced pressures. This leads to an
oversized valve (Eq. 1). The results
are satisfactory for low pressures;
however, the deviation increases to
15% at very high pressures. Using the
real gas-specific heat ratio (Eq. 8)
over-predicts the mass flux; therefore,
(19)
it under-sizes the valve. This is in
accordance with API’s comment on
where e is the percent mass flux
the possibility of under-sizing valves
deviation of a method from the direct
when a real gas-specific heat ratio is
integration method. The term G* is the
used. At very high pressures,
mass flux calculated using the direct
however, this method under-predicts
integration method, and G is the mass
the flux and gives a lower percent
flux calculation in question.
deviation than the ideal gas-specific
heat ratio method. Mass flux
The mass flux calculation methods
calculation using the real gas
have been compared with the direct
isentropic coefficient outperforms
integration method for the following
other methods and results in a
three cases at different inlet reduced
deviation within 2% for all inlet reduced
pressures. All thermos-physical
pressures.
properties are calculated using the
Peng-Robison equation of state in
process simulation software.

FIG. 2. Percent mass flux deviation from the direct


integration method for saturated n-butane (Case 2).
FIG. 1. Percent mass flux deviation from the direct
integration method for air at 250 K for different
reduced pressures (Case 1).
Case Study 2—Saturated n-
butane
Case Study 1—Air at 250 K This case evaluates the discharge of
This case involves air venting at 250 K saturated n-butane at five different
at different inlet reduced inlet reduced pressures from 0.2–0.9.
pressures. FIG. 1 shows the mass flux The results are plotted in FIG. 2. The
deviations for all three methods. Mass ideal gas-specific heat ratio method
over-predicts the flux, which results in increasing as reduced pressure
an undersized valve. The degree of increases. The real gas-specific heat
over-prediction increases up to 20% ratio method over-predicts the mass
as the thermodynamic critical point is flux by up to 3% from reduced
approached. This is opposite to the pressures from 0.2–2.7. This trend is
trend observed in the first case study reversed at higher pressure. The ideal
for this method. gas method under-predicts the flux up
to 18%. The deviation for the real gas-
The real gas-specific heat ratio specific heat ratio method remains
method also over-predicts the mass less compared to the ideal gas case at
flux and under-sizes the valve. The high pressures. The real gas isentropic
deviation for this method increases to coefficient method, on the other hand,
more than 50% with increasing inlet slightly under-predicts at low
reduced pressure. The real gas pressures (inlet reduced pressures
isentropic coefficient method, on the from 0.2–1). It over-predicts the flux at
other hand, slightly under-predicts the the supercritical region, and errors
mass flux. The mass flux deviation remain within the 3% range.
remains within –5% at all inlet reduced
pressures. Takeaways
Different mass flux calculation
methods for relief valve sizing have
been examined here: the ideal gas-
specific heat ratio, the real gas-specific
heat ratio and the real gas isentropic
coefficient method. All methods were
benchmarked against the rigorous
direct integration method using
percent mass flux deviation criteria.
The results show that using the ideal
FIG. 3. Percent mass flux deviation from the direct gas isentropic coefficient can lead to
integration method for vapor mixture at 93°C errors up to 20%. This method under-
(200°F) (Case 3).
predicts the mass flux for most cases,
but also can over predict the flux as in
Case Study 3—Hydrocarbon the saturated n-butane case. The real
mixture at 93°C (200°F) gas-specific heat ratio method follows
a similar trend but remains slightly over
This case study considers a gas the ideal gas-specific heat ratio curve.
mixture that consists of C1 (90 mol%), The real gas isentropic coefficient
C2 (5 mol%), C3 (3 mol%) and C4 (2 method compared closely and
mol%). FIG. 3 shows the change in consistently against the benchmark
mass flux deviation for this mixture at direct integration method in most
93°C (200°F) with reduced pressure. cases, with errors generally below 5%.
For all inlet reduced pressures, the
ideal gas-specific heat ratio method The results reveal that of the
slightly under-predicts the flux (over- assumptions, the most consistent as
sizing the valve) with the error compared to direct integration was the
use of real gas isentropic coefficients. 6. Darby, R., P. R. Meiller and J.
Still, with modern simulators capable R. Stockton, “Select the best
of rigorously calculating the integral for model for two-phase relief
mass flux, the best choice may be to sizing,” Chemical Engineering
avoid these assumptions altogether, Progress, 2001.
and instead simply use the direct 7. Smith, J. M., H. C. Van Ness
integration method for calculating and M. M. Abbott, “Introduction
mass flux. HP chemical engineering
thermodynamics,” McGraw-Hill
NOTES Chemical Engineering Series,
6th Ed., 2001.
aProMax Process Simulation
Software, Bryan Research & NOMENCLATURE
Engineering Inc.
 A m2 Area of
the valve
 Cop J/mole-K Ideal
gas-specific heat at constant
pressure
LITERATURE CITED  Cov J/mole-K Ideal
gas-specific heat at constant
1. American Petroleum Institute volume
(API) Recommended Practice  CP J/mole-K Real
520, “Sizing, selection and gas-specific heat at constant
installation of pressure-relieving pressure
devices in refineries,” 7th Ed.,  Cv J/mole-K Real
2000. gas-specific heat at constant
2. American Petroleum Institute volume
(API) Recommended Practice  e % Percent
520, “Sizing, selection and deviation of mass flux
installation of pressure-relieving calculation methods from the
devices in refineries,” 9th Ed., direct integration method
2014.  G kg/m2/sec Mass
3. Kim, J. S., H. J. Dunsheath and flux at the valve throat or exit
N. R. Singh, “Proper relief-valve  i Incremen
sizing requires equation t counter used for summation
mastery,” Hydrocarbon purposes
Processing, December 2011.  KD Discharg
4. Shackelford, A., “Using the e coefficient of the valve
ideal gas-specific heat ratio for  Mw kg/mol Molecular
relief-valve sizing,” Chemical weight of the gas
Engineering,November 2003.  m˙ kg/sec Mass
5. Darby, R., F. E. Self and V. H. flowrate through the valve
Edwards, “Properly size  n Real gas
pressure-relief valves for two- isentropic coefficient
phase flow,” Chemical  n* Real
Engineering, June 2002. gas-specific heat ratio
 P1 Pa Pressur
e at the valve inlet
The Author
 Pn Pa Pressur Guner, U. - Bryan Research & Engineering,
e at the valve exit Inc., Bryan, Texas
 P Pa Pressur
e
 R J/mole-K Gas
constant
 r Inlet
reduced pressure
 s Fraction
of pressure at each increment
 T1 K Tempera
ture of the gas at the valve inlet
 Un m/sec Velocity
at the valve throat or exit
 v m3/kg Specific
volume of the gas at an
arbitrary point in the valve
 v1 m3/kg Specific
volume of the gas at the valve
inlet
 Z Compres
sibility of the gas
 ĸ Ideal gas
isentropic coefficient or ideal
gas-specific heat ratio
 ∆P Pa Differen
tial pressure used in real gas
isentropic coefficient
calculation
 ∆P(i) Pa Differenti
al pressure used in direct
integration method
 ∆v m3/kg Differenti
al specific volume
 ρn kg/m3 Gas
density at the valve throat or
exit
 ρ kg/m3 Gas
density within the valve
 ¯ρi kg/m3 Average
gas density between
consecutive pressure
increments

You might also like