A platform for analysis and control design: Emulation of energy storage flywheels on a rotor-AMB test rig