Mathematical and computational challenges in modelling of future energy systems