Energy modelling and the management of uncertainty