JPB Process Calcs

Relief Line & Flare Header Sizing

Relief Systems · Calculator S5-07 · Verified: the solver reproduces its worked example and is covered by tests.

Inlet-line pressure loss (the 3% rule), and built-up, superimposed and total back pressure from the outlet line for a PSV, with choked-line detection, reusing this app's compressible-flow relations (S17).

Open the calculator

Overview

What it calculates

This calculator checks the piping on both sides of a gas relief valve. On the inlet side it computes the friction loss from the vessel at set pressure to the valve and compares it with the API 520 Part II 3 percent rule. On the outlet side it works back from the flare header or atmosphere to find the built-up back pressure at the valve outlet. It adds the terminus pressure as superimposed back pressure and reports the total. Both lines use the isothermal general flow equation with a Colebrook friction factor, as in Gas Line Pressure Drop (General / Fundamental Flow Equation).

When to use it

Use it after picking a valve, to confirm the inlet and tailpipe will not make it chatter or lose capacity. It suits a single valve's inlet and discharge line. A full flare header with many sources relieving at once needs a network model.

Inputs that matter most

Diameter dominates. Pressure drop in a gas line goes roughly with D^-5 at fixed mass flow, so one pipe size up usually solves a failing check. Enter each line length with fittings already added as equivalent length. Use Equivalent Length of Fittings & Valves for that. The relief rate matters too. API 520 Part II bases the inlet loss on the valve's rated capacity, not the required load, so enter the rated flow of the selected orifice when checking the 3 percent rule.

Reading the results

A conventional valve passes when built-up back pressure is no more than 10 percent of set (gauge). Balanced bellows and pilot valves pass when total back pressure stays within the manufacturer limit you enter. An outlet Mach number above 0.7 is flagged. If either line reaches the isothermal choking limit, Mach 1/√k, it is reported as choked and no pressure drop is given.

Limits and common mistakes

The relieving temperature and Z apply along the whole line, which ignores the cooling of gas as it expands. The 10 percent conventional limit assumes 10 percent overpressure. Fire cases allow more. A superimposed back pressure that varies, because other valves share the header, needs a balanced or pilot valve.

Equations

Pset−Pvalve,in from the general flow equation, solved for P2 at the given WP_{set} - P_{valve,in} \ \text{from the general flow equation, solved for } P_2 \text{ at the given } W
Inlet line pressure loss, from the same isothermal general-flow-equation core as S17-08.

Source: API 520 Part II

SymbolMeaningUnits (US / SI)
PsetP_{set}Set pressurepsig / kPag
%ΔPin=Pset−Pvalve,inPset×100≤3%\%\Delta P_{in} = \frac{P_{set}-P_{valve,in}}{P_{set}}\times 100 \le 3\%
API 520 Part II 3% inlet pressure loss rule (avoids valve chatter).

Source: API 520 Part II

SymbolMeaningUnits (US / SI)
%ΔPin\%\Delta P_{in}Inlet pressure loss fraction-

Inputs

InputSymbolDefaultTypical range or options
Relief rateWW10,000 lb/hr (4,536 kg/h)
Molecular weightMWMW32 lb/lbmol (32 kg/kmol)
Relieving temperatureTT170.3 °F (76.85 °C)
Specific heat ratiokk1.3
Compressibility factorZZ0.95
Set pressurePsetP_{set}170.3 psig (1,174 kPag)
Inlet line diameterDinD_{in}4.026 in (102.3 mm)
Inlet line length (incl. fittings as equivalent length)LinL_{in}9.843 ft (3 m)
Inlet pipe materialCommercial steelCommercial steel
Outlet line diameterDoutD_{out}6.068 in (154.1 mm)
Outlet line length (incl. fittings as equivalent length)LoutL_{out}98.43 ft (30 m)
Terminus pressure (flare header / atmosphere)PtermP_{term}14.7 psia (101.3 kPaa)
Relief valve typeConventional spring-loaded (built-up ≤ 10% of set)Conventional spring-loaded (built-up ≤ 10% of set)
Balanced bellows (total vs manufacturer limit)
Pilot-operated (total vs manufacturer limit)
Manufacturer total back-pressure limit (% of set, gauge)50

Outputs

Assumptions and limitations

Assumptions

Limitations

Worked example

W=1.26 kg/s, MW=32, T=350K, k=1.3, Z=0.95, short/large inlet line, long/small outlet line to atmosphere

Inputs

Relief rate10,000 lb/hr (4,536 kg/h)
Molecular weight32 lb/lbmol (32 kg/kmol)
Relieving temperature170.3 °F (76.85 °C)
Specific heat ratio1.3
Compressibility factor0.95
Set pressure170.3 psig (1,174 kPag)
Inlet line diameter4.026 in (102.3 mm)
Inlet line length (incl. fittings as equivalent length)9.843 ft (3 m)
Inlet pipe materialCommercial steel
Outlet line diameter6.068 in (154.1 mm)
Outlet line length (incl. fittings as equivalent length)98.43 ft (30 m)
Terminus pressure (flare header / atmosphere)14.7 psia (101.3 kPaa)
Relief valve typeConventional spring-loaded (built-up ≤ 10% of set)
Manufacturer total back-pressure limit (% of set, gauge)50

Expected results

Mach number in the outlet line0.1718

No published worked example exists for this reused-solver combination calculator; the check value is this implementation's own self-consistent result, verified by an independent hand mass/energy balance rather than a published figure.

The calculator's test suite checks that the solver reproduces these results.

References

Guides that use this calculator

Pitfalls to watch for

Fluid failures

Distress signals

Open the calculator

Page last updated 2026-10-28.