Application of Permanent Magnets in Wind Turbines