Transition to sustainable energy