1.1 Inspection Planning, History, and Safety

Key Takeaways

  • Risk-Based Inspection (RBI) evaluates Probability of Failure (POF) and Consequence of Failure (COF) to optimize piping inspections.
  • RBI assessments must be updated at least every 5 years and approved by both an authorized inspector and a piping engineer.
  • Positive isolation (blinding/blanking) is the safest method and is required for entering or opening piping systems in hazardous service.
  • Pyrophoric iron sulfide (FeS) scale poses a severe spontaneous ignition hazard when exposed to air and must be kept wet or chemically neutralized.
  • Historical record reviews are critical to calculate short-term and long-term corrosion rates and remaining piping life.
Last updated: July 2026

1.1 Inspection Planning, History, and Safety

Inspection planning is the foundation of piping system integrity in petrochemical and refining facilities. Under the API 570 Piping Inspection Code, owner-users must establish systematic procedures for planning, scheduling, and executing piping inspections. The primary goal is to identify potential damage mechanisms before they lead to loss of containment, which can have catastrophic safety, environmental, and financial consequences. Modern inspection planning has evolved from simple prescriptive intervals to dynamic, data-driven methodologies.

Risk-Based Inspection (RBI) Methodology

API 570 Section 5.2 outlines the requirements for utilizing Risk-Based Inspection (RBI) to establish inspection intervals and the extent of NDE. An RBI assessment determines risk by combining the Probability of Failure (POF) and the Consequence of Failure (COF).

Probability of Failure (POF)

The POF is an assessment of the likelihood that a piping system will lose containment. It is determined by analyzing:

  1. Active and Potential Damage Mechanisms: The inspector must identify all degradation mechanisms that could affect the system, such as thinning (uniform or localized), cracking (stress corrosion cracking, environmental cracking), and high-temperature hydrogen attack (HTHA).
  2. Rate of Degradation: Based on historical data, process conditions, and corrosion modeling, the rate of wall loss or cracking susceptibility is calculated.
  3. Effectiveness of Past Inspections: The quantity, quality, and NDE methods of previous inspections directly affect the confidence level in the calculated degradation rates.
  4. Operating and Environmental Factors: Variations in process chemistry, temperature, pressure, and exposure to external corrosive environments (such as marine air or wet soil) are factored into the POF.

Consequence of Failure (COF)

The COF evaluates the potential impact of a piping failure. The consequence analysis considers:

  1. Process Fluid Properties: The toxicity, flammability, volatility, and physical state (liquid vs. gas) of the fluid. Highly volatile hydrocarbons that vaporize rapidly upon release pose a greater flash fire hazard.
  2. Release Volume and Rate: The inventory of fluid that could escape before isolation, determined by piping size, operating pressure, and the availability of emergency isolation valves (EIVs).
  3. Safety Hazards: The potential for injury or fatality to plant personnel or nearby communities due to fire, explosion, or toxic gas dispersion.
  4. Environmental Impact: The potential for soil or water contamination, particularly with fluids that are toxic to aquatic life.
  5. Economic Cost: The financial impact of repair costs, equipment replacement, environmental cleanup, and production downtime.

RBI Interval and Approval Rules

RBI assessments must be conducted in accordance with API RP 580 (Risk-Based Inspection) and API RP 581 (Risk-Based Inspection Technology). The assessment requires a multidisciplinary team including a corrosion specialist, process engineer, piping engineer, and the authorized inspector.

According to API 570, the RBI assessment must be formally reviewed and approved by both a piping engineer and the authorized inspector. These assessments must be updated at a frequency not exceeding every 5 years, or immediately when process changes, metallurgical upgrades, or operational upsets alter the risk profile.

Worked Example: RBI Risk Evaluation

