Modeling and simulation for wind energy