Asset Health CareFailure prediction through anomaly detection, across ten petrochemical plants
Live sensor readings, checked every 15 minutes for the early signs of an equipment failure, with an estimate of how long is left before it happens.
For
SABIC, through Wipro
When
2020 – 2022
My role
Led the architecture of the 10-plant rollout
Every 15 minutes
750+live predictions, across 10 plants
The problem
When a heat exchanger or a boiler in a petrochemical plant fails without warning, production stops. SABIC wanted to see failures coming, early enough for engineers to act, using the sensors already on the equipment.
The readings were already there: over 100 sensors at a time, pressure, temperature and more, collected in the plant historian. The task was to turn them into a warning every 15 minutes, with each run finished inside those 15 minutes.
What I built
In phase one the model ran live on two plants, and a run took 25 minutes: longer than the 15 minutes between runs. I reworked the data flow until a run took 10.
Phase two took the model to eight more plants. I led the architecture: one modular pipeline that every plant shares, with its parameters tuned to each plant, now making 750+ live predictions every 15 minutes.
How it works
Read the window. Every 15 minutes the pipeline takes the latest readings for each machine from the plant historian.
Learn what normal looks like. Robust PCA learns each machine's normal pattern from all its sensors together, and flags the readings that deviate from it.
Say how long is left. From each sensor's minimum and maximum limits, it estimates the time to failure in hours or days.
Same pipeline, every plant. Each plant gets its own parameters, set after studying that plant's data.
One pipeline, shared by ten plants, runs every 15 minutes and must finish before the next run starts. Drawn from the project description and my own account of it.
The alerts went to the people who act on them: plant managers, engineers and executives.
Hard parts and decisions
Four choices shaped the system. For each: what I could have done, and what I chose.
Fit the run inside the window
Every sensor reading updates every 15 minutes, so each run has to finish inside 15. A live run took 25.
Could have
Run the model less often, every 30 minutes, and accept later warnings.
Chose
Keep the 15-minute cycle and rework the data flow until a run took 10 minutes, 60% faster.
Learn normal, not failure
Instead of relying on a traditional machine-learning model, we took a step back.
Could have
Trained a standard model to recognise failures from past examples.
Chose
Robust PCA, which learns each machine's normal pattern from its sensors and flags the readings that do not fit it.
One pipeline, tuned per plant
The first two plants had worked. Eight more were next, and the client had about forty.
Could have
Built and maintained a separate pipeline for each plant.
Chose
One modular pipeline that every plant shares; only the parameters change from plant to plant.
Cost
We had to study the data of all ten plants before building, to find one structure that held for each of them.
How long, not only whether
An alert that something is unusual tells an engineer to look. It does not tell them how soon.
Could have
Stopped at the anomaly flag.
Chose
Add a time-to-failure estimate, in hours or days, from each sensor's minimum and maximum limits.
Making it reliable
Measured, with RMSE and MAPE: the average size of the prediction error, in absolute and percentage terms.
Adapted asset by asset: I supervised four data scientists fitting the model to 15 assets of one plant.
A team that could run it: 35+ colleagues trained on the new platform, in a five-day course I ran.
Watched after launch: drift monitoring and automated retraining kept the models current.
Close to the client: I led the technical calls on implementation and new requirements.
Outcome
750+live predictions every 15 minutes across 10 plants, with the next 30 plants planned.
The work was recognised with two Wipro awards: League Extraordinaire (Q4 FY2021) and Exemplar (Q2 FY2022).
My role and the team
I joined as a data-science consultant and the team's Dataiku subject-matter expert. In phase one I optimised the live pipeline for the first two plants. In phase two I led the architecture for the 10-plant rollout and supervised four data scientists. When I left in February 2022, I handed the finished architecture over.