Text this: Adaptive nonlinear optimization of district heating networks based on model and discretization catalogs.