Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Novel glassbox based explainable boosting machine for fault detection in electrical power transmission system

Abstract

The reliable operation of electrical power transmission systems is crucial for ensuring consumer’s stable and uninterrupted electricity supply. Faults in electrical power transmission systems can lead to significant disruptions, economic losses, and potential safety hazards. A protective approach is essential for transmission lines to guard against faults caused by natural disturbances, short circuits, and open circuit issues. This study employs an advanced artificial neural network methodology for fault detection and classification, specifically distinguishing between single-phase fault and fault between all three phases and three-phase symmetrical fault. For fault data creation and analysis, we utilized a collection of line currents and voltages for different fault conditions, modelled in the MATLAB environment. Different fault scenarios with varied parameters are simulated to assess the applied method’s detection ability. We analyzed the signal data time series analysis based on phase line current and phase line voltage. We employed SMOTE-based data oversampling to balance the dataset. Subsequently, we developed four advanced machine-learning models and one deep-learning model using signal data from line currents and voltage faults. We have proposed an optimized novel glassbox Explainable Boosting (EB) approach for fault detection. The proposed EB method incorporates the strengths of boosting and interpretable tree models. Simulation results affirm the high-efficiency scores of 99% in detecting and categorizing faults on transmission lines compared to traditional fault detection state-of-the-art methods. We conducted hyperparameter optimization and k-fold validations to enhance fault detection performance and validate our approach. We evaluated the computational complexity of fault detection models and augmented it with eXplainable Artificial Intelligence (XAI) analysis to illuminate the decision-making process of the proposed model for fault detection. Our proposed research presents a scalable and adaptable method for advancing smart grid technology, paving the way for more secure and efficient electrical power transmission systems.

Introduction

In the era of Industry 4.0, there is a continuous increase in the demand for electrical power. To accommodate the growing need for energy, there is an increase in power generation facilities. These facilities are linked together via an intricate network known as the power system network (PSN), which is composed of three primary elements: generation of power, its transmission, and distribution [1]. Power is transported between locations via transmission lines. The utilization of high-capacity electrical power plants and the concept of a synchronized grid involving geographically dispersed power sources [2] necessitates the rapid detection of faults and the operation of protective equipment to maintain a stable power system. The protection system employed for transmission lines can also trigger other relays to safeguard the power system against disruptions [3]. It is essential to maintain a stable and dependable power system to mitigate its effects on sectors such as industries, commerce, transportation, and residential areas. Thus, ensuring uninterrupted and secure power transmission is of utmost importance for a country’s economic activities.

The capability of transmission lines to transfer power can often be compromised by open and short-circuit faults [4]. These faults in the power system can arise from natural events such as lightning, strong winds, and earthquakes or accidents like trees falling, vehicle collisions, and plane crashes [5]. Natural events can lead to short circuits, which may manifest as phase-to-phase faults, single-phase-to-ground faults, phase-to-phase-to-ground faults, or three-phase faults [6]. In electrical systems with overhead lines, single-phase-to-ground faults are most commonly triggered by transient high voltages induced by lightning and tree contact due to wind, as shown in Fig 1. Additionally, the early stages of faults can be initiated by partial discharge (PD) activities in power system components.

thumbnail
Fig 1. The single line workflow analysis in electrical transmission.

https://doi.org/10.1371/journal.pone.0309459.g001

The repercussions of faults include a significant increase in current flow, resulting in elevated heat generation in the conductors, which is a primary cause of damage [7]. The actual fault magnitude depends on the resistance to current flow and the varied impedance between the fault and the power supply source [8]. This total impedance encompasses fault resistance, conductor line resistance and reactance, transformer impedance, circuit reactance, and generating station impedance. Conventional distance relay settings are traditionally established based on a predetermined network configuration, considering the worst possible fault scenarios.

A short-circuit breakdown causes a massive loss of power [9]. Accurate identification of the fault type and its exact position is crucial for maintaining stability. Any malfunction in the electrical system can lead to severe disruptions and financial losses. When faults arise within the power system, notable variations in system parameters like current overload, power factor, power imbalance, frequency, impedance, and the direction of power or current commonly occur.

Utilizing pattern recognition methods can prove advantageous for identifying abnormalities as well as normal conditions within electrical power systems [10]. Furthermore, this approach facilitates the identification of the specific phase in a three-phase electrical system that is under distress. The application of Artificial Neural Networks (ANNs) has shown remarkable efficiency in detecting anomalies and categorizing faults through pattern recognition techniques [4]. Many ANN-based algorithms have been created, tested, and effectively used in electrical power systems [11]. Within the present study, a new ANN-based technique for quick and reliable defect recognition and categorization is proposed. It is beneficial as it is a computing methodology that can readily tackle nonlinear problems. The challenges that can be addressed when there are a lot of details present. The numerous electrical transient system defects are represented and simulated, and an ANN-based approach for detecting these defective sequences is devised. The suggested algorithm’s efficacy is examined by recreating various kinds of errors, and the findings are favourable.

