Back to the glossary

Embedded and systems

Plant model

A plant model is a simulation of the physical system a controller regulates, such as a motor, a heating circuit or a vehicle. It gives the device under test realistic feedback.

Also known as: environment model, simulation model

Why a plant model?

A controller only makes sense in a closed loop: it sets something, physics reacts, a sensor measures the result. If the real plant is missing, a model takes its place. It calculates from the DUT’s outputs how the system would behave and returns the matching sensor values.

How accurate does the model need to be?

As accurate as the test requires, and no more. Many functional tests need only a simple model with a handful of states. Detailed models cost development time, computing power and maintenance, and they need to be validated themselves.

A good rule of thumb: the model has to reproduce the effects the test is meant to check. Testing an over-temperature shutdown needs plausible thermal behaviour, not an exact flow simulation.

Use across test levels

The same plant model can travel through several stages: from model-in-the-loop through software-in-the-loop to the HiL test bench, where it has to run in real time.