Request a Safety Valve Quote

Share your medium, set pressure, temperature, size,standard, or datasheet, and our team will review yourrequirement and respond with the appropriate next step.

ASME B31.8 Gas Pipeline Relief and Pressure Protection Guide

Understand how ASME BPVC, ASME B31 piping codes, ASME B16.5 flange ratings and ASME certification marks are commonly used when specifying safety valves and pressure relief valves. This guide is written for procurement, EPC, maintenance and plant engineering teams that need to identify the right code reference, documentation package and RFQ data before selecting a valve.

››› Code Scope

Use B31.8 for the gas pipeline system context—not as a standalone valve-sizing formula

ASME B31.8 covers gas transmission and distribution piping facilities, including gas pipelines, compressor stations, metering and regulation stations, mains, service lines and related pipeline facilities. The code establishes the design and operating context around the pressure-protection device.
The final relief device still needs a defined overpressure case, required capacity, set pressure, gas properties, back pressure, materials, connection and documented installation basis. API 520, API 521, ISO 4126, local regulations or owner specifications may also be referenced by the project.

Important engineering limitation

This page is a practical standards and RFQ guide. Final compliance must be verified against the official ASME B31.8 edition required by the project, applicable jurisdictional regulations and qualified pipeline engineering review.
››› Gas Pipeline Facilities

Where pressure-relief and pressure-limiting devices are reviewed

The governing device and capacity depend on the protected boundary and the maximum pressure source that can reach it.
01

Transmission Pipelines

Mainline sections, block-valve stations and associated piping where overpressure can result from upstream supply, compression, line-pack or operating error.
02

Compressor Stations

Discharge headers, interstage equipment, aftercoolers, separators and station piping exposed to blocked discharge, recycle failure or compressor capacity.
03

Metering & Regulating Stations

City gate, district regulation and custody-transfer stations where regulator failure can expose lower-rated downstream systems.
04

Gas Storage & Closed-Pipe Facilities

Storage lines and closed-pipe storage equipment that require pressure control and credible upset review.
05

Gas Mains & Service Lines

Distribution piping up to the customer meter-set outlet, subject to applicable local and jurisdictional requirements.
06

Separators, Filters & Heaters

Station equipment protected against blocked outlet, regulator failure, fire exposure or upstream high-pressure gas.
››› MAOP & Pressure Boundaries

Set pressure and capacity must protect the lowest-rated downstream boundary

Gas stations frequently connect an upstream source capable of higher pressure to downstream piping, filters, heaters, meters, regulators or vessels with lower allowable pressure. The review should identify every boundary that can be exposed during normal operation, startup, shutdown, regulator failure and bypass operation.

Pressure-boundary checklist

››› Credible Overpressure Cases

Define the event before calculating required relief capacity

A gas pipeline relief valve should not be selected from MAOP and pipe size alone. Each credible case should identify the pressure source, maximum inflow, downstream volume and operating sequence.
01

Regulator Failure

Failure open, loss of sensing, pilot failure or wrong set point can expose the downstream system to upstream pressure and flow.
02

Monitor or Bypass Failure

Review combinations involving worker-monitor regulators, open bypasses, isolation error and maintenance configuration.
03

Blocked Outlet

Closed downstream valves, frozen equipment, plugged filters or blocked headers can remove the normal flow path.
04

Compressor Upset

Maximum compressor flow, blocked discharge, recycle failure, surge-control behavior and pulsation can govern station relief.
05

External Heat or Fire

Where applicable, review station equipment, separators or vessels exposed to external heat using the governing equipment and project basis.
06

Thermal Expansion & Trapped Gas

Trapped gas or liquid pockets, heater isolation and temperature increase may require dedicated small-capacity relief protection.
››› Required Capacity

Relief capacity is based on the maximum credible source flow

For regulator-station protection, capacity may be governed by the maximum flow through the failed regulator or bypass at the relevant upstream and downstream conditions. For compressor stations, use the maximum credible compressor or connected-source flow for the event being evaluated.
The calculation should state gas composition, molecular weight, compressibility, temperature, relieving pressure, allowable overpressure and outlet pressure. The selected valve must then be checked against certified capacity for the applicable gas or vapor service.

Capacity inputs

››› Valve-Type Selection

Choose the device from operating margin, gas cleanliness, capacity and discharge conditions

Conventional spring-loaded, balanced bellows and pilot-operated valves can all appear in gas pipeline facilities, but each has different limits and maintenance requirements.
01

Conventional Spring-Loaded

