Statistics for Development of a power conditioner for a PMSG-based wind energy system integrated into a weak grid