Dynamic Simulation Model of Switched Reluctance Generator