Artificial intelligence methods for anomaly detection in energy consumption

Other authors

Universitat Politècnica de Catalunya. Departament d'Enginyeria Telemàtica

Universitat Politècnica de Catalunya. SISCOM - Smart Services for Information Systems and Communication Networks

Publication date

2025



Abstract

Non-technical losses represent a significant challenge for energy distribution companies due to their economic impact. These losses typically arise from irregularities at supply points and fraudulent customer behavior. In Cuba, electricity meter readings are performed manually, and consumption data is processed using spreadsheets that combine weighted criteria to generate alerts for potential anomalies. This procedure is prone to vulnerabilities such as manual data entry errors, incorrect key assignments, and human mistakes made by field readers, which compromise the reliability of the analysis. In this paper we present an anomaly detection system for electricity consumption, developed using artificial intelligence techniques to identify irregularities based on monthly reports from residential users. Various machine learning methods were evaluated, with eXtreme Gradient Boosting (XGBoost) standing out for its effectiveness in handling imbalanced datasets. Additionally, a web application was implemented using Flask to process consumption data and provide real-time predictions, optimizing the management of nontechnical losses. The results confirm that, with real consumption data, the algorithms achieve high accuracy in fraud detection, even in scenarios with severe class imbalance, validating the robustness of the system. Beyond its application in the energy sector, this solution is adaptable to other contexts requiring anomaly detection in transactional data. This proposal contributes to reducing economic losses, improving operational efficiency, and laying the groundwork for future research in intelligent monitoring systems.


This work was partially supported by the Spanish Government under this research project funded by MCIN/AEI/10.13039/501100011033: DISCOVERY PID2023148716OB-C32. Also, by the project MultiMO TSI-1001232024-0060; and by the predoctoral scholarship associated with the "Generación de Conocimiento" Projects, Call 2022, PRE2021-099830. Also, by the Generalitat de Catalunya AGAUR grant "2021 SGR 01413".


Peer Reviewed


Postprint (published version)

Document Type

Conference lecture

Language

English

Publisher

Institute of Electrical and Electronics Engineers (IEEE)

Related items

https://ieeexplore.ieee.org/document/11308730

info:eu-repo/grantAgreement/AEI/Plan Estatal de Investigación Científica y Técnica y de Innovación 2021-2023/PID2023-148716OB-C32/ES/DISCOVERY: PROTOCOLOS EN REDES DE COMUNICACIONES Y PRIVACIDAD DE DATOS/

info:eu-repo/grantAgreement/PLAN DE RECUPERACIÓN, TRANSFORMACIÓN Y RESILIENCIA/TSI-100123-2024-060

Recommended citation

This citation was generated automatically.

Rights

Restricted access - publisher's policy

This item appears in the following Collection(s)

E-prints [72263]