The primary contributions of our research study are followed as:

  • The line currents and voltage fault data modeled in MATLAB for efficient electrical fault analysis within a power system. We analyzed the Signal Data Time Series Analysis based on Phase line current and Phase line voltage. We have balanced the dataset using SMOTE-based data oversampling.
  • A novel Optimized Glassbox-based Explainable Boosting approach is proposed for fault detection in electrical power transmission systems. The proposed EB method combines the strengths of boosting and interpretable tree models. Additionally, we applied Explainable Artificial Intelligence (XAI) analysis to provide insights into how the proposed model makes decisions for fault detection.
  • We have employed four recent machine learning models and a deep learning model. The hyperparameter optimization and k-fold validations are performed for fault detection performance enhancement and validation. We also determined the computational complexity of applied models for fault detection.

The remaining research body is assembled as follows: Section “Literature Analysis” contains the electrical faults-related work analysis. Section “Proposed Methodology” is based on the study methods for fault detection. Section “Results and discussions” provides the results validations and detailed discussion. The study is summed up in Section “Conclusions”.

Literature analysis

The analysis of related work in research on fault detection in electrical power transmission systems with machine learning is critical for establishing the contextual framework and understanding the existing efforts in the field. A considerable amount of research has been conducted on the utilization of machine learning methods to identify faults within power systems, emphasizing the need for robust and efficient methodologies to enhance the reliability of electrical grids. Some studies have concentrated on feature engineering and selection approaches to optimize the performance results of these algorithms in detecting faults, as shown in Table 1.

thumbnail
Table 1. The state of art research studies analysis for fault detection in electrical power transmission systems.

https://doi.org/10.1371/journal.pone.0309459.t001

In this [11] study, ANNs were employed for detecting and categorizing faults in a three-phase transmission line system, thereby enhancing power system reliability. The method relies on the normalization of a collection of currents and voltages as inputs, derived from their pre-fault values. Different fault types, such as double-line-to-ground, line-to-line, and symmetrical three-phase faults, are individually analyzed using dedicated ANNs. Simulations are conducted in MATLAB’s Simulink with the Sim Power Systems Toolbox. The proposed approach demonstrates optimistic results with a 78% accuracy score, showcasing the robust generalization capability of ANNs. Achieving notable accuracy, the ANN models exhibit effectiveness even with a limited 20% training data volume. The method is proven to accurately detect and classify various faults, including random vectors introduced anywhere in the system. In summary, the developed ANN model successfully localizes and classifies faults in a three-phase transmission line system.

In the study [12], the researchers explored the utilization of neural network applications specifically for fault diagnosis and detection, focusing on their implementation in engineering-related systems. Utilizing a dataset derived from electrical systems, the study aimed to construct an ANN methodology tailored for efficient fault diagnosis. The authors proposed an ANN framework designed to enhance fault classification accuracy. The findings of the research indicated that the ANN approach achieved a performance score of approximately 80%. However, this level of accuracy is considered relatively low, and it is associated with high error rates, suggesting a need for further optimization of the neural network model to improve its diagnostic capabilities in engineering applications.

In the study [15], a machine learning-based hybrid approach aimed at detecting transmission line faults in power systems. The research utilized data across different Signal-to-Noise Ratios (SNRs) to carry out the experiments. They proposed a novel hybrid technique, termed TSVD-HUARPANN, for fault detection. The experimental results of this study demonstrated that the proposed approach achieved an accuracy score of 98%, indicating a moderate level of precision in fault detection. However, there is potential for further enhancing performance by incorporating more advanced techniques, suggesting that while the results are promising, there is still scope for improvement in the methodology.

In the study [14], an innovative method for fault localization and classification in power transmission lines was introduced, leveraging an intelligent approach. The research capitalized on analyzing incomplete and noisy data drawn from a vast array of transmission and distribution lines. The use of an Artificial Neural Network (ANN) has been proposed as a method to accurately classify and pinpoint faults within the power transmission infrastructure. Achieving an 84% accuracy rate in fault detection through their method. However, this level of performance, while notable, suggests there is significant room for improvement, particularly in enhancing the detection capabilities for critical fault identification in such systems. This indicates a potential avenue for further research aimed at refining the fault detection process to ensure more reliable and efficient power transmission systems.

In the study [13], use of machine learning-based approaches to predict line trip faults in power systems. Implemented deep learning-based Long Short-Term Memory (LSTM) networks along with Support Vector Machine (SVM) models for efficient fault detection. The research comprised datasets comprising current, voltage, and active power measurements to develop and validate the proposed methods. The results scores of this research indicated that the combined use of LSTM networks and SVM models achieved a remarkable fault detection accuracy rate of 97%. Despite the high performance, there remains potential for further enhancements in detection accuracy, suggesting that the field could benefit from continued research and development to optimize these predictive models.

Research gaps and limitations

We have identified the following research gaps through the above literature analysis:

  • In current literature, classical ANN-based approaches were built for the detection of electrical faults in transmission systems such as linear SVM and tree-based models.
  • There is still a need for performance enhancement for critical electrical fault detection in transmission systems. Moderate performance accuracy of 98% in literature is achieved, however, the 2% error still exists, which can be further overcome by advanced machine learning models.
  • Current and voltages signals data patterns were not identified to apply appropriate machine learning approaches,

