Calculation of the number of batteries in the fire emergency cabinet