Publikationer
Abstract
The growing population and demand for new public buildings contribute to increased energy consumption and greenhouse emienisdans. In Sweden, the largest amount of energy is consumed in school buildings, i.e., where schools form the highest number of public properties (30 million m 2 ). In total, schools consumed 4 222 GWh of district heating and about 3 GWh of electricity for heating and other purposes in 2020. These figures lead to the realization of the need to apply effective measures to meet the European Green Deal target for 2030. Accurately forecasting energy usage is important for all stakeholders to conduct economic analysis and optimize decision-making. It is equally important in maintenance operations to allocate resources and enable the staff and students to adjust their behaviours and address the issues in buildings where peak forecasts occur. This paper develops and evaluates a power and district heating consumption for a single day and multiple days forecasting using Multivariate Recurrent Neural Network (RNN) -Long-Short term memory (LSTM) and convolutional neural networks (CNNs) and Autoencoders (AE), using daily real consumption data of six public schools provided by Skelefteå municipality in Sweden. The experimental results demonstrate that the hybrid model CNN-LSTM has achieved good accuracy compared to others, with RMSE and nRMSE error between 18%-25% and 5%-6% for electricity, respectively, and between 20%-30% RMSE and 5% nRMSE for district heating.
A Transfer Learning Approach to Create Energy Forecasting Models for Building Fleets
Monica Vasquez Torres, Zahraa Shahid, Karan Mitra, Saguna Saguna, and Christer Åhlund
Abstract
Abstract
Abstract
Abstract
Abstract
Abstract
Abstract
Building Management Systems (BMS) are essential for modern smart buildings, managing services such as HVAC, lighting, and access control. However, their reliance on open communication protocols like BACnet makes them vulnerable to faults and cyberattacks. Detecting anomalies in BMS traffic is therefore important for maintaining both security and reliability.
This thesis investigates the use of machine learning, specifically the Isolation Forest algorithm, for anomaly detection in BMS network traffic. Five weeks of real traffic data were collected from a live BMS using a Raspberry Pi configured as a passive sniffer. The captured pcap files were converted into CSV format, with features such as IP addresses, protocols, and packet lengths extracted for analysis. Isolation Forest was then trained and tested under four time-window configurations (1h, 6h, 24h, 7d) to evaluate how temporal granularity influences detection outcomes.
The results show that the algorithm successfully modeled the stable and repetitive baseline of BMS communication. Shorter windows identified more fluctuations, demonstrating higher sensitivity, while longer windows produced highly stable baselines but flagged few or no anomalies. No anomalies were strongly associated with specific protocols, and the overall traffic composition remained consistent across the dataset.
The findings highlight that even in the absence of labeled data, unsupervised learning can provide valuable insights into BMS traffic. While anomalies were limited in this case, the study demonstrates the potential of Isolation Forest as a lightweight baseline tool for anomaly detection, and it underlines the trade-off between sensitivity and stability in configuring such systems.