Keeping coal plants around is cheap to cover that. Longer term things like producing ammonia during summer and converting it to electricity in fuel cells will allow to remove needs for fossil fuels completely.
I’d keep gas plants around, but anyway, you need to cover that case and can’t just handwave it away.
loading story #50255517