Stav dette: Mathematical modelling of energy systems