How to calculate photovoltaic battery power generation capacity