Pig launcher and sensors at Canadian gas station
Artificial Intelligence

Pipeline Pigging Analytics: Turning Pig Run Data into Decisions

By, Shaun S
  • 30 Nov, 2026
  • 2 Views
  • 0 Comment

Pipeline pigging analytics is the practice of turning the signals around a pig run (flow, pressure, passage detections, vibration, strain) into answers: where the pig is, whether it is on schedule, whether it has stalled, and what the run says about the condition of the line. Most operators already collect much of this data. The gap is that it sits in SCADA historians, vendor portals and spreadsheets. Our view is that the value comes when those streams are joined into one picture and tied to your own operating rules, which is custom integration work rather than a generic dashboard. That is how we approach it at Digital Fractal.

Digitalfractal
Find Practical AI Opportunities
Digital Fractal’s AI Readiness Audit identifies automation opportunities and helps connect operational data to tailored AI solutions.

Visit

TL;DR

  • Pigging analytics joins pig-run data, such as pressures, flow rates and passage events, to answer three questions: where is the pig, is it on time, and is it in trouble.
  • Industry guidance for a suspected stuck pig starts with analysing operating data for unusual trends and only then moves to physical intervention.
  • After the run, aligned timestamps let inspection results be tied to real locations and compared across runs to plan repairs.
  • AI helps most with filtering noise, estimating arrival times and flagging stoppages, but only when the data feeds are clean and connected.
  • A scoped readiness audit is the practical first step for a Canadian operator who wants this built around their own systems.

Table of Contents

What pigging analytics actually covers

A pig is a device inserted into a pipeline that travels through it, driven by product flow. According to the Pipeline Pigging and Services Association (PPSA), pigs perform utility tasks such as cleaning, product separation and dewatering, carry out inline inspection of pipeline condition, or serve special duties such as plugging a line to isolate it.

Analytics sits around all of those jobs. It has three layers:

  1. Live tracking. Position, speed and estimated time of arrival while the pig is in the line.
  2. Exception handling. Alerts when a pig is late, slows, or stops.
  3. Post-run analysis. Comparing runs, linking inspection findings to locations, and trending condition over time.

If you run a logistics-style operation, such as a fleet of trucks serving field sites or a terminal that schedules launches and receipts, the same logic applies. The data is event-based, time-stamped and needs to reach the right person quickly.

The data behind a pig run

There is no single sensor that gives you everything. Real programs combine several sources:

Data source What it tells you Typical weakness
Inlet and outlet flow rates Average pig progress, volume displaced Unreliable flow meters distort estimates
Pressure along the line Differential pressure signatures, stalls, restrictions Needs good time alignment
Above-ground passage detection Confirmed passage at a known location and time Only gives you points, not the stretch between them
Distributed fibre-optic sensing Continuous detection along the right of way Needs fibre installed and a processing layer
Pig-mounted loggers Pressure, temperature, vibration after recovery Data arrives only after the run

Canada has a visible example of the continuous approach. Trans Mountain signed a 10-year monitoring agreement covering the Trans Mountain Expansion Project with a fibre-optic sensing provider, with round-the-clock monitoring that includes leak detection, ground disturbance, right-of-way intrusion, strain monitoring and pig tracking, and event location down to metres. The point for most operators is not to copy that scale. It is to see that pig tracking is now treated as one more analytic running on shared data, not a separate crew with a truck.

That shift is explained in a World Pipelines feature: pigs create pronounced vibrations and acoustics when they pass weld joints, so sensing can detect them from long distances, and the tracking and analysis come from algorithms that can be updated through software rather than new hardware.

Locating a delayed or stuck pig

This is where analytics pays for itself fastest, because a stuck pig is expensive. The PPSA describes pigging as a high-risk operation, where a stuck or stalled pig can have significant operational, safety, environmental and commercial consequences. It recommends reviewing geometry and operating conditions before a campaign, including damaged barred tees, tight bends and unreliable flow rates.

When a pig is suspected to be stalled, the PPSA’s guidance is to work out its likely location and probable cause by analysing pig-run operating data, including pressure and flow rates, for unusual signals or trends, and to use trackers to find it. It advises trying changes to process parameters before sending a chaser pig, which could make the situation worse.

In practice, that means your analytics should answer these questions within minutes, not hours:

  • What distance should the pig have covered by now, given the flow rate?
  • Did the last passage detection arrive when the model expected?
  • Did pressure upstream climb or flow downstream drop at a moment that matches a stoppage?
  • What was the pig’s speed between the last two confirmed points?

A useful reference point comes from a 2021 PPSA paper on cloud-based pigging virtualization. It describes monitoring up to three tools at once, passage events transmitted automatically around the clock by satellite and cellular, and the ability to “rewind” a run to the moment pressures spiked if a pig sticks. A European case study in the paper reports tracking teams cut in half on a two-day mountainous inspection run.

The idea is not new. A 1992 Oil & Gas Journal article on a Calgary-based SCADA system for a sour-gas field described a routine that displayed distance from the launch point, the next valve station, estimated arrival time at the receiver and current and average velocities. What has changed is how many data streams can be fused and how quickly an alert reaches a phone.

A worked example of the logic

Suppose a pig is launched on a 60 km line and your flow data suggests it should average 5 km/h. The model expects passage at the 25 km marker about five hours after launch. The marker is silent at five hours and twenty minutes. A basic dashboard shows nothing at all. An analytics layer compares the delay against upstream pressure, notices a slow differential rise beginning about 40 minutes earlier, and raises a stoppage-suspected alert with a probable section of the line. The control room can then adjust process parameters first, as the PPSA advises, before any physical response.

Pig passage delay and pressure alert timeline

