Re: Ahem. @ BlueGreen
No magic is needed.
Unlike previous centuries, the replacements for coal, oil and gas are already clearly visible on the horizon.
Nuclear fission already works, and nuclear fusion is relatively close - we know how to make that work, but can't scale it up yet. That's coal replaced - and we could do that today if we wished.
Many energy uses of oil and gas are already easily replaceable by electricity - heat pumps, trains and trolleybuses. Other forms of transport will still need some form of oil, and battery technology is unlikely to change that, due to the energy density needed for lorries, aircraft and shipping.
Various forms of solar power already work but are too low efficacy to be economically viable, this can also change if funding switches away from the current insane subsidies for solar PV across to actual research into various forms of solar power.
- One interesting angle of solar power research is the engineered microbes that use photosynthesis to create artificial oil and gas. It is likely that one or more of those could be scaled up, so that's oil & gas replaced.
Even solar PV could be improved, along with the HVDC interconnects needed to get power from the good places to put solar PV and solar furnaces to the locations where the power is needed.
It is true that there will almost certainly be an energy crisis very soon, however it will be caused by the politics that have made it impossible to build appropriate generation capacity, and the decision to subsidise building and operating large numbers of white elephant installations of technology that simply isn't ready yet, rather than the research and development that would make some of them economically viable.