Modeling and Decoupled Active and Reactive power Control of a Doubly Fed Induction Generator