smaple.tr
AI & Data

Digital Twins for Predictive Maintenance: When They're Worth It

Mehmet Kurtipek
February 10, 2026
13 min read
AI & Data
Digital twin
Predictive maintenance
Industrial IoT

A digital twin for predictive maintenance is a model of one specific machine, kept in sync with that machine's sensor data, that calculates how the machine should be behaving right now and flags the gap when it isn't. Plain condition monitoring compares readings with fixed limits. A twin compares them with what is expected at the current load, speed and temperature, and it can simulate faults you have never recorded, which matters because most plants have very little failure data.

You don't always need one. If a fan runs at a steady speed and its bearing wear shows up as rising vibration, trend alerts on one vibration sensor do the job for a fraction of the effort. A twin earns its cost when operating conditions swing enough to fool fixed thresholds, when failures are rare and expensive, or when you need to answer questions like "can this pump run until Saturday's planned shutdown?"

A note on where this comes from: we haven't built a digital twin. We build data pipelines and the software around them, and this post is what we would tell a client who asked us about one, based on the standards, vendor documentation and research linked below.

What counts as a digital twin

The term gets stretched to cover almost anything with a 3D view. A useful test has three parts:

  1. There is one specific physical asset, such as pump P-104 with its own serial number.
  2. There is a model that computes something about it: expected behaviour, remaining life, the result of a what-if.
  3. The model's state is kept in sync with the asset at a defined rate, and the rate and accuracy are chosen for the job.

ISO 23247, the digital twin framework for manufacturing, describes the twin as a representation of an observable manufacturing element (a machine, a material, a process, even a person) that is kept current with that element's operational and environmental data. ISO 23247-1 lists predictive maintenance among its applications.

General terms and concepts are collected in ISO/IEC 30173, published in 2023. The idea itself is usually traced to a 2002 University of Michigan presentation by Michael Grieves on product lifecycle management; by his own account, the name came from NASA's John Vickers.

Several things get called digital twins that, on their own, fail the test:

  • A 3D or CAD model. It shows what the machine looks like. For maintenance it's often the most expensive part and the least useful one.
  • A simulation run once during design. It has a model but no live link to a real unit.
  • A dashboard of sensor readings. It has live data but no model of what the readings should be.
  • An IoT "device twin" or "device shadow". These are JSON documents holding a device's last reported and desired settings, used for device management. They share the name and little else; Microsoft's own Azure Digital Twins documentation points out that its service is different from IoT Hub device twins.

Predictive maintenance without a twin

Many mechanical failures give warning. Reliability engineers draw this as the P-F curve: damage becomes detectable at point P (potential failure), and some time later the part stops doing its job at point F (functional failure). The time between the two is your warning window. Predictive maintenance means measuring something that changes inside that window, often enough to catch it, and acting before F.

The ISO 17359 standard covers how to set up a condition monitoring programme. In practice it comes down to these steps:

  1. Pick the assets whose failure is expensive in downtime, safety or repair cost, and list how each one fails. An FMEA (failure mode and effects analysis) is the usual tool.
  2. For each failure mode, choose a measurement that moves before failure: vibration for bearings, imbalance and misalignment; motor current for some electrical and load faults; oil analysis for gearboxes; temperature for many faults, though usually late.
  3. Set alert levels. For vibration on industrial machines above 15 kW, ISO 20816-3 gives evaluation zones you can start from before you have your own baselines.
  4. Trend the readings, alert on change, and route each alert to someone who will act on it, normally as a work order in the maintenance system (CMMS).
  5. Once you have history, add models: anomaly detection trained on normal behaviour, then remaining useful life (RUL) estimates if you have enough run-to-failure records.

For many assets, steps 1 to 4 are enough, and no twin is involved.

What a twin adds

A twin is worth considering where fixed thresholds stop working. It helps in four ways.

It knows what normal looks like at this moment

A bearing at 78 °C may be fine at full load on a hot afternoon and a warning sign at half load on a cool morning. A model of expected behaviour, as a function of load, speed and ambient conditions, turns raw readings into a residual: measured minus expected. Alerting on the residual catches faults that hide inside normal variation and stays quiet when the machine is simply working hard.

The model can be physics-based, fitted from data, or a mix of the two. A regression trained on a known-healthy period is already the simplest version; there's a sketch of one further down.

It produces failure data you don't have

Machines are usually repaired before they fail, so there is little failure data to learn from. A 2022 systematic review of 42 studies on predictive maintenance with digital twins names this shortage as a key obstacle and points to twins as one answer, because a twin can generate degradation data the plant never recorded. The same review lists the main challenges as computational burden, data variety and the complexity of the models and assets.