Proposed methodology

In this section, the materials and methods are meticulously outlined to detail the comprehensive approach undertaken for detecting electrical faults in power transmission systems. This involved utilizing line currents and voltage fault data, which is carefully curated to ensure it represented a comprehensive sample of the population under study, as shown in abstract Fig 2.

thumbnail
Fig 2. The proposed electrical fault detection abstract workflow analysis.

https://doi.org/10.1371/journal.pone.0309459.g002

Fig 3 illustrates our proposed innovative workflow architecture for electrical fault detection in power systems. Initially, data based on line currents and voltage signal values from transmission model simulations are utilized to commence research experiments. The line currents and voltage fault signal data is analyzed using a time-series signal space analysis, which infers the patterns during electrical faults. Then, the formatted dataset is split into train (80%) and test (20%) portions. We have trained several advanced artificial intelligence methods and evaluated them using the testing dataset. We have tuned the hyperparameters of the applied methods to enhance electrical fault detection. The best-performing artificial intelligence approach is then utilized in real-time for the detection of electrical faults in a power transmission system.

thumbnail
Fig 3. The proposed electrical fault detection stepwise workflow analysis.

https://doi.org/10.1371/journal.pone.0309459.g003

Phase 1: Line currents and voltages faults data

This research utilized a benchmark dataset [11, 17], comprising a collection of line currents and voltages under various fault conditions in the power transmission system. The data were modelled in MATLAB to simulate fault analysis within a power system framework. The modelled power system incorporates four generators, each with a voltage of 11 × 103 V, positioned in pairs at both ends of the line transmission. The dataset is based on 12,001 transmission line data points. Transformers are also included in the power system to facilitate the simulation and analysis of numerous faults occurring at the middle of the line transmission.

The dataset was collected and recorded, detailing the measured line currents and line voltages at the output side of the power system. This collection encompasses nearly 12,000 data points, subsequently labelled as either ‘fault’ or ‘no fault’. The simulation inputs are designated as Phase A line current (Ia), Phase B line current (Ib), Phase C line current (Ic), Phase A line voltage (Va), Phase B line voltage (Vb), and Phase C line voltage (Vc). The outputs are categorized as 0 (No fault) or 1 (Fault present) in the power transmission system, as shown in Table 2.

thumbnail
Table 2. Different types of faults analysis in the three-phase transmission line in the dataset.

https://doi.org/10.1371/journal.pone.0309459.t002

Phase 2: Signal data time series analysis

We have analyzed the signal data for faults over the transmission line. The analysis of voltage and current over time, during a fault or no-fault in electrical power transmission systems, is shown in Fig 4. The voltage signals over time are depicted in Fig 4(a). This analysis indicates that when Va voltage values are in the range of -0.6 to 0.6, there is no fault. However, when the Va is near 0.0, it means there is a fault over the transmission line. Similarly, this applies to Vb and Vc. The current signals over time are depicted in Fig 4(b). The analysis also shows that when Ia current values are near 0.0, there is no fault. However, when the Ia is in the range of -750 to 750, it means there is a fault over the line transmission. A similar pattern is observed for Ib and Ic.

thumbnail
Fig 4. The voltage and current analysis overtime during a fault or not fault in electrical power transmission systems.

https://doi.org/10.1371/journal.pone.0309459.g004

Phase 3: SMOTE based data oversampling

After analyzing the signal data, we have determined that the dataset is unbalanced, as illustrated in Figure Fig 5(a). Then, we employed a well-known dataset oversampling technique, the Synthetic Minority Over-sampling Technique (SMOTE) [18]. The SMOTE approach, which focuses on data oversampling of line currents and voltage faults, emerges as a pivotal method for enhancing fault detection accuracy in electrical power transmission systems. By addressing the imbalance in datasets, where instances of faults are significantly underrepresented compared to normal operation data, SMOTE facilitates the generation of synthetic samples. The balanced dataset, after applying the SMOTE approach, is illustrated in Fig 5(b).

thumbnail
Fig 5. The fault class distribution analysis before and after balancing.

https://doi.org/10.1371/journal.pone.0309459.g005

Phase 4: Signal data splitting

The signal data is then split to conduct further research experiments. We used a splitting ratio of 80:20. The dataset is divided into train (80%) and test (20%) portions. This research process is fundamental in avoiding overfitting, ensuring that the model can generalize well to new, unseen data by training the model on one subset of the data while validating and testing its performance on other subsets.

Phase 5: Applied artificial intelligence methods

