API 520

Sizing, selection and installation of pressure-relieving devices

API 520 explained: how relief valves and rupture discs are sized and installed, Part I vs Part II, accumulation limits and the 3% inlet loss rule.

Scope

API 520 is the usual reference for sizing a pressure relief device and installing it. It comes in two parts. Part I covers sizing and selection: the type of device, the relieving conditions and the equations that turn a relief load into a required orifice area. Part II covers installation: inlet and outlet piping, supports, isolation valves and the loads a discharging valve puts on the pipe.

On oil and gas facilities it is used for the relief valves and rupture discs on separators, scrubbers, exchangers, pumps, compressors and pipelines. The relief load for each case comes from API 521. The engineer then uses API 520 to find the area, picks a standard orifice from API 526, and lays out the piping to Part II.

API 520 is written for equipment designed to the pressure vessel codes. Storage tanks near atmospheric pressure are vented to API 2000 instead. The allowable overpressure itself comes from the pressure vessel code, usually ASME Section VIII.

Part I and Part II

The two parts are bought and revised separately. A relief study uses Part I to size the device and Part II to check the piping around it.

PartCoversCurrent edition
API 520 Part ISizing and selection: device types, relieving conditions, sizing equations for gas, steam, liquid and two-phase flow, rupture discs10th edition, October 2020
API 520 Part IIInstallation: inlet and outlet piping, inlet pressure loss, reaction forces, supports, isolation valves, bonnet venting7th edition, October 2020

Check the API catalogue for later editions and errata before you cite either part.

From relief load to orifice letter

  1. 1

    Find the governing case

    API 521 lists the causes of overpressure, such as a blocked outlet, external fire, gas blowby or a tube rupture. The case with the largest load sets the size.

  2. 2

    Set the relieving conditions

    The relieving pressure is the set pressure plus the allowed overpressure. The fluid properties are taken at that pressure and the relieving temperature.

  3. 3

    Calculate the required area

    Part I gives separate equations for gas or vapour, steam, liquid and two-phase flow. Gas flow is checked for critical or subcritical conditions, and corrections are made for back pressure and for viscosity.

  4. 4

    Pick a standard orifice

    The next larger standard orifice is chosen, usually from the API 526 letters D to T. The maker's certified area and coefficient then confirm that the valve bought can pass the load.

  5. 5

    Check the installation

    Part II checks the inlet pressure loss, the built-up back pressure in the outlet and the reaction force on the piping. A valve that fails these checks can chatter even if its orifice is big enough.

Commonly quoted accumulation limits

Accumulation is the rise in pressure above the maximum allowable working pressure (MAWP) while the device discharges. The limits come from the pressure vessel code and are used throughout the API 520 sizing method.

CaseCommonly quoted maximum accumulation
Single relief device, non-fire case10% above MAWP (110%)
Multiple relief devices, non-fire case16% above MAWP (116%)
Fire case21% above MAWP (121%)

These are the widely published values for vessels built to ASME Section VIII. They are not a copy of the standard. Piping and other codes can set different limits, so check the code that applies to the equipment.

Two installation rules engineers quote

The pressure loss in the inlet line between the vessel and the valve is usually kept below 3% of the set pressure. Above that the valve can open, see its inlet pressure collapse, close again and chatter. The current Part II allows the 3% to be exceeded where an engineering analysis shows the valve will still work, but many projects still design to the 3% rule.

A conventional spring valve is affected by the pressure in its outlet. Its built-up back pressure is commonly limited to about 10% of the set pressure when the allowed overpressure is 10%. Where back pressure is higher or varies, a balanced bellows valve or a pilot-operated valve is used.

Key concepts

Set pressure
The inlet pressure at which the valve starts to open. For a single valve it is normally no higher than the MAWP of the equipment it protects.
Overpressure and accumulation
Overpressure is the rise above set pressure while the valve discharges. Accumulation is the rise above MAWP. When the set pressure equals the MAWP the two are the same.
Relief device types
Part I covers conventional spring valves, balanced bellows valves, pilot-operated valves and rupture discs. A rupture disc can be fitted alone, or upstream of a relief valve to protect it from a corrosive or fouling fluid.
Effective coefficient of discharge
Sizing starts with standard effective values for the area and the discharge coefficient. The maker's rated values, certified by test, are used to confirm the valve actually supplied.
Back pressure
Superimposed back pressure is present in the outlet before the valve opens, for example from a common flare header. Built-up back pressure appears once the valve flows. Both reduce the capacity of a conventional valve.
Two-phase relief
Flashing liquids and gas-liquid mixtures need their own method, because a liquid that boils as it expands chokes the flow differently. Part I gives methods for it, such as the omega method, and the choice of method has a large effect on the valve size.

Questions

What is the difference between API 520 Part I and Part II?

Part I sizes and selects the relief device: it turns a relief load into a required orifice area. Part II covers how the device is installed: the inlet and outlet piping, pressure losses, reaction forces and isolation valves. A complete relief study uses both.

What is the 3% rule for relief valves?

The non-recoverable pressure loss in the inlet piping to a relief valve is kept below 3% of its set pressure. Larger losses can make a spring valve open and close rapidly. This is called chatter, and it can damage the seat. The rule is set out in API 520 Part II, which also describes an engineering analysis for cases that exceed it.

What is the difference between API 520 and API 521?

API 521 finds the relief load: the overpressure causes and how much has to be relieved in each case. API 520 takes that load and sizes the device, then sets out how to install it. API 526 then gives the standard valve dimensions. See API 520 vs API 521 for a side-by-side comparison.

What is the current edition of API 520?

Part I is in its 10th edition and Part II in its 7th, both published in October 2020. Check the API catalogue for later editions or errata before you cite one.

In Deck Twin

The pressure safety valve cites API 520 alongside API 526, and the rupture disc cites API 520 Part I. The valve's dimensions come from psv in lib/standards, which holds the API 526 tables. The library does not size relief devices or check inlet losses: the orifice prop is picked by the user, and should come from a relief study done to API 520 and API 521.

Deck Twin uses these standards as reference values for visualisation. Check the current edition of each standard before using any value for design, procurement or fabrication.

Components that follow API 520 2