Installation of solar panels designed to reduce a hospital trust's carbon emissions has been disrupting patient parking.