Real time simulation of a wind turbine driven doubly fed induction generator