Text this: Analysis and design optimisation of grid-connected wound-rotor synchronous and induction motors