Machine learning methods play a pivotal role in enhancing fault detection capabilities within electrical power transmission systems. By leveraging advanced algorithms [1921], these systems can analyze vast datasets in real time, identifying subtle deviations from normal operating conditions. This proactive approach enables swift and accurate detection of potential faults, minimizing downtime and ensuring the reliability of power transmission networks.

  • Random Forest (RF): The RF method for Fault Detection in Electrical Power Transmission Systems operates by leveraging a combination of decision trees [22, 23]. Each tree is created using a random subset of features and a bootstrapped sample of the dataset, ensuring diversity in the individual models. During fault detection, the RF algorithm aggregates predictions from multiple trees, providing a robust and accurate assessment of the system’s health. This ensemble approach enhances the model’s resilience to noise and variability, making it particularly effective for detecting faults in complex and dynamic electrical transmission environments. Mathematically, the prediction y for a given input vector X can be represented as: (1) Where:
    • N is the number point of trees in the forest.
    • Ti(Xi) is the prediction of the ith tree, trained with a randomly sampled dataset (with replacement) from the training set and feature subset, based on parameters Θi.
    • X represents the input features vector derived from the power system’s parameters.

    For fault detection, the output class can be determined based on majority voting among the trees: (2) Where Class(X) represents the predicted state (e.g., ‘normal’ or ‘faulty’) of the electrical power transmission system.
  • Logistic Regression (LR): The LR operates as a powerful approach for Fault Detection in Electrical Power Transmission Systems by employing a probabilistic approach [24, 25]. It assesses the likelihood of a fault occurrence based on input features, such as voltage levels and current values. The LR model employs a logistic function to map the input data into a probability distribution, enabling the identification of potential faults through a threshold classification. This method proves effective in discerning abnormal patterns within the system, facilitating timely intervention and maintenance in power transmission networks. The logistic function, σ(z), is defined as: (3) where z data point is the linear data combination value of the input features data (x1, x2, …, xn) and their corresponding weights (w1, w2, …, wn), plus a bias term b. This can be expressed as: (4)
    Substituting z in the logistic function: (5)
    This model outputs the probability that a given set of input features (x1, x2, …, xn) belongs to the “fault” category. To classify an input as “fault” or “no fault”, a threshold, typically 0.5, is applied to the model’s output: (6)
  • Support Vector Classifier (SVC): The SVC operates by constructing a hyperplane in a space that effectively separates different classes of data points [26, 27]. In the context of fault detection in electrical power transmission systems, the SVC method utilizes historical data on normal system behavior and fault instances to define this hyperplane. By identifying the optimal hyperplane that maximally separates normal and faulty conditions, SVC enables efficient detection of abnormalities, enabling swift response to potential faults in the power transmission system. This method’s robustness lies in its ability to handle non-linear relationships and its sensitivity to critical features, enhancing its efficacy in safeguarding the electrical grid against potential faults. The fault detection in electrical power transmission systems, let’s consider the feature space to be and the two categories to be fault and no fault.
    The basic form of the SVC decision function is: (7) where:
    • is the weight data vector perpendicular to the SVC hyperplane.
    • is the bias term, which offsets the hyperplane from the origin.
    • is the input feature vector.

    The goal of the SVC is to find the optimal data points w and b such that the margin between the two classes is maximized, subject to the constraints: (8) where yi ∈ {−1, 1} is the label of xi, indicating the class (fault or no fault).
    The optimization problem for finding w and b can be formulated as: (9) subject to: (10)
    This formulation ensures that the hyperplane has the maximum line margin separating the two classes, which is a key concept in SVC for fault detection and classification tasks.
  • Gated Recurrent Unit (GRU): The GRU deep learning model emerges as a potent tool for fault detection in electrical transmission systems [28, 29]. Leveraging its ability to capture temporal dependencies in data, the GRU efficiently processes sequential information from power transmission measurements, enabling the detection of subtle deviations indicative of faults. This model’s adaptability and streamlined architecture make it a promising solution for enhancing the reliability and efficiency of fault detection in critical electrical infrastructure. The fundamental equations governing the GRU operation are as follows: (11) (12) (13) (14) Where:
    • rt is the data value of the reset gate activation vector.
    • zt is the data value of the update gate activation vector.
    • ht is the data value of the hidden state vector at time t.
    • xt is the input data vector at time t.
    • is the candidate activation vector.
    • σ denotes the sigmoid value function.
    • ⊙ denotes data element-wise multiplication.
    • Wr, Wz, W and br, bz, b are the weights and biases that need to be learned during training.

The GRU’s ability to effectively blend past information with current inputs through its gating mechanisms makes it particularly suited for detecting anomalies over time in power transmission systems. The layered architecture is analyzed in Table 3.

thumbnail
Table 3. The layers architecture stack of applied neural network based GRU method.

https://doi.org/10.1371/journal.pone.0309459.t003

Phase 6: Novel glassbox-based proposed EB approach

The proposed EB approach for fault detection in electrical power transmission systems employs an ensemble of decision trees to analyze the system’s data. The proposed EB method combines the strengths of boosting and interpretable models as glassbox, providing a transparent and accurate framework for fault detection. Through iterative training, the EB model assigns weights to individual decision trees, emphasizing the contribution of each tree to the overall predictive outcome, facilitating a clear understanding of the features and patterns crucial for detecting faults in the power transmission system. The basic form of a model under the EB approach, adapted for fault detection, can be represented as follows: (15) Where:

  • is the predicted outcome (e.g., the presence or absence of fault data in the power transmission system).
  • φ0 is the model’s intercept.
  • M is the number of features (e.g., voltage, current, temperature, etc.) used in the model.
  • xi represents an individual feature.
  • φi(xi) is the contribution values of the i-th feature to the prediction, modeled by a shape function, which is learned during training for maximum interpretability.
  • φij(xi, xj) represents the interaction term between features i and j, capturing the joint effect of these features on the prediction. This term allows the model to consider how combinations of different conditions affect the system’s health.
  • ϵ is the error term.

