Manuscript Offprint
arXiv:2611.23063Deep Reinforcement Learning for Heat Pump and Underfloor Heating Control: An End-to-End Case Study
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.
Abstract
Efficient control of underfloor heating (UFH) systems coupled with heat pumps (HPs) is challenging due to the high thermal inertia of buildings and the slow dynamic response of UFH systems. Deep Reinforcement Learning (DRL) offers a data-driven control approach capable of simultaneously optimizing energy consumption and thermal comfort. However, the application of DRL-based controllers in occupied buildings under real operating conditions remains limited. This work presents and end-to-end case study (development, evaluation, and real-world deployment) of a DRL-based controller for an integrated UFH–HP system. First, a simulation-based pilot study was conducted to assess different DRL algorithms, control strategies, and configurations. Subsequently, a digital twin of a real residential building was developed and used to train DRL agents under simulated operating conditions. The best-performing agent was then deployed in the physical building without additional online fine-tuning. The results show that the controller successfully maintained indoor temperatures within the prescribed comfort limits while dynamically adjusting the HP supply temperature and UFH valve positions. These findings demonstrate the feasibility of deploying DRL controllers in occupied buildings and highlight their robustness and the practical challenges associated with transferring control policies from digital environments to real heating systems.
Keywords:
Reinforcement learning , HVAC , Underfloor heating , Radiant floor , Heat pump , Control
Despite these advantages, UFH systems introduce operational challenges that are rarely encountered in conventional convective heating systems [16]. In particular, their high thermal inertia makes control inherently complex, often leading to overheating or delayed system responses [46, 25]. Conventional non-predictive control strategies, such as proportional-integral (PI) controllers, typically struggle to cope with these dynamic effects [32], which may result in increased energy consumption and reduced occupant comfort [33]. Consequently, advanced control strategies are required to improve both the responsiveness and the overall performance of UFH systems.
In recent years, machine learning–based approaches have increasingly been explored for the optimization of heating, ventilation, and air conditioning (HVAC) systems [70]. By leveraging data on occupancy patterns, weather conditions, and energy consumption, these methods can predict and optimize thermal behaviour while improving system efficiency [67, 35]. Among these approaches, Deep Reinforcement Learning (DRL) algorithms have attracted considerable attention [43, 4, 64, 27]. Motivated by their success in other complex decision-making domains, DRL methods are particularly well suited for HVAC control due to their ability to operate in dynamic and stochastic environments [53, 69, 66]. Their adaptability to varying building characteristics, weather conditions, and occupant behaviour enables the simultaneous optimization of energy efficiency and thermal comfort [19, 18, 39].
Recent review studies highlight both the opportunities and remaining challenges associated with DRL-based HVAC control [51, 68], with others specifically demonstrating the potential of these algorithms for managing underfloor heating and cooling systems [24, 55, 52, 49]. However, this field remains relatively immature, as most studies are conducted in simulated environments. Consequently, the transition to operational buildings is largely unexplored, with few studies addressing the practical requirements for real-world deployment, such as RLOps workflows, system monitoring, and integration with building sensors and actuators [4, 64, 61, 20]. As a result, real-world applications remain extremely limited, and commercial DRL controllers are virtually non-existent compared to the widespread use of conventional reactive control methods such as PI controllers, heating curves, and rule-based expert systems [43].
To address this gap, this work presents the development and evaluation of a commercial DRL-based controller for UFH and HP systems. The study begins with an experimental phase based on EnergyPlus simulations using a pilot single-family house model, where several exploratory analyses are conducted. These include: the evaluation of different DRL control agents, the definition of relevant action and observation variables, the assessment of different control strategies, reward engineering, and the analysis of agent adaptability to dynamic comfort requirements and varying building conditions.
Based on the insights obtained from the preliminary phase, a case study is then conducted on a real building. This stage involves the development of a digital twin of the building and the subsequent training of DRL agents within the simulation environment. After installing the required equipment in the real building, the best-performing DRL agent is deployed and evaluated for the control of the UFH and HP systems during part of the heating season. The obtained results provide insights into the feasibility and performance of DRL-based control in real operational conditions.
The remainder of this paper is organized as follows. Section 2 presents the theoretical background on DRL and its application to HVAC control. Section 3 describes the methodology adopted in this work. Sections 4 and 5 describe the pilot study and the subsequent case study, respectively. Section 6 presents and discusses the experimental results and practical considerations. Finally, Section 7 summarizes the main conclusions and outlines directions for future work.
2 Theoretical background
2.1 Deep Reinforcement Learning
Reinforcement learning (RL) is a machine learning paradigm based on the interaction between an agent and its environment, typically formalized using Markov Decision Processes (MDPs) [54]. In this framework, an agent interacts with a dynamic process, referred to as the environment, over a discrete sequence of time steps . At each time step , the agent observes the current state of the environment and selects an action , which influences the evolution of the environment.
In partially observable environments —formalized as partially observable Markov decision processes (POMDPs)— the agent does not have direct access to the full state . Instead, it receives an observation that provides partial information about the underlying state. The relationship between states (or observations) and actions is defined by a policy function , which represents the agent’s decision-making strategy. After executing an action , the environment transitions to a new state according to its transition dynamics. At the same time, the agent receives a reward signal that evaluates the quality of the transition. This reward signal provides feedback that guides the learning process by updating the policy.
The objective of the agent is to learn an optimal policy that maximizes the expected cumulative reward over time. This objective is commonly expressed through the return , where is the discount factor that determines the relative importance of future rewards. The learning process consists of multiple episodes, during which the agent progressively improves its policy based on the rewards received.
The integration of RL with deep neural networks has led to the development of deep RL algorithms. In this settings, policies and value functions are approximated using parameterized models, such as neural networks —i.e., with parameters —. DRL algorithms have demonstrated strong capabilities in solving complex optimization and control problems across a wide range of domains [62].
2.2 HVAC control strategies
The primary objective of HVAC control in buildings is to ensure occupant comfort. This objective is commonly defined in terms of thermal comfort, which requires maintaining the indoor temperature within a predefined comfort band. Additional objectives may also be considered, such as minimizing energy consumption or operational costs, controlling humidity levels, or limiting indoor CO2 concentrations [4].
Modern HVAC systems provide multiple control interfaces that enable automated operation. These include the adjustment of heating and cooling setpoints across building zones, the regulation of supply water temperature from boilers or heat pumps, the modulation of flow rates through valve positions, and the variation of fan speeds in air handling units (AHUs) [64]. Control decisions are typically driven by both endogenous and exogenous variables, such as indoor temperature, humidity, solar radiation, wind conditions, or occupancy-related indicators [70].
An efficient HVAC control strategy must therefore maintain comfort conditions while minimizing energy consumption. This naturally leads to a multi-objective optimization problem that has been widely studied within the field of building energy management. Several approaches have been proposed to address this problem, although no universally optimal control strategy currently exists. In recent years, DRL algorithms have attracted significant attention due to their potential advantages over conventional approaches such as reactive controllers and Model Predictive Control (MPC) [59, 37].
Reactive control methods remain widely used in industrial settings due to their simplicity and low computational requirements. Typical examples include rule-based strategies, if-else logic, PI controllers, hysteresis controllers, fuzzy control, and expert systems [46]. However, these approaches often rely heavily on expert knowledge and heuristic rules, which results in predefined control strategies with limited adaptability and no predictive capabilities. Consequently, such systems may lead to recurring comfort violations and suboptimal energy performance [43, 44, 45].
To overcome these limitations, Model Predictive Control (MPC) has been proposed as a more advanced alternative [21]. MPC computes optimal sequences of control inputs over a finite prediction horizon, typically ranging from several hours to a few days. This approach relies on system models to predict the impact of future control actions on building dynamics. As a result, its performance strongly depends on model accuracy and the ability to account for system uncertainties. Although MPC can achieve near-optimal performance, it requires solving an optimization problem at every control step, which entails significant online computational costs that may limit its practical deployment [59, 48, 5]. In addition, the design and calibration of MPC controllers typically require considerable effort, including the development and tuning of building-specific models [41, 12].
DRL-based controllers offer a data-driven alternative capable of achieving performance comparable to MPC while requiring minimal online computational effort and providing greater flexibility for deployment [41, 28]. In this paradigm, a control agent learns a policy through iterative interactions with the environment. However, training a control policy directly in real buildings is generally impractical due to the large amount of data and time required. For this reason, agent training is commonly conducted in simulated environments [58]. In practice, the computational burden is shifted from the online operation phase to an offline training phase, where large amounts of simulated data —often corresponding to several years of building operation— are used to learn an effective control policy [7].
Offline training typically relies on robust building simulation engines, such as EnergyPlus, Modelica, or Simulink, which are used to reproduce building dynamics with sufficient fidelity. In addition, specialized interfaces are required to connect DRL agents with these simulation environments. Several tools have been developed for this purpose, including Sinergym [30, 14] and BOPTEST [9].
The performance of DRL-based HVAC controllers depends on several design choices during training. These include the diversity of weather conditions used in simulation, the definition of action and observation spaces, the formulation of the reward function, the control frequency, the selected DRL algorithm, and its associated hyperparameters [39]. In addition, it is important to ensure an appropriate configuration of factors outside the agent’s control that nevertheless affect system performance, such as building insulation levels, construction materials, or the sizing and configuration of HVAC equipment.
Despite its promising results, DRL-based HVAC control remains an emerging research area with several open challenges. The number of real-world deployments reported in the literature is still limited, and most practical implementations of advanced building control strategies are based on MPC [63]. Scalability also remains an open question, particularly regarding the potential use of transfer learning to generalize control policies trained on a limited number of buildings to other building types [64]. Another critical issue is explainability [40, 65, 31]. Since DRL policies are often treated as black-box models, additional analysis may be required to interpret agent decisions and ensure the safety and reliability of the controlled system.
Based on the real-world DRL implementation challenges outlined in [22], HVAC control presents several characteristics that make it a challenging application domain for DRL. The environment is stochastic and partially observable, with a high-dimensional and continuous state space. Safety constraints must be respected, and explainability is required for both system operators and end users. In addition, the agent must optimize a multi-objective reward function typically composed of several sub-rewards [56]. Finally, practical deployment involves strict timing requirements for inference (often on the order of minutes), as well as potential delays in sensors and actuators.
2.3 DRL applications in underfloor settings
While most DRL applications in HVAC control focus on conventional air-based systems, radiant heating and cooling technologies have received comparatively less attention [4, 5]. These systems are widely adopted in energy-efficient buildings due to their ability to provide uniform thermal comfort and efficient thermal distribution. However, their dynamic behaviour differs significantly from that of air-based systems, primarily because of their high thermal inertia and delayed response to control actions. These characteristics increase the difficulty of designing effective control strategies and make reactive approaches suboptimal, highlighting the potential benefits of predictive and learning-based methods such as DRL.
Several studies have evaluated the potential of DRL to improve the energy performance of UFH systems in simulation environments. For instance, [24] compares multiple DRL approaches with a rule-based controller (RBC) that incorporates weather forecasting. The results show a 19.1% reduction in heating demand using DRL with weather forecasts, compared to an 18.5% reduction achieved with MPC. Similarly, [55] demonstrates that a DRL controller can maintain indoor comfort while reducing energy consumption by 3.19% to 6.30% compared to an on–off controller, and by up to 10.48% relative to a PI-based variable water temperature control.
Other works have analyzed the robustness and adaptability of DRL controllers under varying operating conditions. For example, [10] evaluates the performance of DRL in controlling a UFH system compared to an RBC based on indoor temperature and occupancy schedules. Multiple simulation scenarios are considered, including variations in outdoor conditions, temperature requirements, and building characteristics. The results indicate energy savings of approximately 6% while maintaining indoor comfort requirements.
In [49], DRL is used to control a heat pump combined with a UFH system in buildings with different thermal characteristics. The results show that DRL can achieve demand-response performance comparable to MPC, although some comfort deviations may occur. Similarly, [52] investigates the intelligent control of a thermally activated building system (TABS) in a real building. In this study, a surrogate resistance–capacitance model is used as a training environment to compare rule-based, PI, MPC, and DRL controllers. The algorithms are then deployed in the real building during the cooling season to regulate the supply temperature of the TABS, showing strong adaptability of the DRL controller and improved performance compared to reactive approaches.
In addition, [6] presents a laboratory implementation of DRL applied to a real UFH system. This work combines offline DRL training with experimental validation, demonstrating stable control behaviour, predictive-like operation, and reduced temperature oscillations. Among the actuators to be controlled are the supply water temperature and valve positions for each controlled thermal zone.
Despite these promising results, several studies highlight the limitations of DRL for radiant systems control. For instance, [8] evaluates a DRL controller under different system configurations, varying the number of zones and the thermo-physical properties of the building. The results indicate that more complex configurations, such as multi-zone buildings, are significantly harder for the agent to control effectively. To address these limitations, hybrid control strategies have been proposed. For example, [5] introduces a hybrid MPC–DRL approach for a simulated underfloor cooling (UFC) system, showing how the complementary strengths of both methods can improve overall control performance.
More advanced DRL configurations have also been investigated. Multi-agent approaches have been proposed to address coupled control problems, such as the joint control of UFC and dehumidification [36]. Finally, recent research has explored the integration of physics-informed learning techniques within DRL frameworks. In [60], a DRL controller based on a physics-consistent input convex neural network is deployed in a real radiant ceiling system. The proposed approach achieves a 33% reduction in panel loads compared to a baseline controller, highlighting the potential of combining physical knowledge with data-driven control methods.
3 Methodology
The main objective of this work is to address the practical deployment of DRL controllers for UFH systems coupled with HPs, and to evaluate their performance in a real residential building. Starting from simulation environments where control agents are trained and evaluated, a series of experiments are conducted to support the subsequent deployment of the controller in an occupied dwelling. As illustrated in Figure 1, the experimental procedure is structured into two main phases:
- The first phase consists of a pilot study carried out on a generic simulated building to assess the performance of different DRL agents, control strategies, and environment configurations. The insights gained from this exploratory stage are then used to inform the implementation of a DRL agent in a concrete real building.
- The second phase comprises the case study, with the development of a real-building digital twin for simulation-based training, followed by the deployment and monitoring of the trained agent under real operating conditions.