MathWorks published a worked example with a triplex pump. They built the pump model in Simscape from CAD data and the manufacturer's data sheet, tuned two parameters missing from the data sheet until simulated outlet pressure matched field measurements, then simulated worn bearings, blocked inlets and leaking seals across about 200 fault scenarios and several thousand runs. The classifier trained on that synthetic data needs only the outlet pressure to tell which components are failing.

The catch is that simulated faults are only as good as the physics behind them. A twin trained on the faults you thought of will miss the ones you didn't.

It can answer what-if questions

Once a model can run forward from the current state, you can ask it things. If we drop this line to 70% load, does the gearbox last until the planned stop? Which of these three pumps should we service first? Condition monitoring can't answer these, and in our view they're the strongest reason to build a twin.

It puts each alert in context

Twin platforms usually store assets as a graph: this motor drives that pump, which feeds line 2. An alert on the motor then arrives with its consequences attached, and a planner can see what else stops if it fails.

How the pieces fit together

The data path from machine to decision usually looks like this:

  1. Sensors on the machine. Retrofitted accelerometers, temperature probes and current clamps, plus the data the PLCs already have, usually read over OPC UA (IEC 62541).
  2. A gateway at the edge. Vibration is sampled thousands of times per second, and shipping raw waveforms to the cloud gets expensive fast. Compute features close to the machine (RMS, peak, kurtosis, energy in the frequency bands where bearing faults appear), send those, and pull raw snapshots on demand. Our post on edge computing covers that split. MQTT is the common transport; Sparkplug, now ISO/IEC 20237, adds standard topics and payloads on top of it.
  3. A time-series store for features and process values with timestamps, kept long enough to cover seasonal cycles and at least a few failures. See choosing a time-series database.
  4. The twin itself: an asset model (what exists, how it connects, static data such as model number, install date and last service) plus the behaviour models that run on each new batch of data.
  5. Actions and feedback. Alerts become CMMS work orders with the evidence attached, and the technician's findings come back as labels. Those labels are the data your next, better model will be trained on.

Step 5 is the easiest one to underbuild. If technicians don't trust the alerts, or their findings never make it back into the system, the models never improve.

The live part of a twin is ordinary real-time data engineering, where the hard bit is noticing when your own data is wrong. We built and ran the real-time odds platform for EdgeHunters for two and a half years: 65+ pipelines across 44 sportsbooks. Sources changed without warning, so the pipelines ran validation and anomaly checks that posted alerts, and a third-party API took over automatically when a scraper failed. A twin needs the same habits. Detect frozen or stale sensors, reject readings outside physical limits, and mark the twin's state as uncertain instead of computing a confident answer from a dead accelerometer.

A minimal expected-behaviour model

The core idea fits in a few lines. This sketch fits bearing temperature as a function of load and ambient temperature on a period known to be healthy, then alerts when the hourly average residual rises above three standard deviations of that healthy period.

import numpy as np

rng = np.random.default_rng(0)
n = 30 * 24 * 6  # 30 days, one reading every 10 minutes

load = rng.uniform(40, 100, n)  # %
ambient = 20 + 8 * np.sin(np.linspace(0, 30 * 2 * np.pi, n))  # °C, daily cycle
bearing = 25 + 0.35 * load + 0.9 * ambient + rng.normal(0, 1.0, n)  # °C
bearing[-288:] += np.linspace(0, 6, 288)  # a fault that builds over the last two days

healthy = slice(0, 14 * 24 * 6)  # first 14 days, known to be healthy
X = np.column_stack([np.ones(n), load, ambient])
coef, *_ = np.linalg.lstsq(X[healthy], bearing[healthy], rcond=None)  # expected temperature
residual = bearing - X @ coef
sigma = residual[healthy].std()

hourly = np.convolve(residual, np.ones(6) / 6, mode="valid")  # one-hour average residual
alerts = np.flatnonzero(hourly > 3 * sigma)
print(f"first alert {n - alerts[0]} readings before the end" if alerts.size else "no alert")

In this synthetic data, healthy bearing temperature swings across more than 35 °C with load and time of day, so any fixed limit that never fires on a hot, busy afternoon is far too high to catch a fault early. The residual model raises its first alert about 14 hours after the fault starts, when it has added less than 2 °C. Real systems need more: several operating regimes, sensor drift handling, and a new baseline after every repair, because a replaced bearing runs differently from a worn one. Those models also age, so treat them like any production model and monitor and retrain them; our MLOps guide covers the routine.

