Text this: Electric vehicle emulation based on inertial flywheel and a dc machine