Text this: Automatic control of active and reactive power for the motor-generator bank of the UniGrid laboratory