Abstract
Achieving efficiency gains in Chinese district heating networks, thereby reducing their carbon footprint, requires new optimal control methods going beyond current industry tools. Focusing on the secondary network, we propose a data-driven deep reinforcement learning (DRL) approach to address this task. We build a recurrent neural network, trained on simulated data, to predict the indoor temperatures. This model is then used to train two DRL agents, with or without expert guidance, for the optimal control of the supply water temperature. Our tests in a multi-apartment setting show that both agents can ensure a higher thermal comfort and at the same time a smaller energy cost, compared to an optimized baseline strategy.
Introduction: The Challenge of Massive-Scale Heating
District heating systems in China represent some of the largest and most carbon-intensive infrastructure operations globally, with approximately 87% of heat production still relying on fossil fuels like coal and oil. Currently, these systems are managed using a "water curve"—a simple linear relationship between outdoor temperature and supply water temperature.
However, this static approach fails to account for the complex, nonlinear thermal behavior of buildings. The result is frequent "over-heating," where apartments are kept warmer than necessary, leading to significant energy waste and economic loss for utilities. The challenge lies in developing a control strategy that can maintain precise indoor temperatures across diverse building types using only the primary control variables available at the substation: supply water temperature and flow rate.
Methodology: From Physics to Surrogate Models
The researchers focused on the secondary heating network, which delivers heat from the substation to individual buildings and consumers.
To overcome the slow speed and risks associated with training reinforcement learning agents directly on physical buildings, the authors developed a two-stage framework:
- The World Model: A high-fidelity physics model was built in Dymola and used to train a Recurrent Neural Network (RNN) with Long Short-Term Memory (LSTM) units. This RNN acts as a "surrogate model," predicting indoor temperatures 30 times faster than the physics simulation.
- The DRL Agents: They implemented Deep Q-Networks (DQN) to control the supply water temperature ($T_s$). They tested a standard agent and an "expert-guided" agent that fine-tunes the existing industry water curve.
Key Results: Beyond the Linear Baseline
The DRL agents were compared against an optimized baseline (a water curve tuned via Particle Swarm Optimization) and a standard PID controller. The study utilized hourly weather data from eight different Chinese cities to ensure the agents could generalize across different climates.
As shown in the figure above, the DRL agent (blue dots) learns a complex, non-linear control policy that deviates significantly from the static linear water curve (orange line) to account for building dynamics. This results in much tighter control of indoor temperatures, maintaining them closer to the 18°C target compared to the baseline.
Key performance metrics include:
- Thermal Comfort: The expert-guided agent achieved a Mean Absolute Error (MAE) of 0.545°C, significantly lower than the baseline's 0.599°C.
- Energy Savings: In a multi-apartment setting, the agent achieved a 2.19% energy gain over the optimized baseline.
- Environmental Impact: Scaling this approach to a network serving one million square meters could save approximately 495 tons of CO2 per heating season.
Conclusion
This research demonstrates that Deep Reinforcement Learning can significantly improve the efficiency of district heating systems. By rewarding agents for maintaining target temperatures, energy savings emerge naturally as the system learns to avoid unnecessary overheating. Furthermore, the success of the "expert-guided" agent suggests that DRL is most effective in industrial settings when it builds upon, rather than replaces, traditional engineering logic.
Summary updated