Even in densely populated areas there is plenty of room for solar. Rooftops, especially large commercial businesses, are generally completely unused. I am not so sure about producing and collecting hydrogen on top of your local walmart but as far as space for solar goes, we have shitloads of it.
And especially in the south, covering the roof with solar panels (and therefore eliminating the direct solar radiance that heats up the building) has enormous benefits in reducing air conditioning loads - which is also worst during peak load times, so it's a twofer benefit to the grid.
To understand how much heat gain we get through the roof, look at the difference between an earth-sheltered building with a green roof versus one with a super-insulated conventional exposed roof. It takes over eight feet of earth to surpass energy savings of a super-insulated conventional exposed roof in winter heating mode in the northern USA - but only ten to fourteen inches to surpass it in summer cooling mode in the southern USA. A roof totally covered with solar panels (with air flow space beneath) would reduce most of that, giving us most of the benefits of an earth-covered green roof as a free side effect.