Keywords: Occupant-Centric Building Operation, Fault Detection and Diagnosis (FDD), Machine Learning, Building Performance Monitoring

 

Sara Juul Rhiger[1], Jørn Toftum[2]*, Davide Cali[3],4, Jan Kloppenborg Møller[4], Shahab Tohidi4, Angela Simone[5], Georgi Pavlov5, Luca Zaniboni2, Mariya Bilovarova2, Rune Korsholm Andersen2

 

Fault detection and diagnosis in buildings typically rely on expert assessments and target components in HVAC systems. Occupant-related faults, such as simultaneous heating and excessive ventilation caused by longer-duration window opening, can be difficult to detect but may significantly affect both energy use and occupant comfort. Based on simulations and measurements in a building, this study used a data-driven approach to detect occupant-related faults and compare its performance with that of an expert panel. Overall, the study indicates that machine-learning-based fault detection and diagnosis can detect occupant-centric faults with reasonable performance.

Improving the operational efficiency of buildings is an important pathway toward reducing energy use and carbon emissions. Although Building Management Systems (BMS) continuously collect large amounts of data, many buildings still operate below their intended performance due to equipment faults, incorrect control settings, sensor failures, or inappropriate occupant behaviour (Andersen 2024). Traditional fault detection and diagnosis (FDD) methods in buildings are predominantly rule-based and depend heavily on predefined thresholds and expert interpretation. While effective for identifying major faults, they often fail to detect smaller but persistent problems that nevertheless increase energy use or reduce occupant comfort.

The RePUP (Real Time Performance of Buildings) project explores how buildings can actively adapt their performance by combining user input with continuous monitoring of indoor conditions, system operation, and outdoor climate (repup.dk). The initiative brings together 11 partners from academia, manufacturers, automation, and municipalities. After a preparation stage, tests of a human-in-the-loop solution in a school, five homes, and a kindergarten are carried out. A key activity of the study is to identify and address inappropriate situations related to the operation of buildings, including occupant-driven and technical issues. These may comprise simultaneous heating and excessive natural ventilation due to open windows during the heating season, thermostats set too high or too low, or sensor drift or miscalibration.

Recent advances in machine learning have created opportunities for automated fault detection and diagnosis (AFDD). These methods can help identify operational faults more systematically, but they also depend on large, labelled datasets that are difficult and expensive to obtain from real buildings. Simulation-based training data therefore offers an attractive alternative, but it remains uncertain how well the ability of such models trained on simulated data can transfer to real-world conditions.

The aim of this task activity was therefore to investigate whether machine-learning models can be trained to detect occupant-related faults and successfully transfer their performance to real-world building environments.

Methodology

The study developed supervised machine-learning models using Random Forest (RF) and Extreme Gradient Boosting (XGBoost), which are two widely adopted algorithms. Four fault types were considered:

·         Open window during the heating season while heating remains active.

·         Heating shut-down corresponding to a thermostat setting of 0°C.

·         High thermostat setpoint, above 25°C during heating season.

·         Uncalibrated CO₂ sensor, producing unrealistically low readings.

The first three faults were selected because they are common occupant-related behaviours that significantly affect building performance. The CO₂ sensor fault was included because sensor calibration problems frequently occur in practice and may influence both indoor environmental quality and building control. Both models aimed at detecting one fault at a time and models considering multiple, simultaneous fault types were investigated.

Simulated Data

Training and validation datasets were generated using IDA ICE building performance simulation software. Data from building zone 1 (Figure 1) was used for training, while the geometrically and operationally different zone 8 was used for validation. The simulations generated one year of hourly data comprising indoor temperature, relative humidity, CO₂ concentration, and heating consumption. Faults were artificially introduced into the simulations at predefined times to create labelled datasets. Performance was evaluated using accuracy, precision, recall, and F1-score.

Figure 1. Building geometry used for generating synthetic training and validation datasets.

Real-World Testing

