Winding loss optimisation for high power density permanent magnet machines for aerospace propulsion