Why Overpressure Protection Exists
Every pressure vessel, pipeline, and piece of process equipment has a maximum allowable working pressure (MAWP) beyond which it is not guaranteed to hold. A pressure relief valve (PRV or PSV) is the last independent line of defense: a purely mechanical device that opens automatically when pressure exceeds a preset limit, vents the excess fluid to a safe location, and recloses once pressure returns to normal. Sizing this device correctly — neither too small (it won't protect the vessel) nor needlessly oversized (it chatters, wastes flare capacity, and costs more) — is one of the most consequence-heavy calculations a process engineer performs. Get it wrong in the unsafe direction and a vessel can rupture catastrophically; that possibility is why relief system design is governed tightly by industry codes.
The Governing Standards: API 520 and 521
Two API recommended practices form the backbone of relief system design in the hydrocarbon and chemical industries:
- API 521 (Pressure-relieving and Depressuring Systems) — the "what and how much" document. It defines the credible overpressure scenarios an engineer must evaluate and gives the methods (often simplified heat-input or mass-balance equations) to calculate the relief load each scenario produces.
- API 520 (in two parts: Part I Sizing and Selection, Part II Installation) — the "which valve" document. Once the governing relief load (mass flow rate, relieving temperature and pressure, fluid phase) is known, API 520 gives the standardized equations to calculate the required orifice area and covers valve types, inlet/outlet piping requirements, and installation practice.
Together they form a two-step workflow: identify every credible relief scenario and quantify its load (API 521), then size a device for the single largest (governing) load (API 520).
Key Definitions
| Term | Meaning |
|---|---|
| Set pressure | Inlet pressure at which the valve begins to open |
| Overpressure | Pressure rise above set pressure while relieving, as % of set pressure |
| Accumulation | Maximum vessel pressure reached during relief, as % above MAWP |
| Backpressure | Pressure on the discharge side of the valve |
| Blowdown | Pressure drop below set pressure at which the valve recloses |
Code (ASME Section VIII / API 520) caps accumulation depending on scenario and the number of devices protecting the vessel: commonly 10% of MAWP for a single valve on a non-fire case, and up to 16-21% for fire cases or when multiple devices are installed. These margins exist precisely so a vessel is never exposed to pressure it was not designed for, even while venting its worst-case relief load.
Identifying Relief Scenarios
API 521 requires every credible cause of overpressure to be evaluated systematically — typically alongside a HAZOP — and the governing (largest) load carried forward to sizing. The most common scenarios are:
- External fire: a fire beneath a vessel containing liquid heats the wetted shell, boiling liquid and generating vapor faster than any outlet can remove it. API 521 provides a heat-input correlation (a function of wetted surface area, environmental/drainage factors, and an exponent reflecting whether adequate drainage and fire-fighting are credited) to estimate the vapor generation rate that must be relieved.
- Blocked outlet: a downstream valve closes (manually, by mistake, or by a faulty interlock) while the upstream pump or compressor keeps running, causing pressure to build against a closed path. The relief load equals the full upstream pump/compressor capacity at relieving conditions.
- Control valve failure: a control valve fails open (or a bypass is left open) admitting high-pressure fluid into a lower-pressure downstream system faster than it can be relieved by normal means.
- Thermal expansion (liquid "thermal relief"): a liquid-full section of pipe or a vessel is isolated between two block valves and then heated (by sun, ambient temperature rise, or a nearby hot line), causing the trapped liquid to expand and generate very high pressure because liquids are nearly incompressible. Thermal relief loads are small (often just a few gpm) but the valve is essential wherever liquid can be trapped and heated.
- Tube rupture: a heat exchanger tube fails, exposing a low-pressure shell side to high-pressure tube-side fluid, a scenario governed by its own API 521 methodology.
- Loss of cooling or reflux, power failure, and runaway reaction: upsets that stop heat removal or accelerate heat generation, particularly critical in exothermic reactors.
Each applicable scenario is quantified, and the single largest resulting mass or volumetric relief rate becomes the governing case used for sizing — unless the vessel requires separate devices for genuinely independent scenarios (e.g., a dedicated fire case device plus a separate thermal relief valve on an isolated line).
Orifice Sizing: Vapor/Gas Service
API 520 gives the standard equation for a vapor or gas relief valve operating in critical (choked) flow, the usual condition for a properly sized valve venting to atmosphere or a moderately backpressured header:
A = W / (C·Kd·P₁·Kb·Kc) × √(TZ/M)
where A is the required effective orifice area, W is the required mass flow rate (from the governing scenario), C is a function of the gas's specific heat ratio, Kd is the coefficient of discharge (certified by the manufacturer, typically ~0.975 for gas), P₁ is the upstream relieving pressure (set pressure plus allowable overpressure plus atmospheric, converted to absolute), Kb corrects for built-up backpressure on balanced valves, Kc accounts for a rupture disk installed upstream (1.0 if none), T is the relieving temperature, Z is compressibility, and M is molecular weight. The equation captures the physics directly: bigger required flow, lower relieving pressure, or heavier/hotter gas all push toward a larger required orifice.
Orifice Sizing: Liquid Service
For liquids (used for thermal relief and some blocked-outlet cases on liquid-filled equipment), API 520 gives a separate equation based on incompressible flow:
A = Q / (38·Kd·Kw·Kc·Kv·√(P₁ − P₂)/G)
where Q is the required volumetric flow (gpm), P₁ − P₂ is the pressure differential across the valve at relieving conditions, G is specific gravity, and Kv corrects for viscosity effects at low Reynolds numbers (important for viscous liquids, where a larger orifice may be needed to compensate for reduced discharge coefficient). Liquid relief valves are commonly set to open at 10% overpressure per code for non-fire liquid cases.
Two-Phase and Steam Relief
Many real relief scenarios — flashing liquids, runaway reactions that generate vapor and entrained liquid together — require two-phase sizing methods (such as the omega method), which are more involved than the single-phase equations above and are usually handled with specialized software. Steam relief has its own dedicated API 520 equation using a steam-specific coefficient (KN, KSH for superheat) rather than the general gas equation.
Standard Orifice Sizes
Once the required area is calculated, it is never used directly to machine a custom orifice. Instead, it is rounded up to the next-larger of API's standardized letter-designated orifice sizes:
| Letter | Approx. area (in²) |
|---|---|
| D | 0.110 |
| E | 0.196 |
| F | 0.307 |
| G | 0.503 |
| H | 0.785 |
| J | 1.287 |
| K | 1.838 |
| L | 2.853 |
| … | through T (largest, ~26 in²) |
Standardization lets valve manufacturers pre-certify discharge coefficients for each orifice letter and lets plants stock interchangeable spares — rounding down to save a size is never acceptable, since it would under-protect the vessel.
Backpressure and Valve Type Selection
The discharge side of the valve matters as much as the inlet. Built-up backpressure — pressure that develops in the discharge header only while the valve (and possibly others) are relieving — and superimposed backpressure — pressure already present in the header before the valve opens, from other sources — both reduce the effective pressure differential driving flow and can affect set-point accuracy and capacity:
- Conventional (spring-loaded) valves are simplest and cheapest but are sensitive to backpressure; built-up backpressure above roughly 10% of set pressure can noticeably reduce capacity and cause the valve to open unstably (chatter).
- Balanced bellows valves add a bellows that shields the valve disc from backpressure effects, maintaining rated capacity and set pressure accuracy up to roughly 30-50% of set pressure, at the cost of the bellows itself as a maintenance item.
- Pilot-operated relief valves use process pressure through a small pilot to hold the main valve closed, and are largely unaffected by backpressure — well suited to high or variable backpressure header systems and tight operating margins close to set pressure.
Worked Example: Fire-Case Vapor Relief
A horizontal vessel has 120 m² of wetted surface exposed to fire with adequate drainage credited. Using the API 521 fire heat-input correlation, the estimated heat input is 4.8 MW. Dividing by the latent heat of vaporization of the stored liquid (say 350 kJ/kg) gives a required vaporization/relief rate of roughly 13.7 kg/s (≈ 49,000 kg/h). This mass flow, together with the relieving pressure (set pressure × 1.21 for a fire case, converted to absolute, plus atmospheric) and the vapor's molecular weight and temperature, is substituted into the API 520 gas sizing equation to compute the required orifice area, which is then rounded up to the nearest standard letter size — commonly landing in the H through L range for a vessel of this scale, depending on relieving pressure.
Installation and Ongoing Assurance
Sizing the valve is only half the job. API 520 Part II governs inlet piping (pressure drop into the valve must stay below 3% of set pressure to avoid chatter), discharge piping (sized to avoid excessive built-up backpressure), and support. After installation, relief valves require periodic inspection and bench testing (often on a risk-based interval under the plant's mechanical integrity program) to confirm the set pressure has not drifted and the valve still lifts and reseats cleanly — because a relief valve that fails to open when needed, or leaks continuously when it should stay shut, defeats the entire purpose of the calculation that sized it.