Investigation of a Hardware-in-the-Loop System to Control a Midspeed Wind Turbine Generator with Superconducting Rotor Winding