Discharging principle of battery by capacity distribution cabinet