A simple method for power loss estimation in PWM inverter-fed motors