Advanced Research and Education in Electrical Drives by Using Digital Real-Time Hardware-in-the-Loop Simulation