Calculation method of solar street light battery and photovoltaic panel