Text this: Analysis of the Demagnetization of a PMSG Using a Coupled Electromagnetic–Fluid–Thermal Numerical Model.