The world currently generates around 26,000 terawatt-hours (TWh) of electricity annually, but that number is set to double to 52,000 TWh by 2050, according to the International Energy Agency (IEA).