Figure 1: Overview of the proposed two-phase methodology used to design, train, and validate the DRL controller in simulation and real-building operation
The following subsections provide a detailed description of the problem formulation and the experimental setup used in both studies.
3.1 Problem formalization
The control problem is defined as a multi-objective optimization task aimed at maintaining thermal comfort while minimizing energy consumption. The problem can be formulated as a POMDP composed of the following elements:
Observation space
Each observation is represented as a vector of features containing the information perceived by the agent at time step to determine the next control action. These observations include exogenous variables (e.g., outdoor temperature, humidity, wind conditions, solar radiation), endogenous variables (e.g., indoor temperatures and humidity), and time-related variables (e.g., day of the year, month, and hour).
Action space
Based on the information contained in each observation, the policy outputs an action whose definition depends on the adopted control strategy. We distinguish three control strategies, hereafter referred to as cases:
- Case 1. Each action corresponds to the heat pump supply water temperature, bounded within ℃. Flow rate control is not performed by the DRL agent; instead, it is adjusted proportionally according to the thermal demand of each circuit.
- Case 2. Given controlled circuits, the action is defined as a vector , representing the valve opening fraction of each UFH circuit. Although valve openings are defined as continuous values, they are implemented as binary positions in practice, where 0 represents a fully closed valve and 1 a fully open valve. In this case, the heat pump supply temperature remains constant at 35 ℃.
- Case 3. Each action jointly controls valve openings and supply temperature, such that where represent the valve openings and corresponds to the supply water temperature.
Reward function
Given the multi-objective nature of the problem, the reward signal obtained at each time step is defined as a weighted linear combination of comfort and energy consumption terms:
where determines the relative importance assigned to comfort and energy consumption; and are scaling factors used to balance the magnitude of the two terms; denotes the HP power consumption (in W); and represents the mean comfort violation across all building zones.
Given a building divided into zones, the mean comfort violation is defined as
where (in ℃) denotes the indoor temperature of zone , and and represent the lower and upper comfort bounds, respectively. This formulation allows the agent to allocate additional energy when comfort violations occur, thereby prioritizing comfort while treating energy consumption as a secondary objective under discomfort conditions [11]. Moreover, the formulation allows different zones to have distinct comfort limits that may vary over time.
Transition function
State transitions are governed by a transition function . In real buildings this function is inherently unknown and determined by complex, nonlinear thermal dynamics. In the simulation environment, these dynamics are emulated by a simulation engine —i.e., EnergyPlus— which computes the resulting state transitions based on a predefined model of the building.
3.2 Experimental setup
All simulation experiments are conducted using EnergyPlus as the building simulation engine. As shown in Figure 2, the connection between DRL agents and EnergyPlus simulations is established through the Sinergym framework [30, 14], which have been widely used in the literature and provides multiple tools to facilitate training and evaluation of DRL agents [15]. Internal communication between Sinergym and the building simulation is handled via the EnergyPlus Python API.

