The effect of shape on energy generation by photovoltaic panels