Topological modelling of gas networks for co-simulation applications in multi-energy systems