Our proposed methodology enables the development of boosting models that are not only highly accurate in identifying and classifying electrical faults but also provide clear insights into their decision-making processes. By leveraging the glassbox model, we can pinpoint the specific characteristics and conditions under which faults occur, facilitating more effective prevention strategies. This approach significantly enhances the reliability and safety of electrical power transmission systems, offering a clear window into the inner workings of complex AI-driven fault detection mechanisms. The architecture of the proposed approach is illustrated in Fig 6 and Algorithm 1.

thumbnail
Fig 6. The proposed glassbox-based optimized explainable boosting workflow analysis.

https://doi.org/10.1371/journal.pone.0309459.g006

Algorithm 1 Training proposed EB Classifier for Fault Detection in Power Transmission Systems

Input: Dataset D containing line currents and voltages under various fault conditions. Each instance xi has a label yi where yi ∈ {0, 1} (0 for No fault, 1 for Fault present).

Output: A trained Explainable Boosting Classifier model

Initialize the Explainable Boosting Classifier M

Configure model parameters (if any specific configuration is needed)

Train the model M using the dataset D

Evaluate the model performance using suitable metrics (e.g., accuracy, F1-score)

return Trained Model M

Phase 7: Models perparameters settings

This section analyzes the hyperparameter tuning of applied machine-learning models for electrical fault detection. Hyperparameter tuning helps to improve the generalization of applied machine learning models and prevents overfitting issues. The best-fit hyperparameters in this study are determined through a recursive training and testing process using the k-fold cross-validation process. The final selected hyperparameter settings of the applied method are described in Table 4.

thumbnail
Table 4. Analysis of parameter optimization in machine learning applications.

https://doi.org/10.1371/journal.pone.0309459.t004

Results and discussions

In this section, neural network methods for fault detection in electrical power transmission systems yielded promising outcomes. The implemented algorithms demonstrated high accuracy in identifying and classifying faults, showcasing their potential for enhancing the reliability of the system. The discussion delves into the intricacies of model performance, highlighting areas of improvement and offering insights into the practical implications of integrating machine learning into fault detection strategies for power transmission systems.

Experimental setup

This section scrutinizes the experimental setup of our study. We utilized Python programming language 3.0 to implement the applied machine learning approaches. All experiments are conducted in the Google Colab platform, utilizing a GPU backend with 90 GB disk space and 13 GB RAM. Established statistical metrics like accuracy, F1, precision, and recall are employed to evaluate the models. The basic evaluation terms are based on False Positives (FP), True Positives (TP), True Negatives (TN), and False Negatives (FN) for each metric. The mathematical representation of these evaluation criteria, such as accuracy, is provided: (16) Where TP denotes correctly identified faults, TN denotes correctly identified non-faults, FP denotes incorrectly identified faults, and FN denotes incorrectly missed faults, respectively.

Similarly, precision is the ratio of TP to the sum of TP and FP, denoted as precision (P). It represents the ratio of accurately predicted erroneous data to the total data predicted to be erroneous: (17)

Recall measure is measured as the proportion of correct predictions generated by the model in comparison to the overall number of true occurrences: (18)

The F1 score measure can be computed by taking the harmonic mean of recall and precision: (19)

Additional factors, including the duration of training and testing, the layer and node count, and the epoch number, are assessed to facilitate a comparative evaluation between the suggested EB approach and conventional ANN techniques.

Results with balanced data

During our initial experiments, we found that the dataset was slightly imbalanced. To address this issue, we used the SMOTE to balance the data, and the results are described in this section. The performance of the applied machine learning models with the balanced dataset is illustrated in Table 5. The analysis shows that the highest accuracy score achieved with the balanced dataset is 89% using the Random Forest (RF) method. However, these seemingly high scores may indicate low performance, possibly due to the introduction of noise from the newly generated synthetic dataset.

thumbnail
Table 5. The testing results of applied neural network methods for fault detection with balanced dataset.

https://doi.org/10.1371/journal.pone.0309459.t005

Results with original data

The performance results of the applied learning models with the original dataset features are analyzed in this section. In previous analyses, we concluded that the synthetic generation of balanced datasets achieved moderate performance scores. The results with the original dataset features are demonstrated in Table 6. This analysis reveals that the applied learning models achieved good performance scores. The applied tree-based RF model achieved a notable performance score of above 90%. The applied linear models, LR and SVC, achieved lower performance scores. The neural network-based GRU achieved a high-performance score of 92% in this analysis. This analysis infers that the applied machine learning models achieve good performance scores using the original dataset features for electrical fault detection in transmission systems.

thumbnail
Table 6. The testing results of applied neural network approaches for fault detection.

https://doi.org/10.1371/journal.pone.0309459.t006

