Calculation of the number of solar panels