Energy in transition