Figure 2: Overview of the agent–environment interaction during simulation-based training and evaluation, using Sinergym as the interface between the DRL agent and EnergyPlus
Each simulated episode represents a complete heating season, spanning from 15 November to 15 March. Agent–environment interactions occur every 30 minutes. This interval was selected after extensive testing of different control actuation frequencies, considering both the heat pump compressor cycling frequency and the resulting control performance. It allows the agent to observe the effects of its actions while avoiding potential degradation of the HP due to short cycling.
To expose the agent to a diverse range of operating conditions during training, both environmental and occupant-related variables are randomized across episodes. Weather conditions are based on EnergyPlus weather datasets (EPW) corresponding to the expected building location, with Ornstein–Uhlenbeck noise applied to the most influential weather variables (outdoor temperature, humidity, wind, and solar radiation) across episodes. This procedure introduces variability while preserving annual trends, enhancing agent robustness and reducing the risk of overfitting. To emulate user interaction, random setpoint variations in ℃ are applied at each timestep for each building zone with a 5% probability, maintaining a comfort band of ℃ around the setpoint.
Regarding agents, implementations of several state-of-the-art DRL algorithms from the Stable-Baselines3 library are employed, including Soft Actor-Critic (SAC) [23], Truncated Quantile Critics (TQC) [34], Proximal Policy Optimization (PPO) [50], and PPO with a recurrent policy (RecPPO) [47]. Hyperparameter tuning and model optimization are conducted via grid search sweeps using Weights & Biases. Agents are trained until reward convergence is achieved (100 episodes for the pilot study, and 200 episodes for the case study), with periodic evaluations conducted every 10 episodes to select the best-performing agent during training.
Once trained, the DRL agents are evaluated over 10 episodes using different random seeds. Performance is assessed using multiple metrics, including overall statistics (mean episode reward, average comfort violations, mean energy consumption) and episode-specific measures, such as the distribution of HP supply water temperatures and the valve openings of each UFH circuit.
4 Pilot study
As a starting point, a pilot study was conducted to evaluate the control capabilities of DRL algorithms in a simulated building environment. The goal was not to compare DRL against other controllers, but rather to identify the strategies that allow DRL to achieve satisfactory performance, as well as the technical and formal requirements for its implementation. As already indicated in the previous section, different HP and UFH control strategies, agents, and configurations were considered in this initial phase. The study also established the workflow and infrastructure required for simulation-based training and agent evaluation.
An EnergyPlus simulation model of a semi-detached single-family home is used as the reference building during this phase. As shown in Figure 3, the building consists of two floors and is divided into five main zones: a living room, a kitchen, and three bedrooms. The building is simulated using the climatic conditions of Stockholm (mean annual temperature: C; mean relative humidity: %), representing a cold climate that poses a demanding control scenario for the agent. The building HVAC system is equipped with an air-to-water HP supplying UFH, with a single circuit per room and individualized flow rate control. The complete list of observed variables considered by the agents is provided in A.
For training, a reward function with was employed (see Equation 1), assigning equal weight to comfort and energy consumption, while variable setpoints were considered during both training and evaluation. Figure 4 illustrates the reward evolution across the different cases and DRL agents. As expected, Cases 2 and 3 exhibit slower convergence, likely due to the increased problem complexity associated with their larger action spaces. Overall, SAC and TQC exhibit the fastest convergence rates, whereas PPO and RecPPO, owing to their on-policy nature, require substantially more training data to achieve comparable performance. Furthermore, RecPPO generally displays greater instability during the early stages of training.

Figure 3: Thermal zoning and spatial layout of the pilot building modeled in EnergyPlus for the simulation-based evaluation of the control strategies
Once training was completed, the agents were evaluated. Figure 5 presents boxplots of the mean episodic comfort violation and power demand for each agent-case combination. The results reveal greater variability in performance under the more complex control scenarios (Cases 2 and 3), reflecting the increased difficulty of the learning task. A quantitative summary of the evaluation metrics is provided in Table 1, which shows that SAC achieves the highest mean episodic reward for Cases 1 and 2, while TQC is the best performing agent for Case 3.
Although Cases 1 and 2 achieve performance levels comparable to those of Case 3, the latter is selected as the default control strategy. This choice is motivated by the main objective of the work, namely, to investigate the capabilities of DRL agents in environments where they are granted full, or at least the highest possible degree of, control over the system. Case 1 relies on an automatic valve control scheme implemented by the simulator, corresponding to a proportional control mechanism that is internally solved by EnergyPlus and is not expected to be available in the real-building. In contrast, Case 2 restricts the agent’s actions to valve control only, thereby limiting its ability to achieve energy savings through the use of lower supply water temperatures. Consequently, Case 3 provides the most suitable framework for assessing the potential of DRL-based control under minimal external control assumptions. Based on these results, the TQC agent trained under Case 3 is adopted as the baseline agent for the remainder of the study.

Figure 4: Reward evolution during training for the different control cases and DRL agents evaluated in the pilot study

Figure 5: Mean episodic comfort violations and power demand for different control cases and DRL agents in the pilot study
| Comfort violation (ºC) | Power consumption (W) | Reward | ||
|---|---|---|---|---|
| Case 1 | PPO | |||
| TQC | ||||
| SAC | ||||
| RecPPO | ||||
| Case 2 | PPO | |||
| TQC | ||||
| SAC | ||||
| RecPPO | ||||
| Case 3 | PPO | |||
| TQC | ||||
| SAC | ||||
| RecPPO |
Table 1: Summary of performance metrics obtained from the pilot study evaluation (episodic mean standard deviation)
A comprehensive performance analysis of this baseline agent was subsequently conducted. Figure 6 illustrates the evolution of the indoor temperatures in each room throughout the heating season. Despite the introduction of random setpoint variations, the indoor temperatures remain within the comfort range for the majority of the evaluation period, indicating that the agent is able to maintain satisfactory thermal comfort under varying operating conditions. The largest comfort violations are observed at the beginning and end of the heating season (e.g., in Bedroom 3), where the increased influence of solar gains makes temperature regulation more challenging. It should be noted, however, that the heating season considered in this study has a fixed duration for reproducibility purposes. In practice, the start and end of the heating season are typically determined by the occupant according to weather conditions, meaning that these transition periods, and the associated control challenges, may be shorter or may not occur at all in a real deployment.
Figure 6: Indoor and outdoor temperatures evolution during a complete heating season in the pilot building (TQC - Case 3)
Having established the baseline agent’s performance in the nominal building configuration, the next step was to evaluate its robustness under a range of degraded building conditions. This analysis is particularly relevant in the context of real-world deployment, where discrepancies between the simulation model and the physical building are unavoidable. Assessing the impact of such discrepancies provides insight into the performance degradation that can be expected when transferring the controller from simulation to a real environment.
To this end, the baseline agent was evaluated under a series of alternative building configurations designed to represent previously unseen operating conditions. These configurations, described in B, introduce variations (i.e., degradations) in building properties. As shown in Figure 7, the agent maintains thermal comfort across all tested scenarios, with average comfort violations remaining close to C in most cases and only a few configurations reaching approximately C, C, and C. This robustness, however, comes at the cost of increased energy consumption in all degraded scenarios. Overall, these results suggest that the learned policy is able to adapt to changes in the building’s thermal characteristics, preserving comfort despite modeling inaccuracies and variations in the building envelope.

(a) Comfort violations

(b) Power demand
Figure 7: Performance under different degradation scenarios compared with the default pilot building configuration (TQC – Case 3). The robustness tests include variations in the building envelope, considering different wall insulation levels (Infiltration), window characteristics (Window), material properties (Material), and combinations of all these modifications (All)
In conclusion, the pilot study yielded several important insights, which can be summarized as follows:
- Off-policy DRL agents (SAC and TQC) exhibit superior performance, stability, and learning efficiency compared with on-policy agents (PPO and RecPPO).
- The TQC agent achieved the best overall performance for the most complex control scenario (Case 3), and demonstrated the ability to maintain thermal comfort throughout most of the heating season under varying setpoint conditions.
- Full control of both the HP supply temperature and UFH valves (Case 3) was selected as the preferred strategy, as it maximizes the agent’s control capabilities while avoiding reliance on external control mechanisms or predefined supply temperature schedules.
- The baseline agent exhibited strong generalization capabilities, maintaining low comfort violations (typically around 0.1°C) when evaluated in previously unseen building configurations with degraded insulation properties. However, the agent’s adaptation to previously unseen building properties is associated with increased energy consumption.
Overall, this experimental phase made it possible to identify the workflow, system configuration, and key challenges associated with DRL training and evaluation. These findings provided the foundation for the subsequent case study and informed the design decisions adopted for the deployment in a real building environment.
5 Case study
Following the initial pilot study, a second and considerably more challenging case study was developed to assess the scalability of the proposed DRL-based control strategy in a real-world residential setting. The case study considers an occupied detached dwelling that was specifically instrumented to enable experimental validation under real operating conditions. Within this framework, two main objectives were pursued: (i) evaluating the ability of DRL agents to control a substantially more complex building, and (ii) validating the performance of a DRL agent trained in simulation and subsequently deployed in the real building.
For this study, the building is considerably larger than the one considered in the pilot study and comprises three floors interconnected by a central staircase: a basement, a ground floor, and a first floor, as illustrated in Figure 8. The basement contains a storage area, a warehouse and the technical room where the heating equipment is installed. The ground floor comprises the main living spaces, including kitchen-living room, hallway and bathroom. The first floor contains three bedrooms, two bathrooms, a walk-in closet and an attic area. In total, the building is divided into seven thermal zones, each one equipped with an independent UFH circuit connected to the Uponor Smatrix© control system.

