A General Model to Predict the Iron Losses in PWM Inverter-Fed Induction Motors