Text this: Loss modelling of an inverter-fed induction motor