Back to Search Start Over

Power Consumption Predicting and Anomaly Detection Based on Transformer and K-Means

Authors :
Junfeng Zhang
Hui Zhang
Song Ding
Xiaoxiong Zhang
Source :
Frontiers in Energy Research, Vol 9 (2021)
Publication Year :
2021
Publisher :
Frontiers Media S.A., 2021.

Abstract

With the advancement of technology and science, the power system is getting more intelligent and flexible, and the way people use electric energy in their daily lives is changing. Monitoring the condition of electrical energy loads, particularly in the early detection of aberrant loads and behaviors, is critical for power grid maintenance and power theft detection. In this paper, we combine the widely used deep learning model Transformer with the clustering approach K-means to estimate power consumption over time and detect anomalies. The Transformer model is used to forecast the following hour’s power usage, and the K-means clustering method is utilized to optimize the prediction results, finally, the anomalies is detected by comparing the predicted value and the test value. On real hourly electric energy consumption data, we test the proposed model, and the results show that our method outperforms the most commonly used LSTM time series model.

Details

Language :
English
ISSN :
2296598X
Volume :
9
Database :
Directory of Open Access Journals
Journal :
Frontiers in Energy Research
Publication Type :
Academic Journal
Accession number :
edsdoj.2f2a1f79118146d9a7533755f15e52bb
Document Type :
article
Full Text :
https://doi.org/10.3389/fenrg.2021.779587