Integrated optimization of adaptive CO2-based district heating and cooling networks into multi-energy systems | Synapse