Battery cycle principle of energy storage cabinet