Automotive Applications of Hardware-in-the-Loop (HIL) Simulation