Case study 4 of 5

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

every 15 minutes, finished within 15× 10 plants: one pipeline, parameters tuned per plantPlant sensors100+ at a timepressure, temperaturePlant historianOSIsoft PIRead the windowlatest readings,machine by machineRobust PCAnormal pattern vsdeviation: flags itTime to failurefrom sensor limits,in hours or daysAlertfor corrective action750+predictions per runPlant sensors100+ at a time: pressure, temperaturePlant historianOSIsoft PIevery 15 minutes, finished within 15Read the windowlatest readings, machine by machineRobust PCAnormal pattern vs deviation: flags itTime to failurefrom sensor limits, in hours or daysAlertfor corrective action750+predictions per run× 10 plants: one pipeline,parameters tuned per plant
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.

  1. 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.
  2. 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.
  3. 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.
  4. 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

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.

Stack