The confusion matrix-based performance assessment of applied neural network models for electrical fault classification is illustrated in Fig 7. The analysis reveals that during the testing phase, the applied machine learning models, LR and SVC, recorded the highest rates of incorrect predictions. In contrast, the RF and GRU models achieved lower rates of incorrect predictions. Thus, this analysis concludes that tree-based and neural network models demonstrate superior performance scores for fault detection.

thumbnail
Fig 7. The confusion matrix-based error rates analysis for fault detection.

https://doi.org/10.1371/journal.pone.0309459.g007

Performance analysis of proposed method

The performance results of the proposed EB approach are analyzed in this section. The results of the EB approach are presented in Table 7. The analysis expresses that our optimized EB approach achieved 99% accuracy performance scores compared to other applied methods. The class-wise performance results show the exceptional performance of the EB approach. This analysis infers that our novel proposed method outperformed other applied methods with high electrical fault detection rates.

thumbnail
Table 7. The testing results of proposed EB method for fault detection.

https://doi.org/10.1371/journal.pone.0309459.t007

The comparison of histogram-based results of applied machine learning models was conducted to assess the overall performance relative to the proposed approach. Fig 8 illustrates the histogram comparison results, indicating that the machine-learning-based models LR, SVC, and RF achieved lower performance results. However, the deep learning-based neural network model, GRU, achieved respectable scores but not as high as our proposed method, EB. This analysis highlights the significant performance advantage of our proposed approach in electrical fault classification.

thumbnail
Fig 8. The histogram-based results comparisons of applied machine learning models.

https://doi.org/10.1371/journal.pone.0309459.g008

Fig 9 demonstrates the assessment of the performance of applied neural network models through Receiver Operating Characteristic (ROC) analysis. The analysis reveals distinct variations in the Area Under Curve (AUC) scores, highlighting the effectiveness of the different models in accurately classifying electrical faults. The LR model exhibited a modest AUC of 0.58, indicating its relatively weak capability in effectively distinguishing between the classes. In contrast, the RF model marked a significant improvement, achieving an AUC of 0.97, which suggests a high degree of accuracy in fault classification. Most notably, our proposed model, referred to as EB, surpassed the conventional models by securing an AUC of 0.99. This superior performance of the EB model, as depicted in the ROC plot, illustrates its exceptional ability to correctly classify the positive class from the negative, establishing it as a highly reliable model for electrical fault classification. Thus, the ROC plot analysis provides compelling evidence of the advanced discriminative power of the EB model over traditional machine learning approaches.

thumbnail
Fig 9. The ROC curve analysis of applied neural network methods.

https://doi.org/10.1371/journal.pone.0309459.g009

In addition, we have provided a radar chart-based performance area analysis, as shown in Fig 10. This analysis, based on performance metrics coverage across the radar, demonstrates that our proposed approach covers more performance scores on the radar compared to other applied methods. It also highlights the superior performance results scores of the proposed EB method for electrical fault classification.

thumbnail
Fig 10. The radar chart-based performance area coverage analysis.

https://doi.org/10.1371/journal.pone.0309459.g010

In evaluating the performance results of the proposed EB model, the confusion matrix is illustrated in Fig 11. Remarkably, the plot reveals that the model has achieved an impressive level of precision, with only 13 instances of misclassification. This outcome underscores the model’s robustness and effectiveness in accurately distinguishing between categories, affirming its potential for widespread application in scenarios where precision is paramount. The low number of misclassifications is indicative of the model’s advanced learning capabilities and its suitability for handling complex classification challenges, such as electrical fault classification in transmission systems.

thumbnail
Fig 11. The confusion matrix-based error rates analysis of proposed EB method for fault detection.

https://doi.org/10.1371/journal.pone.0309459.g011

K fold cross-validation analysis

We employed the K-fold validation technique to authenticate the performance scores of the applied method. In this method, the fault-related signal data are divided into k equal-sized folds, and the method is trained and validated k times, with each fold being used once as a validation set. This approach helps evaluate the model’s performance and addresses issues such as overfitting. The results of the K-fold approach for applied neural network methods are reported in Table 8. The analysis shows that the applied method achieved lower K-fold accuracy scores than our proposed EB approach. This analysis validates the high-performance scores of our proposed EB method, which achieved 99% K-fold accuracy with a minimum standard deviation score of 0.0009 for electrical fault detection.

thumbnail
Table 8. The k-fold-based performance validations of applied machine learning methods for fault detection.

https://doi.org/10.1371/journal.pone.0309459.t008

Fault detection time computational complexity analysis

The computational complexity analysis of fault detection time for applied artificial neural networks is presented in Table 9. We measured the training time of each applied method and reported the results. The analysis shows that RF achieved the minimum electrical fault detection time; however, the performance accuracy of RF is low. The fault detection time of the proposed EB model is 23.5848 seconds, which is high compared to others; however, the accuracy score of the proposed approach is also 99%. We consider performance score a priority for this critical electrical fault detection. We will further reduce the architecture of the proposed EB to reduce its computational time.

thumbnail
Table 9. The fault detection training time analysis of applied methods.

https://doi.org/10.1371/journal.pone.0309459.t009

eXplainable Artificial Intelligence (XAI)

