A simple non-answer.If only solar energy could be stored in something like…a battery?
A while back I looked the economics: The life cycle cost of all battery technologies exceeded the market value of the power they produce in that lifetime. I have not seen recent updates but I doubt this has changed. Batteries exist for load balancing, not for meaningful power storage. Batteries only make sense in environments you can't connect to the grid, or in a few cases where power is life-critical but you can't trust the grid.
The only reason solar appears to make sense is the government requires the utilities to pay for solar/wind as if they had the same value as other power, completely ignoring the economics of the lack of reliability. In reality the value of the solar/wind is the value of the fuel the generators don't need to use, that's it. You still need just as much grid, you still need just as many generators. And you have to limit the capacity--there are places where the utilities forbid new solar connections because the substations can't handle it. Those substations are designed to feed power from the grid to the houses, they are not built to feed power from the houses to the grid. The only path to avoiding a spectacular failure is to limit the solar generation on any grid segment to below the demand from that segment.
Note that a pure solar setup using current technology stores most of the power as hydrogen. And craters the economy by making power several times more expensive than it currently is. And you get the really ironic outcome that pure solar emits more carbon than nearly pure solar with a small amount of fossil fuels as backup. (The carbon is coming from the construction of the equipment, not from it's operation.)