Calculation method of energy storage battery warehouse capacity