A Detailed Synchronous Machine Model