Structure principle of flywheel battery