Resumen
In the smart grid (SG), user consumption data are increasing very rapidly. Some users consume electricity legally, while others steal it. Electricity theft causes significant damage to power grids, affects power supply efficiency, and reduces utility revenues. This study helps utilities reduce the problems of electricity theft, inefficient electricity monitoring, and abnormal electricity consumption in smart grids. To this end, an electricity theft dataset from the state grid corporation of China (SGCC) is employed and this study develops a novel model, a mixture of convolutional neural network and gated recurrent unit (CNN-GRU), for automatic power theft detection. Moreover, the hyperparameters of the proposed model are tuned using a meta-heuristic method, the cuckoo search (CS) algorithm. The class imbalance problem is solved using the synthetic minority oversampling technique (SMOTE). The clean data are trained and then tested with the proposed classification. Extensive simulations are performed based on real energy consumption data. The simulated results show that the proposed theft detection model (CNN-GRU-CS) solved the theft classification problem better than other approaches in terms of effectiveness and accuracy by 10% on average. The calculated accuracy of the proposed method is 92% and the precision is 94%.