Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Relief Valve Sizing

In the orifice flow lecture, we reviewed estimated flows through an orifice for gases, liquids, and two-phase flow. Those equations can be used to size a relief valve to prevent the pressure from exceeding a certain value. Solving the mass or mole balance equations in such scenarios can often be completed in a straight forward way.

Important parameters for estimating the internal pressure to ensure the maximum pressure allowed isn’t exceeded include:

  • the generation rate of the gases from the failure mode that need to be vented

  • the size of the relief valve

The American Petroleum Institute publishes the API 520 which is a standard for sizing and selection of relief devices. The newest edition is the 10th edition and it is 509 dollars on their webstore: https://www.apiwebstore.org/standards/520__Part_1 . Although I don’t have the most recent edition, an estimate for the needed area for gas flow is by the below equation.

API 520 Equation in SI units

A=WCKdP1KbKcTZMA = \frac{W}{C\cdot K_d \cdot P_1 \cdot K_b \cdot K_c}\sqrt{\frac{T\cdot Z}{M}}

where AA is the vent area in mm, WW is the mass flow through the vent in kg/hr, P1P_1 is the upstream relieving pressure (set pressure + overpressure + atmospheric pressure) in absolute pressure in kPa, T is the temperature in K, Z is the compressibility of the gases (1), M is the molecular weight of the gases in gm/mol, C is a value incorporating the heat capacity ratio and unit conversion and has a value here of 0.027. KdK_d is the coefficient of discharge equal to 0.9. KbK_b and KcK_c are other coefficients depending on downstream resistance or other configurations and are equal to 1 in this case.

Gas Flow Through an Orifice (Theoretical)

Reproduced here is estimated the flow of a gas through an orifice from the orifice flow lecture. It is also derived from an energy balance assuming adiabatic and frictionless flow. The flow is characterized by the pressure ratio, Po/PatmP_o/P_{atm} and associated Mach number, MaMa. PoP_o is the absolute pressure of the volume. The Mach number can be found from:

Ma=min(1,2γ1((PoPatm)γ1γ1))Ma = \text{min} \left(1, \sqrt{\frac{2}{\gamma - 1}\left(\left(\frac{P_o}{P_{atm}}\right)^{\frac{\gamma - 1}{\gamma}} - 1\right)}\right)

where γ\gamma is the ratio of specific heats (1.4 for air). The flow is choked when Ma=1Ma = 1 and unchoked when Ma<1Ma < 1.

The molar flow rate is given by:

n˙=PoACdγRTMwMa[1+(γ1)2Ma2]γ+122γ\dot{n} = P_o A C_d \sqrt{\frac{\gamma}{R T M_w}} Ma \left[ 1+\frac{(\gamma-1)}{2}Ma^2\right]^{\frac{\gamma+1}{2-2\gamma}}

where RR is the gas constant and TT is the temperature, PoP_o is the absolute pressure inside the vessel, CdC_d is the discharge coefficient (typically about 0.9). If you use all SI units (Pascal, meters, kilograms, mole: so pressure in pascal, area in meters, R in J/mol/K, and Mw in kg/mol), you’ll get mole per second for n˙\dot{n}. See Perry’s Handbook for Chemical Engineers Equation 6-118 for more information.

Relief valve sizing in some instances does required verification with actual flow per the AMSE Boiler and Pressure Vessel Code.

In Class Example: Venting CO2 from 2L Bottle

A two liter bottle is half filed with water. There is a relief valve on the top designed to relieve at 60 psig with a flow of 61 scfm. What is the flow rate of CO2 through the relieve per the above equations?

import numpy as np
#fist find the Mach number
gamma = 1.3 #specific heat capacity ratio for CO2, estimate
P1 = 60 + 12.5 #initial pressure, estimate, psia
Patm = 12.5 # atmospheric pressure, psia
Ma = min(1, np.sqrt(2/(gamma-1)*((P1/Patm)**((gamma-1)/gamma)-1))) #Mach number
Ma
1
#now calculate the molar flow rate
R = 8.314 # gas constant, J/(mol*K)
Temp = 295 # temperature, K
Area = np.pi/4*(1/4*0.0254)**2 # area of the pipe, m^2
Cd = 0.9 # discharge coefficient
Mw = 0.04401 # molar mass of CO2, kg/mol
# molar flow rate, mol/s
ndot = P1*6894.76*Area*Cd*np.sqrt(gamma/(R*Temp*Mw))*Ma*(1+(gamma-1)/2*Ma**2)**((gamma+1)/(2-2*gamma)) 
print(f'The molar flow rate is {ndot:0.2f} mol/s')
The molar flow rate is 0.92 mol/s
#now convert that molar flow rate into scfm, PV = nRT
Tstandard = 298.15 # standard temperature, K
Pstandard = 101325 # standard pressure, Pa
scmps = ndot*R*Tstandard/Pstandard #units of m^3/s
scfm = scmps*60*(3.281**3)
print(f'The flow rate in scfm is {scfm:0.1f}')
The flow rate in scfm is 47.4

Why is this number different than the reported flow rate of CO2 through the relief valve? Could the diameter of the relief be slightly larger?

How would you get the generation rate of CO2 from the submlimation of dry ice?

Q=hA(TwaterTice)mdot=Q/ΔHvapQ = hA(T_{water} - T_{ice}) \\ mdot = Q/\Delta H_{vap}

Does area (AA) change? How would you get the heat transfer coefficient (hh)?

In Class Example 2: More venting from a CO2 bottle

See text, in-class notes, and the python code here: Calcs.ipynb (after the Chapter 7 Heading)