Nighttime in US is daytime in China. Countries could simply sell their excess energy to eachother.
The French have a LOT of Nuclear power, and idling a nuclear power station, though possible, is economic insanity, so it makes sense to sell it at a discount to the British.