Research on Anomaly Detection Model for Power Consumption Data Based on Time-Series Reconstruction

The power consumption data in buildings can be viewed as a time series, where outliers indicate unreasonable energy usage patterns. Accurately detecting these outliers and improving energy management methods based on the findings can lead to energy savings. To detect outliers, an anomaly detection m...

Full description

Saved in:
Bibliographic Details
Published inEnergies (Basel) Vol. 17; no. 19; p. 4810
Main Authors Mao, Zhenghui, Zhou, Bijun, Huang, Jiaxuan, Liu, Dandan, Yang, Qiangqiang
Format Journal Article
LanguageEnglish
Published 26.09.2024
Online AccessGet full text

Cover

Loading…
More Information
Summary:The power consumption data in buildings can be viewed as a time series, where outliers indicate unreasonable energy usage patterns. Accurately detecting these outliers and improving energy management methods based on the findings can lead to energy savings. To detect outliers, an anomaly detection model based on time-series reconstruction, AF-GS-RandomForest, is proposed. This model comprises two modules: prediction and detection. The prediction module uses the Autoformer algorithm to build an accurate and robust predictive model for unstable nonlinear sequences, and calculates the model residuals based on the prediction results. Points with large residuals are considered outliers, as they significantly differ from the normal pattern. The detection module employs a random forest algorithm optimized by grid search to detect residuals and ultimately identify outliers. The algorithm’s accuracy and robustness were tested on public datasets, and it was applied to a power consumption dataset of an office building. Compared with commonly used algorithms, the proposed algorithm improved precision by 2.2%, recall by 12.1%, and F1 score by 7.7%, outperforming conventional anomaly detection algorithms.
ISSN:1996-1073
1996-1073
DOI:10.3390/en17194810