Hardware in the Loop Simulation