Skip to main content
QUICK REVIEW

[Paper Review] PhysQ: A Physics Informed Reinforcement Learning Framework for Building Control

Gargya Gokhale, Bert Claessens|arXiv (Cornell University)|Nov 21, 2022
Building Energy and Comfort OptimizationEngineering4 citations
TL;DR

PhysQ is a physics-informed reinforcement learning framework that leverages building thermal dynamics to learn data-efficient, interpretable control policies for residential heating. It outperforms rule-based and basic model predictive controllers, achieving ~9% cost savings with fewer training samples by integrating physical priors into a fitted Q-iteration algorithm.

ABSTRACT

Large-scale integration of intermittent renewable energy sources calls for substantial demand side flexibility. Given that the built environment accounts for approximately 40% of total energy consumption in EU, unlocking its flexibility is a key step in the energy transition process. This paper focuses specifically on energy flexibility in residential buildings, leveraging their intrinsic thermal mass. Building on recent developments in the field of data-driven control, we propose PhysQ. As a physics-informed reinforcement learning framework for building control, PhysQ forms a step in bridging the gap between conventional model-based control and data-intensive control based on reinforcement learning. Through our experiments, we show that the proposed PhysQ framework can learn high quality control policies that outperform a business-as-usual, as well as a rudimentary model predictive controller. Our experiments indicate cost savings of about 9% compared to a business-as-usual controller. Further, we show that PhysQ efficiently leverages prior physics knowledge to learn such policies using fewer training samples than conventional reinforcement learning approaches, making PhysQ a scalable alternative for use in residential buildings. Additionally, the PhysQ control policy utilizes building state representations that are intuitive and based on conventional building models, that leads to better interpretation of the learnt policy over other data-driven controllers.

Motivation & Objective

  • To address the limitations of model-based MPC and data-driven RL in residential building control, including high modeling costs, model bias, and poor data efficiency.
  • To bridge the gap between conventional model-based control and data-intensive RL by incorporating physics-informed representations into the learning process.
  • To improve data efficiency and policy interpretability in reinforcement learning for building control using prior knowledge of thermal dynamics.
  • To enable scalable deployment of RL-based controllers in residential buildings through reduced sample requirements and physically meaningful state representations.
  • To validate that accurate physics priors are essential for achieving high-performing control policies in data-driven settings.

Proposed method

  • PhysQ uses physics-informed neural networks (PhysNet) to extract physically relevant hidden state representations from building thermal dynamics, such as indoor and mass temperatures.
  • It employs a fitted Q-iteration (FQI) algorithm to learn a low-dimensional Q-function using these physics-informed state features, enabling sample-efficient policy learning.
  • The framework integrates prior knowledge of building thermal dynamics into the neural network architecture, particularly in the dynamics and encoder modules, to guide representation learning.
  • The Q-function is trained using a reward function that balances energy cost minimization and thermal comfort constraints, with actions constrained to binary heating states.
  • The method is evaluated using a custom simulator, comparing PhysQ against a business-as-usual (BAU) controller, a standard FQI-NN agent, and a model predictive controller (MPC).
  • Ablation studies assess the impact of incorrect physics priors by comparing a 'wrong PhysQ' variant with the correct PhysQ, demonstrating the necessity of accurate physical knowledge.

Experimental results

Research questions

  • RQ1Can a physics-informed reinforcement learning framework reduce data requirements while maintaining or improving control performance in residential building heating?
  • RQ2How does the integration of accurate physical priors affect the quality and robustness of the learned control policy in a data-driven RL setting?
  • RQ3To what extent does PhysQ outperform conventional rule-based and model-based controllers in terms of cost savings and energy efficiency?
  • RQ4Can the use of physically interpretable state representations improve the interpretability of the learned control policy compared to standard deep RL agents?
  • RQ5How sensitive is the performance of PhysQ to errors in the prior physical model, particularly when incorrect physics are used?

Key findings

  • PhysQ achieves approximately 9% lower energy costs compared to the business-as-usual rule-based controller, demonstrating significant economic benefits.
  • The framework requires fewer training samples than conventional FQI-NN agents, confirming its improved data efficiency due to physics-informed representations.
  • Ablation experiments show a clear performance gap between PhysQ using correct physics priors and a variant with incorrect priors, proving that accurate physical knowledge is essential for high policy quality.
  • The PhysQ agent outperforms a standard FQI-NN agent and a basic MPC controller in terms of cost savings and sample efficiency, indicating its superiority in real-world deployment scenarios.
  • The use of physically meaningful state features (e.g., indoor and thermal mass temperatures) enhances the interpretability of the learned policy, offering a path toward explainable AI in building control.
  • The framework shows strong potential for real-world deployment, with future work focusing on field validation and robustness to forecasting errors in exogenous variables.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.