(a) Real building image

(b) EnergyPlus model of the building
Figure 8: Residential building considered in the case study and its corresponding digital twin. The dwelling consists of a basement, a ground floor, and a first floor, comprising thirteen independently controlled thermal zones
As in the pilot study, the heating system consists of an air-to-water HP supplying the UFH installation. The DRL controller directly determines both the HP supply water temperature and the opening position of every UFH valve, following the same control strategy selected in Case 3 of the pilot study. However, the dimensionality of the control problem increases due to the larger number of thermal zones and hydraulic circuits.
To accelerate the training process, an EnergyPlus digital twin of the dwelling was developed. The model reproduces the building geometry, construction materials, thermal zoning, hydronic UFH system, and occupancy schedules, enabling the DRL agents to be trained in simulation before deployment in the real building. Simulations are performed using the climatic conditions of Madrid (mean annual temperature: ºC; mean relative humidity: %), where the real building is located.
Unlike the pilot study, which primarily focused on comparing different DRL algorithms and control strategies, this case study aims to evaluate the complete deployment workflow. The study therefore begins with the training and evaluation of different DRL agents using the digital twin, followed by the deployment of the selected controller in the real dwelling and a comparison between simulated and real-world operation.
5.1 Training in the digital twin
Figure 9 presents the reward evolution of the DRL agents during training. In this case, an energy weight of is considered. This weighting was selected based on several preliminary tests, which showed improved energy consumption without compromising thermal comfort. Furthermore, the number of training episodes was increased to 200 (compared with 100 in the pilot study) to ensure convergence of the DRL agents under the higher dimensionality of the control problem. It can be observed how algorithms converge to stable policies, indicating that the learning process remains robust despite the increased dimensionality of the control problem. Regarding convergence speed, the off-policy algorithms TQC and SAC again demonstrate higher sample efficiency, whereas PPO and RecPPO require a larger number of training episodes to achieve comparable performance, without eventually surpassing the performance of the off-policy approaches.

Figure 9: Reward evolution during training for different agents in the case study
The resulting control performance is summarized in Figure 10. Overall, all DRL agents are able to maintain indoor temperatures close to the desired comfort range. Once again, TQC and SAC agents achieve the best overall trade-off between thermal comfort and energy consumption, consistently outperforming the remaining algorithms. These results confirm the conclusions obtained during the pilot study, demonstrating that the selected control strategy successfully can scale to a substantially more complex building.

(a) Mean episodic comfort violations

(b) Mean episodic power consumption
Figure 10: Comparison of the mean episodic performance of the DRL agents evaluated in the case study, in terms of comfort violations and power consumption (November 1st to March 31st)
Considering TQC as the best-performing DRL agent, Figure 11 illustrates the indoor temperature evolution achieved by this controller over a complete simulated heating season. The controller successfully maintains the indoor temperatures within the comfort band for the vast majority of the evaluation period while adapting the heating demand to the changing outdoor conditions. Most comfort violations occur in Bedroom 1, where the indoor temperature drops by up to 2ºC below the lower comfort limit during the coldest months. The remaining thermal zones exhibit more stable temperature profiles and only minor comfort violations. Having obtained these results in simulation, the TQC agent is subsequently deployed in the real-world environment for experimental validation.

Figure 11: Indoor and outdoor temperatures evolution during a complete heating season in the simulated case-study building, evaluating the best-performing DRL agent (TQC)
5.2 Simulation-to-reality transfer
After selecting the best-performing controller in simulation, the trained TQC agent is deployed in the real building environment without any additional fine-tuning. The comfort ranges are defined according to the occupants’ preferences, with independent values assigned to each thermal zone that can be adjusted over time. However, the occupants opted to maintain constant comfort ranges during most of the evaluation period, which spans from 24 March 2026 to 5 April 2026.
Figure 12 shows the indoor temperature control achieved by the DRL agent. Overall, the agent provides adequate temperature regulation across all zones, with only minor comfort violations observed in the Bathroom-Dressing zone. These violations are associated with brief peaks above the upper comfort limit, remaining below 1°C.
Regarding the agent’s control policy, Figure 13(a) shows that the supply temperature distribution remains relatively narrow and stable throughout the deployment period, with values centered around 34°C. This suggests that the controller avoids relying on abrupt variations in the HP operating point. On the other hand, Figure 13(b) shows that the living room exhibits the greatest variability in valve opening. This can be attributed to its larger size and greater exposure to solar radiation, both of which contribute to increased thermal variability and make the living room the room most strongly affected by solar gains. It can be observed that the valves remain open for most of the time in the majority of the circuits.

Figure 12: Indoor and outdoor temperatures evolution during real building deployment period (TQC)

(a) Supply temperature distribution

(b) Valves opening distribution
Figure 13: Action distributions during the real home deployment period (TQC)
From the analysis of the temperature evolution in each zone, it can be observed that indoor temperatures frequently approach or exceed the upper comfort limit. By examining the agent’s control actions, it is observed that this behaviour is not primarily caused by the controller itself. During these periods, the corresponding UFH valves remain fully closed while the indoor temperature continues to increase or decreases moderately slowly, indicating that the heating system is no longer supplying energy to these zones. This behaviour is mainly attributed to the effect of solar radiation.The deployment was conducted in late March and early April, a period characterized by relatively high solar irradiance in Madrid. The resulting passive solar gains have a significant impact on the thermal response of the dwelling, particularly in the most exposed rooms, leading to indoor temperatures exceeding the comfort band even in the absence of active heating. These observations highlight one of the main sources of discrepancy between the digital twin and the real building: the difficulty of accurately reproducing all solar gains and their interaction with the building envelope.
In conclusion, the main findings of the case study, covering both the training process in the digital twin and the subsequent real-world deployment, are as follows:
- All evaluated DRL agents converged to stable control policies despite the increased dimensionality of the control problem. These results demonstrate that the proposed DRL-based control strategy successfully scales from the pilot building to a substantially larger and more complex residential building.
- TQC and SAC exhibited higher sample efficiency and achieved the best overall trade-off between thermal comfort and energy consumption, consistently outperforming PPO and RecPPO.
- The TQC agent, trained exclusively in the EnergyPlus digital twin, was successfully deployed in the real dwelling without additional fine-tuning. During the deployment period, the agent maintained indoor temperatures within the desired comfort ranges, with only limited comfort violations.
- During the real-world deployment, the heat pump supply temperature remained relatively stable, with values centered around 34°C, while the valve-opening distribution adapted to the thermal characteristics of each zone.
6 Discussion, limitations, and practical considerations
6.1 Discussion on the results
Based on the obtained results, several key insights emerge regarding the practical implementation of DRL algorithms in real-world UFH systems. Notably, adopting a two-stage methodology —starting with a simulation-based pilot study followed by training on a digital twin of the real building— provided a flexible and versatile framework for experimental testing prior to physical deployment. This approach facilitated the evaluation of various reward functions, DRL agents, observation space configurations, and the required infrastructure for training and deployment. Furthermore, the pilot tests demonstrated the strong adaptability of DRL agents in maintaining thermal comfort even under degraded building envelope conditions, albeit at the cost of an adaptive increase in energy consumption to compensate for higher thermal losses.
Regarding algorithm performance, off-policy DRL algorithms (TQC, SAC) exhibited significantly higher sample efficiency and faster convergence rates compared to on-policy approaches (PPO, RecPPO). From a practical standpoint, this off-policy nature enables continuous offline re-training by progressively augmenting the experience replay buffer with real-world operational data collected during deployment. This strategy may mitigate the safety risks associated with online exploration in real systems while allowing the agent’s policy to be iteratively refined without requiring training from scratch, thereby lowering deployment costs. Although still an active research avenue, leveraging such an off-policy approach holds strong potential for bridging the sim-to-real gap and enabling rapid policy adaptation [7, 3, 29].
When transitioning to the real-world deployment phase, the TQC agent —trained exclusively on the EnergyPlus digital twin— successfully maintained comfort temperatures across all thermal zones of the building. The learned control policy effectively stabilized the HP supply water temperature around 34 °C, preventing abrupt operational fluctuations. Combined with control actions executed at half-hour intervals, this favors continuous operation at less extreme supply temperatures over frequent start-stop cycles, thereby demonstrating potential for extending the equipment’s service life. Simultaneously, the valve openings adapted dynamically according to the specific thermal demand and characteristics of each zone (e.g., showing greater variability in the living-kitchen area due to the higher impact of solar radiation).
Despite these promising results, a primary drawback of DRL models remains their black-box nature, which hinders the interpretability of control actions and the influence of observed variables [40, 31]. To gain deeper insight into the agent’s policy and enhance interpretability, Figure 14 illustrates a SHAP analysis [38] performed on the TQC policy operating within the digital twin. Aligned with the control performance shown in Figure 11, the primary drivers behind the agent’s decisions are indoor temperatures, relative humidity, and temporal features (hour, month, and day). Among exogenous variables, direct solar radiation exerts a stronger influence than outdoor temperature, reflecting the overheating conditions observed during operation. Conversely, factors such as wind speed and wind direction proved largely negligible to the agent. Heating setpoints also showed minimal impact, although this is attributable to the specific experimental setup, as they remained constant throughout the simulation.

