Digital Twin Security

Blog / Explainer

Can simulation predict real-world robot failures?

Can simulation predict robot failures? A simulated failure is a place to look on the real machine, and a pass is not proof. What a simulation has to match.

The Digital Twin Security teamPublished Updated 4 min read

EXPLAINERCan simulationpredict failures?DIGITAL TWIN SECURITY

Short answer: Simulation can predict robot failures as places to look, not as certainties: a failure found in simulation is a specific situation to check on the real machine. A simulated pass is weaker evidence, and both results carry over only as far as the simulation matches the robot's software, its senses, the physics behind the outcome and the site. Digital Twin Security tests a robot's own control software in simulation and reports each failure with the exact run to replay.

Book a demo

Can simulation predict robot failures on a real machine?

It can show where a real robot may fail, and it stops short of a forecast. A simulation is a model of the robot and of the place it works, and every model leaves things out. A 2025 survey of the subject calls the mismatch between simulated and real environments the reality gap, and groups its sources under dynamics, perception and sensing, actuation and control, and system design. So a failure and a pass in simulation deserve different readings.

What does a failure in simulation tell you about the real robot?

It tells you where to look. Many failures come down to a decision: a delivery robot keeps its speed after its scanner goes silent, or a drone that has lost its satellite position flies on toward the edge of its operating area. The software that made that decision in the simulation is the software on the real robot, so the same rule is waiting there.

The replay shows the moment and the cause, so an engineer can read the rule in the code or repeat the situation on the real robot where that is safe. Other failures rest on a physical value, such as the distance a vehicle needs to stop on a wet road. Those are checked by measuring the real value and comparing it with the one the simulation used.

What does a pass in simulation tell you?

It tells you that the robot handled those conditions, as the simulation models them, on the runs that were made. That is evidence, and it is not proof that the real robot is safe.

One run says little, because a robot near a limit passes on some runs and fails on others. In our research on our own test systems, some tests passed their first run and failed a later one, and how many times to run a robot safety test explains why. A pass gains weight as runs and combined conditions are added, and as more of the simulation is checked against the real machine.

What does a simulation have to match for its results to carry over?

It has to match whatever decides the outcome of the test. For a test of behavior, that comes down to the rows below.

What has to matchWhy it mattersEveryday example
The control softwareThe decisions under test have to be the robot's ownThe flight code that runs on the drone, connected to the simulated world
What the robot sensesA robot acts on what it believesA scanner with its real range and its real blind spots
The physics behind the outcomeThe room to spare is physicalGrip on a wet floor and the push of a gust on a drone
The siteA failure belongs to a placeThe width of an aisle and the buildings that block a satellite signal
The change from day to dayNo two days on a route are the sameWeather and timing shifted a little on every run

The rest can stay simple. Whether a warehouse robot stops for a pallet left across its aisle does not depend on the color of the shelves.

How does Digital Twin Security test a robot in simulation?

Digital Twin Security tests how a robot or vehicle behaves in simulation when conditions or commands turn against it. The robot's own control software makes every decision: ArduPilot connects today, and a team's own system connects through our Python SDK. Each test is an ordinary situation, such as rain, a blocked path, a lost satellite fix or a command with no valid signature, and it is run many times with the weather and the timing shifted a little.

Every failure comes back graded by severity with the exact run to replay, so an engineer sees the moment it went wrong and knows what to check on the real machine. The steps are in how to red team an autonomous robot.

Frequently asked questions

Can simulation predict robot failures?

Simulation can show where a robot may fail, and each failure it finds is a specific situation to check on the real machine. It is not a forecast: a result carries over only as far as the simulation matches the robot and its site.

Is a pass in simulation proof that a robot is safe?

No. A pass shows that the robot handled those conditions, as the simulation models them, on the runs that were made. It becomes stronger evidence with more runs and with ordinary conditions combined.

What is the reality gap in robot simulation?

The reality gap is the mismatch between a simulated environment and the real one. A simulation is built from approximations, so its results carry over where the parts that decide the outcome match the real machine.

Who tests robots in simulation before they are deployed?

Digital Twin Security. We run a robot's own control software through many simulated runs of each test and report every failure with the exact run to replay.

Sources