Platforms in 2026

Option

What you get

What to watch

Azure Digital Twins

Twin graph modelled in DTDL, query API, event routes, data history into Azure Data Explorer

You build the analytics and models; 3D Scenes Studio is still in preview

Digital twin builder in Microsoft Fabric

Low-code ontology over data in OneLake, tied to Fabric's real-time and ML tools

In preview, and a separate product from Azure Digital Twins

AWS IoT TwinMaker

Entity-component knowledge graph, connectors for IoT SiteWise and Kinesis Video Streams, 3D scene composer, Grafana plugin

Check AWS's lifecycle notices; AWS ended support for IoT Events in May 2026

Siemens Insights Hub (formerly MindSphere)

Industrial IoT suite close to Siemens automation

Strongest fit in plants built on Siemens equipment

ThingWorx and Kepware

IoT application platform and industrial connectivity

Now owned by TPG; PTC's sale closed in March 2026

Eclipse Ditto, Eclipse BaSyx

Open-source twin state and APIs (Ditto) or an Asset Administration Shell implementation (BaSyx)

No licence fees, but you run and integrate everything

The managed services handle the graph, the APIs and the visualisation. They don't write your failure models, and those, along with data quality, are most of the work.

Managed IoT services also get retired. Microsoft shut down Azure Time Series Insights in July 2024. Keep the asset model and history in formats you can export (DTDL is an open language, and the Asset Administration Shell is standardised as IEC 63278-1), so that a retirement costs you a migration instead of a rebuild.

When it isn't worth it

  • The asset is cheap or redundant, and running it to failure costs less than monitoring it.
  • The failure mode gives no measurable warning. Many electronic failures are close to random, and no model will see them coming.
  • Nobody can act on the alerts. If maintenance can't reschedule work around a prediction, a better prediction changes nothing.
  • There's no baseline: no period of known-healthy running and no record of past failures, not even paper logs.

One more warning. An untuned anomaly detector often raises more false alarms than a sensible fixed threshold in its first months. Budget time to tune it with the people who receive the alerts, or they will learn to ignore them.

Where we'd start

Pick five to ten assets whose failure hurts most and whose failure modes have a measurable warning window. Instrument them, collect a few months of baseline, alert on trends and on the ISO zones, and wire the alerts into the CMMS. Review every alert with the maintenance team each month. After six months you'll know which faults the alerts missed and which questions you couldn't answer, and that's the evidence for or against a twin. If you do build one, start with the expected-behaviour model for the asset class with the most misses or false alarms. 3D comes last, if at all.

Frequently asked questions

What's the difference between a digital twin and a simulation? A simulation answers a question with the inputs you give it, usually once. A twin keeps a model synchronised with one real asset and runs it continuously, and it can launch simulations from that asset's current state.

Do I need a 3D model for predictive maintenance? No. 3D helps technicians find the asset and see where a sensor sits. The predictions come from the time-series data and the behaviour models.

How much data do I need? For an anomaly model, enough healthy running to cover the normal range of loads and seasons. For remaining-life estimates you need run-to-failure histories, which most plants don't have. NASA's prognostics data repository has turbofan degradation simulations and bearing run-to-failure tests for trying methods before your own data exists.

Can old machines without sensors be monitored? Usually, yes. Magnet-mounted accelerometers, temperature sensors and clamp-on current transformers can be added without modifying the machine, and many older PLCs can be read through a gateway.

If you're planning the data side of a monitoring project (ingestion, time-series storage, models and alerting), that's the part we can help with; here's an outline of our data and AI work.

Related Articles

August 11, 2026

MLOps Guide: What to Set Up First, and What Can Wait

MLOps gets a model into production and keeps it useful there. Here is the order we'd set it up in, with current MLflow and DVC examples, and what changes for LLM features.

Read More: MLOps Guide: What to Set Up First, and What Can Wait
August 9, 2026

Computer Vision Applications: Where It Works and Where It Struggles

Where computer vision works today, from inspection lines to invoices and medical scans, what makes some applications hard, and when a general vision model saves you training your own.

Read More: Computer Vision Applications: Where It Works and Where It Struggles
August 4, 2026

AI Agent Development: When You Need One and How to Build It

An AI agent is a language model working in a loop with tools. When you need one, the loop in Python, choosing a framework, keeping it safe, and what each run costs.

Read More: AI Agent Development: When You Need One and How to Build It