Calculation Method of Losses and Efficiency of Wind Generators