Simulation of a Doubly-Fed Induction Machine for Wind Turbine Generator Fault Analysis