Predictive maintenance in oil and gas: from the P-F interval to a planned work order
Predictive maintenance earns its keep in one place: the weeks between the first measurable sign of a defect and the trip it would cause. This piece covers how to size that window for each failure mode, which condition data actually sees it, how far models can honestly go, and how an alert becomes planned work with the spare already on the shelf.

Start from failure modes, not from data
Collecting every tag in the historian and looking for patterns tends to produce dashboards rather than avoided failures. Start instead with the asset list ranked by consequence: which machines, if they trip, stop production, send gas to flare or take a train offline with no spare. In an oil and gas facility that list is usually short and predictable: export and injection pumps, gas compressors and their drivers, critical fans, large motors, and heat exchangers whose fouling limits throughput.
For each critical machine, write down the failure modes that matter and how they would show. ISO 14224 gives a common taxonomy for equipment, failure modes and failure causes in the petroleum, petrochemical and natural gas industries; using it in the CMMS from the start pays back later, when you need clean failure history to train or validate anything. Then sort the failure modes into two groups:
- Degradation failures that develop over time and leave a measurable trace — bearing wear, misalignment, imbalance, mechanical seal degradation, impeller erosion, exchanger fouling, lube oil contamination.
- Sudden failures with little or no warning — many electronic faults, foreign-object damage, operating errors, overload trips. Predictive maintenance does not help here; redundancy, protection and procedures do.
Only the first group is worth instrumenting and modelling.
The P-F interval sets the budget
Reliability engineers describe degradation with the P-F curve. P is the point at which a potential failure becomes detectable; F is functional failure — the machine can no longer do its job, or its protection trips it. The time between them, the P-F interval, is the window in which anything useful can happen. It differs by failure mode and by detection technique: a bearing defect shows in a vibration spectrum long before it raises bearing temperature.
Two practical rules follow. First, the measurement interval must sit well inside the P-F interval — a monthly route-based vibration reading cannot catch a failure mode that progresses in ten days. Second, the useful lead time is not the whole P-F interval. Subtract the time to detect, the time for an engineer to confirm, and the time to plan, obtain the spare and get a work window. What remains is the margin.
| Failure mode | Earliest useful indicator | Indicative warning |
|---|---|---|
| Rolling-element bearing defect | Defect frequencies in the envelope or velocity spectrum | Weeks to months |
| Misalignment, looseness | 1x and 2x running-speed components, phase | Weeks |
| Mechanical seal degradation | Seal pot level and pressure, flush temperature, leakage | Days to weeks |
| Impeller wear, internal recirculation | Head and efficiency falling against the pump curve | Months |
| Exchanger fouling | Falling heat-transfer coefficient (UA) at normalised duty | Months |
| Lube oil degradation or contamination | Wear metals, particle count, water, viscosity | Weeks to months |
The warning times are orders of magnitude only; they vary with speed, load, design and how the machine is operated.
Condition data, and what each source can see
Vibration
Overall velocity, evaluated against the zones in ISO 20816-3 for industrial machines, is a good alarm signal and a poor diagnostic one: by the time the overall value moves, the defect is often well advanced. Spectra, envelope (demodulated) data and, on machines with proximity probes, orbit and phase information show it much earlier. Protection systems built to API 670 exist to trip the machine safely, not to diagnose it, and the historian usually keeps only their overall values — so check where spectral data can actually come from.
Temperatures
Bearing, winding, lube oil and discharge temperatures are cheap and already in the historian. On their own they react late. Normalised against load, speed and ambient — which matters on Gulf sites, where air-cooler and enclosure temperatures swing widely between seasons — they become a useful early signal.
Process data
Flow, suction and discharge pressure, speed and power let you compute performance: head and efficiency against the pump curve, polytropic efficiency on a compressor, UA on an exchanger. Performance loss is often the first sign of internal wear, and it carries a direct production cost.
Oil analysis
Wear metals, particle counts, water content and viscosity say precisely what is wearing, but they arrive slowly — a monthly sample, results days later. Treat them as confirmation of a trend seen elsewhere, and store the results with sample dates against the asset, not in a lab spreadsheet.
From thresholds to models
Each step up this list adds sensitivity and complexity:
- Fixed thresholds — simple, explainable, late, and noisy when load changes.
- Context-dependent limits — limits that move with load, speed or operating mode, so a reading at full load is not judged like the same reading at turndown.
- Normal-behaviour models — a model learns what each signal should be given the others, and the residual (measured minus expected) is monitored. This catches a bearing running 6 °C hotter than it should at today's load and ambient, while still far below its alarm. Multivariate anomaly detection extends the idea across hundreds of tags and ranks which ones moved first.
- Failure-mode classifiers — models that name the fault. These need labelled examples of each failure, which most plants do not have in quantity, precisely because critical machines are repaired before they fail.
For most sites the productive combination is levels 2 and 3, with diagnosis left to an engineer looking at the spectrum.
Remaining useful life, honestly
A remaining-useful-life estimate is an extrapolation of a health indicator towards a failure threshold. It is only as good as two things: how well the indicator tracks the actual damage, and how predictable the progression is. Neither is guaranteed. ISO 13381-1, the general guideline on prognostics, frames it correctly — as an estimate with a confidence level, revised as new data arrives. In practice, report a window ("likely three to six weeks at current load") rather than a date, widen it when load or operating mode changes, and never let an RUL figure override a protection trip or an engineer's inspection.
From a prediction to a work order
An alert that does not become planned work is a cost, not a saving. The hand-over into maintenance deserves as much design as the model:
- The alert reaches a named reliability or condition-monitoring engineer with the evidence: the trend, the residual, the spectrum if there is one, and the operating context.
- The engineer confirms or rejects it, and the decision is recorded. Rejections are training data.
- A confirmed alert becomes a notification or work order in the CMMS against the correct asset, with the failure mode coded, the recommended task and a required-by date derived from the lead time.
- Planning checks spares, permits and the work window: switch to the standby pump, align with a planned shutdown, or schedule a dedicated outage.
- After the work, the as-found condition is recorded. That single field — was the predicted defect actually there? — is what lets you measure the programme.
Illustration (made-up numbers): a spared water-injection pump shows a rising bearing defect frequency in the envelope spectrum while overall vibration is still in the acceptable zone. The estimated window is four to eight weeks. The replacement bearing is in stock, so the job is planned for the next week the standby pump is available, done in one shift and closed with photographs of a spalled outer race. Had the bearing been a ten-week import, the same alert would have needed a purchase requisition raised the day it was confirmed.
In our predictive maintenance work, confirmed alerts are routed to the CMMS as planned work. In AssetOps, the spare is requisitioned through SAP inside the same work order, and MTBF, MTTR and availability are computed from the work-order history rather than typed into a report.
What data you need before you start
- An asset register with a criticality ranking and a reliable mapping from historian tags to equipment.
- Twelve to twenty-four months of historian data at a resolution that preserves the signal — check compression and deadband settings, which can flatten a slow trend into steps.
- Work-order history with dates, failure modes and as-found condition, so past events can be lined up against the data.
- Operating-mode information: running, standby, start-up, recycle, turndown.
- Oil analysis and inspection results, dated and attached to the asset.
Measuring whether it pays
| Measure | How to count it |
|---|---|
| Confirmed detections | Alerts where the defect was found on inspection or teardown |
| Lead time | Days from first alert to the planned intervention |
| False-alarm rate | Alerts rejected by the engineer or not confirmed at inspection, per asset per month |
| Missed failures | Unplanned failures on monitored assets with no prior alert |
| Avoided trips | Confirmed detections of failure modes that would have tripped the machine — counted conservatively |
| MTBF and maintenance cost | From CMMS history, against the same asset class before monitoring |
The value of a confirmed catch is roughly the cost of the unplanned event — emergency repair, secondary damage, lost or deferred production — minus the cost of the planned repair. Then subtract the cost of false alarms: every unconfirmed alert costs engineering hours and, if it led to an inspection, an outage. A programme with a few confirmed catches a year and a low false-alarm rate is usually worth more than one with many alerts that operations has learned to ignore.
Common pitfalls
- Instrument faults read as machine faults. A drifting transmitter looks like degradation. Check sensor health before calling a defect.
- Models trained on degraded periods. If the training data includes the months before a past failure, the model learns degradation as normal.
- Ignoring operating mode. Start-ups, recycle and turndown change every signal; a model must know which mode it is looking at.
- No owner. Alerts sent to a shared mailbox decay into noise within weeks.
- No feedback loop. If as-found results never reach the people maintaining the model, nobody knows whether it works.
Predictive maintenance is a reliability programme with models inside it, not the other way round.
To test this on your own equipment, we can scope a proof of concept on your historian and work-order data for one critical machine class, with the acceptance measures agreed before we start.

