Text this: Design and optimization of a large scale grid connected wound rotor synchronous machine