Modeling and simulation of wind turbine based on AMESim