The numbers above are an illustration of the reasoning, not field data. Your thresholds depend on the line, the pig type and your own history, which is why they should be tuned to your records.

After the run: linking data to inspection results

Tracking is only half the job. Inline inspection produces large datasets, and their usefulness depends on knowing where the tool was at each moment. Timestamped, verified passage data lets inspection findings be mapped to real positions on the line.

The next step is comparing runs. A 2025 PPIM conference paper explains that digital twins can combine pipeline characteristics, inline inspection data, pressure-test and geospatial data to support predictive analytics. It also shows that aligning multiple inspection runs lets operators calculate upper and lower bounds on corrosion growth rates, which supports repair planning and remaining-life estimates.

A Pipeline Technology Conference 2023 abstract adds an operational example: a collaboration with Suncor Energy used pig-induced strain signatures to support in-situ remediation of ovality on directionally drilled segments, alongside case studies on the timing and location of pig stoppages for integrity monitoring.

For your team, the practical implications are:

  • Keep one clock. If SCADA, trackers and inspection tools use different time sources, alignment errors become location errors.
  • Store the raw signal, not only the detection flag, so ambiguous passages can be reviewed later.
  • Keep run metadata (pig type, launch time, setpoints, operator notes) in a structured form, not in free-text logs.

Where AI helps, and what it needs

Machine learning earns its place in a few specific jobs:

  • Separating real passages from noise. Power lines, equipment and adjacent pipelines can mimic a pig signature.
  • Estimating speed and arrival time from several imperfect inputs at once.
  • Spotting stoppages and anomalies against the history of earlier runs on the same segment.
  • Prioritizing alerts so the control room sees one clear notification instead of five conflicting ones.

The common thread is event data arriving continuously and being scored as it comes. That pattern is familiar well outside pipelines: real-time AI fraud detection scores each transaction as it arrives, much as a pigging model scores each passage and pressure change. If you want the architectural background for this kind of streaming work, our guide to real-time ML pipelines covers the building blocks, and our piece on anomaly detection at the edge shows how remote sites can flag events locally before anything goes to the cloud, which matters on lines with patchy cell coverage.

The same data layer can serve more than one purpose. Trans Mountain’s rationale, as described by its business development VP, was adding another layer of monitoring on top of two existing leak detection systems. If you are building analytics for pigging, design the pipeline so it can also feed leak detection; our guide to pipeline leak detection AI walks through that decision for Canadian operators.

Building it: a practical sequence

  1. Inventory the data you already hold. List every source touching a pig run: SCADA tags, flow meters, trackers, inspection vendor reports, run sheets. Note format, sample rate and who owns it.
  2. Fix the basics. Time synchronization, tag naming, and meter reliability. The PPSA flags unreliable flow rates as a risk in itself, so this step comes before any model. Our enterprise data readiness guide shows how to assess it.
  3. Define the decisions. Who needs to know what, and how fast? A late-pig alert to the control room has different requirements from a post-run trend report for the integrity team.
  4. Start with one line and one use case. Stoppage alerting or arrival-time estimation on a single, well-understood segment is a clean pilot.
  5. Connect the output to action. Alerts should reach the tools people already use, and ideally create a logged event, so the next run benefits from the record.
  6. Review against real runs. Compare the model’s calls with what happened, adjust thresholds, then extend to more lines.

The hard parts are rarely the model. They are integration with existing control systems, data quality and the handover between operations and integrity teams. Those are the parts we build around your own systems rather than around a template.

Perspective

Most pigging analytics projects we see described stall at the same place: the data exists, but it lives in four systems that were never meant to talk to each other. A dashboard bolted on top does not fix that.

Our position is that the useful unit of work is the workflow, not the screen. A stoppage alert is only valuable if it reaches the right person, carries the right context and leaves a record. That takes integration with your SCADA, your run sheets and your inspection data, plus the discipline to tune it to your lines.

That is why we do not offer generic, off-the-shelf consulting. We start from your workflows, systems and goals, and aim for a tangible result within 90 days. For a Canadian operator, a sensible first move is a readiness audit that maps what you have, what is missing and which use case pays back first.

Souhail

Getting started with Digital Fractal

Our AI Readiness Audit is a one-off engagement priced from $2,500 to $10,000. It identifies where automation and AI can take work off your team, including in logistics and energy operations like pigging programs. From there, we can move into AI implementation and build-out or workflow automation that connects your pigging data to the people who act on it. Our team is based in Edmonton, Alberta.

Digitalfractal

If you want to see how we have applied this thinking to pipeline work, our pipeline quality control application project is a good place to look, and our AI consulting for Canada page explains how we work with operators across the country.

FAQ

What is pipeline pigging analytics?

It is the analysis of data from pig runs: flow, pressure, passage detections, vibration and strain. It tells operators where a pig is, how fast it is moving and whether it has stalled. After the run, it links inspection results to locations and lets teams compare runs over time.

How do operators find a stuck pig?

The PPSA advises analysing operating data, especially pressure and flow rates, for unusual signals or trends, and using trackers to locate the pig. It also advises trying process-parameter changes before sending a chaser pig, which could worsen the situation. Analytics speeds up the first step by flagging the anomaly and the likely section of line.

Do I need fibre-optic sensing to do pigging analytics?

No. Analytics can combine flow and pressure data, above-ground passage detection and run records. Continuous sensing such as fibre adds detail between points, but the starting point is joining the data you already hold and keeping clocks aligned across systems.

How long does it take to get a first result?

Our approach aims for a tangible business result within 90 days, starting from an audit of your workflows, systems and data. The scope of a pilot, such as stoppage alerting on one line, determines what is realistic for your operation.

Sources

Tags: