A Method for Steady State Analysis of Doubly Fed Induction Generator