Hostname: page-component-89b8bd64d-nlwjb Total loading time: 0 Render date: 2026-05-05T17:56:15.193Z Has data issue: false hasContentIssue false

A physics-based domain adaptation framework for modeling and forecasting building energy systems

Published online by Cambridge University Press:  24 April 2023

Zack Xuereb Conti*
Affiliation:
Data-Centric Engineering Program, The Alan Turing Institute, London, United Kingdom Department of Engineering, University of Cambridge, Cambridge, United Kingdom
Ruchi Choudhary
Affiliation:
Data-Centric Engineering Program, The Alan Turing Institute, London, United Kingdom Department of Engineering, University of Cambridge, Cambridge, United Kingdom
Luca Magri
Affiliation:
Faculty of Engineering, Department of Aeronautics, Imperial College London, London, United Kingdom
*
Corresponding author: Zack Xuereb Conti; Email: zxuerebconti@turing.ac.uk

Abstract

State-of-the-art machine-learning-based models are a popular choice for modeling and forecasting energy behavior in buildings because given enough data, they are good at finding spatiotemporal patterns and structures even in scenarios where the complexity prohibits analytical descriptions. However, their architecture typically does not hold physical correspondence to mechanistic structures linked with governing physical phenomena. As a result, their ability to successfully generalize for unobserved timesteps depends on the representativeness of the dynamics underlying the observed system in the data, which is difficult to guarantee in real-world engineering problems such as control and energy management in digital twins. In response, we present a framework that combines lumped-parameter models in the form of linear time-invariant (LTI) state-space models (SSMs) with unsupervised reduced-order modeling in a subspace-based domain adaptation (SDA) approach, which is a type of transfer-learning (TL) technique. Traditionally, SDA is adopted for exploiting labeled data from one domain to predict in a different but related target domain for which labeled data is limited. We introduced a novel SDA approach where instead of labeled data, we leverage the geometric structure of the LTI SSM governed by well-known heat transfer ordinary differential equations to forecast for unobserved timesteps beyond available measurement data by geometrically aligning the physics-derived and data-derived embedded subspaces closer together. In this initial exploration, we evaluate the physics-based SDA framework on a demonstrative heat conduction scenario by varying the thermophysical properties of the source and target systems to demonstrate the transferability of mechanistic models from physics to observed measurement data.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2023. Published by Cambridge University Press
Figure 0

Figure 1. Overall subspace-alignment-based domain adaptation (SDA) workflow.

Figure 1

Figure 2. (a) Thermal zone for context. (b) Thermal RC network model of one-dimensional energy transfer through an external wall.

Figure 2

Table 1. Assigned physical and thermodynamic properties for the 1D wall scenario.

Figure 3

Figure 3. (a) SSM-generated timeseries measurement data plotted as a function of time. (b) SSM-generated timeseries measurement data plotted in the state space.

Figure 4

Figure 4. (a) State-space vector field. (b) Phase portrait of the state space.

Figure 5

Figure 5. (a) Heat transfer through 0.6 m thick wall. (b) Heat transfer through 1.5 m thick wall.

Figure 6

Table 2. CV(RMS) accuracy for forecasting 1,000 hr using standard SA via Bergmann divergence.

Figure 7

Figure 6. Calibration scenario: 0.2 m wall SSM (source) to 0.2 m wall data (target). The target subspace was derived via POD (orthogonal eigenvectors).

Figure 8

Table 3. CV(RMS) accuracy for forecasting 1,000 hr using Procrustes-based SA for varying training size (2,000 hr, 4,000 hr, 6,000 hr).

Figure 9

Figure 7. Cross-domain generalization scenario: 0.6 m wall SSM (source) to 0.2 m wall data (target). The target subspace was derived via POD (orthogonal eigenvectors).

Figure 10

Figure 8. Cross-domain generalization scenario: 0.2 m wall SSM (source) to 0.6 m wall data (target). The target subspace was derived via POD (orthogonal eigenvectors).

Figure 11

Figure 9. Cross-domain generalization scenario: 0.8 m red brick wall SSM (source) to 0.3 m concrete wall data (target). The target subspace was derived via POD (non-orthogonal eigenvectors).

Figure 12

Table 4. CV(RMS) accuracy for forecasting 1,000 hr using cross-domain Procrustes-based SA for varying wall thicknesses only.

Figure 13

Figure 10. Top: cross-domain alignment: 0.2 m wall SSM (source) to 0.9 m wall data (target). Middle: same-domain alignment: 0.8 m wall SSM (source) to 0.8 m wall data (target). Left plots illustrate alignment in the embedded space. Right plots illustrate the alignment after lifting from embedded space.

Supplementary material: File

Xuereb Conti et al. supplementary material

Xuereb Conti et al. supplementary material

Download Xuereb Conti et al. supplementary material(File)
File 1.4 MB
Submit a response

Comments

No Comments have been published for this article.