Thermal-GEMs: Generalized Models for Building Thermal Dynamics
Organizations: Technical University of Applied Sciences Rosenheim, Rosenheim, Germany · Technical University of Munich, Munich, Germany
Abstract
Data-driven models for building thermal dynamics are a scalable approach for enabling energy-efficient operation through fault detection & diagnosis or advanced control. To obtain accurate models, measurement data from a target building spanning months to years are required. Transfer Learning (TL) mitigates this challenge by employing pretrained models based on single or multiple source buildings. General multi-source TL models promise to outperform single-source TL, but alternative multi-source modeling architectures remain to be explored, and evaluation on real-world data is missing. Moreover, time series foundation models (TSFM) have emerged as candidates for the best-performing general models. Hence, we conduct a first, comprehensive assessment of general modeling approaches for building thermal dynamics, including multi-source TL and TSFMs. Our assessment includes ablations using four state-of-the-art multi-source TL architectures and evaluations on synthetic as well as real-world data. We demonstrate that multi-source TL models are highly effective in accurately modeling buildings in real-world applications, yielding up to 63% lower forecasting errors compared to single-source TL. Moreover, our results suggest a trade-off between multi-source TL models exclusively pretrained with building data and TSFMs pretrained with a multitude of different time series, revealing that data from 16-32 source buildings must be available over 1 year for pretraining multi-source TL models to consistently outperform TSFMs as evaluated using the mean absolute error. These findings provide practical guidance for selecting modeling strategies based on the number of source buildings available for pretraining multi-source TL models.
Figures & tables
| Observable | Dataset | |||
| Name | Type | D1 | D2 | D3 |
| Indoor Humidity | Feature | ✓ | ||
| Thermostat Heat Setpoint | Feature | ✓ | ✓ | |
| Thermostat Cool Setpoint | Feature | ✓ | ||
| Supply Air Fan Runtime | Feature | ✓ | ||
| Presence of Occupants | Feature | ✓ | ||
| EcoBee | Ideal | Euro. House | |
| # Rooms Total | 932 | 227 | 450 |
| # Sources Total | 892 | 202 | 400 |
| # Targets | 40 | 25 | 50 |
| % Targets | 4.3 | 11.0 | 11.1 |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Hyperparameter | LSTM | Transformer | Mamba | xLSTM | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| From | To | Step | From | To | Step | From | To | Step | From | To | Step | |
| Hidden Size | 64 | 256 | 32 | 64 | 256 | 32 | 64 | 256 | 32 | 64 | 256 | 32 |
| # Layers | 2 | 4 | 1 | 2 | 4 | 1 | 2 | 8 | 1 | 2 | 4 | 1 |
| Batch Size | 32 | 128 | 32 | 32 | 128 | 32 | 32 | 128 | 32 | 32 | 128 | 32 |
| Learning Rate | .0001 | .001 | .0001 | .0001 | .001 | .0001 | .0001 | .001 | .0001 | .0001 | .001 | .0001 |
| Dropout | 0.0 | 0.1 | 0.01 | 0.0 | 0.1 | 0.01 | - | - | - | 0.0 | 0.1 | 0.01 |
| Parameter | LSTM | Transformer | Mamba | xLSTM | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ecobee | Ideal | Euro | Ecobee | Ideal | Euro | Ecobee | Ideal | Euro | Ecobee | Ideal | Euro | |
| Hidden Size | 96 | 128 | 192 | 192 | 128 | 192 | 160 | 128 | 96 | 96 | 128 | 64 |
| # Layers | 3 | 3 | 3 | 4 | 3 | 3 | 3 | 4 | 3 | 3 | 3 | 3 |
| Batch Size | 128 | 128 | 96 | 128 | 128 | 128 | 128 | 128 | 96 | 128 | 128 | 128 |
| Use AMP | True | True | True | True | True | True | True | True | True | False | False | False |
| Learning Rate | .0009 | .001 | .001 | .0001 | .0005 | .0004 | .0006 | .0002 | .0002 | .0002 | .0005 | .0005 |
Time Series Forecasting
Time series forecasting predicts future values from ordered observations using statistical, neural, and probabilistic models to support decisions under uncertainty.
See all 854 papers