You didn't ask ChatGPT? (noting this is only electricity). I think the context various by country. Nuclear was driven by an oil crisis. So two conditions needed: 1) dependence on foreign oil in electricity, 2) oil crisis.