Home▸Algorithms & AI▸AI Factory Digital Twin: Predictive Maintenance Simulator (2D)

AI Factory Digital Twin: Predictive Maintenance Simulator (2D)

The same fleet in plan view: Blender top-view machine cells with lamps and risk numbers, a conveyor, and for the chosen machine the noisy vibration readings, the twin's failure probability against the alarm threshold, and (optionally) the hidden true health curve. Same physics and numerical checks as the 3D version.

Algorithms & AI2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
AI Factory Digital Twin: Predictive Maintenance Simulator (2D) ↗ Open standalone

Run a factory floor of 16 machines whose hidden lifetimes follow a Weibull law (infant mortality, random failure or wear-out, set by the shape beta). A digital twin reads a noisy vibration indicator on every inspection and updates a Bayesian posterior over each machine's lifetime: the Weibull prior truncated at its age times a Gaussian sensor likelihood. From that posterior come the remaining-useful-life estimate and the probability of failing within a horizon; raising an alarm above a threshold replaces the machine early. Move the threshold and watch precision and recall trade off, compare predictive maintenance with run-to-failure and fixed-age replacement, and read the closed-form optimal replacement age from renewal theory. The Blender factory shows each cell's lamp, vibration and replacement events live. Synthetic educational fleet, no real plant data. Eleven numerical checks: Weibull mean, conditional RUL integrals (with an erfc closed form), the data-free posterior, calibration of the posterior, precision at least theta, optimal age, and the renewal rate.

⚙ Under the hood

The same fleet in plan view: Blender top-view machine cells with lamps and risk numbers, a conveyor, and for the chosen machine the noisy vibration readings, the twin's failure probability against the alarm threshold, and (optionally) the hidden true health curve. Same physics and numerical checks as the 3D version.

Predictive MaintenanceDigital TwinWeibull DistributionRemaining Useful LifePrecision and RecallBayesian InferenceRenewal TheoryReliability Engineering

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)