Dynamic flywheel energy storage