Development of a power electronics for a flywheel energy storage system