Calculating the number of electric batteries for the solar system