How to calculate the voltage of photovoltaic energy storage batteries