Litcius/Paper detail

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

Junfeng Zhang, Hui Zhang, Song Ding, Xiaoxiong Zhang

2021Frontiers in Energy Research67 citationsDOIOpen Access PDF

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.

Topics & Concepts

Cluster analysisTransformerAnomaly detectionComputer sciencePower consumptionElectric power systemPower gridElectric powerEnergy consumptionGridData miningReliability engineeringArtificial intelligencePower (physics)EngineeringElectrical engineeringVoltageMathematicsPhysicsGeometryQuantum mechanicsEnergy Load and Power ForecastingElectricity Theft Detection TechniquesSmart Grid Energy Management