The solution to all of these problems is an aggressive buildout of nuclear fission plants to provide baseline power and accelerate the closure of all remaining plants which burn fossil fuel. Subsidized if necessary, as essential infrastructure.
It helps that the actual electrical generators don't care where the steam is coming from, so we could be leveraging the gensets from decommissioned coal plants in fission reactors. All that's missing is the political will.