Suitable where back pressure is low and stable, capacity is verified and the operating pressure margin is acceptable for the specific design.
02

Balanced Bellows

Consider where closed vents or headers create back pressure, while also checking bellows material, vent routing and certified correction data.
03

Pilot-Operated

May suit clean gas, high operating-pressure ratio, large capacity or selected back-pressure cases. Pilot sensing and supply paths must remain reliable.
04

Pressure-Limiting or Control Device

Some stations use monitoring, shutoff and pressure-limiting functions together. The complete protection architecture must be reviewed, not only the PSV.
05

Soft Seat vs Metal Seat

Seat choice depends on leakage requirement, gas composition, pressure, temperature, contamination and maintenance strategy.
06

Flanged vs Threaded Connection

Connection type must match pressure class, piping specification, maintenance access and station size; nominal size is not a capacity rating.
››› Safe Venting & Discharge

Gas relief must be routed to a safe location and included in the valve calculation

Atmospheric vent stacks, closed vents, flare systems, silencers and recovery headers create different back pressure, noise, dispersion and ignition risks. The discharge design must be known before final valve approval.

Discharge review checklist

››› Engineering Workflow

A practical B31.8 gas pipeline relief review

Document the code environment, protected boundaries and source capacity before selecting the valve model.
01

Confirm code and jurisdiction

Identify ASME B31.8 edition, local pipeline rules, owner specification and any pressure-equipment code.
02

Map pressure boundaries

List upstream source pressure, downstream MAOP, station equipment and all possible flow paths.
03

Define credible failures

Evaluate regulator, monitor, bypass, compressor, blocked-outlet and operating-error cases.
04

Calculate required capacity

Use the maximum credible source flow and documented gas properties and relieving conditions.
05

Select device architecture

Compare pressure-limiting, shutoff, conventional, bellows and pilot-operated arrangements.
06

Review discharge system

Calculate back pressure and verify safe vent, flare or recovery capacity and location.
07

Verify materials and connections

Check pressure-temperature rating, gas compatibility, flange or thread standard and seat requirements.
08

Complete records and RFQ

Issue datasheet, calculation basis, drawings, test requirements and inspection documentation.
››› RFQ Data

Information needed for a B31.8 gas pipeline relief quotation

A complete enquiry should describe the station and failure case, not only the required connection size. Include the project code edition and local regulatory requirements.

Recommended engineering input

››› Related Applications & Standards

Continue the gas pipeline pressure-protection review

The following links use current ZOBAI paths already available on the website.
01

Natural Gas Safety Valves

Application guidance for gas pipelines, regulating stations, metering skids, separators and gas headers.
02

Pipeline Safety Valves

Pipeline relief for gas, liquid, thermal expansion, stations, traps and transfer systems.
03

Compressor Safety Valves

Compressor discharge, interstage vessels, vibration, pulsation and safe gas discharge.
04

High Back Pressure Service

Closed vents, flare headers, scrubbers and recovery systems that affect valve performance.
05

ASME Safety Valve Standards

ASME code-family overview for boilers, vessels, piping, flanges and overpressure protection.
06

API 520 Safety Valve Sizing

Sizing and selection reference for pressure-relieving devices used in gas and process projects.
››› FAQ

Common questions about ASME B31.8 gas pipeline relief

ASME B31.8 covers gas transmission and distribution piping systems, including pipelines, compressor stations, metering and regulating stations, gas mains, service lines and related pipeline facilities within its stated scope.

No. It establishes the gas pipeline code context and pressure-system requirements. The relief device still requires a defined overpressure scenario, capacity calculation, certified valve data and compliance with the project sizing and product standards.

The protection system should prevent each downstream piping segment and connected item from exceeding its allowable pressure under credible failures such as regulator failure, bypass operation or compressor upset.

Capacity may be governed by the maximum credible flow through a failed regulator, monitor arrangement or bypass at the applicable upstream and downstream pressure conditions.
It may be suitable for clean gas, high operating-pressure ratio, large capacity or selected back-pressure conditions. Pilot sensing, filtration, freezing, contamination and maintenance requirements must be reviewed.
Provide the B31.8 edition, jurisdiction, station type, upstream pressure, downstream MAOP, failure case, gas composition, required capacity, back pressure, vent arrangement, materials, connections and required test documents.

Need a gas pipeline relief review for a B31.8 project?

Send the station drawing, upstream pressure, downstream MAOP, regulator or compressor data, gas properties, required capacity and vent arrangement. ZOBAI can identify missing RFQ inputs and the next engineering step.