Dynamic modelling of energy stocks and flows in the economy door