Modelling a future fuelled by sustainable energy