The performance of solar (PV) panels is affected by the shading effect of surrounding trees and buildings, passing clouds basically anything that casts a shadow onto the panels. The sunlight converted into energy by the PV panels shall depend on the amount and duration of the shadow falling on it. Lesser the shadow, the more the energy! No shadow - maximum energy!