Modelling complexity in the energy transition