In this circuit, the slip rotor is referred to the grid frequency, and
the slip speed is taken as positive in the generator mode. The modeling of the generator is done in the d-q reference frame that is fixed to the PM rotor, for both the grid-frequency and
slip-frequency generator components.