To evaluate risk for an NPS 8 Class 1 hydrocarbon piping circuit, the RBI team follows a qualitative-quantitative approach aligning with API RP 580/581.

  1. Probability of Failure (POF) Evaluation: The active damage mechanism is Corrosion Under Insulation (CUI). Due to operating cycles between 120°F (49°C) and 200°F (93°C) under wet ambient conditions, and a historical inspection confidence level rated as 'fair', the system is assigned a POF category of 4 (High Probability) on a 1-to-5 scale.
  2. Consequence of Failure (COF) Evaluation: The process fluid is liquid propane under 250 psi. A release would flash immediately to vapor, creating a vapor cloud explosion (VCE) hazard. Based on inventory volume and proximity to the control room, the system is assigned a COF category of D (High Consequence) on an A-to-E scale.
  3. Risk Matrix Calculation: Mapping POF Category 4 against COF Category D on the 5x5 RBI risk matrix yields an overall Risk Rating of 4-D (High Risk).
  4. Inspection Optimization & Mitigation: To reduce this risk to an acceptable level (below the plant's threshold), the inspector increases the inspection effectiveness from 'Low' to 'Highly Effective' by specifying 100% scanning NDE. This mitigates the uncertainty, dropping the POF category to 2 (Low-Medium Probability) and successfully reducing the overall risk to 2-D (Medium Risk).

Safety Precautions Before Entry and Inspection

Safety is paramount during the planning and execution of piping inspections. Inspectors are often required to enter confined spaces or work in close proximity to hazardous process units.

Confined Space Entry (CSE)

Any piping system or associated vessel that is large enough for physical entry and has limited means of egress must be classified as a confined space. Before entry, the following safety controls are mandatory:

  • Atmospheric Testing: The atmosphere must be tested using calibrated gas detectors. The oxygen concentration must be between 19.5% and 23.5%. The Lower Explosive Limit (LEL) must be less than 10%. Toxic gas concentrations must be below permissible exposure limits (e.g., H2S < 10 ppm, CO < 35 ppm).
  • Ventilation: Continuous mechanical ventilation must be maintained during entry.
  • Entry Permit: A formal Confined Space Entry permit must be signed by the entry supervisor, detailing safety controls and emergency rescue plans.

Isolation and Lockout/Tagout (LOTO)

Piping systems must be completely isolated from all energy and fluid sources before inspection.

  • Blinding/Blanking (Positive Isolation): The most secure isolation method. It involves inserting a solid metal plate (blind or blank) rated for the system's design pressure between two flanges. This physically blocks any potential flow from upstream valves.
  • Double Block and Bleed (DBB): Consists of closing two block valves in series and opening a bleed valve located between them to vent any leakage to a safe location. While useful for temporary isolations, DBB is not considered positive isolation for physical entry in many jurisdictions unless supplemented by blinding.
  • Single Valve Isolation: Closing a single gate or ball valve. This method is never permitted as a standalone isolation for confined space entry due to the high risk of valve seat leakage.
Isolation MethodDescriptionSafety LevelCode Application
Blinding/BlankingInstalling a solid, pressure-rated blind flange or blank plate.Highest (Positive)Required for vessel/piping entry for toxic/flammable services.
Double Block & BleedClosing two block valves and opening a bleed valve between them.Medium-HighUsed for short-term isolations or where blinding is impractical.
Single Valve IsolationClosing a single gate, globe, or ball valve.LowNever permitted for confined space entry in hazardous service.

Purging and Chemical Cleaning

Piping that contained hazardous hydrocarbons or corrosive chemicals must be thoroughly steamed, water-washed, or purged with nitrogen.

  • Pyrophoric Hazards: In systems containing sour crude or sour gas, pyrophoric iron sulfide (FeS) scale can deposit on internal piping walls. When FeS dries out and is exposed to air (oxygen), it undergoes a rapid exothermic reaction and spontaneously ignites. To prevent this, lines must be kept wet, or treated with chemical oxidizers (like potassium permanganate) to safely convert FeS into stable iron oxides before opening the piping system.

Historical Records Review

A comprehensive review of the piping system's history is a mandatory planning step under API 570 Section 7.6. The inspector must analyze:

  1. Piping Circuit Files: Review isometric drawings, P&IDs, material test reports (MTRs), design parameters (maximum allowable working pressure, design temperature), and welding procedures (WPS).
  2. Past Thickness Readings and Corrosion Rates: Analyze previous NDE data to calculate the long-term (LT) and short-term (ST) corrosion rates.
  3. Repair and Alteration History: Identify previous weld repairs, temporary leak-sealing clamps, or engineered enclosures. Temporary repairs must be closely monitored and scheduled for permanent repair.
  4. Process History: Document any process excursions, such as high-temperature spikes or chemical concentration changes, which could accelerate degradation.

Worked Calculation: Corrosion Rates and Remaining Life

To illustrate the planning calculations, consider a carbon steel piping system (ASTM A106 Grade B) installed in 2010.

  • Initial Thickness (t_initial): 0.322 inches (nominal wall thickness for 4-inch Schedule 40 pipe).
  • 2018 Inspection (t_previous): 0.290 inches.
  • 2026 Inspection (t_actual): 0.258 inches.
  • Minimum Required Thickness (t_required): 0.180 inches (calculated based on design pressure).

1. Long-Term (LT) Corrosion Rate

LT = (t_initial - t_actual) / Years = (0.322 - 0.258) / 16 = 0.004 inches/year (4 mpy)

2. Short-Term (ST) Corrosion Rate

ST = (t_previous - t_actual) / Years = (0.290 - 0.258) / 8 = 0.004 inches/year (4 mpy)

3. Remaining Life (RL)

Using the higher of the two corrosion rates: RL = (t_actual - t_required) / Corrosion Rate = (0.258 - 0.180) / 0.004 = 19.5 years

These calculations determine the next scheduled inspection date under API 570 rules (e.g., visual inspection at the half-life of 9.75 years).

Loading diagram...
Risk-Based Inspection (RBI) Planning Flow
Test Your Knowledge

Under API 570, which pair of roles must review and approve a Risk-Based Inspection (RBI) assessment that extends the inspection interval beyond the standard code limits?

A
B
C
D
Test Your Knowledge

Which of the following isolation methods provides the highest level of safety and is required for positive isolation before entering or opening a piping system that contained hazardous fluids?

A
B
C
D
Test Your Knowledge

During a historical records review for a piping system containing sour crude, an inspector notes pyrophoric iron sulfide scale deposits may be present. What safety hazard is associated with pyrophoric scale?

A
B
C
D