Control Oriented Modelling of AC Electric Machines