https://en.m.wikipedia.org/wiki/Barakah_nuclear_power_plant supply.
Contrast that to the Al Dhafra PV project also in the UAE - $1 billion for 2 GW of nameplate capacity. One can apply whatever discount is wanted to account for solar's shortcomings and it still comes out ahead when planning an energy generation portfolio. Further away from the equator a similar case can be made for wind.
The Barakah reactors will be generating 5.3 GWh from 6 pm to 8am which of course solar can't do. In that time it will deliver 14 hours X 5.3 GW ~= 75 GWh of electricity.
Capital costs for 4 hour utility scale lithium storage are expected to be $250 million per GWh by 2025. https://www.nrel.gov/docs/fy21osti/79236.pdf
75 GWh x $250 million = ~$19 billion to get those gigawatt hours from storage.
The nameplate capacity of the solar plant to generate 75 GWh for night time use in the hours from 8 am to 6pm is 7.5 GW. To prove my point let's double that to 15 GW.
The cost of that 15 GW solar plant, based on the Al Dhafra PV plant would be $7.5 billion. Another 5 GW solar plant to deliver the same day time GWh that the reactors do...let's double that to 10 GW so another $5 billion.
So my back of the napkin calculations say that the cost to replace the Barakah reactors with solar + storage are: - $19 billion for Li-ion storage - $7.5 billion for a solar plant to charge that storage for nighttime use. - $5 billion for a solar plant to deliver (more than) equivalent daytime use.
$31.5 billion in total. Very much competitive with the nuclear option taking into account a) time to completion / general project risk b) the falling cost of storage plus the development of new options like sodium ion storage c) radioactive waste risks, solvable as they are d) security concerns - Houthi rebels fired a few missiles at the Barakah site a while back. e) construction and operational workforce skill requirements