Next Article in Journal
Managerial and Legal Frameworks in Energy Sector Transformation: A Key Area Review
Previous Article in Journal
Efficiency of MPC Framework Cast to a Linear Programming Problem for a Servo Drive with Model Uncertainty
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

An Ensemble Learning Framework for Cyber Attack and Fault Discrimination in Smart Grids

Laboratory of Engineering and Innovation of Advanced Systems, Faculty of Sciences and Technology, Hassan 1st University, Settat 26000, Morocco
*
Author to whom correspondence should be addressed.
Energies 2025, 18(23), 6305; https://doi.org/10.3390/en18236305 (registering DOI)
Submission received: 23 October 2025 / Revised: 20 November 2025 / Accepted: 28 November 2025 / Published: 30 November 2025
(This article belongs to the Section A1: Smart Grids and Microgrids)

Abstract

In recent years, smart grid security has gained considerable attention. Numerous studies have proposed techniques to detect cyber-attacks using sensor data; however, limited attention has been given to distinguishing cyber intrusions from physical faults in the power grid. In this paper, we present a supervised intrusion–disturbance classification pipeline to accurately differentiate physical faults from cyber-attacks. First, we augment raw channels with relation-centered features to emphasize relative contrasts and suppress common-mode effects, then we apply embedded feature selection via LightGBM to retain a compact, informative subset. Class imbalance is addressed through class weighting, and an Extremely Randomized Trees classifier serves as the core learner. Experiments on 15 datasets cover both binary (Attack vs. Natural) and multiclass (Attack/Natural/NoEvents) regimes. The approach attains 98.44% mean accuracy for the binary task and 98.22% for the multiclass task, demonstrating consistent discrimination between cyber-attacks, physical faults, and normal operation. The results indicate that relational features combined with embedded selection and a tree ensemble offer a practical, accurate alternative to heavier deep models for smart-grid monitoring.
Keywords: smart grid; cyber attack detection; fault discrimination; machine learning; intrusion detection; deep learning smart grid; cyber attack detection; fault discrimination; machine learning; intrusion detection; deep learning

Share and Cite

MDPI and ACS Style

Naqqad, A.; Boulal, A.; Habachi, R. An Ensemble Learning Framework for Cyber Attack and Fault Discrimination in Smart Grids. Energies 2025, 18, 6305. https://doi.org/10.3390/en18236305

AMA Style

Naqqad A, Boulal A, Habachi R. An Ensemble Learning Framework for Cyber Attack and Fault Discrimination in Smart Grids. Energies. 2025; 18(23):6305. https://doi.org/10.3390/en18236305

Chicago/Turabian Style

Naqqad, Anass, Abdellah Boulal, and Rachid Habachi. 2025. "An Ensemble Learning Framework for Cyber Attack and Fault Discrimination in Smart Grids" Energies 18, no. 23: 6305. https://doi.org/10.3390/en18236305

APA Style

Naqqad, A., Boulal, A., & Habachi, R. (2025). An Ensemble Learning Framework for Cyber Attack and Fault Discrimination in Smart Grids. Energies, 18(23), 6305. https://doi.org/10.3390/en18236305

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop