A model of asynchronous generator for wind power generation