Dealing with uncertainty in the challenge of the energy transition