Module 11
Pipeline Integrity, Pigging & Safety
A pipeline is a strong steel tube buried out of sight — but steel rusts, the ground gets dug into, and people move in next door. Keeping a line safe means watching the metal from the inside, sizing the safety margin to who lives nearby, and stopping the backhoe before it ever strikes.
What you'll be able to do
- Tell external from internal corrosion and name the defense for each.
- Explain what a pig is, and read a smart-pig (ILI) trace to spot and classify anomalies.
- Pick the right inspection tool — MFL for gas vs UT for liquids — and say why.
- Use the class-location table to see how nearby population sets the allowed pressure.
- Describe HCAs, integrity-management reassessment intervals, hydrotesting, and the 811 one-call system.
The whole module at a glance: the threat (corrosion), the inspection (pigging), and the safety system around it.
Corrosion: the main threat
Steel pipe spends its life surrounded by enemies. Corrosion — the slow chemical eating-away of metal — is the dominant integrity threat, and it attacks from both sides of the wall.
External corrosion
- The soil and groundwater on the outside attack the buried steel.
- Defended by a tough coating (the raincoat) plus cathodic protection (CP) from Module 7.
- CP holds the steel at a protective voltage — the rule of thumb is a pipe-to-soil reading of about
−0.85 V.
Internal corrosion
- Wet acid gases, liquid water, and microbes on the inside eat the wall.
- Defended by treating & dehydration (take the water and acid gases out upstream).
- Plus chemical inhibitors and routine cleaning pigs that sweep out the wet sludge.
🧭 The big idea
Two fronts, two defenses. Outside: keep water off the steel (coating) and keep it electrically protected (CP at ~−0.85 V). Inside: keep the product dry and clean (dehydration, inhibitors, cleaning pigs). Everything else in this module is about verifying those defenses are working.
Pigging: sending a tool down the line
You cannot dig up hundreds of miles of buried pipe to look at it. So instead we send a device through the live line, riding on the flowing product itself — a pig.
Launcher → receiver. An oversized launcher barrel loads the pig; the flowing product pushes it down the line to a receiver ("pig catcher"). These barrels are the "traps." A line that can run pigs is piggable.
Pigs come in two broad families, doing very different jobs:
Utility / cleaning pigs
Foam, cup, or brush pigs that sweep out debris and liquids, scrape off wax and paraffin, and separate batches of different products in a liquids line. Housekeeping.
ILI "smart pigs"
ILI = In-Line Inspection. Instrumented tools that record the pipe's condition — wall thickness, metal loss, dents — as they travel, then download the data on capture.
🐷 Where does "pig" come from?
You'll often hear "PIG" stands for Pipeline Inspection Gauge. That's a backronym — a name reverse-engineered after the fact. The word predates it; the popular story is the pig-like squealing noise early pigs made. The true origin is genuinely disputed.
Smart-pig technologies
Smart pigs use different physics to "see" the steel, and which one you pick depends on what's flowing in the line. Two tools dominate metal-loss inspection.
MFL gas workhorse
- MFL = Magnetic Flux Leakage.
- Magnetizes the steel wall; where metal is missing, magnetic field leaks out and sensors catch it.
- Needs no liquid couplant — so it's the natural fit for gas lines.
UT liquids native
- UT = Ultrasonic Testing.
- Sends sound pulses straight through the wall to measure thickness and cracks directly.
- Sound needs a liquid couplant to travel into the steel — so it's native to liquids lines.
🩺 Why the couplant matters
Ultrasound is like a medical sonogram: the technician needs gel between the probe and your skin or the sound won't cross the air gap. UT needs that "gel" (the liquid product), so it rides in oil lines. MFL uses magnetism instead, which jumps the air gap fine — perfect for dry gas.
Two more specialist tools round out the toolbox:
EMAT (Electromagnetic Acoustic Transducer) generates ultrasound without a couplant, so it can hunt cracks and stress-corrosion cracking (SCC) even in a dry gas line — covering UT's blind spot.
Read a smart-pig trace
An ILI tool streams a signal as it travels. Spikes in that signal mark anomalies. Reading the trace is like reading any diagnostic scan: each bump has a characteristic shape that tells you what's there.
Illustrative signal shapes — real ILI analysis correlates multiple sensors and known weld spacing to call each feature.
Class locations set the safety margin
Here's the elegant idea at the heart of US gas-transmission design: how many people live nearby decides how hard you're allowed to run the pipe. More people means a bigger safety margin, baked in by law.
📏 What gets counted
A class-location unit (49 CFR 192.5) is the strip 220 yards on each side of the pipe along any continuous 1-mile length. Operators count buildings intended for human occupancy in the worst-case sliding mile and assign a class.
| Class | Definition (49 CFR 192.5) | Design factor F |
|---|---|---|
| Class 1 | Offshore, or ≤ 10 buildings | 0.72 |
| Class 2 | 11–45 buildings | 0.60 |
| Class 3 | ≥ 46 buildings, or near a site with 20+ persons present regularly | 0.50 |
| Class 4 | Areas where 4-or-more-story buildings prevail | 0.40 |
49 CFR 192.5 (definitions) and 192.111 (design factor F).
🧭 Read the chain of logic
The design factor F sits in the Barlow design formula (Module 5). More people nearby ⇒ lower F (0.72 → 0.40) ⇒ lower allowed pressure for the same pipe ⇒ a bigger safety margin. The pipe is run gentler exactly where a failure would hurt the most.
⚠️ Class location is not fixed forever
As a town grows around an existing line, building counts rise and the class can increase. That can force the operator to reduce pressure or even replace pipe to meet the stricter design factor. A Class 1 line can become a Class 3 line without ever moving an inch.
HCAs & integrity management
Some places are simply worse to fail in. A High Consequence Area (HCA) is a location where a rupture would do severe damage — dense population, navigable waterways, or sensitive drinking-water sources.
Gas HCAs use the PIR
For gas, the HCA is defined by a calculated PIR (Potential Impact Radius) — the distance a rupture's heat could harm people (49 CFR 192.903).
Liquid HCAs add water
For liquids, HCAs add high-population areas, navigable waterways, and Unusually Sensitive Areas like drinking-water sources (49 CFR 195.450).
The IMP
An IMP (Integrity Management Program) finds segments that could affect an HCA, runs a baseline assessment, then reassesses periodically.
Gas transmission baseline reassessment is generally ≤ 7 years (49 CFR 192.939); longer intervals are allowed at lower stress if a confirmatory direct assessment is done within 7 years. Liquids reassessment is ≤ 5 years (not to exceed 68 months; 49 CFR 195.452). The federal regulator over all of this is PHMSA (Pipeline and Hazardous Materials Safety Administration).
Leak detection & damage prevention
The last layer is catching trouble fast — and, better still, stopping it before it starts. Detection watches the live line; prevention keeps the backhoe away.
Spotting a leak
Internal / computational
- CPM (Computational Pipeline Monitoring): software watching flow, pressure, and temperature.
- Mass / volume balance: what goes in minus what comes out (corrected for line pack) should net to zero.
- RTTM (Real-Time Transient Model). For liquids CPM the governing standard is API 1130.
External / physical
- Distributed fiber-optic sensing buried beside the line, listening for acoustic and temperature changes.
- Acoustic-emission and hydrocarbon-vapor sensors.
- These "hear" or "smell" the leak from outside the steel.
Hydrostatic testing: prove it with water
Before a line goes into service (and after major repairs) it is filled with water and pressurized above its MAOP — MAOP being the Maximum Allowable Operating Pressure. If the steel is going to fail, you want it to fail now, on the test bench.
💧 Why water, not gas
Water is incompressible — it stores almost no energy when squeezed. If the pipe bursts during a water test, you get a benign leak, not a stored-energy explosion. Test with compressed gas and a failure would be violent. Typical strength test ≈ 1.25× MAOP (Class 1–2) up to 1.5× MAOP (Class 3–4), held ≥ 8 hours for high-stress gas.
811: call before you dig
Third-party excavation — someone digging into a buried line — is a leading cause of pipeline incidents. The fix is a single phone call.
Digger ──calls──► 811 one-call center ──notifies──► operators ──mark buried lines──► safe to dig
⚠️ The single biggest root cause
The US 811 "Call (or Click) Before You Dig" system routes a request to a state one-call center, which tells operators to mark their lines. The CGA (Common Ground Alliance) keeps the Best Practices and publishes the annual DIRT (Damage Information Reporting Tool) report. CGA cites "failure to notify 811" as the single biggest root cause of damages — the cheapest safety device in the whole industry is a phone call.
Key takeaways
- External corrosion (soil/water) is fought with coatings + cathodic protection (~
−0.85 V, Module 7); internal corrosion (wet acids, microbes) with treating, inhibitors, and cleaning pigs. - A pig rides the flowing product; cleaning pigs sweep, ILI smart pigs inspect. Launcher → receiver "traps"; a runnable line is piggable. "PIG" as Pipeline Inspection Gauge is a backronym.
- MFL needs no couplant → the gas workhorse; UT needs a liquid couplant → native to liquids; plus caliper (dents) and EMAT (cracks in gas).
- Class location counts buildings in a 220-yd × 1-mi strip; more people ⇒ lower design factor F (0.72 → 0.40) ⇒ lower allowed pressure ⇒ bigger margin. Class can rise as towns grow.
- HCA + IMP: reassess ≤ 7 yr for gas, ≤ 5 yr for liquids (PHMSA / 49 CFR).
- Detect with CPM / mass balance (API 1130) and fiber-optics; hydrotest with water (incompressible) above MAOP; prevent damage by calling 811.
You're inspecting a dry natural-gas transmission line for metal loss. Which smart-pig tool is the natural fit?
Why: MFL (Magnetic Flux Leakage) uses magnetism and needs no liquid couplant, making it the gas workhorse. UT needs a liquid couplant to carry the sound into the steel, so it's native to liquids lines.
A town grows up around an old Class 1 gas line and the building count climbs into the Class 3 range. What changes?
Why: More people nearby means a lower design factor F (Class 3 = 0.50 vs Class 1 = 0.72), which lowers the allowed pressure for the same pipe. The operator may have to reduce pressure or replace pipe to comply.
Why are pipelines hydrostatically tested with water rather than with compressed gas?
Why: Water stores almost no energy when pressurized, so if the pipe fails during the test it leaks rather than exploding. The line is filled with water and held above MAOP (e.g. ≥1.25× MAOP) to prove its strength safely.
How often must integrity reassessments generally happen under the IMP rules?
Why: Gas transmission baseline reassessment is generally ≤ 7 years (49 CFR 192.939); liquids reassessment is ≤ 5 years / 68 months (49 CFR 195.452). Both are part of the PHMSA-mandated Integrity Management Program.
According to the Common Ground Alliance, what's the single biggest root cause of pipeline damage from third-party digging?
Why: The 811 one-call system has operators mark their buried lines before anyone digs. CGA cites "failure to notify 811" as the leading root cause of excavation damage — which is why a phone call is the cheapest safety device around.