There are numerous points of failure in any grid. the big power generators and transformers are hard to hide targets.
A big surface area of solar panel is much less dense in terms of power generation per square feet. So you would need a lot of ordinance to meaningfully decrease its output (except at transformer points, but that’s like in any grid).
Why would you want a majority of your power generation in one easy to attack location?