Real-time simulation, in which the behaviour of a simulation of a system develops in precisely the same time-scale as the corresponding behaviour of the system itself, has been used for many years for testing hardware (hardware-in-the-loop or HIL), software and for training (e.g. flight simulators, power-plant simulators).