Analytical design of a radial-flux PM generator for direct-drive wind turbine renewable energy application