how to calculate battery capacity for solar system