In a real-time simulation, the simulation is performed in
discrete time with a constant step (also known as fixed step) simulation as time moves forward in an equal duration of time. Other techniques having variable step are used for high frequency transients but are unsuitable for real time simulation. In a real time simulation, the time required to solve the internal
state equations and functions representing the system must be less than the fixed step. If calculation time exceeds the time of the fixed step, an over run is said to have occurred and the simulation now
lags behind the actual time. In simple words, real-time simulation must produce the internal variables and output within the same length of time as its physical counterpart would. Configuring models to run in real-time enables one to use
hardware-in-the-loop simulation to test controllers. It's possible to make design changes earlier in the development process, reducing costs and shortening the
design cycle. == In academic curricula ==