Challenges in Energy Systems for the Smart-Cities of the Future