Electro-Thermal Optimisation Of A 50Kw Synchronous Permanent Magnet Generator For Aerospace Application