The implementation of the XAI approach [30] in our study has yielded significant advancements in understanding and interpreting the decision-making processes of the proposed model used for fault detection in electrical transmission systems. Through the application of the XAI technique, as shown in Fig 12. We can demystify the operational logic of the proposed model, particularly shedding light on how these models discern and classify different types of faults. This transparency not only enhances trust in AI-driven systems but also facilitates a deeper insight into the strengths and limitations of the employed models. Most notably, the XAI analysis revealed that certain features, such as the phase line current and voltage variations, play a pivotal role in the models’ fault detection capabilities.

thumbnail
Fig 12. The SHAPE chart-based XAI analysis of proposed EB method for fault detection.

https://doi.org/10.1371/journal.pone.0309459.g012

State of the art comparisons

To ensure a fair performance comparison of the proposed EB approach, we have collated the performance results with the state-of-the-art methods used for electrical fault detection. The results of the comparison studies using the same dataset are described in Table 10. The analysis shows that the previous highest accuracy achieved was 97%, which is considered low. This investigation demonstrates that our suggested EB methodology exceeds the performance of current leading techniques, achieving an impressive.

thumbnail
Table 10. The state of art research studies analysis for fault detection in electrical power transmission systems.

https://doi.org/10.1371/journal.pone.0309459.t010

Discussions

We have proposed an innovative research approach for electrical fault classification and detection timely:

  • ANNs prove to be a reliable and efficient approach for classifying and detecting faults in electrical power system transmission lines, particularly given the growing dynamic connectivity of contemporary power transmission systems.
  • Before applying an artificial neural network in a practical scenario, it is essential to thoroughly evaluate its performance, considering the specific neural network structure and learning algorithm.
  • The Explainable Boosting (EB) neural networks exhibit impressive performance when trained with extensive datasets, readily accessible in power systems. Hence, the proposed method opts for EB due to its efficacy.

Study limitations

The proposed research outperformed the state-of-the-art methods with the high performance of fault detection, however, there are still some limitations, as follows:

  • The calculation time of the proposed method is higher compared to applied methods. In future, we will try to optimize the architecture of the proposed method to minimize the computational time.

Conclusions

This paper proposed a novel glassbox-based explainable method for detecting and classifying faults within a three-phase transmission line system. The developed method employs a set of line currents and voltages as inputs to the neural networks, which are normalized based on their pre-fault values. The presented research results cover various faults, including line-to-ground, double-line-to-ground, line-to-line, and symmetrical three-phase faults, with separate neural networks designed for each fault type. Simulation outcomes demonstrate the effective performance of all proposed neural networks, affirming their practical implementability. Emphasis is placed on the significance of selecting the most suitable ANN configuration to optimize network performance. Key conclusions drawn from the research highlight the successful application of ANNs in fault detection and classification for diverse scenarios. The potential of ANN is expansive and offers room for further exploration. Enhancing the intelligence of fault detection and classification is possible through the development of appropriate intelligent techniques. This can be realized with advanced computers capable of efficiently handling substantial datasets and performing calculations swiftly.

