Taifead r-phoist: Integrated Optimal Design of Permanent Magnet Synchronous Generator for Smart Wind Turbine Using Genetic Algorithm