CONF Boghetti_CEEES2025_2025/IDIAP Optimizing Supply Temperature Control in District Heating Networks via Differentiable Dynamic Simulation and Gradient Descent Boghetti, Roberto Kämpf, Jérôme control district heating heat distribution optimization thermal networks EXTERNAL https://publications.idiap.ch/attachments/papers/2025/Boghetti_CEEES2025_2025.pdf PUBLIC Construction, Energy, Environment and Sustainability. Proceedings of CEES 2025 (Volume 2: Energy) Lecture Notes in Civil Engineering Volume 2: Energy 2026 Springer Singapore https://doi.org/10.1007/978-981-95-1826-5_38 URL 10.1007/978-981-95-1826-5_38 doi District Heating Networks (DHNs) are central to sustainable energy transition, but their efficiency depends on effective supply temperature control. Rule-based strategies, such as heating curves, remain common for their simplicity, but tuning them often requires long periods of suboptimal operation. In this paper, we propose an alternative approach that directly optimizes control parameters via gradient descent, based on a differentiable dynamic simulation model. We apply this approach to optimize the parameters of various heating curve formulations and evaluate its performance on a real meshed network using monitoring data. Results show a reduction of heat losses compared to both manual regulation and gradient-free optimization, demonstrating the potential of gradient-based methods for DHN control.