Smart City Gnosys

Smart city article details

Title Mitigating Anomalous Electricity Consumption In Smart Cities Using An Ai-Based Stacked-Generalization Technique
ID_Doc 37138
Authors Ali A.; Khan L.; Javaid N.; Bouk S.H.; Aldegheishem A.; Alrajeh N.
Year 2025
Published IET Renewable Power Generation, 19, 1
DOI http://dx.doi.org/10.1049/rpg2.12785
Abstract Energy management and efficient asset utilization play an important role in the economic development of a country. The electricity produced at the power station faces two types of losses from the generation point to the end user. These losses are technical losses (TL) and non-technical losses (NTL). TLs occurs due to the use of inefficient equipment. While NTLs occur due to the anomalous consumption of electricity by the customers, which happens in many ways; energy theft being one of them. Energy theft majorly happens to cut down on the electricity bills. These losses in the smart grid (SG) are the main issue in maintaining grid stability and cause revenue loss to the utility. The automatic metering infrastructure (AMI) system has reduced grid instability but it has opened up new ways for NTLs in the form of different cyber-physical theft attacks (CPTA). Machine learning (ML) techniques can be used to detect and minimize CPTA. However, they have certain limitations and cannot capture the energy consumption patterns (ECPs) of all the users, which decreases the performance of ML techniques in detecting malicious users. In this paper, we propose a novel ML-based stacked generalization method for the cyber-physical theft issue in the smart grid. The original data obtained from the grid is preprocessed to improve model training and processing. This includes NaN-imputation, normalization, outliers' capping, support vector machine-synthetic minority oversampling technique (SVM-SMOTE) balancing, and principal component analysis (PCA) based data reduction techniques. The pre-processed dataset is provided to the ML models light gradient boosting (LGB), extra trees (ET), extreme gradient boosting (XGBoost), and random forest (RF), to accurately capture all consumers' overall ECP. The predictions from these base models are fed to a meta-classifier multi-layer perceptron (MLP). The MLP combines the learning capability of all the base models and gives an improved final prediction. The proposed structure is implemented and verified on the publicly available real-time large dataset of the State Grid Corporation of China (SGCC). The proposed model outperformed the individual base classifiers and the existing research in terms of CPTA detection with false positive rate (FPR), false negative rate (FNR), F1-score, and accuracy values of 0.72%, 2.05%, 97.6%, and 97.69%, respectively. © 2023 The Authors. IET Renewable Power Generation published by John Wiley & Sons Ltd on behalf of The Institution of Engineering and Technology.
Author Keywords losses; smart meters; smart power grids


Similar Articles


Id Similarity Authors Title Published
23957 View0.932Hashim M.; Khan L.; Javaid N.; Ullah Z.; Shaheen I.Enhancing Smart City Functions Through The Mitigation Of Electricity Theft In Smart Grids: A Stacked Ensemble MethodInternational Transactions on Electrical Energy Systems, 2024 (2024)
22880 View0.926Pamir; Javaid N.; Akbar M.; Aldegheishem A.; Alrajeh N.; Mohammed E.A.Employing A Machine Learning Boosting Classifiers Based Stacking Ensemble Model For Detecting Non Technical Losses In Smart GridsIEEE Access, 10 (2022)
25413 View0.924Ali A.; Khan L.; Javaid N.; Aslam M.; Aldegheishem A.; Alrajeh N.Exploiting Machine Learning To Tackle Peculiar Consumption Of Electricity In Power Grids: A Step Towards Building Green Smart CitiesIET Generation, Transmission and Distribution, 18, 3 (2024)
58117 View0.919Arif A.; Alghamdi T.A.; Khan Z.A.; Javaid N.Towards Efficient Energy Utilization Using Big Data Analytics In Smart Cities For Electricity Theft DetectionBig Data Research, 27 (2022)
3567 View0.917Badawi S.A.; Takruri M.; Al-Bashayreh M.G.; Salameh K.; Humam J.; Assaf S.; Aziz M.R.; Albadawi A.; Guessoum D.; ElBadawi I.; Al-Hattab M.A Novel Two-Stage Method To Detect Non-Technical Losses In Smart GridsIET Smart Cities, 6, 2 (2024)
50975 View0.915Gunduz M.Z.; Das R.Smart Grid Security: An Effective Hybrid Cnn-Based Approach For Detecting Energy Theft Using Consumption PatternsSensors, 24, 4 (2024)
19207 View0.908Kabir B.; Qasim U.; Javaid N.; Aldegheishem A.; Alrajeh N.; Mohammed E.A.Detecting Nontechnical Losses In Smart Meters Using A Mlp-Gru Deep Model And Augmenting Data Via Theft AttacksSustainability (Switzerland), 14, 22 (2022)
2991 View0.908Aslam Z.; Javaid N.; Javed M.U.; Aslam M.; Aldegheishem A.; Alrajeh N.A New Clustering-Based Semi-Supervised Method To Restrict The Users From Anomalous Electricity Consumption: Supporting UrbanizationElectrical Engineering, 106, 5 (2024)
8616 View0.903Nandhini N.; Manikandan V.; Elango S.An Interpretable Generalized Additive Neural Networks For Electricity Theft Detection In Smart Cities Using Balanced Data And Intelligent Grid ManagementEnergy and Buildings, 346 (2025)
17767 View0.897Alshehri A.; Badr M.M.; Baza M.; Alshahrani H.Deep Anomaly Detection Framework Utilizing Federated Learning For Electricity Theft Zero-Day CyberattacksSensors, 24, 10 (2024)