API 520 Part I | API 521 Fire | API 526 Orifices | Metric + Imperial | v1.0
Critical & subcritical flow | C(k) | Kb | F₂ | orifice D–T
A pressure safety valve (PSV) is the last line of defence: if pressure in your vessel rises too high, it pops open and lets gas escape until things are safe again. This tab answers one question: how big must the valve opening be to let enough gas out fast enough?
Reading the result: the tool computes the required orifice area, then picks the next standard API 526 orifice letter (D = smallest … T = largest). "Q orifice, 78% used" means: buy a Q-orifice valve, and your load uses 78% of what it can pass — the spare margin is normal and healthy.
Napier equation | Kn high-pressure | Ksh superheat
Sizing a safety valve for a steam boiler, steam drum, or steam line. Same idea as the gas tab, but steam gets its own dedicated formula (with two extra correction factors handled automatically).
Certified valves (Kd = 0.65) | Kw bellows | Kv viscosity iteration
For valves protecting liquid-full systems: pump discharge lines, blocked-in liquid piping, thermal-relief on pipelines. Liquid valves work differently from gas valves (liquid doesn't expand), so they use their own certified formula.
Tip: thermal expansion of blocked-in liquid (sun or heat tracing warming a full pipe) produces tiny flows — usually a ¾"×1" valve. The Scenarios tab can calculate that load for you.
Wetted: Q = C·F·Aw⁰·⁸² → W = Q/λ | Unwetted: A = F′·A′/√P₁
If a pool fire burns under your vessel, the flames boil the liquid inside and the vapor must escape through the PSV. This tab first works out how much heat the fire puts in, converts that to a vapor flow, then sizes the valve. It's often the governing case for storage vessels.
Leung ω-method | ω = 9·(v₉/v₀ − 1) | critical ratio η꜀ | mass flux G
Sometimes what comes out of the valve isn't clean gas or clean liquid but a froth of both — like opening a shaken soda bottle. Classic causes: a vessel of hot liquid that flashes to vapor as pressure drops, or gas bubbling through liquid. Standard gas/liquid formulas undersize badly here; this tab uses the industry-standard omega (ω) method instead.
Honest limit: this is a screening method. Reactive (runaway) systems and severely foamy fluids need a DIERS-type dynamic analysis by a specialist.
Isothermal compressible tailpipe hydraulics per API 521 §5.5 / API 520 Pt II
A perfectly sized valve can still fail in service if the pipes around it are wrong. Two silent killers: a too-small inlet pipe makes the valve slam open and shut rapidly ("chatter" — destroys the valve in minutes), and a too-small outlet pipe builds pressure behind the valve and chokes its capacity. This tab checks both from simple pipe dimensions.
PSV-datasheet workflow: compare all credible scenarios, size on the governing area
Real relief design never asks "how big a valve for this flow?" — it asks "what's the worst thing that can credibly happen, and is the valve big enough for that?" This tab is that workflow: list every credible upset, size each one, and buy the valve for the biggest (the governing case).
Letter orifices D–T | ASME accumulation | Kd guide | formulas
| Orifice | Area (in²) | Area (mm²) | Typical Inlet × Outlet |
|---|---|---|---|
| D | 0.110 | 71 | 1"×2", 1½"×2", 1½"×2½" |
| E | 0.196 | 126 | 1"×2", 1½"×2", 1½"×2½" |
| F | 0.307 | 198 | 1½"×2", 1½"×2½", 2"×3" |
| G | 0.503 | 325 | 1½"×2½", 1½"×3", 2"×3" |
| H | 0.785 | 506 | 1½"×3", 2"×3" |
| J | 1.287 | 830 | 2"×3", 2½"×4", 3"×4" |
| K | 1.838 | 1186 | 3"×4" |
| L | 2.853 | 1841 | 3"×4", 4"×6" |
| M | 3.60 | 2323 | 4"×6" |
| N | 4.34 | 2800 | 4"×6" |
| P | 6.38 | 4116 | 4"×6" |
| Q | 11.05 | 7129 | 6"×8" |
| R | 16.0 | 10323 | 6"×8", 6"×10" |
| T | 26.0 | 16774 | 8"×10" |
| Case | Max Accumulation | Max Set Pressure |
|---|---|---|
| Single valve, non-fire | 10% (min 3 psi) | 100% MAWP |
| Multiple valves, non-fire | 16% | First: 100%, supplemental: 105% MAWP |
| External fire (any number) | 21% | ≤ 110% MAWP |
| Service | Preliminary Kd | Note |
|---|---|---|
| Gas / vapor / steam | 0.975 | Use certified Kd from vendor for final sizing |
| Liquid (certified valve) | 0.65 | API 520 §5.10 certified liquid trim |
| Two-phase | 0.85 | API 520 Annex C recommendation |
| PSV + upstream rupture disc | Kc = 0.9 | Combination capacity factor (unless certified) |