Electromagnetic design of high-speed permanent magnet synchronous motor for flywheel energy storage system