References

  1. 1. Omogoye SO, Folly KA, Awodele KO. A Comparative Study between Bayesian Network and hybrid Statistical Predictive models for Proactive Power System Network Resilience Enhancement Operational Planning. IEEE Access. 2023;.
  2. 2. Verma S, Chelliah TR. Restoration of extra-high voltage power grids through synchronous and asynchronous hydro units during blackout—A comprehensive review and case study. Electric Power Systems Research. 2024;228:110054.
  3. 3. Nie Z, Srivastava A, Basumallik S, et al. Measuring and Enabling Transmission Systems Resiliency with Renewable Wind Energy Systems. IEEE Transactions on Industry Applications. 2023;.
  4. 4. Shakiba FM, Azizi SM, Zhou M, Abusorrah A. Application of machine learning methods in fault detection and classification of power transmission lines: a survey. Artificial Intelligence Review. 2023;56(7):5799–5836.
  5. 5. Shukla PK, Deepa K. Deep learning techniques for transmission line fault classification–A comparative study. Ain Shams Engineering Journal. 2024;15(2):102427.
  6. 6. Wu Z, Cheng C, Hua W, Zhang H, Hu M, Yin H. A Novel Square-Wave Voltage Injection Based Sensorless Control Method Robust to Single Open-Phase Fault for Dual Three-Phase IPM. IEEE Transactions on Power Electronics. 2023;38(6):7514–7524.
  7. 7. Silva R, Mafra G, Sotelo G, Fortes M, Trillaud F, Guillen D. Impact of superconducting fault current limiters on Delayed Current Zeros in industrial power systems. International Journal of Electrical Power & Energy Systems. 2023;145:108594.
  8. 8. Tang L, Han Y, Zalhaf AS, Zhou S, Yang P, Wang C, et al. Resilience enhancement of active distribution networks under extreme disaster scenarios: A comprehensive overview of fault location strategies. Renewable and Sustainable Energy Reviews. 2024;189:113898.
  9. 9. Ye C, Guo C, Ding Y. Risk Evaluation of Short-Circuit Fault in Power System. In: Risk-Based Planning and Operation Strategy Towards Short Circuit Resilient Power Systems. Springer; 2023. p. 1–15.
  10. 10. Theodosiou T, Rapti A, Papageorgiou K, Tziolas T, Papageorgiou E, Dimitriou N, et al. A Review Study on ML-based Methods for Defect-Pattern Recognition in Wafer Maps. Procedia Computer Science. 2023;217:570–583.
  11. 11. Jamil M, Sharma SK, Singh R. Fault detection and classification in electrical power transmission system using artificial neural network. SpringerPlus. 2015;4(1):1–13. pmid:26180754
  12. 12. Mohd Amiruddin AAA, Zabiri H, Taqvi SAA, Tufa LD. Neural network applications in fault diagnosis and detection: an overview of implementations in engineering-related systems. Neural Computing and Applications. 2020;32:447–472.
  13. 13. Zhang S, Wang Y, Liu M, Bao Z. Data-based line trip fault prediction in power systems using LSTM networks and SVM. Ieee Access. 2017;6:7675–7686.
  14. 14. Fahim SR, Sarker Y, Islam OK, Sarker SK, Ishraque MF, Das SK. An intelligent approach of fault classification and localization of a power transmission line. In: 2019 IEEE International Conference on Power, Electrical, and Electronics and Industrial Applications (PEEIACON). IEEE; 2019. p. 53–56.
  15. 15. Rajesh P, Kannan R, Vishnupriyan J, Rajani B. Optimally detecting and classifying the transmission line fault in power system using hybrid technique. ISA transactions. 2022;130:253–264. pmid:35428477
  16. 16. Moradzadeh A, Teimourzadeh H, Mohammadi-Ivatloo B, Pourhossein K. Hybrid CNN-LSTM approaches for identification of type and locations of transmission line faults. International Journal of Electrical Power & Energy Systems. 2022;135:107563.
  17. 17. PRAKASH ES. Electrical Fault detection and classification;. https://www.kaggle.com/datasets/esathyaprakash/electrical-fault-detection-and-classification?select=detect_dataset.csv.
  18. 18. Irfan M, Mushtaq Z, Khan NA, Mursal SNF, Rahman S, Magzoub MA, et al. A Scalo gram-based CNN ensemble method with density-aware smote oversampling for improving bearing fault diagnosis. IEEE Access. 2023;11:127783–127799.
  19. 19. Naseer A, Amjad M, Raza A, Munir K, Samee NA, Alohali MA. A Novel Transfer Learning Approach for Detection of Pomegranates Growth Stages. IEEE Access. 2024; p. 1–1.
  20. 20. Raza A, Al Nasar MR, Hanandeh ES, Zitar RA, Nasereddin AY, Abualigah L. A Novel Methodology for Human Kinematics Motion Detection Based on Smartphones Sensor Data Using Artificial Intelligence. Technologies. 2023;11(2):55.
  21. 21. Raza A, Akhtar I, Abualigah L, Zitar RA, Sharaf M, Daoud MS, et al. Preventing Road Accidents through Early Detection of Driver Behavior using Smartphone Motion Sensor Data: An Ensemble Feature Engineering Approach. IEEE Access. 2023;.
  22. 22. Tang Q, Zhang L, Lan G, Shi X, Duanmu X, Chen K. A Classification Method of Point Clouds of Transmission Line Corridor Based on Improved Random Forest and Multi-Scale Features. Sensors. 2023;23(3):1320. pmid:36772360
  23. 23. Cai Q, Li P, Wang R. Electricity theft detection based on hybrid random forest and weighted support vector data description. International Journal of Electrical Power & Energy Systems. 2023;153:109283.
  24. 24. Wang M, Xu X, Yan Z. Online fault diagnosis of PV array considering label errors based on distributionally robust logistic regression. Renewable Energy. 2023;203:68–80.
  25. 25. Huang XL, Kunz RF, Yang XI. Linear logistic regression with weight thresholding for flow regime classification of a stratified wake. Theoretical and Applied Mechanics Letters. 2023;13(2):100414.
  26. 26. Khosravi M, Trik M, Ansari A. Diagnosis and classification of disturbances in the power distribution network by phasor measurement unit based on fuzzy intelligent system. The Journal of Engineering. 2024;2024(1):e12322.
  27. 27. Pan Y, Qin J, Hou Y, Chen JJ. Two-stage support vector machine-enabled deep excavation settlement prediction considering class imbalance and multi-source uncertainties. Reliability Engineering & System Safety. 2024;241:109578.
  28. 28. Rai A, Shrivastava A, Jana KC. A robust auto encoder-gated recurrent unit (AE-GRU) based deep learning approach for short term solar power forecasting. Optik. 2022;252:168515.
  29. 29. Veeramsetty V, Reddy KR, Santhosh M, Mohnot A, Singal G. Short-term electric power load forecasting using random forest and gated recurrent unit. Electrical Engineering. 2022;104(1):307–329.
  30. 30. Machlev R, Heistrene L, Perl M, Levy K, Belikov J, Mannor S, et al. Explainable Artificial Intelligence (XAI) techniques for energy and power systems: Review, challenges and opportunities. Energy and AI. 2022;9:100169.