Process & Pipeline Engineering Reference

Industrial & Process Piping Codes Guide

Explore pressure piping design rules, ASME B31 series codes, API 570 in-service inspection, pipeline girth welding (API 1104 / CSA Z662), hydrostatic testing, and NDT acceptance criteria.

Piping Portal
9 Global Piping Standards

Cataloging ASME B31, API 570, API 1104, EN 13480, and CSA Z662 pressure piping specifications.

API 570 / API 574 Engineering Protocol

P&ID Line Numbering & Circuitization Guide

Tag Example: 10"-HC-30401-15011-H

1. P&ID Line Tag Decoding

  • 10": Nominal Pipe Size (NPS 10-inch diameter)
  • HC: Process Service Code (Hydrocarbon Gas/Liquid)
  • 30401: Unique Plant Line Identification Number
  • 15011: ASME B16.5 Piping Class (150# Carbon Steel)
  • H: Hot Heat Conservation Insulation Designation

2. Piping Circuitization Rules

API 570 mandates dividing piping systems into logical Inspection Circuits sharing similar fluid aggressiveness, operating temperature, and design pressure:

  • Class 1: Flammable, Toxic & Sour Gas Lines
  • Class 2: Hydrocarbon & High-Temp Steam Lines
  • Class 3: Water, Utility Air & Lube Oil Lines

3. CML Placement & NDT Methods

Condition Monitoring Locations (CMLs) are placed at high-risk erosion-corrosion sites identified on P&ID schematics:

Elbows & Tees: Ultrasonic Thickness (UT) CMLs
Insulated Lines: Pulsed Eddy Current (PEC) for CUI
Deadlegs & Injection Quills:PAUT & Radiography (RT)
Showing 9 of 9 Piping Codes
ASMEProcess & Refinery Piping

ASME B31.3

Process Piping Code

The global benchmark standard governing materials, design, fabrication, assembly, erection, examination, and testing of process plant piping systems.

Mandatory Code Rules
  • Extent of examination based on fluid service (100% RT/UT for Severe Cyclic & Category M)
  • Visual examination (VT) of 100% of fabrication and minimum 5% random spot NDT for Normal Fluid Service
  • Ultrasonic testing (UT/PAUT) per ASME Sec V Art 4 with B31.3 Table 341.3.2 acceptance limits
ASMEPower & Steam Piping

ASME B31.1

Power Piping Code

Mandatory rules for high-pressure power piping systems found in electric power generating stations, industrial steam plants, boiler external piping (BEP), and central heating.

Mandatory Code Rules
  • Boiler External Piping (BEP) compliance with ASME Section I Stamping rules
  • Mandatory 100% RT or UT/PAUT for piping over NPS 2 (DN 50) and > 750°F (400°C) or > 1025 psi (7 MPa)
  • Magnetic particle (MT) or penetrant (PT) surface examination of high-stress attachment welds
APIInservice Inspection & Repairs

API 570

Piping Inspection Code: In-service Inspection, Rating, Repair, and Alteration of Piping Systems

The authoritative standard for establishing in-service inspection intervals, corrosion rate calculations, fitness-for-service (FFS), and remaining life for operational refinery piping.

Mandatory Code Rules
  • Classification of piping systems (Class 1 high risk / Class 2 / Class 3 / Class 4 unclassified)
  • Ultrasonic thickness (UT) measurements at CMLs and baseline tracking
  • Pulsed Eddy Current (PEC) or Radiographic CUI profile inspection through insulation
APICross-Country Pipelines

API Standard 1104

Welding of Pipelines and Related Facilities

The definitive American pipeline standard governing arc and gas welding of butt, fillet, and socket welds in carbon steel transmission pipelines.

Mandatory Code Rules
  • Welder qualification coupons tested via nick-break, tensile, and root/face bend tests
  • Radiographic testing (RT) or Automated Ultrasonic Testing (AUT / PAUT) on 100% of cross-country welds
  • Mechanized welding procedure qualification (GMAW / FCAW bug-and-band systems)
ASMECross-Country Pipelines

ASME B31.4

Pipeline Transportation Systems for Liquids and Slurries

Governs design, materials, construction, assembly, inspection, testing, and safety aspects of liquid hydrocarbon transport pipelines.

Mandatory Code Rules
  • Minimum NDT coverage: 10% random NDT for liquid lines, 100% for river/railroad crossings
  • In-line inspection (ILI / Smart Pigging) launcher/receiver trap design
  • Hydrostatic strength testing at minimum 1.25x Maximum Operating Pressure (MOP) for 4–8 hours
ASMECross-Country Pipelines

ASME B31.8

Gas Transmission and Distribution Piping Systems

Comprehensive code for gas transmission pipelines, compressor stations, gas metering facilities, and urban gas distribution mains.

Mandatory Code Rules
  • Location Class 1 to Class 4 dictates mandatory NDT percentage (up to 100% RT/AUT in Class 3 & 4)
  • Direct Assessment methodologies (ECDA for external corrosion, ICDA for internal corrosion)
  • Compressor station piping 100% volumetric examination (RT or UT)
APIInservice Inspection & Repairs

API RP 574

Inspection Practices for Piping System Components

Recommended practice detailing specific inspection methods, failure modes, tools, and practices for pipes, valves, flanges, tubing, and fittings.

Mandatory Code Rules
  • Visual inspection of flange face gasket surfaces (serrated finish damage)
  • Radiographic profile inspection (profile RT) for internal wall loss and scale buildup
  • Ultrasonic thickness scanning of pipe elbows and high-velocity turbulence zones
CEN / EU PEDEuropean & International Piping

EN 13480 (Parts 1–8)

Metallic Industrial Piping Standard

Harmonized European standard specifying requirements for industrial piping systems made of metallic materials to satisfy the EU Pressure Equipment Directive (PED).

Mandatory Code Rules
  • Extent of NDT determined by Piping Category and Joint Efficiency (0.7 to 1.0)
  • Mandatory NDT testing matrix per EN 13480-5 (VT, PT/MT, UT/RT)
  • Pressure testing: Hydrostatic test at 1.43x design pressure or pneumatic test
CSACross-Country Pipelines

CSA Z662

Oil and Gas Pipeline Systems

The Canadian standard for the design, construction, operation, maintenance, and NDT inspection of oil and gas pipeline systems and offshore pipelines.

Mandatory Code Rules
  • 100% NDT examination (RT or AUT) for high-pressure oil and gas pipelines
  • Automated Ultrasonic Testing (AUT) qualification with custom zoned calibration blocks
  • Engineering Critical Assessment (ECA) for defect acceptance beyond workmanship standards