To evaluate transferability, the models were tested using measurements from a 35 m² meeting room in an office building. During a 10-day monitoring campaign, two faults were intentionally introduced:

·         Elevated thermostat setpoint of 27°C

·         Open window while heating remains active

Human Benchmark

The study additionally compared the performance of machine-learning with that of human experts. Eleven professionals with backgrounds in energy management, building operation, HVAC engineering, BMS consulting, and indoor climate were asked to identify faults from simplified visualizations of temperature and energy data. Their fault detection performance was then compared with the machine-learning models.

Results

Performance assessed with simulated data

Both RF and XGBoost achieved strong results on the simulated datasets. The Random Forest multiclass model generally demonstrated the most stable and consistent performance when transferred from the training zone to the validation zone. False-positive rates were typically low, indicating reliable fault detection.

The uncalibrated CO₂ sensor fault was identified almost perfectly across all performance metrics because the erroneous sensor readings produced a very distinct signal. Occupant-related faults were also detected successfully, although detection was often delayed during transition periods immediately after fault introduction. For example, when a thermostat setpoint was lowered, the indoor temperature required time to respond before the fault became clearly detectable.

Performance assessed with measurement data

Results became more mixed when models were applied to measured data. Interestingly, binary XGBoost models outperformed Random Forest in the real-world test, despite RF performing best on simulated data. The binary XGBoost model successfully detected high-setpoint events with very high precision and low uncertainty.

Open-window faults proved more challenging. Neither algorithm was able to detect a short-duration window-opening event that occurred on 19 March. This was likely due to mild outdoor conditions and the lack of zone-level heating measurements, which reduced the visibility of the fault. Nevertheless, most other introduced faults were successfully identified by at least one of the machine-learning models.

Comparison with Human Experts

Figure 2 indicates that the machine-learning models generally outperformed human assessments. Human experts occasionally detected subtle events that the algorithms missed, but they also produced substantially more false positives.

Figure 2. Faults implemented during the heating season with detection by the RF multiclass model and an expert panel.

Discussion and implications

This study demonstrates that relatively simple supervised machine-learning models can effectively detect occupant-related faults in buildings and that models trained on simulated data can, under certain conditions, be transferred to real-world applications. Random Forest performed best for simulated multiclass fault diagnosis, whereas binary XGBoost models showed greater robustness when confronted with real measurements. No single algorithm emerged as universally superior as performance depended on data availability, fault type, and application context.

Overall, the study indicates that machine-learning-based FDD can detect occupant-centric faults with reasonable performance. However, broader validation across building types, operating conditions, and seasons is still needed. Important future research directions include handling simultaneous faults, improving transferability between buildings, and combining data-driven methods with interpretable rule-based approaches.

Acknowledgement

“RePUP – Real-time performance upgrade of buildings” has received funding from Innovation Fund Denmark under Investment Agreement No. 2079-00030B.

Reference

K. H. Andersen (2024). “Rethinking building performance during the operational phase: Towards increased implementation and adoption of system and occupant-centric assessments,” PhD.-thesis, Aalborg University. https://vbn.aau.dk/en/publications/rethinking-building-performance-during-the-operational-phase-towa (Accessed 18-08-2026).



[1]Wihlborgs A/S

[2]Technical University of Denmark, Department of Environmental and Resource Engineering.
* Corresponding author: Jørn Toftum jtof@dtu.dk

[3]Climify

[4]Technical University of Denmark, Department of Applied Mathematics and Computer Science

[5]Panasonic R&D Center, Germany, BmbH

Sara Juul Rhiger, Jørn Toftum, Davide Cali, Jan Kloppenborg Møller, Shahab Tohidi, Angela Simone, Georgi Pavlov, Luca Zaniboni, Mariya Bilovarova, Rune Korsholm AndersenPages 27 - 29

Stay Informed

Follow us on social media accounts to stay up to date with REHVA actualities

0

0 product in cart.products in cart.