Figure 14: SHAP analysis of the trained TQC controller operating in the digital twin, illustrating the importance of the observed variables in the agent’s outputs
6.2 Limitations and practical considerations
The deployment of the DRL controller in the real building revealed several practical limitations that were not fully captured during the simulation stages. These limitations arise from the interaction between the control algorithm, the UFH system, the building characteristics, and occupant behaviour, affecting both control reliability and the energy savings achievable in the real-world environment.
Communication infrastructure
One of the main practical challenges was the reliability of the actuation and communication infrastructure. The UFH valves were controlled using smart relays, enabling remote communication with the cloud-hosted controller. However, the wireless connection between the relays and the building’s Wi-Fi network was a significant source of uncertainty. In conventional residential installations, the valve control system is typically installed inside a recessed metallic enclosure, which can substantially attenuate the Wi-Fi signal and cause intermittent loss of connectivity. In the proposed implementation, control actions are generated every 30 minutes, meaning that a disconnected relay can delay the valve state update until the next decision step. This delay creates a mismatch between the action selected by the DRL agent and the actual state of the physical system.
Action delays
An additional discrepancy between the simulation and the real implementation is related to the physical response time of the valves. In the simulation, control actions are assumed to take effect instantaneously, whereas the physical valves require approximately 1–2 minutes to complete their opening or closing operation after the corresponding electrical pulse is issued. This results in slightly slower transitions and, consequently, a slower thermal response. However, unlike the communication delay described above, this delay is considered negligible for the DRL controller, given the 30-minute interval between consecutive actions.
Thermal dynamics
The thermal characteristics of the building and weather conditions introduce an additional challenge for the control strategy. The ground floor comprises an open-plan living room and kitchen with a large glazed facade facing the garden, making solar radiation a major driver of its thermal dynamics. Its magnitude and temporal variability can cause significant changes in indoor temperature independently of the heating system operation, making the thermal response more difficult to predict and control. For the DRL controller, this represents a significant disturbance that can frequently lead to overheating. At the same time, accurately reproducing solar radiation and its interactions with multiple meteorological variables is challenging to reproduce in simulation, further increasing the complexity of training the DRL agent under realistic weather-variable distributions.
Occupant behaviour
Due to the thermal inertia of UFH systems, changes in heating setpoints do not immediately affect indoor temperature. However, occupants may not account for this inertia and can make successive manual adjustments when the expected temperature response is not immediate. These interventions may cause unnecessary heating operation, counteract the control policy selected by the DRL agent, and introduce additional variability that makes it difficult to distinguish the effects of the learned policy from those of human intervention. Although occupants were provided with recommendations on the operation of the system and the effects of its thermal inertia, consistent adherence proved challenging. This highlights a key difference between simulated and real-world RL environments: while the controller can generally assume exclusive control over the relevant variables in simulation, human actions introduce an external and potentially unpredictable component into the control loop.
Observation variables
The transition from the digital twin to the real building revealed several discrepancies in the distribution and availability of the observations used by the DRL agents. First, the deployment of the agents in the real building revealed that some of the sensor readings considered during simulation were not available in practice. Specifically, diffuse radiation and the heat source load-side inlet temperature could not be obtained from the available sensing infrastructure, as reflected by the differences between Tables 2 and 3. Consequently, the simulation phase had to be revisited and the agents retrained to account for the reduced observation space available during real-world deployment.
Furthermore, substantial discrepancies were identified between the external humidity and radiation measurements collected in the real building and the corresponding values provided by the EPW weather file used during simulation. Although the agents were still able to maintain coherent control behaviour, we decided to revisit the simulation and modify the distribution of the humidity and radiation observations to reduce the sim-to-real gap. In particular, the parameters of the Ornstein–Uhlenbeck process used to generate the corresponding disturbances were adjusted, including an increase in the overall mean of the simulated weather variables. This modification resulted in improved performance during deployment.
Nevertheless, significant discrepancies remained in the distribution of internal humidity. Further analysis showed that these differences were caused by an occupancy-related condition that had not been considered during the initial simulation setup, namely, the moisture released during occupant showers combined with situations in which bathroom doors were left open. To reproduce these abrupt humidity variations more accurately, a more substantial modification of the building model was required. Specifically, the model was extended to account for sudden moisture increases and to incorporate the propagation of humidity towards adjacent thermal zones. This additional modeling step reduced the discrepancy between the simulated and real humidity dynamics, thereby making the transition to real-world deployment less abrupt.
Heat pump cycling and system health
During the pilot study, different action frequencies were evaluated, including configurations with up to 12 agent actions per hour (i.e., one action every 5 minutes), which could potentially provide more fine-grained control of the system. However, increasing the action frequency did not result in a substantial improvement in agent performance. Moreover, frequent control actions represent a practical limitation for the operation of the HP, as they may lead to a higher number of compressor starts and, consequently, increased compressor cycling and system degradation. Therefore, the action frequency was ultimately limited to two actions per hour to avoid short cycling and preserve the operational health of the HP. This limitation is not considered detrimental to the control performance, since the system under study is a highly inertial thermal system. In particular, actions applied at shorter intervals may have only a limited effect on the floor temperature, as the thermal response of the system is considerably slower than the control timescale.
Future work could explicitly incorporate HP health into the reward function by penalizing compressor starts or excessive cycling. This would extend the optimization objective beyond the conventional trade-off between thermal comfort and energy consumption, allowing the DRL agent to simultaneously account for the long-term health and degradation of the controlled system.
Seasonal testing and benchmarking
The available experimental period (late winter to early spring) coincided with mild outdoor temperatures and high solar gains. While this transition period presents complex predictive control challenges due to sharp diurnal temperature fluctuations, the agents could not be evaluated during the coldest months of the heating season. However, the primary objective of this real-world deployment was to demonstrate and validate the end-to-end functional integration of the DRL architecture in an occupied building. Further long-term tests are planned for upcoming heating seasons to assess the agent’s robustness and thermal performance under extreme heating demand and peak cold conditions.
Simultaneously evaluating real-world deployment against baseline controllers (e.g., a standard heating curve or PI control) in an occupied residential building presents significant methodological challenges. Due to the high thermal inertia of the underfloor heating system, switching control strategies dynamically in a short time frame introduces thermal bias and potential discomfort for residents. Furthermore, direct real-world comparisons are constrained by changing weather and occupancy patterns. While the efficacy and savings of the proposed DRL framework compared to traditional baselines were thoroughly validated in the digital twin simulation phase, the field deployment prioritized testing the feasibility and resilience of the system under live operational constraints. Future work will extend this deployment to enable systematic, multi-season benchmarking against baseline strategies under strictly comparable operating conditions.
7 Conclusions and future work
This paper demonstrates the feasibility of deploying a DRL-based controller for the control of UFH systems coupled with HPs in residential buildings. First, a series of experiments were conducted using a generic residential building model to evaluate and compare different algorithms, control strategies, and training configurations. Based on the results obtained, a real-world control case was subsequently deployed and evaluated in an occupied residential building. Several DRL agents were trained using a digital twin of the building, and the best-performing agent was then deployed in the real building, enabling its performance to be evaluated under real operating conditions.
The results in terms of thermal comfort and energy consumption indicate that off-policy algorithms, particularly TQC and SAC, achieved the most favorable performance among the evaluated approaches. The TQC agent, trained exclusively using an EnergyPlus-based digital twin, was successfully transferred to the real building without prior fine-tuning. During the evaluation period, the agent maintained indoor temperatures within the desired comfort ranges, demonstrating the potential of simulation-to-real transfer for DRL-based HVAC control.
Additional experiments were also conducted to assess the robustness and interpretability of the proposed controllers. Robustness tests were performed to evaluate the ability of the agents to adapt to degraded building envelopes and changes in building performance. Furthermore, to provide greater insight into the decisions made by the resulting black-box policies, the influence of relevant variables on the agents’ actions was analyzed. These variables included indoor temperature, solar radiation, outdoor temperature, and time-related features.
Overall, this work represents an experimental contribution to the application of DRL to cyber-physical systems, particularly in the HVAC domain, where a large proportion of the reported results are still evaluated exclusively in simulation and only a limited number of studies are validated in real buildings. Nevertheless, further research is required to assess the scalability and generalization capabilities of these controllers across different building configurations, weather conditions, and HVAC systems. Future work will therefore focus on extending the proposed approach to larger and more diverse building sets and to alternative HVAC systems. Comparative analyses with other control approaches will also be conducted during subsequent heating seasons to further assess the performance and robustness of the DRL controllers. In addition, the proposed control framework will be extended to the cooling season, including its integration with fan-coil units.
In conclusion, the combination of digital-twin-based training, real-world deployment, robustness assessment, and analysis of decision-relevant variables provides a comprehensive framework for evaluating DRL controllers beyond purely simulation-based studies. This work represents a step forward in bridging the gap between simulation and real-world deployment, supporting the implementation of efficient control strategies for building energy systems.
Data availability
The datasets used in this study are available in the following repository: http://rl-datasets.gf-digitalcontrols.com/paper.zip.
Declaration of generative AI in the manuscript preparation process
During the preparation of this work, the authors used Artificial intelligence (AI)-based tools in order to assist with the linguistic revision and translation of the manuscript. After using these tools, the authors reviewed and edited the content as needed. All scientific content, interpretations, analyses, and conclusions were developed and critically reviewed by the authors, who remain fully responsible for the final content of the manuscript.
Appendix A Observed variables
Tables 2 and 3 describe the variables that constitute the observation space of the agents for the pilot and case studies, respectively. It should be noted that the number of observed variables in the case study is lower than in the pilot study due to the limited availability of sensors in the real building. Using the wrappers provided by Sinergym, all variables are normalized, while temporal variables (day, month, and hour) are encoded using sine and cosine transformations.
| Variable | Description | Unit | |
|---|---|---|---|
| 1 | month_cos | Cosine encoding of the month | - |
| 2 | month_sin | Sine encoding of the month | - |
| 3 | day_cos | Cosine encoding of the day | - |
| 4 | day_sin | Sine encoding of the day | - |
| 5 | hour_cos | Cosine encoding of the hour | - |
| 6 | hour_sin | Sine encoding of the hour | - |
| 7 | outdoor_temperature | Outdoor temperature | ℃ |
| 8 | outdoor_humidity | Outdoor relative humidity | % |
| 9 | wind_speed | Wind speed | m/s |
| 10 | wind_direction | Wind direction | ∘ |
| 11 | diffuse_solar_radiation | Diffuse solar radiation | W/m2 |
| 12 | direct_solar_radiation | Direct solar radiation | W/m2 |
| 13 | air_temperature_X | Air temperature in zone X | ℃ |
| 14 | air_humidity_X | Relative humidity in zone X | % |
| 15 | heating_setpoint_X | Heating setpoint in zone X | ℃ |
| 16 | heat_source_load_side_outlet_temp | Heat source load side outlet temperature | ℃ |
| 17 | heat_source_load_side_inlet_temp | Heat source load side inlet temperature | ℃ |
| 18 | heat_source_electricity_rate | Heat source electricity consumption | W |
Table 2: Observed variables in the pilot study
| Variable | Description | Unit | |
|---|---|---|---|
| 1 | month_cos | Cosine encoding of the month | - |
| 2 | month_sin | Sine encoding of the month | - |
| 3 | day_cos | Cosine encoding of the day | - |
| 4 | day_sin | Sine encoding of the day | - |
| 5 | hour_cos | Cosine encoding of the hour | - |
| 6 | hour_sin | Sine encoding of the hour | - |
| 7 | outdoor_temperature | Outdoor temperature | ℃ |
| 8 | outdoor_humidity | Outdoor relative humidity | % |
| 9 | wind_speed | Wind speed | m/s |
| 10 | wind_direction | Wind direction | ∘ |
| 11 | direct_solar_radiation | Direct solar radiation | W/m2 |
| 12 | air_temperature_X | Air temperature in zone X | ℃ |
| 13 | air_humidity_X | Relative humidity in zone X | % |
| 14 | heating_setpoint_X | Heating setpoint in zone X | ℃ |
| 15 | heat_source_load_side_outlet_temp | Heat source load side outlet temperature | ℃ |
| 16 | heat_source_electricity_rate | Heat source electricity consumption | W |
Table 3: Observed variables in the case study
Appendix B Building degradation configurations
To evaluate the impact of building aging on the proposed methodology, several degradation scenarios were defined. These scenarios emulate deterioration of the building envelope by modifying material properties, window thermal performance, and infiltration characteristics.
Table 4 lists those materials for which a degraded version was defined, with a summary of the modifications applied to their thermophysical properties to emulate aging and deterioration of the building envelope. A complete definition of these materials can be consulted in [57]. Tables 5 and 6 summarize the building degradation scenarios considered for both windows and wall infiltrations. These degradation scenarios were applied to the simulated building both individually and in combination. The combined degradation scenarios are presented in Table 7.
Table 4: Building envelope material degradations considered
(a) Degraded building materials
| Material |
|---|
| Gypsum Board (8 mm) |
| Exterior Brick Masonry (100 mm) |
| Dense Cast Concrete (100 mm) |
| Lightweight Cast Concrete (100 mm) |
| Standard Cast Concrete (100 mm) |
| Ceramic/Porcelain Tile (9.5 mm) |
| Medium-Density Concrete Block (100 mm) |
| Expanded Polystyrene Insulation (80 mm) |
| Gypsum Plasterboard (25 mm) |
| Gypsum Plaster (13 mm) |
| Soft Limestone (45 mm) |
| Glass Wool Roof Insulation |
| Plasterboard (13 mm) |
| Heavyweight Plywood (10 mm) |
| Urea-Formaldehyde Foam Insulation (80 mm) |
| Extruded Polystyrene (XPS) Wall Insulation |
(b) General degradations applied to the building envelope
| Property | Applied modification |
|---|---|
| Thermal conductivity | Increased by 10–20% |
| Thickness | Reduced by 5–10% |
| Thermal absorptance | Reduced from 0.90 to 0.85 (5%) |
| Solar absorptance | Reduced by 5% |
| Visible absorptance | Reduced by 5% |
Table 5: Window degradation configurations
| Name | Solar Heat Gain Coefficient | U-factor |
|---|---|---|
| Default | 0.40 | 1.40 |
| Window_1 | 0.85 | 5.80 |
| Window_2 | 0.30 | 1.80 |
| Window_3 | 0.30 | 2.50 |
| Window_4 | 0.50 | 2.50 |
Table 6: Wall infiltration values
| Name | Air Changes per Hour | Temperature Term Coefficient |
|---|---|---|
| Default | 0.10 | 0.000 |
| Infiltration_1 | 0.30 | 0.000 |
| Infiltration_2 | 0.30 | 0.050 |
| Infiltration_3 | 0.20 | 0.010 |
| Infiltration_4 | 0.10 | 0.050 |
| Infiltration_5 | 0.20 | 0.025 |
Table 7: Combined degradation scenarios, considering: all material degradation, air infiltrations and degraded window insulation
| Name | Combination |
|---|---|
| All_1 | Material + Infiltration_5 + Window_2 |
| All_2 | Material + Infiltration_3 + Window_2 |
References
[1] I. E. Agency (2023) Heat pumps. Note: https://www.iea.org/energy-system/buildings/heat-pumpsAvailable online, access verified on 2025-11-28 Cited by: §1.
[2] I. E. Agency (2023) The future of heat pumps. Note: https://www.iea.org/reports/the-future-of-heat-pumps/Available online, access verified on 2025-11-28 Cited by: §1.
[3] B. Ahmed, A. Ahmed, A. Mujeeb, H. Zhang, X. Li, K. Qu, and F. Li (2026) Dynamic occupancy-aware hvac control in large office building using enhanced soft actor-critic with pv and thermal energy storage integration. Applied Thermal Engineering, pp. 129937. Cited by: §6.1.
[4] K. Al Sayed, A. Boodi, R. S. Broujeny, and K. Beddiar (2024) Reinforcement learning for HVAC control in intelligent buildings: a technical and conceptual review. Journal of Building Engineering, pp. 110085. Cited by: §1, §1, §2.2, §2.3.
[5] J. Arroyo, C. Manna, F. Spiessens, and L. Helsen (2022) Reinforced model predictive control (rl-mpc) for building energy management. Applied Energy 309, pp. 118346. Cited by: §2.2, §2.3, §2.3.
[6] C. Blad, S. Bøgh, C. Kallesøe, and P. Raftery (2023) A laboratory test of an offline-trained multi-agent reinforcement learning algorithm for heating systems. Applied Energy 337, pp. 120807. Cited by: §2.3.
[7] C. Blad, S. Bøgh, and C. S. Kallesøe (2022) Data-driven offline reinforcement learning for hvac-systems. Energy 261, pp. 125290. Cited by: §2.2, §6.1.
[8] C. Blad, S. Koch, S. Ganeswarathas, C. Kallesøe, and S. Bøgh (2019) Control of HVAC-systems with slow thermodynamic using reinforcement learning. Procedia Manufacturing 38, pp. 1308–1315. Cited by: §2.3.
[9] D. Blum, J. Arroyo, S. Huang, J. Drgoňa, F. Jorissen, H. T. Walnum, Y. Chen, K. Benne, D. Vrabie, M. Wetter, et al. (2021) Building optimization testing framework (boptest) for simulation-based benchmarking of control strategies in buildings. Journal of Building Performance Simulation 14 (5), pp. 586–610. Cited by: §2.2.
[10] S. Brandi, D. Coraci, D. Borello, and A. Capozzoli (2022) Energy management of a residential heating system through deep reinforcement learning. In Sustainability in Energy and Buildings 2021, pp. 329–339. Cited by: §2.3.
[11] S. Brandi, M. S. Piscitelli, M. Martellacci, and A. Capozzoli (2020) Deep reinforcement learning to optimise indoor temperature control and heating energy consumption in buildings. Energy and Buildings 224, pp. 110225. Cited by: §3.1.
[12] S. Brown and I. Beausoleil-Morrison (2023) Long-term implementation of a model predictive controller for a hydronic floor heating and cooling system in a highly glazed house in canada. Applied Energy 349, pp. 121677. Cited by: §2.2.
[13] T. Brudermueller, U. Potthoff, E. Fleisch, F. Wortmann, and T. Staake (2025) Estimation of energy efficiency of heat pumps in residential buildings using real operation data. Nature Communications 16 (1), pp. 2834. Cited by: §1.
[14] A. Campoy-Nieves, A. Manjavacas, J. Jiménez-Raboso, M. Molina-Solana, and J. Gómez-Romero (2025) Sinergym–a virtual testbed for building energy optimization with reinforcement learning. Energy and Buildings 327, pp. 115075. Cited by: §2.2, §3.2.
[15] A. Campoy-Nieves, A. Manjavacas, J. Jiménez-Raboso, M. Molina-Solana, and J. Gómez-Romero (2026) Sinergym: evolution, adoption, and new directions for rl-based building energy optimization. In 2026 IEEE 50th Annual Computers, Software, and Applications Conference (COMPSAC), pp. 2641–2646. Cited by: §3.2.
[16] L. Carnieletto, O. B. Kazanci, B. W. Olesen, A. Zarrella, and W. Pasut (2024) Combining energy generation and radiant systems: challenges and possibilities for plus energy buildings. Energy and Buildings 325, pp. 114965. Cited by: §1.
[17] S. Cho, C. Lee, S. Lee, J. Kim, Y. Doh, and C. Park (2023) Integrated control of radiant floor heating system in residential buildings. In Building Simulation 2023, Vol. 18, pp. 3020–3026. Cited by: §1.
[18] D. Coraci, S. Brandi, T. Hong, and A. Capozzoli (2024) An innovative heterogeneous transfer learning framework to enhance the scalability of deep reinforcement learning controllers in buildings with integrated energy systems. In Building Simulation, Vol. 17, pp. 739–770. Cited by: §1.
[19] Z. Deng and Q. Chen (2021) Reinforcement learning of occupant behavior model for cross-building transfer learning to various HVAC control systems. Energy and Buildings 238, pp. 110860. Cited by: §1.
[20] T. Dengiz and M. Kleinebrahm (2024) Imitation learning with artificial neural networks for demand response with a heuristic control approach for heat pumps. Energy and AI 18, pp. 100441. Cited by: §1.
[21] J. Drgoňa, J. Arroyo, I. C. Figueroa, D. Blum, K. Arendt, D. Kim, E. P. Ollé, J. Oravec, M. Wetter, D. L. Vrabie, et al. (2020) All you need to know about model predictive control for buildings. Annual Reviews in Control 50, pp. 190–232. Cited by: §2.2.
[22] G. Dulac-Arnold, N. Levine, D. J. Mankowitz, J. Li, C. Paduraru, S. Gowal, and T. Hester (2021) Challenges of real-world reinforcement learning: definitions, benchmarks and analysis. Machine Learning 110 (9), pp. 2419–2468. Cited by: §2.2.
[23] T. Haarnoja, A. Zhou, P. Abbeel, and S. Levine (2018) Soft actor-critic: off-policy maximum entropy deep reinforcement learning with a stochastic actor. In International conference on machine learning, pp. 1861–1870. Cited by: §3.2.
[24] X. Han and A. Malkawi (2022) Model-free reinforcement learning-based control for radiant floor heating systems. In International Conference on Building Energy and Environment, pp. 1447–1455. Cited by: §1, §2.3.
[25] M. J. Huang, G. Obasi, S. McCormack, and N. J. Hewitt (2025) Experimental investigation of the pcm-eg radiant floor heating driven by ashp with advanced heat transfer enhancement. Applied Thermal Engineering, pp. 125781. Cited by: §1.
[26] Y. Hwang and J. Jeong (2021) Energy saving potential of radiant floor heating assisted by an air source heat pump in residential buildings. Energies 14 (5), pp. 1321. Cited by: §1.
[27] A. Iyanu, H. Chang, C. S. Lee, and S. Chang (2024) Prospects and challenges of reinforcement learning-based HVAC control. Journal of Building Engineering, pp. 111080. Cited by: §1.
[28] S. Jacobs, S. Ghane, A. Anwar, S. Mercelis, P. Hellinckx, and I. Verhaert (2022) Reinforcement learning based mass flow and supply temperature control for combined heat distribution. In IECON 2022–48th Annual Conference of the IEEE Industrial Electronics Society, pp. 1–6. Cited by: §2.2.
[29] C. Jang, D. Kim, and R. Yun (2026) Offline reinforcement learning for optimal control of a greenhouse with ground source heat pump. Energy, pp. 141404. Cited by: §6.1.
[30] J. Jiménez-Raboso, A. Campoy-Nieves, A. Manjavacas-Lucas, J. Gómez-Romero, and M. Molina-Solana (2021) Sinergym: a building simulation and control framework for training reinforcement learning agents. In Proceedings of the 8th ACM international conference on systems for energy-efficient buildings, cities, and transportation, pp. 319–323. Cited by: §2.2, §3.2.
[31] J. Jiménez-Raboso, A. Manjavacas, A. Campoy-Nieves, M. Molina-Solana, and J. Gómez-Romero (2023) Explaining deep reinforcement learning-based methods for control of building HVAC systems. In World Conference on Explainable Artificial Intelligence, pp. 237–255. Cited by: §2.2, §6.1.
[32] J. Joe and P. Karava (2019) A model predictive control strategy to optimize the performance of radiant floor heating and cooling systems in office buildings. Applied Energy 245, pp. 65–77. Cited by: §1.
[33] T. M. Kull, R. Simson, M. Thalfeldt, and J. Kurnitski (2017) Influence of time constants on low energy buildings’ heating control. Energy Procedia 132, pp. 75–80. Cited by: §1.
[34] A. Kuznetsov, P. Shvechikov, A. Grishin, and D. Vetrov (2020) Controlling overestimation bias with truncated mixture of continuous distributional quantile critics. In International conference on machine learning, pp. 5556–5566. Cited by: §3.2.
[35] G. Kyriakarakos (2025) Artificial intelligence and the energy transition. Vol. 17, MDPI. Cited by: §1.
[36] S. Liu, X. Liu, T. Zhang, C. Wang, and W. Liu (2024) Joint optimization for temperature and humidity independent control system based on multi-agent reinforcement learning with cooperative mechanisms. Applied Energy 375, pp. 123968. Cited by: §2.3.
[37] R. Lu, X. Li, R. Chen, A. Lei, and X. Ma (2024) An alternative reinforcement learning (arl) control strategy for data center air-cooled HVAC systems. Energy, pp. 132977. Cited by: §2.2.
[38] S. M. Lundberg and S. Lee (2017) A unified approach to interpreting model predictions. Advances in neural information processing systems 30. Cited by: §6.1.
[39] A. Manjavacas, A. Campoy-Nieves, J. Jiménez-Raboso, M. Molina-Solana, and J. Gómez-Romero (2024) An experimental evaluation of deep reinforcement learning algorithms for HVAC control. Artificial Intelligence Review 57 (7), pp. 173. Cited by: §1, §2.2.
[40] S. Milani, N. Topin, M. Veloso, and F. Fang (2024) Explainable reinforcement learning: a survey and comparative review. ACM Computing Surveys 56 (7), pp. 1–36. Cited by: §2.2, §6.1.
[41] B. Morcego, W. Yin, S. Boersma, E. Van Henten, V. Puig, and C. Sun (2023) Reinforcement learning versus model predictive control on greenhouse climate control. Computers and Electronics in Agriculture 215, pp. 108372. Cited by: §2.2, §2.2.
[42] A. Mugnini, F. Caresana, B. Marchetti, F. Polonara, and A. Arteconi (2025) Integrated design of heat pump systems: a multi-objective optimized design methodology considering the mutual influence of design and control. Applied Thermal Engineering 271, pp. 126323. Cited by: §1.
[43] Z. Nagy, G. Henze, S. Dey, J. Arroyo, L. Helsen, X. Zhang, B. Chen, K. Amasyali, K. Kurte, A. Zamzam, et al. (2023) Ten questions concerning reinforcement learning for building energy management. Building and Environment 241, pp. 110435. Cited by: §1, §1, §2.2.
[44] A. T. Nguyen, D. H. Pham, B. L. Oo, M. Santamouris, Y. Ahn, and B. T. Lim (2024) Modelling building HVAC control strategies using a deep reinforcement learning approach. Energy and Buildings 310, pp. 114065. Cited by: §2.2.
[45] T. Q. Péan, J. Salom, and R. Costa-Castelló (2019) Review of control strategies for improving the energy flexibility provided by heat pump systems in buildings. Journal of Process Control 74, pp. 35–49. Cited by: §2.2.
[46] D. Qi, Y. Liu, C. Zhao, Y. Dong, B. Song, and A. Li (2024) Thermal response and performance evaluation of floor radiant heating system based on fuzzy logic control. Energy and Buildings 313, pp. 114232. Cited by: §1, §2.2.
[47] A. Raffin, A. Hill, A. Gleave, A. Kanervisto, M. Ernestus, and N. Dormann (2021) Stable-baselines3: reliable reinforcement learning implementations. Journal of machine learning research 22 (268), pp. 1–8. Cited by: §3.2.
[48] N. S. Raman, A. M. Devraj, P. Barooah, and S. P. Meyn (2020) Reinforcement learning for control of building HVAC systems. In 2020 American Control Conference (ACC), pp. 2326–2332. Cited by: §2.2.
[49] T. Rohrer, L. Frison, L. Kaupenjohann, K. Scharf, and E. Hergenröther (2023) Deep reinforcement learning for heat pump control. In Science and Information Conference, pp. 459–471. Cited by: §1, §2.3.
[50] J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov (2017) Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347. Cited by: §3.2.
[51] S. Sierla, H. Ihasalo, and V. Vyatkin (2022) A review of reinforcement learning applications to control of heating, ventilation and air conditioning systems. Energies 15 (10), pp. 3526. Cited by: §1.
[52] A. Silvestri, D. Coraci, S. Brandi, A. Capozzoli, E. Borkowski, J. Köhler, D. Wu, M. N. Zeilinger, and A. Schlueter (2024) Real building implementation of a deep reinforcement learning controller to enhance energy efficiency and indoor temperature control. Applied Energy 368, pp. 123447. Cited by: §1, §2.3.
[53] B. Singh, R. Kumar, and V. P. Singh (2022) Reinforcement learning in robotic applications: a comprehensive survey. Artificial Intelligence Review 55 (2), pp. 945–990. Cited by: §1.
[54] R. S. Sutton and A. G. Barto (2018) Reinforcement learning: an introduction. MIT press. Cited by: §2.1.
[55] M. Tang, X. Wu, J. Xu, J. Liu, Z. Li, J. Gao, and Z. Tian (2023) Indoor temperature control of radiant ceiling cooling system based on deep reinforcement learning method. Buildings 13 (9), pp. 2281. Cited by: §1, §2.3.
[56] E. Togashi (2025) Reward function design in reinforcement learning for hvac control: a review of thermal comfort and energy efficiency trade-offs. Energy and Buildings, pp. 116439. Cited by: §2.2.
[57] U.S. Department of Energy EnergyPlus input output reference: surface construction elements. U.S. Department of Energy. External Links: Link Cited by: Appendix B.
[58] J. R. Vázquez-Canteli and Z. Nagy (2019) Reinforcement learning for demand response: a review of algorithms and modeling techniques. Applied energy 235, pp. 1072–1089. Cited by: §2.2.
[59] D. Wang, W. Zheng, Z. Wang, Y. Wang, X. Pang, and W. Wang (2023) Comparison of reinforcement learning and model predictive control for building energy system optimization. Applied Thermal Engineering 228, pp. 120430. Cited by: §2.2, §2.2.
[60] X. Wang, X. Wang, X. Kang, B. Dong, and D. Yan (2025) Physics-consistent input convex neural network-driven reinforcement learning control for multi-zone radiant ceiling heating and cooling systems: an experimental study. Energy and Buildings 327, pp. 115105. Cited by: §2.3.
[61] X. Wang, N. Mahdavi, V. Aryai, S. Sethuvenkatraman, and S. R. West (2025) From simulation to reality: a study of reinforcement learning control in operational building environments. ASME Journal of Engineering for Sustainable Buildings and Cities 6 (4), pp. 041006. Cited by: §1.
[62] X. Wang, S. Wang, X. Liang, D. Zhao, J. Huang, X. Xu, B. Dai, and Q. Miao (2022) Deep reinforcement learning: a survey. IEEE Transactions on Neural Networks and Learning Systems 35 (4), pp. 5064–5078. Cited by: §2.1.
[63] X. Wang and B. Dong (2024) Long-term experimental evaluation and comparison of advanced controls for HVAC systems. Applied Energy 371, pp. 123706. Cited by: §2.2.
[64] Z. Wang and T. Hong (2020) Reinforcement learning for building controls: the opportunities and challenges. Applied Energy 269, pp. 115036. Cited by: §1, §1, §2.2, §2.2.
[65] D. Weinberg, Q. Wang, T. O. Timoudas, and C. Fischione (2023) A review of reinforcement learning for controlling building energy systems from a computer science perspective. Sustainable cities and society 89, pp. 104351. Cited by: §2.2.
[66] L. Yu, S. Qin, M. Zhang, C. Shen, T. Jiang, and X. Guan (2021) A review of deep reinforcement learning for smart building energy management. IEEE Internet of Things Journal 8 (15), pp. 12046–12063. Cited by: §1.
[67] A. Żelazna and A. Pawłowski (2025) Review of the role of heat pumps in decarbonization of the building sector. Energies 18 (13), pp. 3255. Cited by: §1, §1.
[68] H. Zhang, S. Seal, D. Wu, F. Bouffard, and B. Boulet (2022) Building energy management with reinforcement learning and model predictive control: a survey. IEEE Access 10, pp. 27853–27862. Cited by: §1.
[69] R. Zhao, Y. Li, Y. Fan, F. Gao, M. Tsukada, and Z. Gao (2024) A survey on recent advancements in autonomous driving using deep reinforcement learning: applications, challenges, and solutions. IEEE Transactions on Intelligent Transportation Systems. Cited by: §1.
[70] S. Zhou, A. Shah, P. Leung, X. Zhu, and Q. Liao (2023) A comprehensive review of the applications of machine learning for hvac. DeCarbon 2, pp. 100023. Cited by: §1, §2.2.