{{short description|Technique used in the development and test of complex real-time embedded systems}}
'''Hardware-in-the-loop''' ('''HIL''') '''[[simulation]]''', or '''HWIL''', or '''HITL''', is a technique that is used in the development and test of complex real-time [[embedded systems]]. HIL simulation provides an effective [[platform (computing)|platform]] by adding the complexity of the plant under control to the test platform. The complexity of the plant under control is included in test and development by adding a [[Representation (mathematics)|mathematical representation]] of all related [[dynamic systems]]. These mathematical representations are referred to as the “plant simulation”. The embedded system to be tested interacts with this plant simulation.