Real Time Simulation And Hardware-In-Loop Testing Of A Hybrid Electric Vehicle Control System