Generic modeling and control of wind turbines following IEC 61400-27-1