Thanks for that.
A cost model has a lot of independent variables. It can be a weird function of the quantity you want of each technology. Not everything gets cheaper at scale. And you need to be able to manage time-varying demand.
For easy example: a few solar or wind farms cost $X to bring up, but to go large scale you need to also store or transmit the energy, plus keep fallback options. That makes 95% or 100% reliance prohibitive.
There is also the speed of powering on/off. Gas combined cycle turbines are fastest to come online/go offline, followed by hydroelectric (if you have it). Coal and nuclear are at the slow end. You need to have the ability to match total sources and loads at any time.
Just some intuition why total cost is a complex function.