Energy supply and demand in a changing world