Methodological Validation of Machine Learning Models for Non-Technical Loss Detection in Electric Power Systems: A Case Study in an Ecuadorian Electricity Distributor
Open Access
- 2 April 2025
- journal article
- Published by MDPI AG in Applied Sciences
- Vol. 15 (7)
Abstract
Detecting fraudulent behaviors in electricity consumption is a significant challenge for electric utility companies due to the lack of information and the complexity of both constructing patterns and distinguishing between regular and fraudulent consumers. This study proposes a methodology based on data analytics that, through the processing of information, generates lists of suspicious metering systems for fraud. The database provided by the electrical distribution company contains 266,298 records, of which 15,013 have observations for possible frauds. One of the challenges lies in managing the different variables in the training data and choosing appropriate evaluation metrics. To address this, a balanced database of 27,374 records was used, with an equitable division between fraud and non-fraud cases. The features used in the identification and construction of patterns for non-technical losses were crucial, although additional techniques could be applied to determine the most relevant variables. Following the process, several popular classification models were trained. Hyperparameter optimization was performed by using grid search, and the models were validated by using cross-validation techniques, finding that the ensemble methods Categorical Boosting (CGB), Light Gradient Boosting Machine (LGB) and Extreme Gradient Boosting (EGB) are the most suitable for identifying losses, achieving high performance and reasonable computational cost. The best performance was compared by measuring accuracy (Acc) and F1 score, which allows for the evaluation of various techniques and is a combination of two metrics: detection rate and precision. Although CGB achieved the best performance in terms of accuracy (Acc = 0.897) and F1 (0.894), it was slower than LGB, so it is considered the ideal classifier for the data provided by the electrical distribution company. This research study highlights the importance of the techniques used for fraud detection in electricity metering systems, although the results may vary depending on the characteristics of the training, the number of variables, and the available hardware resources.Keywords
Funding Information
- Salesian Polytechnic University (MCIN/AEI/10.13039/501100011033/)
- European Union NextGenerationEU/PRTR (MCIN/AEI/10.13039/501100011033/)
This publication has 90 references indexed in Scilit:
- Machine learning classification algorithms and anomaly detection in conventional meters and Tunisian electricity consumption large datasetsComputers and Electrical Engineering, 2021
- Hyperparameter optimization in learning systemsJournal of Membrane Computing, 2019
- Policy considerations for limiting electricity theft in the developing countriesEnergy Policy, 2019
- Electricity theft: Analysis of the underlying contributory factors in GhanaEnergy Policy, 2018
- Big data analytics: an aid to detection of non-technical losses in power utilitiesComputational Management Science, 2018
- Review of non-technical loss detection methodsElectric Power Systems Research, 2018
- Unsupervised non-technical losses identification through optimum-path forestElectric Power Systems Research, 2016
- The determinants of electricity theft: An empirical analysis of Indian statesEnergy Policy, 2016
- Electricity theft as a relational issue: A comparative look at Zanzibar, Tanzania, and the Sunderban Islands, IndiaEnergy for Sustainable Development, 2012
- Evaluating Electricity Theft Detectors in Smart Grid Networks2012