Research on Anomaly Detection Model for Power Consumption Data Based on Time-Series Reconstruction
Zhenghui Mao,
Bijun Zhou,
Jiaxuan Huang,
Dandan Liu () and
Qiangqiang Yang
Additional contact information
Zhenghui Mao: Longquan Power Supply Company, State Grid Zhejiang Electric Power Co., Ltd., Longquan 323799, China
Bijun Zhou: Longquan Power Supply Company, State Grid Zhejiang Electric Power Co., Ltd., Longquan 323799, China
Jiaxuan Huang: Longquan Power Supply Company, State Grid Zhejiang Electric Power Co., Ltd., Longquan 323799, China
Dandan Liu: School of Electronic and Information Engineering, Shanghai University of Electric Power, Shanghai 201306, China
Qiangqiang Yang: School of Electronic and Information Engineering, Shanghai University of Electric Power, Shanghai 201306, China
Energies, 2024, vol. 17, issue 19, 1-12
Abstract:
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.
Keywords: time series; deep learning; outliers; anomaly detection; energy-saving potential (search for similar items in EconPapers)
JEL-codes: Q Q0 Q4 Q40 Q41 Q42 Q43 Q47 Q48 Q49 (search for similar items in EconPapers)
Date: 2024
References: View complete reference list from CitEc
Citations:
Downloads: (external link)
https://www.mdpi.com/1996-1073/17/19/4810/pdf (application/pdf)
https://www.mdpi.com/1996-1073/17/19/4810/ (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:gam:jeners:v:17:y:2024:i:19:p:4810-:d:1485922
Access Statistics for this article
Energies is currently edited by Ms. Agatha Cao
More articles in Energies from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().