Towards Generalized Co-simulation of Urban Energy Systems. (2017)