There's actually a movement to block solar at farms by the Petro industrial complex, since they want to block solar everywhere.
There's no good reason to couple solar panels to anything. It's some non-engineer idea that got currency - I have a house but a small yard. Hey! Put it on the roof!
But if you have any choice whatsoever, do not do that. Put them in an unobstructed cheap ground-level serviceable location near the power grid. Because electricity can flow over wires for many many miles with little loss.
Hell, the midwestern farmer used to be the highest-risk job for accidents. But I hear solar installers have taken the crown. The cost in human capital has to be considered as well.
Not to mention, undeveloped land (especially land flat enough for solar) is still being used, generally for livestock.
- Longer permitting delays, including structural engineering work and electrical design work to tie into the existing warehouse electrical system.
- Need to rent cranes or lifts to hoist equipment onto roof.
- Warehouses may need to be partially closed while roof work is being done, for safety.
- Probably need to do roof penetrations for fasteners and ensure they are sealed.
- Likely increase in worker death and injury rate from working on roofs instead of the ground.
Edit: I also wonder if there are even though sunny days in the mountain west to recover the massive carbon cost from building the solar cells in the first place. Regardless of we put them on roofs or elsewhere.
Having a grid-tied building festooned with solar panels has always seemed absurd to me for this reason. It would be interesting to calculate the implied "show-off value" of the solar cells that building owners are paying relative to the utility-scale alternative--I bet it's shockingly high.