Simulation of a Space Vector PWM Controller For a Three-Level Voltage-Fed Inverter Motor Drive