Optimal allocation of wind turbines in microgrids by using genetic algorithm