Preprint
Article

This version is not peer-reviewed.

A Comprehensive Database and Smart-Learning Framework for Monitoring Failure Risk Factors, Maintenance, and Protection in Electrical Networks

Submitted:

04 June 2026

Posted:

05 June 2026

You are already at the latest version

Abstract
Electrical power systems are exposed to interacting electrical, thermal, environmental, and resource-related faults such as leakage current, voltage and frequency deviations, overcurrent, harmonic distortion, phase-sequence error, humidity, fire, wind-speed variability, water insufficiency, and solar-resource loss. This study introduces a software-based database-generation and smart-learning framework that converts 22 candidate risk factors into six normalized severity levels and then maps the simultaneous system state to low-, medium-, and high-level protection decisions. The main novelty is that the software does not only evaluate existing measurements; it also produces a literature- and standards-informed synthetic database when long-term real field measurements are not yet available. The database is generated by defining variable limits, sampling realistic operating states, computing severity labels, and storing input-output pairs that can later train or validate predictive maintenance models. The proposed framework therefore links protection logic, database construction, and reusable training data in a single workflow. The results show how simulated annual operating scenarios can be transformed into structured risk records, warning classes, and shutdown decisions, supporting early fault detection, maintenance planning, and resilience improvement in renewable-integrated electrical networks.
Keywords: 
;  ;  ;  

1. Introduction

Electrical energy networks are becoming more complex because conventional generation, distributed renewable sources, variable loads, and protection devices increasingly operate together. The present study was designed for two practical reasons. First, real fault databases for power networks are difficult to obtain because severe faults are rare, unsafe to reproduce, and often distributed across long observation periods. Second, predictive maintenance and smart protection algorithms require labeled input-output data; therefore, a database must be created before a learning system can be trained and validated.
For this purpose, a software-based software framework was developed to generate and evaluate 22 candidate risk factors, including voltage deviations, current faults, frequency distortion, harmonic/sine-wave distortion, phase-sequence problems, temperature, humidity, flame, earthquake, fuel, wind, solar, and water-related variables. Each parameter is converted into a six-level severity scale according to literature-based limits and system-oriented engineering rules.
The innovation of the study is threefold: (i) a unified database structure is proposed for electrical, thermal, environmental, and renewable-resource risks; (ii) the software generates synthetic but realistic records when long-term real measurements are unavailable; and (iii) the generated records are transformed into alert labels that can be reused for training, testing, and improving future smart-learning protection systems.
The database is not intended to replace real measurements. Instead, it provides an initial training and evaluation environment. As new measurements become available, they can be appended to the same database, compared with previously generated records, and used to update the decision boundaries of the protection algorithm.
To preserve the full original literature coverage in a shorter introduction, the reviewed studies are now grouped compactly as follows: renewable-energy integration, hybrid solar-PV/wind uncertainty, load and generation forecasting, microgrid energy management, AI/quantum-assisted renewable integration, and real-time scheduling are represented by [2,13,22,32,35,37,40]; wind-energy, hydropower, environmental-variable, and decarbonization impacts are represented by [1,17,30,36,39,41]; and smart-learning/ML-based monitoring, including digital-twin PV fault detection, embedded ML, wind-turbine diagnosis, harmonic-distortion detection, transmission/distribution fault localization, islanding detection, and power-quality disturbance classification, is represented by [3,4,8,9,10,15,18,25,28,29]. Together, these studies motivate the proposed contribution: instead of presenting only another classifier, this paper focuses on producing a traceable database-generation and alert-labeling pipeline that can support future learning-based protection and maintenance systems [5,16,19,26,31,34].
Table 1 summarizes representative studies on machine-learning-based fault detection and intelligent monitoring in renewable-integrated electrical power systems [6,7,11]. These studies demonstrate the need for large, well-structured, and interpretable datasets, but they generally do not provide a unified mechanism that simultaneously creates a database and converts multi-factor system states into protection outcomes. The compact grouping above restores all original citations while keeping the introduction shorter [14,21,25,38].
The literature indicates that machine learning, digital twins, and embedded diagnostic systems improve fault detection, but their performance depends strongly on the availability of labeled and representative data. Therefore, this work focuses on the missing data-generation step and presents a repeatable procedure for producing initial training records before large field datasets have been collected [20,23,27,33].
Accordingly, the study contributes a database-oriented protection methodology rather than only a classifier. The generated database records contain input variables, normalized severity levels, repetition counts, and final alert outcomes, which together form a reusable basis for future supervised learning, scenario analysis, and preventive maintenance planning.

2. Electrical Energy Systems and Faults

An electrical power system operates as an integrated chain of generation, transmission, distribution, protection, and load components. If any part of this chain deviates from its normal operating range, the disturbance may propagate to other parts of the network. Figure 1 illustrates typical fault categories that motivate the proposed multi-parameter monitoring approach.
If an electrical system works normally, electricity energy will reach everywhere normally, but if any error occurs, even a simple expected or unexpected one, it may lead to problems that may be serious and may lead to deprivation areas of electricity. These errors cause a decrease in the efficiency of the system, increased losses and costs, instability of electricity distribution, and dissatisfaction of consumers. When it comes to providing electricity to everyone, it is important to protect the environment, study climate change, and remove carbon when producing electricity, which directs us to the need to use renewable and alternative energy sources and integrate them into the electricity generation system to reduce the use of traditional sources.
When it comes to providing electricity to everyone, it is important to protect the environment, study climate change, and remove carbon when producing electricity, which directs us to the need to use renewable and alternative energy sources and integrate them into the electricity generation system to reduce the use of traditional sources. In this work, we will study potential faults that may occur in electrical energy systems, and try to predict unexpected problems that may appear in the electricity system, which includes alternative energy systems such as wind and solar energy. In more, we try to ensure that energy production and transmission processes are based on more reliable foundations, using algorithms supported by smart learning and detect and solve these errors.
Fault detection in electrical energy systems is critical to ensure the system's safe, efficient, and continuous operation. Fault detection is usually achieved by using multiple methods and technology together. As shown Figure 2, fault detection methods in electrical energy systems can be summarized as follows.
Protection systems of electrical energy systems are designed to quickly detect faults that may occur in the electrical network (short circuit, overload, grounding, etc.), to prevent the damage from growing and to protect the rest of the system. In this way, both life and property safety is ensured and it is possible for electricity distribution to continue uninterrupted.
As required by the study, potential faults that may occur in electrical energy systems are investigated, and possible unexpected problems in systems integrating renewable energy sources such as water, wind and solar energy are predicted. The aim is to enhance the reliability of energy generation and transmission processes by utilizing smart learning–based algorithms for fault detection and mitigation. For this purpose, a software-based software environment is employed to simulate real operating conditions and process large volumes of generated data. The analyses are carried out through simulation studies using a main program called secur along with 22 sub-programs representing various fault scenarios in renewable-integrated power systems.
These simulations are conducted by defining the coefficients and equations that characterize potential distortions in each system component. As a result, the study aims to achieve clean sinusoidal waveforms, stable current and voltage levels, and an overall reliable and balanced electrical network.
Artificial intelligence (AI) and machine learning (ML) provide essential tools for ensuring the continuous and reliable operation of power systems. These technologies enable critical tasks such as error prediction, anomaly detection, and fault classification. AI models can predict potential faults based on historical data, while ML algorithms learn normal system behavior to identify anomalies. In addition, classification algorithms can determine the type of faults, such as short circuits or phase losses, improving the effectiveness of diagnostic processes.
Various models are commonly used for fault prediction and analysis. Neural networks are capable of learning from large datasets to predict failures, while clustering techniques help identify similar fault patterns. Time series analysis is applied to estimate when faults may occur, and regression analysis evaluates the probability of faults based on historical trends. Furthermore, classification methods such as Support Vector Machines and decision trees play a significant role in identifying system changes and enhancing testing accuracy.
Fault location in power systems can be achieved through several intelligent methods. AI-based techniques such as genetic algorithms, artificial neural networks, fuzzy logic, and support vector machines utilize measurement sensors, system data and environmental conditions to accurately locate faults in distribution networks (Figure 3).
Testing and simulation are fundamental for analyzing system behavior and predicting faults. Physical testing of equipment allows comparison with normal operating conditions, while simulation software enables modeling of fault scenarios in a controlled environment. These approaches allow to evaluate system performance and anticipate potential issues before they occur.
Detection of a fault is critical for maintaining reliable energy systems, in a electrical energy system. The integration of AI, ML, and advanced monitoring technologies enables more accurate, efficient, and proactive fault detection and prediction. These methods can be applied individually or in combination, depending on system complexity, and their effectiveness are continued to increase with the advancement of AI and IoT technologies.

3. Detection of Electrical Energy System Faults by Using Software

In the study carried out, it is aimed to create an algorithmic and software approach towards sustainability for electrical energy systems including renewable energy production systems. The algorithm and software developed at this stage of the study were carried out on the creation of the basic algorithm and software for the evaluation of data obtained from the infrastructures forming the system. The algorithm and software developed up to this stage are aimed at determining the existence or non-existence of negativities in the infrastructure forming the electrical energy system. After this stage, studies on the algorithm and software will continue and the focus will be on the analysis of negativities that may occur in the electrical energy system infrastructure including renewable energy production systems in different scenarios.
In the analyses to be carried out after this stage, the effects of the input parameters listed in Table 2 will be considered separately for the sustainability of the system, and the classifications of these parameters will be made. In these classifications, mathematical analyzes of the effects of each parameter for the sustainability and usability of the system will be tried to be presented. Although the methods and analyzes used in the study are carried out on a sample system, they can be adapted to different systems. Thus, it is thought that the results to be obtained will be a new contribution to the literature, as they will be able to concretely reveal the reliability of electrical energy systems, including renewable energy production systems. Explanations regarding the fault and sustainability parameters in the energy system can be seen in Table 3.
The frequency of occurrence of 22 variables can vary from person to person. How should these entities be defined? A separate study, based on literature and sources, is being conducted within the study to determine the frequency of occurrence of each of these entities. The frequency of occurrence of the 22 data points considered in the electrical energy system will not be uniform, both statistically and in the literature. The determination supports the frequency of occurrence of the 22 data points considered in this context in Table 4.

3.1. Mathematical Principles and Database-Generation Pipeline

The database is produced by mapping each measured or simulated physical variable into a common six-level severity domain. This prevents variables with different units, such as voltage, current, temperature, wind speed, and irradiance, from dominating the evaluation only because of their numerical scale. The transformation is direction-aware: variables whose risk increases with magnitude use a direct normalization, whereas variables whose risk increases as the value decreases use an inverse normalization (Figure 4). Direct-risk normalization,
sᵢ(t) = 1 + 5 · (xᵢ(t) − xᵢ,min) / (xᵢ,max − xᵢ,min), 1 ≤ sᵢ(t) ≤ 6.        (1)
This form is used for parameters such as overvoltage, overcurrent, leakage current, high temperature, high wind speed, humidity, flame, and earthquake intensity, where larger values represent larger risk. Inverse-risk normalization,
sᵢ(t) = 1 + 5 · (xᵢ,max − xᵢ(t)) / (xᵢ,max − xᵢ,min), 1 ≤ sᵢ(t) ≤ 6        (2)
This inverse form is used for parameters such as fuel availability, water availability, solar-energy availability, low wind speed, low voltage, and low temperature, where smaller values indicate a more critical operating condition. After normalization, each continuous severity value is rounded or clipped to the nearest integer level in the interval 1-6. Weighted global risk index,
R(t) = [Σᵢ₌₁²² wᵢ sᵢ(t)] / [Σᵢ₌₁²² wᵢ], wᵢ ∈ {1,2,3}.        (3)
The weight w_i is assigned from the priority level of the corresponding parameter. A high-priority safety variable, such as flame, leakage current, overcurrent, or phase-sequence distortion, therefore contributes more strongly to the global risk index than a low-priority resource-availability variable. The entire database record row is defined as follows,
D(t) = {x₁(t), …, x₂₂(t), s₁(t), …, s₂₂(t), R(t), C₁(t), …, C₆(t), y(t)}        (4)
For the energy-system input parameters considered in the study, the normal ranges determined for six severity levels, taking into account the determination information summarized in Table 4, are shown in Table 5.

3.2. Software-Based Creation of the Evaluation Database

Before the evaluation outcomes in Table 6 are produced, the software creates a database by executing four steps. First, it reads the minimum and maximum limits of each of the 22 variables from the literature-based range table. Second, it generates realistic random values within these ranges at predefined time intervals. Third, it converts each value into a six-level severity code using the normalization equations above. Fourth, it stores both the raw input value and the severity output as a paired database record.
This procedure allows the system to create new data from earlier generated data. When a new operating state is simulated or measured, the software compares the new variable vector with the existing severity ranges and previously labeled outcomes. The new record is then appended to the database, and the enlarged database becomes the basis for producing additional scenarios, recalibrating alert thresholds, and training future smart-learning models.
Table 6 was therefore created by grouping the 22 severity outputs according to the repetition counts of low-, medium-, and high-risk states. The table is not a manually assigned result table; it is the decision layer that translates database records into operational comments such as no warning, warning, WARNING!, and STOP.
As with night time hours in solar systems, even if negative data is generated during hours when energy production ceases for renewable energy systems, this data does not lead to the complete shutdown of the system, but rather to the activation of backup systems, such as fossil fuel-based production. Application studies on fault events involving the 22 variables are carried out using the variable limits in Table 5 and the alert-output logic in Table 6.

4. Application Results on Error Occurrences Involving 22 Variables in Electrical Energy Systems: Obtaining the Database

The parameters considered in the program were examined according to their potential to cause failures in the electrical energy system. For each parameter, the software first defines a physically meaningful operating interval and then assigns a six-level severity range based on the literature and standards summarized in Table 4 and Table 5.
It is quite acceptable for some regions of the world to have data below these ratios and for others to have data above them. The aim here is to conduct a study that considers average or slightly above-average failure risks.
When these criteria are considered in terms of environmental conditions, the program takes into account that earthquake and fire risks may occur in any environment, fossil fuels may be insufficient, hydroelectric water resources may decrease, sunless and windless days may occur, very low and high air temperatures may occur, storms may occur, and extreme rainfall and flood conditions may take place.
When considering the technical analysis of the operation of the electrical energy system, the program takes into account that, especially in regions where the interconnected system is not of sufficient size, frequency problems may occur, material temperatures may increase excessively for many facilities overloaded with the system, distortions in sine waves may occur, leakage currents may arise, overloading may occur, voltage drops and surges may occur, and overcurrent faults may occur.
Because this study is a simulation-based software application, the database is produced by generating time-stamped records for the 22 input variables. Each generated row contains the raw physical values, their six-level severity labels, the repetition counts of each level, and the final alert outcome. In this way, the software produces not only a set of examples but also a structured database that can be expanded with future real measurements. Sample tables taken from 1,314,900 for data points, randomly generated over a one-year period using instantaneous times (seconds), and their corresponding outputs are provided to be appendix.
Using the input data in Table 7 and the output data in Table 8 as the initial database, operational outputs for monitoring an electrical power system over a one-year operating period can be obtained. The following representations show author-generated software simulation graphs for 15 sample operating days (representing one year); these figures are produced from the database created by the proposed software (Figure 5, Figure 6, Figure 7, Figure 8, Figure 9, Figure 10, Figure 11, Figure 12, Figure 13, Figure 14, Figure 15, Figure 16, Figure 17, Figure 18 and Figure 19).
The generated database has two functions. It provides an initial dataset for evaluating the proposed protection logic, and it creates a reusable training source for future smart-learning models. When new data are produced within the system, they are normalized and labeled using the same mathematical rules, appended to the previous records, and used to enrich the database for subsequent simulations.

5. Evaluation of Application Results by the Program

For monitoring electrical energy systems, the random system inputs generated by the program in accordance with the literature for 15 monitoring points taken as a sample for one year of monitoring are given in Table 9 according to their physical quantities.
According to the one-year literature-based error generation process, the six-level scoring system obtained for 15 examples is given in Table 10.
In the annual evaluation obtained by running 22 subprograms, the number of simultaneous repetitions of the six-level classification for 15 samples is shown in Table 11.
The evaluations, which are consistent with the database created as a result of the study and used in the fault analysis of electrical energy systems, are summarized in Table 9 and Table 10, Table 11 and Table 12. Table 11 shows simultaneous repetition counts of the six-level classification for 15 annual samples. Table 12 shows the number and variety of warning levels that may arise during a one-year evaluation and monitoring period. High-level warning levels caused by chain reactions of abnormal conditions either do not occur or occur only in small numbers under normal conditions. Power deficiencies, lack of maintenance, environmental stress, and incorrect user behavior would negatively affect these results. The geographical region considered here is the northern hemisphere under Tropic of Cancer conditions.
When the 15 sample data points obtained for a one-year follow-up are evaluated based on the determination-based data table, the cleaned compact evaluation outputs are obtained. The earlier long case-by-case list was condensed into one row per sample day to prevent table overlap and to make the alert logic readable. These outputs show how database rows are converted into operational warning classes by the software.
In the stages where level 2 and 3 outputs are obtained, generally low-level warning outputs are received, but sometimes high-level warning outputs are obtained, taking into account the repetition counts from the 22 variables. In the stages where level 4 and 5 outputs are obtained, generally high-level warning outputs are received, but sometimes low-level warning outputs are obtained, albeit in small numbers, depending on the repetition counts from the 22 variables. Besides, a high number of repetitions of low-level warning data can, in rare cases, trigger a system disable output. A rare level 6 warning signal requires the system to be deactivated. Whether the entire system or only a part of it needs to be disabled is entirely a design outcome determined by the user.
Since the system has the ability to provide lower-level warning information prior to the shutdown output, users and monitors should take these lower-level warnings into account and make the necessary adjustments. The shutdown stage is avoided when measures are taken to mitigate the effects that hinder the operation of the electrical energy system, such as reducing over currents, activating additional power sources, and ensuring protection against physical damaging factors.

6. Conclusions

This study presented a software-based database-generation and smart-learning-oriented evaluation framework for renewable-integrated electrical energy systems. The main contribution is not limited to fault detection; the proposed software creates a structured, labeled, and reusable database from 22 electrical, thermal, environmental, and resource-related variables when long-term real fault records are not yet available.
The first innovation is the unified treatment of heterogeneous risk factors within a six-level mathematical severity scale. The second innovation is the conversion of literature-based limits and simulated operating states into database rows that include raw inputs, severity outputs, repetition counts, and final alert labels. The third innovation is the use of this database as a training and expansion mechanism for future predictive-maintenance and smart-protection systems.
The software maps the combined severity state of all 22 parameters to a hierarchical three-tier alert scheme: a low-level advisory alert (“warning”), a medium-level operational warning (“WARNING!”), and a high-level shutdown command (“STOP”). Because intermediate warning levels are produced before shutdown, the framework supports preventive action rather than only post-fault isolation.
Overall, the proposed approach fills a practical gap between conventional protection logic and data-driven learning systems. It provides an initial database when real records are scarce, explains how new records are generated and appended, and creates a transparent mathematical basis for classifying system risk. Future work should validate the generated database against real telemetry data, optimize weighting coefficients for different network types, and integrate the database with machine-learning models for real-time fault prediction.
Future research will focus on three directions. First, the framework will be validated against real-time telemetry data from operational substations and renewable generation facilities, enabling a quantitative comparison between simulation-derived and empirically observed fault frequencies. Second, the generated database will be used to train and evaluate a suite of machine learning architectures—including gradient-boosted decision trees, convolutional neural networks applied to temporal severity sequences, and hybrid attention-based models—to determine which approaches best generalize across unseen fault scenarios. Third, the parameter set will be expanded to capture emerging fault modes associated with large-scale battery energy storage systems, power-electronics-dense microgrids, and vehicle-to-grid interfaces, reflecting the evolving composition of modern electrical infrastructure. These extensions are expected to further consolidate the role of data-driven, multi-parameter risk assessment as a cornerstone of next-generation power system protection and maintenance strategies.

Appendix A. (Date Base Are Generated from Literature-Based Limits over a One-Year)

Names of
sub-programs
Date 15/08/22 09/09/22 05/10/22 29/10/22 27/11/22 26/12/22 21/01/23 18/02/23 13/03/23 10/04/23 05/05/23 02/06/23 28/06/22 25/07/23 24/08/23
Time 13:25:13 14:34:47 13:31:15 15:12:22 12:36:58 15:05:37 13:47:16 11:56:46 14:09:14 12:48:26 13:13:26 14:21:45 15:05:18 12:53:37 14:02:22
Earthquake (Richter) 1.23 2.05 4.85 0.95 1.09 2.52 3.47 4.98 5.34 3.94 0.85 1.57 2.11 3.45 0.76
Flame (Photovoltage) 2.01 3.45 4.26 1.27 4.28 2.94 3.14 5 2.05 1.48 3.48 2.06 4.78 2.18 1.08
Fuel (Liter) 14 21 25 12 17 7 11 23 32 34 26 8 5 9 6
High frequency (Hz) 49.8 50.04 49.73 50.1 50.24 49.92 49.73 49.9 50.02 50.32 50.27 49.88 49.67 49.92 50.2
High material
temperature (0C)
-3 8 27 17 22 24 37 27 32 40 47 18 12 53 57
High weather temperature (0C) -2 5 9 15 25 27 33 39 28 24 16 1 12 7 4
High wind speed (m/s) 14 11 17 6 8 11 8 15 7 12 5 6 19 10 8
High Sine wave rate (Vmax/Vef) 0.72 0.714 0.713 0.732 0.738 0.713 0.713 0.719 0.701 0.709 0.74 0.716 0.719 0.72 0.69
Humidity (%) 17 25 8 24 48 26 44 9 35 22 17 19 28 9 17
Leakage Current (mA) 15 9 4 21 17 25 29 15 22 8 4 21 17 6 11
Load (A) 65 85 73 62 77 91 87 63 59 68 67 83 76 82 74
Low frequency (Hz) 49.72 50.32 50.24 50.19 49.85 49.99 50.13 49.65 50.28 49.85 49.97 49.98 50.2 50.34 50.37
Low material temperature (0C) 5 18 22 25 48 37 25 24 19 48 52 21 16 15 5
Low sine wave (Vmin/Vef) 0.726 0.721 0.74 0.734 0.712 0.69 0.718 0.714 0.74 0.729 0.724 0.712 0.692 0.734 0.719
Low Voltage (V) 221 224 219 217 227 224 220 219 226 218 218 227 216 219 223
Low weather temperature (0C) -3 22 12 29 19 35 24 37 32 5 14 21 -3 7 5
Low wind speed 8 12 7 16 14 16 13 8 9 16 7 5 11 13 8
Over Current (A) 50 59 62 74 62 58 61 71 63 75 61 58 50 63 70
Over Voltage (V) 217 229 224 219 223 227 220 221 224 219 228 223 219 230 224
Phases (Order) 123 123 123 213 123 123 123 123 312 123 123 123 123 123 123
River (m/s) 17 8 15 12 18 13 12 8 9 14 18 12 6 9 19
Sun (Candela) 45821 88245 75845 65842 85475 45032 65241 65842 85412 62541 47326 63521 74235 86954 97621
........................................................................................................................................................................................................................................................................................................................................
Names of
sub-programs
Date 17/10/23 11/11/23 03/12/23 28/12/23 24/01/24 18/02/24 09/03/24 03/04/24 29/04/24 27/05/24 26/06/24 24/07/24 22/08/24 21/09/24 19/10/24
Time 15:12:24 13:29:64 12:57:38 14:36:08 11:56:12 13:36:45 15:31:16 14:18:34 13:24:59 12:46:21 14:12:13 13:13:48 12:48:31 14:09:45 13:24:36
Earthquake (Richter) 3.02 4.6 2.84 0.58 3.2 4.58 0.45 1.25 3.25 4.21 2.12 1.23 1.85 5.3 3.21
Flame (Photovoltage) 1.5 2.71 1.94 4.56 4.25 3.42 4.8 3.02 3.94 2.32 4.9 4.32 3.21 2.02 4.66
Fuel (Liter) 27 15 7 9 30 32 24 18 12 9 17 5 22 31 17
High frequency (Hz) 49.85 50.12 50.03 50.31 49.78 49.95 50.05 50.27 50.23 49.86 49.68 50.24 49.82 49.91 50.14
High material
temperature (0C)
-2 4 0 15 53 18 42 -1 55 57 13 24 37 0 20
High weather temperature (0C) -4 3 12 18 27 22 35 27 31 39 19 19 11 -4 3
High wind speed (m/s) 18 12 9 13 8 18 11 16 19 12 8 4 8 13 16
High Sine wave rate (Vmax/Vef) 0.69 0.718 0.702 0.72 0.719 0.72 0.69 0.736 0.71 0.713 0.74 0.721 0.7 0.69 0.738
Humidity (%) 4 45 25 35 12 48 27 31 15 24 45 40 6 29
Leakage Current (mA) 5 17 22 15 26 5 14 3 12 5 29 21 27 14 9
Load (A) 55 93 69 79 62 87 73 82 70 57 89 84 67 92 64
Low frequency (Hz) 49.05 50.24 49.75 50.12 50.34 49.85 49.6 50.18 50.38 49.65 50.04 50.91 50.07 50.23 49.82
Low material temperature (0C) -17 25 47 5 35 56 33 17 4 52 27 12 -16 41 9
Low sine wave (Vmin/Vef) 0.74 0.695 0.729 0.74 0.724 0.73 0.714 0.719 0.74 0.734 0.705 0.728 0.74 0.72 0.69
Low Voltage (V) 222 227 226 218 229 215 230 226 221 216 227 228 221 225 217
Low weather temperature (0C) 7 27 17 -2 35 21 14 5 28 14 24 34 -11 21 6
Low wind speed 7 14 10 18 5 13 15 8 12 17 4 12 15 9 6
Over Current (A) 63 50 70 55 50 73 58 66 75 71 53 50 67 58 69
Over Voltage (V) 220 224 219 226 218 228 222 227 217 229 216 225 221 226 218
Phases (Order) 123 123 321 123 123 123 123 123 123 123 123 213 123 123 123
River (m/s) 7 15 14 8 19 12 9 16 17 13 18 15 17 10 17
Sun (Candela) 55001 69245 44251 89542 47521 75421 98547 63524 82351 98652 64251 81245 88327 83521 64952

Appendix B. (Six-Level Responses Given Along One Year with According to the Reference Boundaries and System Rules)

Names of
sub-programs
Date 15/08/22 09/09/22 05/10/22 29/10/22 27/11/22 26/12/22 21/01/23 18/02/23 13/03/23 10/04/23 05/05/23 02/06/23 28/06/22 25/07/23 24/08/23
Time 13:25:13 14:34:47 13:31:15 15:12:22 12:36:58 15:05:37 13:47:16 11:56:46 14:09:14 12:48:26 13:13:26 14:21:45 15:05:18 12:53:37 14:02:22
Earthquake (Richter) 1 2 4 1 1 2 3 4 5 4 1 1 2 3 1
Flame (Photovoltage) 1 2 3 1 3 2 2 6 1 1 2 1 4 1 1
Fuel (Liter) 3 2 1 3 2 5 3 1 1 1 1 5 6 4 5
High frequency (Hz) 1 3 2 1 5 2 1 2 3 6 5 2 1 2 4
High material
temperature (0C)
1 2 3 2 3 3 4 3 4 4 2 2 2 5 6
High weather temperature (0C) 1 2 2 3 4 4 5 6 4 3 3 1 2 2 1
High wind speed (m/s) 3 2 4 1 1 2 1 4 1 2 1 1 5 2 1
High Sine wave rate (Vmax/Vef) 3 2 3 4 5 2 3 3 2 2 6 2 2 3 1
Humidity (%) 1 2 1 2 5 2 4 1 3 2 1 2 2 1 1
Leakage Current (mA) 2 1 1 3 2 4 6 2 3 1 1 3 2 1 2
Load (A) 2 4 2 1 3 5 4 1 1 2 2 3 2 3 2
Low frequency (Hz) 5 1 1 2 4 3 2 6 1 5 3 3 1 1 1
Low material temperature (0C) 4 3 2 2 1 2 2 1 2 1 1 2 3 3 4
Low sine wave (Vmin/Vef) 2 3 1 2 4 6 3 4 1 2 3 4 5 2 3
Low Voltage (V) 3 2 3 4 1 2 3 3 2 4 4 1 5 3 2
Low weather temperature (0C) 5 2 3 1 2 1 2 1 1 4 3 2 5 3 4
Low wind speed 3 2 4 1 2 1 2 3 3 1 4 5 2 2 8
Over Current (A) 1 2 3 5 3 2 3 4 3 6 3 2 1 3 4
Over Voltage (V) 1 5 3 2 3 4 2 2 3 2 5 3 2 6 3
Phases (Order) 1 1 1 6 1 1 1 1 6 1 1 1 1 1 1
River (m/s) 4 1 3 2 5 2 2 1 1 2 5 2 1 1 6
Sun (Candela) 3 1 2 2 2 1 2 2 1 3 3 3 2 1 1
.............................................................................................................................................................................................................................................................................................................
Names of
sub-programs
Date 17/10/23 11/11/23 03/12/23 28/12/23 24/01/24 18/02/24 09/03/24 03/04/24 29/04/24 27/05/24 26/06/24 24/07/24 22/08/24 21/09/24 19/10/24
Time 15:12:24 13:29:64 12:57:38 14:36:08 11:56:12 13:36:45 15:31:16 14:18:34 13:24:59 12:46:21 14:12:13 13:13:48 12:48:31 14:09:45 13:24:36
Earthquake (Richter) 2 4 2 1 2 4 1 1 2 3 2 1 1 5 2
Flame (Photovoltage) 1 2 1 4 3 2 5 2 3 1 6 3 2 1 4
Fuel (Liter) 1 3 5 4 1 1 1 2 3 4 2 6 2 1 2
High frequency (Hz) 2 4 3 6 2 2 3 5 2 2 1 5 2 2 4
High material
temperature (0C)
1 2 1 2 5 2 4 1 5 6 2 3 4 1 3
High weather temperature (0C) 1 1 2 3 4 3 5 4 4 6 1 3 2 1 1
High wind speed (m/s) 4 2 1 2 1 4 2 3 6 2 5 1 1 2 3
High Sine wave rate (Vmax/Vef) 1 3 2 3 3 3 1 4 2 2 6 3 2 1 5
Humidity (%) 1 4 2 3 1 5 2 3 6 1 2 4 3 1 2
Leakage Current (mA) 1 2 3 2 4 1 2 1 2 1 6 3 5 2 1
Load (A) 1 6 2 3 1 4 2 3 2 1 4 3 2 5 1
Low frequency (Hz) 3 1 5 2 1 4 3 2 1 6 2 3 2 1 4
Low material temperature (0C) 6 2 1 4 2 1 2 3 4 1 2 3 5 1 3
Low sine wave (Vmin/Vef) 1 5 2 1 3 2 4 3 1 2 4 2 1 3 6
Low Voltage (V) 3 1 2 4 1 5 1 2 3 6 1 1 3 2 4
Low weather temperature (0C) 3 1 2 5 1 2 3 4 1 3 2 1 6 2 3
Low wind speed 4 2 3 1 5 2 1 3 2 1 6 2 1 3 4
Over Current (A) 3 1 4 2 1 5 2 3 6 4 2 1 3 2 4
Over Voltage (V) 2 3 1 4 1 5 2 4 1 6 1 3 2 4 1
Phases (Order) 1 1 6 1 1 1 1 1 1 1 1 6 1 1 1
River (m/s) 1 3 2 1 6 2 1 3 4 2 5 3 4 1 4
Sun (Candela) 3 2 4 1 4 2 1 3 2 1 3 2 1 2 3

Appendix C. (Program Codes)

% === mainMonitoringSystem.m ===
% Monitoring System 22 Subprograms
% Graphing a Colored Dot for Each Error Level (1 to 6)
% 6 Colors: From Green (1) to Dark Red (6)
% Printing a Table of Actual Values and Another of Error Levels
close all;
numIterations =15;          % Number of program repetitions
intervalMinutes = 0.1;         % Time period
% === Program Names (to be displayed on the horizontal axis) ===
sensorNames = { 'earth quake', 'flame', 'fuel', 'high frequency', 'high material temperature',...
    'high weather temperature', 'high wind speed', 'high sinewd', 'humidt', 'leakage current',...
    'load', 'low frequency', 'low material temperature', 'low sinewd', 'low voltage',...
    'low weather temperature', 'low wind speed', 'over current', 'over voltage', 'phases',...
    'river', 'sun' };
numSensors = length(sensorNames);       % Number of subprograms
% === Calculating the operating time ===
timeStamps = datetime('now') + minutes((0:numIterations-1)*intervalMinutes);
% === Storing the original random values of subprograms ===
earthquakeValues              = zeros(1, numIterations);
flameValues                   = zeros(1, numIterations);
fuelValues                    = zeros(1, numIterations);
highfrequencyValues           = zeros(1, numIterations);
highmaterialtemperatureValues = zeros(1, numIterations);
highweathertemperatureValues  = zeros(1, numIterations);
highwindspeedValues           = zeros(1, numIterations);
higsinewdValues               = zeros(1, numIterations);
humidtValues                  = zeros(1, numIterations);
leakagecurrentValues          = zeros(1, numIterations);
loadValues                    = zeros(1, numIterations);
lowfrequencyValues            = zeros(1, numIterations);
lowmaterialtemperatureValues  = zeros(1, numIterations);
lowsinewdValues               = zeros(1, numIterations);
lowvoltageValues              = zeros(1, numIterations);
lowweathertemperatureValues   = zeros(1, numIterations);
lowwindspeedValues            = zeros(1, numIterations);
overcurrentValues             = zeros(1, numIterations);
overvoltageValues             = zeros(1, numIterations);
phasesValues                  = zeros(1, numIterations);
riverValues                   = zeros(1, numIterations);
sunValues                     = zeros(1, numIterations);
% === Storing values resulting from running subprograms (error level) ===
earthquakeError              = zeros(1, numIterations);
flameError                   = zeros(1, numIterations);
fuelError                    = zeros(1, numIterations);
highfrequencyError           = zeros(1, numIterations);
highmaterialtemperatureError = zeros(1, numIterations);
highweathertemperatureError  = zeros(1, numIterations);
highwindspeedError           = zeros(1, numIterations);
higsinewdError               = zeros(1, numIterations);
humidtError                  = zeros(1, numIterations);
leakagecurrentError          = zeros(1, numIterations);
loadError                    = zeros(1, numIterations);
lowfrequencyError            = zeros(1, numIterations);
lowmaterialtemperatureError  = zeros(1, numIterations);
lowsinewdError               = zeros(1, numIterations);
lowvoltageError              = zeros(1, numIterations);
lowweathertemperatureError   = zeros(1, numIterations);
lowwindspeedError            = zeros(1, numIterations);
overcurrentError             = zeros(1, numIterations);
overvoltageError             = zeros(1, numIterations);
phasesError                  = zeros(1, numIterations);
riverError                   = zeros(1, numIterations);
sunError                     = zeros(1, numIterations);
% === Definition of 6 colors from green (1) to dark red (6) ===
colorMap = [
0.0, 0.7, 0.0; % 1: Dark green (least dangerous)
0.0, 0.9, 0.3; % 2: Light green
0.8, 0.8, 0.0; % 3: Yellow
1.0, 0.6, 0.0; % 4: Orange
1.0, 0.3, 0.3; % 5: Light red
0.8, 0.0, 0.0 % 6: Dark red (most dangerous level)
];
% === Execute the required number of runs ===
for i = 1:numIterations
% Calculate the operating date and wait
    if i > 1
        waitTime = timeStamps(i) - datetime('now');
        secondsToWait = seconds(waitTime);
        if secondsToWait > 0
            pause(secondsToWait);
        end
    end
% Calling subprograms and getting the value and error
    weathertx = randi([-10, 40]);
    [highweathertemperatureValues(i), highweathertemperatureError(i)]      = GetHighWeatherTemperature(weathertx);
    [lowweathertemperatureValues(i), lowweathertemperatureError(i)]        = GetLowWeatherTemperature(weathertx);
    max_freq =50.4 ;
    min_freq =49.6 ;
    frequencydx= rand() * ( 50.4 - 49.6 )+ 49.6 ;
    [highfrequencyValues(i), highfrequencyError(i)]                        = GetHighFrequency(frequencydx);
    [lowfrequencyValues(i), lowfrequencyError(i)]                          = GetLowfrequency(frequencydx);
    tempmtx = randi ([-20 , 60 ]);
    [highmaterialtemperatureValues(i), highmaterialtemperatureError(i)]    = GetHighMaterialTemperature(tempmtx);
    [lowmaterialtemperatureValues(i), lowmaterialtemperatureError(i)]      = GetLowMaterialTemperature(tempmtx);
    windspx = randi([ 4 ,20]);
    [highwindspeedValues(i), highwindspeedError(i)]                        = GetHighWindSpeed(windspx);
    [lowwindspeedValues(i), lowwindspeedError(i)]                          = GetLowWindSpeed(windspx);
    voltvx = randi ([ 215 , 230]);
    [overvoltageValues(i), overvoltageError(i)]                            = GetOverVoltage(voltvx);
    [lowvoltageValues(i), lowvoltageError(i)]                              = GetLowVoltage(voltvx);
    [earthquakeValues(i), earthquakeError(i)]                              = GetEarthQuake();
    [flameValues(i), flameError(i)]                                        = GetFlame();
    [fuelValues(i), fuelError(i)]                                          = GetFuel();
    max_wdm = 330;
    min_wdm =310;
    sinewdm  = rand()* (max_wdm - min_wdm)+ min_wdm;
    max_dex = 230;
    min_dex = 218;
    sinewdex = rand()* (max_dex - min_dex) + min_dex;
    [higsinewdValues(i), higsinewdError(i)]                                = GetHigSinewd(sinewdex,sinewdm);
    [lowsinewdValues(i), lowsinewdError(i)]                                = GetLowSinewd(sinewdex,sinewdm);
    [humidtValues(i), humidtError(i)]                                      = GetHumidt();
    [leakagecurrentValues(i), leakagecurrentError(i)]                      = GetLeakageCurrent();
    [loadValues(i), loadError(i)]                                          = GetLoad();
    [overcurrentValues(i), overcurrentError(i)]                            = GetOverCurrent();
    [phasesValues(i), phasesError(i)]                                      = GetPhases();
    [riverValues(i), riverError(i)]                                        = GetRiver();
    [sunValues(i), sunError(i)]                                            = GetSun();
% --- Create a new drawing for each cycle ---
    figure(i);
    set(gcf, 'Position', [100, 100, 1400, 600]); % Expand window
% Values obtained from running programs for this time
    errors = [earthquakeError(i), flameError(i), fuelError(i), highfrequencyError(i), ...
              highmaterialtemperatureError(i), highweathertemperatureError(i), highwindspeedError(i), ...
              higsinewdError(i), humidtError(i), leakagecurrentError(i), loadError(i), ...
              lowfrequencyError(i), lowmaterialtemperatureError(i), lowsinewdError(i), ...
              lowvoltageError(i), lowweathertemperatureError(i), lowwindspeedError(i), ...
              overcurrentError(i), overvoltageError(i), phasesError(i), riverError(i), sunError(i)];
    x_positions = 1: numSensors ;
% Set a color for each level point
    colors = zeros(numSensors, 3);
    for k = 1:numSensors
        e = errors(k);
        if e >= 1 && e <= 6
            colors(k, :) = colorMap(e, :); % e is the number from 1 to 6
        else
            colors(k, :) = [0.5, 0.5, 0.5]; % Gray for incorrect values
        end
    end
% Draw colored circular dots
    scatter(x_positions, errors, 120, colors, 'o', 'filled');
% Drawing specifications
%title(['Error level in parts of the power generation system ', num2str(i), ' - ', char(timeStamps(i))], ...
%   'FontSize', 14, 'FontWeight', 'bold');
xlabel('Names of sub-programs', 'FontSize', 12);
ylabel('Error level (0 to 6)', 'FontSize', 12);
set(gca, 'XTick', x_positions, 'XTickLabel', sensorNames);
xtickangle(90);
% --- Defining the y-axis boundaries from 0 to 6 ---
ylim([0, 6]);        % Full range from 0 to 6
yticks(0:6);         % marks at 0, 1, 2, ..., 6
grid on;
xlim([0.5, numSensors + 0.5]);
end
%??? ????? ??? ?????? ????
% ????? ?????? ????????? ?????? ?? ????????
individualNames = {'Earthquake', 'Flame', 'Fuel', 'HighFreq', 'HighMatTemp', ...
        'HighWeatherTemp', 'HighWindSpeed', 'HigSinewd', 'Humidt', 'LeakageCurrent', ...
        'Load', 'LowFreq', 'LowMatTemp', 'LowSinewd', 'LowVoltage', 'LowWeatherTemp',...
        'LowWindSpeed', 'OverCurrent', 'OverVoltage', 'Phases', 'River', 'Sun'};
% ?????? ??????? ??? ????? (???? ?????)
allErrors = [
    earthquakeError;   flameError;   fuelError;   highfrequencyError;   highmaterialtemperatureError; ...
    highweathertemperatureError;   highwindspeedError;   higsinewdError;   humidtError;   leakagecurrentError; ...
    loadError;   lowfrequencyError;   lowmaterialtemperatureError;   lowsinewdError;   lowvoltageError; ...
    lowweathertemperatureError;   lowwindspeedError;   overcurrentError;   overvoltageError;   phasesError; ...
    riverError;   sunError]';
% ??? ????? ??? ?????
startFigureNum = numIterations + 1; % ????? ?????? ???????
for k = 1:numSensors
    figure(startFigureNum + k - 1);
    plot(1:numIterations, allErrors(:,k), '-o', 'LineWidth', 2, 'MarkerSize', 6, 'Color', colorMap(3,:));
    title([individualNames{k}, 'error level for all sub-program '], 'FontSize', 14, 'FontWeight', 'bold');
    xlabel('Name off sub-programs', 'FontSize', 12);
    ylabel('Error level (0 to 6)', 'FontSize', 12);
    ylim([0, 6]);
    yticks(0:6);
    grid on;
    xlim([1, numIterations]);
    set(gca, 'XTick', 1:numIterations);
end
% =====================================================================
% === 3
% === Create a table of random input values ===
T_raw = table(...
    timeStamps', earthquakeValues', flameValues', fuelValues', highfrequencyValues',...
highmaterialtemperatureValues', highweathertemperatureValues', highwindspeedValues', higsinewdValues',...
humidtValues', leakagecurrentValues', loadValues', lowfrequencyValues', lowmaterialtemperatureValues',...
lowsinewdValues', lowvoltageValues', lowweathertemperatureValues', lowwindspeedValues', overcurrentValues',...
overvoltageValues', phasesValues', riverValues', sunValues', ...
    'VariableNames', {'Time', 'Earthquake', 'Flame', 'Fuel', 'HighFreq', 'HighMatTemp', ...
        'HighWeatherTemp', 'HighWindSpeed', 'HigSinewd', 'Humidt', 'LeakageCurrent', ...
        'Load', 'LowFreq', 'LowMatTemp', 'LowSinewd', 'LowVoltage', 'LowWeatherTemp',...
        'LowWindSpeed', 'OverCurrent', 'OverVoltage', 'Phases', 'River', 'Sun'} );
fprintf('\n=== Table of random input values ===\n');
disp(T_raw);
% === Create an error level table ===
T_errors = table( timeStamps', earthquakeError', flameError', fuelError', highfrequencyError',...
    highmaterialtemperatureError', highweathertemperatureError', highwindspeedError', higsinewdError',...
    humidtError', leakagecurrentError', loadError', lowfrequencyError', lowmaterialtemperatureError', ...
    lowsinewdError', lowvoltageError', lowweathertemperatureError', lowwindspeedError', overcurrentError',...
    overvoltageError', phasesError', riverError', sunError', ...
    'VariableNames', {'Time', 'Earthquake_Error', 'Flame_Error', 'Fuel_Error', 'HighFreq_Error',...
    'HighMatTemp_Error', 'HighWeatherTemp_Error', 'HighWindSpeed_Error', 'HigSinewd_Error', 'Humidt_Error',...
    'LeakageCurrent_Error', 'Load_Error', 'LowFreq_Error', 'LowMatTemp_Error', 'LowSinewd_Error',...
    'LowVoltage_Error', 'LowWeatherTemp_Error', 'LowWindSpeed_Error', 'OverCurrent_Error',...
    'OverVoltage_Error', 'Phases_Error', 'River_Error', 'Sun_Error'} );
fprintf('\n=== Error level table ===\n');
disp(T_errors);
% Preallocate repetition counts for each iteration
repetitionData = zeros(numIterations, 6); % Columns: Count of levels 1 to 6
for i = 1:numIterations
    currentErrors = [earthquakeError(i), flameError(i), fuelError(i), highfrequencyError(i), ...
                     highmaterialtemperatureError(i), highweathertemperatureError(i), highwindspeedError(i), ...
                     higsinewdError(i), humidtError(i), leakagecurrentError(i), loadError(i), ...
                     lowfrequencyError(i), lowmaterialtemperatureError(i), lowsinewdError(i), ...
                     lowvoltageError(i), lowweathertemperatureError(i), lowwindspeedError(i), ...
                     overcurrentError(i), overvoltageError(i), phasesError(i), riverError(i), sunError(i)];
% Call the subprogram (make sure countErrorRepetitions.m exists)
    Repet = countErrorRepetitions(currentErrors);
% Store
    repetitionData(i, :) = Repet;
    errorrepit();
end
% --- Convert timeStamps to cell array of strings for RowNames ---
rowNames = cell(numIterations, 1);
for i = 1:numIterations
    rowNames{i} = datestr(timeStamps(i), 'HH:MM:SS'); % Format: 14:30:22
end
% --- Create the repetition table ---
T_repetition = array2table(repetitionData, ...
    'RowNames', rowNames, ...
    'VariableNames', {'Repet_1', 'Repet_2', 'Repet_3', 'Repet_4', 'Repet_5', 'Repet_6'});
fprintf('\n=== Repetition Count Table (1 to 6) ===\n');
disp(T_repetition);
% === Save tables to Excel files ===
try
    writetable(T_raw, 'Raw_Data.xlsx');
    writetable(T_errors, 'Errors_Report.xlsx');
    writetable(T_repetition, 'Repetition_Report.xlsx');
    fprintf('Reports saved to Excel files.\n');
catch
    fprintf('Warning: Files were not saved.\n');
end
Note: Besides 22 Subprograms

References

  1. Aghdam, F.H.; Mohammadi-Ivatloo, B.; Abapour, M.; Marzband, M.; Rasti, M.; Pongracz, E. Enhancing the risk-oriented participation of wind power plants in day-ahead, balancing, and hydrogen markets with shared multi-energy storage systems. J. Energy Storage 2025, 107, 114911. [Google Scholar] [CrossRef]
  2. Ahmed, M.M.R.; Mirsaeidi, S.; Koondhar, M.A.; Karami, N.; Tag-Eldin, E.M.; Ghamry, N.A.; Sharaf, A.M. Mitigating Uncertainty Problems of Renewable Energy Resources Through Efficient Integration of Hybrid Solar PV/Wind Systems Into Power Networks. IEEE Access 2024, 12, 30311–30328. [Google Scholar] [CrossRef]
  3. Allal, Z.; Noura, H.N.; Salman, O.; Chahine, K. Machine learning solutions for renewable energy systems: Applications, challenges, limitations, and future directions. J. Environ. Manag. 2024, 354, 120392. [Google Scholar] [CrossRef]
  4. Allal, Z.; Noura, H.N.; Vernier, F.; Salman, O.; Chahine, K. Wind turbine fault detection and identification using a two-tier machine learning framework. Intell. Syst. Appl. 2024, 22, 200372. [Google Scholar] [CrossRef]
  5. Anwar, T.; Mu, C.; Yousaf, M.Z.; Khan, W.; Khalid, S.; Hourani, A.O.; Zaitsev, I. Robust fault detection and classification in power transmission lines via ensemble machine learning models. Sci. Rep. 2025, 15, 2549. [Google Scholar] [CrossRef]
  6. Bo, Z.Q.; Lin, X.N.; Wang, Q.P.; Yi, Y.H.; Zhou, F.Q. Developments of power system protection and control. Prot. Control Mod. Power Syst. 2016, 1, 1–8. [Google Scholar] [CrossRef]
  7. Boza, P.; Evgeniou, T. Artificial intelligence to support the integration of variable renewable energy sources to the power system. Appl. Energy 2021, 290, 116754. [Google Scholar] [CrossRef]
  8. Cao, H.; Zhang, D.; Yi, S. Real-time machine learning-based fault detection, classification, and location in large scale solar energy-based systems: Digital twin simulation. Sol. Energy 2023, 251, 77–85. [Google Scholar]
  9. Ding, X.; Gong, Y.; Wang, C.; Zheng, Z. Artificial intelligence based abnormal detection system and method for wind power equipment. Int. J. Thermofluids 2024, 21, 100569. [Google Scholar] [CrossRef]
  10. Elshenawy, L.M.; Gafar, A.A.; Awad, H.A.; AbouOmar, M.S. Fault detection of wind turbine system based on data-driven methods: A comparative study. Neural Comput. Appl. 2024, 36, 10279–10296. [Google Scholar] [CrossRef]
  11. Energy Consortium. An Introduction to Microgrids: Benefits, Components, and Applications for a Sustainable Energy Future. Available online: https://energyconsortium.org/an-introduction-to-microgrids-benefits-components-and-applications-for-a-sustainable-energy-future/ (accessed on 6 January 2025).
  12. Erdiwansyah, F.; Mahidin, F.; Husin, H.; Nasaruddin, F.; Zaki, M.; Muhibbuddin, F. A critical review of the integration of renewable energy sources with various technologies. Prot. Control Mod. Power Syst. 2021, 6, 1–18. [Google Scholar]
  13. Etukudoh, E.A.; Fabuyide, A.; Ibekwe, K.I.; Sonko, S.; Ilojianya, V.I. Electrical engineering in renewable energy systems: A review of design and integration challenges. Eng. Sci. Technol. J. 2024, 5, 231–244. [Google Scholar] [CrossRef]
  14. Feng, X.; Xiong, Q.; Wardell, D.; Gattozzi, A.L.; Strank, S.M.; Hebner, R.E. Extra-fast DC distribution system protection for future energy systems. IEEE Trans. Ind. Appl. 2019, 55, 3421–3430. [Google Scholar] [CrossRef]
  15. Furse, C.M.; Kafal, M.; Razzaghi, R.; Shin, Y.J. Fault diagnosis for electrical systems and power networks: A review. IEEE Sens. J. 2021, 21, 888–906. [Google Scholar] [CrossRef]
  16. Ibrahim, M.S.; Dong, W.; Yang, Q. Machine learning driven smart electric power systems: Current trends and new perspectives. Appl. Energy 2020, 272, 115237. [Google Scholar] [CrossRef]
  17. Jargalsaikhan, N.; Ueda, S.; Masahiro, F.; Matayoshi, H.; Mikhaylov, A.; Byambaa, S.; Senjyu, T. Exploring the influence of air density deviation on power production of wind energy conversion system: Study on correction method. Renew. Energy 2024, 220, 119636. [Google Scholar] [CrossRef]
  18. Jove, E.; González-Cava, J.M.; Casteleiro-Roca, J.L.; Alaiz-Moretón, H.; Baruque, B.; Leitão, P.; Calvo-Rolle, J.L. An intelligent system for harmonic distortions detection in wind generator power electronic devices. Neurocomputing 2021, 456, 609–621. [Google Scholar] [CrossRef]
  19. Kaitouni, S.I.; Abdelmoula, I.A.; Es-sakali, N.; Mghazli, M.O.; Er-retby, H.; Zoubir, Z.; Brigui, J. Implementing a digital twin-based fault detection and diagnosis approach for optimal operation and maintenance of urban distributed solar photovoltaics. Renew. Energy Focus 2024, 48, 100530. [Google Scholar] [CrossRef]
  20. Koohi-Fayegh, S.; Rosen, M.A. A review of renewable energy options, applications, facilitating technologies and recent developments. Eur. J. Sustain. Dev. Res. 2020, 4, em0138. [Google Scholar] [CrossRef] [PubMed]
  21. Kumar, S.; Saket, R.K.; Dheer, D.K.; Holm-Nielsen, J.B.; Sanjeevikumar, P. Reliability enhancement of electrical power system including impacts of renewable energy sources: A comprehensive review. IET Gener. Transm. Distrib. 2020, 14, 1799–1815. [Google Scholar] [CrossRef]
  22. Liu, S.; Yang, N.; Song, X.; Liu, X.; Jiang, Q. Real-time scheduling of renewable power systems through planning-based reinforcement learning. In Proceedings of the 2025 IEEE PES Innovative Smart Grid Technologies-Asia (ISGT Asia), 2025; pp. 60–66. [Google Scholar]
  23. Liu, Y.; Ning, P.; Reiter, M.K. False data injection attacks against state estimation in electric power grids. ACM Trans. Inf. Syst. Secur. 2011, 14, 1–33. [Google Scholar] [CrossRef]
  24. Mathiesen, B.V.; Lund, H.; Connolly, D.; Wenzel, H.; Østergaard, P.A.; Möller, B.; Hvelplund, F.K. Smart energy systems for coherent 100% renewable energy and transport solutions. Appl. Energy 2015, 145, 139–154. [Google Scholar] [CrossRef]
  25. Moloi, K.; Hamam, Y.; Jordaan, J.A. A support vector machine based technique for fault detection in a power distribution integrated system with renewable energy distributed generation. Adv. Sci. Technol. Eng. Syst. J. 2020, 5, 577–588. [Google Scholar] [CrossRef]
  26. Najafzadeh, M.; Pouladi, J.; Daghigh, A.; Beiza, J.; Abedinzade, T. Fault detection, classification and localization along the power grid line using optimized machine learning algorithms. Int. J. Comput. Intell. Syst. 2024, 17, 49. [Google Scholar] [CrossRef]
  27. Nascimento, J.P.; Brito, N.S.; Souza, B.A. An adaptive overcurrent protection system applied to distribution systems. Comput. Electr. Eng. 2020, 81, 106545. [Google Scholar] [CrossRef]
  28. Ozcanli, A.K.; Yaprakdal, F.; Baysal, M. Deep learning methods and applications for electrical power systems: A comprehensive review. Int. J. Energy Res. 2020, 44, 7136–7157. [Google Scholar] [CrossRef]
  29. Panigrahi, B.K.; Bhuyan, A.; Shukla, J.; Ray, P.K.; Pati, S. A comprehensive review on intelligent islanding detection techniques for renewable energy integrated power system. Int. J. Energy Res. 2021, 45, 14085–14116. [Google Scholar] [CrossRef]
  30. Pata, S.K.; Pata, U.K. Comparative analysis of the impacts of solar, wind, biofuels and hydropower on load capacity factor and sustainable development index. Energy 2025, 134991. [Google Scholar] [CrossRef]
  31. Pujara, D.; Ramirez, D.; Tepedelenlioglu, C.; Srinivasan, D.; Spanias, A. Real-time PV fault detection using embedded machine learning. In Proceedings of the 2024 IEEE 7th International Conference on Industrial Cyber-Physical Systems (ICPS), 2024; pp. 1–5. [Google Scholar]
  32. Safder, M.U.; Sanjari, M.J.; Hamza, A.; Garmabdari, R.; Hossain, M.A.; Lu, J. Enhancing microgrid stability and energy management: Techniques, challenges, and future directions. Energies 2023, 16, 6417. [Google Scholar] [CrossRef]
  33. Salem, A.A.; Abd-Rahman, R.; Al-Gailani, S.A.; Kamarudin, M.S.; Ahmad, H.; Salam, Z. The leakage current components as a diagnostic tool to estimate contamination level on high voltage insulators. IEEE Access 2020, 8, 92514–92528. [Google Scholar] [CrossRef]
  34. Satyanrayana, M.; Veeramsetty, V.; Rajababu, D. Signal processing approaches for power quality disturbance classification: A comprehensive review. Results Eng. 2025, 104569. [Google Scholar] [CrossRef]
  35. Saxena, A.; Shankar, R.; El-Saadany, E.; Kumar, M.; Al Zaabi, O.; Al Hosani, K.; Muduli, U.R. Intelligent load forecasting and renewable energy integration for enhanced grid reliability. In IEEE Trans. Ind. Appl.; 2024. [Google Scholar]
  36. Shaabani, B.; Chatoorgoon, V.; Bibeau, E.L. Using numerical analysis to design and optimize river hydrokinetic turbines' capacity factor to address seasonal velocity variations. Energies 2025, 18, 477. [Google Scholar] [CrossRef]
  37. Stoliarov, O. Efficient electricity generation forecasting from solar power plants using technology: Integration, benefits and prospects. Bull. Cherkasy State Technol. Univ. Tech. Sci. 2024, 29, 73–85. [Google Scholar] [CrossRef]
  38. Tovar-Facio, J.; Martín, M.; Ponce-Ortega, J.M. Sustainable energy transition: Modeling and optimization. Curr. Opin. Chem. Eng. 2021, 31, 100661. [Google Scholar] [CrossRef]
  39. Van Dijk, M.; Gezer, D.; Rudolf, P. Unlocking hydropower's potential: Retrofitting infrastructure and harnessing unconventional sources for clean energy transitions. In IOP Conference Series: Earth and Environmental Science; IOP Publishing, 2025; Volume 1442, p. 012006. [Google Scholar]
  40. Veeramachaneni, V. Optimizing renewable energy integration in AI-driven data centers using quantum algorithms. J. Netw. Secur. Data Min. 2025, 8, 36–48. [Google Scholar]
  41. Wang, Y.; Levin, T.; Kwon, J.; Baker, E. The value of hydropower flexibility for electricity system decarbonization. Energy Rep. 2025, 13, 2711–2721. [Google Scholar] [CrossRef]
Figure 1. Errors that can be encountered in electrical energy systems [11].
Figure 1. Errors that can be encountered in electrical energy systems [11].
Preprints 216998 g001
Figure 2. Model of a smart grid with renewable energy systems and different electrical loads. Source: adapted from renewable-integrated smart-grid concepts in [12,24].
Figure 2. Model of a smart grid with renewable energy systems and different electrical loads. Source: adapted from renewable-integrated smart-grid concepts in [12,24].
Preprints 216998 g002
Figure 3. Infrared thermal imaging with convolutional neural networks. Source: author-created conceptual illustration based on digital-twin and PV fault-detection studies [8,19].
Figure 3. Infrared thermal imaging with convolutional neural networks. Source: author-created conceptual illustration based on digital-twin and PV fault-detection studies [8,19].
Preprints 216998 g003
Figure 4. Advanced pipeline for mathematical severity normalization, weighted risk scoring, alert labeling, database expansion, and future smart-learning model training.
Figure 4. Advanced pipeline for mathematical severity normalization, weighted risk scoring, alert labeling, database expansion, and future smart-learning model training.
Preprints 216998 g004
Figure 5. Daily error occurrence estimates for January 19, 2025. Source: software simulation created by the author from the proposed database.
Figure 5. Daily error occurrence estimates for January 19, 2025. Source: software simulation created by the author from the proposed database.
Preprints 216998 g005
Figure 6. Estimates of daily error occurrences for February 15, 2025. Source: Software simulation created by the author from the proposed database.
Figure 6. Estimates of daily error occurrences for February 15, 2025. Source: Software simulation created by the author from the proposed database.
Preprints 216998 g006
Figure 7. Daily error occurrence estimates for March 13, 2025. Source: Software simulation created by the author from the proposed database.
Figure 7. Daily error occurrence estimates for March 13, 2025. Source: Software simulation created by the author from the proposed database.
Preprints 216998 g007
Figure 8. Estimates of daily error occurrences for April 5, 2025. Source: Software simulation created by the author from the proposed database.
Figure 8. Estimates of daily error occurrences for April 5, 2025. Source: Software simulation created by the author from the proposed database.
Preprints 216998 g008
Figure 9. Estimates of daily error occurrences for April 29, 2025. Source: Software simulation created by the author from the proposed database.
Figure 9. Estimates of daily error occurrences for April 29, 2025. Source: Software simulation created by the author from the proposed database.
Preprints 216998 g009
Figure 10. Estimates of daily error occurrences for May 25, 2025. Source: Software simulation created by the author from the proposed database.
Figure 10. Estimates of daily error occurrences for May 25, 2025. Source: Software simulation created by the author from the proposed database.
Preprints 216998 g010
Figure 11. Estimates of daily error occurrences for June 18, 2025. Source: Software simulation created by the author from the proposed database.
Figure 11. Estimates of daily error occurrences for June 18, 2025. Source: Software simulation created by the author from the proposed database.
Preprints 216998 g011
Figure 12. Estimates of daily error occurrences for July 14, 2025. Source: Software simulation created by the author from the proposed database.
Figure 12. Estimates of daily error occurrences for July 14, 2025. Source: Software simulation created by the author from the proposed database.
Preprints 216998 g012
Figure 13. Estimates of daily error occurrences for August 5, 2025. Source: Software simulation created by the author from the proposed database.
Figure 13. Estimates of daily error occurrences for August 5, 2025. Source: Software simulation created by the author from the proposed database.
Preprints 216998 g013
Figure 14. Estimates of daily error occurrences for August 27, 2025. Source: Software simulation created by the author from the proposed database.
Figure 14. Estimates of daily error occurrences for August 27, 2025. Source: Software simulation created by the author from the proposed database.
Preprints 216998 g014
Figure 15. Estimates of daily error occurrences for September 23, 2025. Source: Software simulation created by the author from the proposed database.
Figure 15. Estimates of daily error occurrences for September 23, 2025. Source: Software simulation created by the author from the proposed database.
Preprints 216998 g015
Figure 16. Estimates of daily error occurrences for October 18, 2025. Source: Software simulation created by the author from the proposed database.
Figure 16. Estimates of daily error occurrences for October 18, 2025. Source: Software simulation created by the author from the proposed database.
Preprints 216998 g016
Figure 17. Estimates of daily error occurrences for November 15, 2025. Source: Software simulation created by the author from the proposed database.
Figure 17. Estimates of daily error occurrences for November 15, 2025. Source: Software simulation created by the author from the proposed database.
Preprints 216998 g017
Figure 18. Estimates of daily error occurrences for December 10, 2025. Source: Software simulation created by the author from the proposed database.
Figure 18. Estimates of daily error occurrences for December 10, 2025. Source: Software simulation created by the author from the proposed database.
Preprints 216998 g018
Figure 19. Estimated daily error occurrences for January 15, 2026. Source: Software simulation created by the author from the proposed database.
Figure 19. Estimated daily error occurrences for January 15, 2026. Source: Software simulation created by the author from the proposed database.
Preprints 216998 g019
Table 1. Summary of ML-based fault detection studies.
Table 1. Summary of ML-based fault detection studies.
Reference
(Authors, Year)
Focus Key Findings
Ibrahim et al. [16] Machine learning applications in smart power systems ML enables transformation of conventional grids into smart, self-healing systems through improved fault detection, forecasting, and control.
Ozcanli et al. [28] Deep learning in electrical power systems Deep learning models outperform classical ML in complex tasks but require large datasets and careful training.
Furse et al. [15] Fault diagnosis in electrical power systems Transition from model-based methods to data-driven ML approaches improves diagnostic performance in complex systems.
Cao et al. [8] ML-based fault detection in solar PV with digital twin Digital twin–based ML enables real-time, accurate fault detection and localization in large-scale PV systems.
Kaitouni et al. [19] Digital twin–assisted fault detection in urban PV systems Combining digital twin models with ML improves fault sensitivity and reduces false alarms.
Pujara et al. [31] Embedded ML for PV fault detection Lightweight ML models enable real-time fault detection at the edge with reduced communication overhead.
Allal et al. [3] Two-tier ML framework for wind turbine faults Hierarchical ML improves accuracy and robustness in wind turbine fault detection and classification.
Ding et al. [9] AI-based abnormal detection in wind systems Adaptive AI systems enable automatic feature extraction and robust anomaly detection under varying conditions.
Elshenawy et al. [10] Comparative ML methods for wind turbine fault detection No single ML model dominates; performance depends on data and fault type, encouraging hybrid approaches.
Jove et al. [18] Harmonic distortion detection in wind generators ML-based harmonic analysis improves early detection of converter-related faults.
Anwar et al. [5] Ensemble ML for transmission line fault detection Ensemble models improve robustness and accuracy across varying fault conditions.
Najafzadeh et al. [26] ML-based fault localization in power grids Optimized ML models enable precise fault location, improving maintenance and restoration speed.
Moloi et al. [25] SVM-based fault detection in distribution systems with DG SVM effectively detects faults in systems with bidirectional power flow where traditional methods fail.
Panigrahi et al. [29] Intelligent islanding detection methods ML-based approaches outperform classical methods in distinguishing islanding conditions.
Satyanrayana et al. [34] Power quality disturbance classification
Combining signal processing with ML achieves high accuracy in detecting disturbances like harmonics and transients.
Table 2. Scenarios of faults.
Table 2. Scenarios of faults.
No Scenario No Scenario
1 Present of earthquake. 12 Low Frequency distortion.
2 Present of flame. 13 Low material temperature.
3 Status of fuel. 14 Low sine wave distortion.
4 High Frequency distortion. 15 Low voltage.
5 Excessive hot material temperature. 16 Excessive cold weather.
6 Excessive hot weather. 17 Low wind speed.
7 Present of high wind speed. 18 Over current.
8 Present of high sine wave distortion. 19 Over voltage.
9 Present of humidity. 20 Phase sequence distortion.
10 Leakage Current. 21 Insufficient of water.
11 Present of excessive load. 22 Present of sun energy.
Table 3. Descriptions of fault and sustainability parameters in the energy system.
Table 3. Descriptions of fault and sustainability parameters in the energy system.
Category Parameter Description (Software / System Oriented)
Electrical Low Voltage Voltage drops below nominal level;
reduces efficiency and equipment
performance
Electrical Over Voltage Risk of insulation damage and electronic component failure
Electrical Over Current Indicates overload or short circuit; fire and equipment damage risk
Electrical Leakage Current Insulation degradation or moisture-related safety hazard
Electrical Phase Sequence Distortion May cause reverse motor rotation and mechanical damage
Electrical Low Sine Wave
Distortion
Indicates weak loading or measurement instability
Electrical High Sine Wave
Distortion
Harmonic distortion causing losses and equipment overheating
Electrical Low Frequency
Distortion
Indicates generation–load imbalance affecting grid stability
Electrical High Frequency Distortion Switching noise and EMI affecting
control and communication systems
Thermal Low Material
Temperature
Causes mechanical brittleness and battery efficiency reduction
Thermal Excessive High
Material Temperature
Leads to thermal stress, insulation
failure, and fire risk
Load / Source Excessive Load Presence System operating beyond rated capacity; sustainability risk
Load / Source Fuel Status Critical for continuity of energy supply in generator or hybrid systems
Environmental Earthquake Presence Risk of physical infrastructure damage and sudden outages
Environmental Excessive Hot Weather Increases cooling demand and reduces system efficiency
Environmental Excessive Cold Weather Degrades battery, fuel, and mechanical performance
Environmental Low Wind Speed Insufficient wind energy generation
potential
Environmental High Wind Speed
Presence
Increased generation potential but higher structural risk
Environmental Humidity Presence Causes corrosion, leakage current, and insulation degradation
Environmental Solar Energy Presence Indicates photovoltaic generation
potential
Environmental Insufficient Water Risk for cooling systems, hydro power, and fire safety
Safety Flame Presence Early fire indicator; requires immediate alarm and shutdown
Table 4. Determination studies for the frequency of occurrence of 22 variables.
Table 4. Determination studies for the frequency of occurrence of 22 variables.
Category Parameter Normal / Acceptable Level
(Typical)
Notes for 6-level input (0–6) Key literature / standards (examples)
Electrical Low Voltage LV supply voltage typically within ±10% of nominal (e.g., 230 V system: ~207–253 V) for most of the week. (Інтернет-магазин «Електрoвимір») Map 1 = within band, 2–3 = mild undervoltage, 4–6 = deep/prolonged undervoltage EN 50160 (voltage variation statistical limits). (leonardo-energy.pl)
Electrical Over Voltage OV supply voltage typically within ±10% of nominal (same band as above); overvoltage = above that band. (Інтернет-магазин «Електрoвимір») 1 = within band; higher levels by magnitude + duration EN 50160. (leonardo-energy.pl)
Electrical Low
Frequency
Distortion
Grid frequency (interconnected systems): 49.5–50.5 Hz (10 s mean) for 99.5% of a week; outside = abnormal. (Інтернет-магазин «Електрoвимір») Use deviation (Hz) + persistence (seconds/minutes) EN 50160 summaries and guidance. (Інтернет-магазин «Електрoвимір»)
Electrical High
Frequency Distortion
Same normal band as above: 50–50.5 Hz (10 s mean) for interconnected systems. (Інтернет-магазин «Електрoвимір») If you truly mean EMI/high-frequency conducted disturbances, treat separately (see IEC 61000-2-2). (IEC Webstore) EN 50160 (frequency); IEC 61000-2-2 (conducted disturbances compatibility levels). (Інтернет-магазин «Електрoвимір»)
Power Quality Low Sine Wave
Distortion
Voltage waveform “normal” typically means harmonic voltage distortion within standard limits (THD-V). For LV: THD often ≤ 8% (IEEE 519). (Comsys) 1 = THD within limit; levels 2–6 by %THD and time IEEE 519-2022 voltage distortion limits. (Comsys)
Power Quality High
Sine Wave Distortion
Typical “acceptable” THD-V limits by bus voltage: ≤1 kV: THD 8%, 1–69 kV: 5%, 69–161 kV: 2.5% (IEEE 519). (Comsys) Use your PCC voltage level to select limit; map severity by margin over limit IEEE 519-2022 Table (voltage THD). (Comsys)
Power Quality / EMC High-Frequency Conducted Disturbance (if this is what you mean by HF distortion) Compatibility levels for conducted disturbances in LV networks are addressed in IEC 61000-2-2 (0–9 kHz, with extension for signalling). (IEC Webstore) Use measured band (kHz), amplitude (dBµV/%) and compare to compatibility level IEC 61000-2-2 scope/compatibility levels. (IEC Webstore)
Electrical Over Current “Normal” is ≤ rated current for equipment; many protection practices treat continuous operation below nameplate (often ~80% for standard breakers in some regimes). (Rockwell Automation) 1 = below continuous design band; 5–6 = sustained overload/instantaneous fault Practical guidance on 80% vs 100% rated breakers (industry notes). (Rockwell Automation)
Electrical Leakage Current For personnel protection, RCD sensitivity ≤ 30 mA is widely used as “additional protection” threshold in IEC 60364 context. (library.e.abb.com) You can map levels using residual current bands (e.g., <5 mA, 5–15, 15–30, >30 mA) IEC 60364-4-41 guidance via ABB technical guide / references. (library.e.abb.com)
Electrical / Safety Touch/Equipment Leakage (device design view) Some equipment standards commonly use 3.5 mA as a notable touch-current limit for certain classes; higher may be allowed with conditions. (advancedenergy.com) If you measure equipment “touch current,” separate it from installation residual-current protection IEC 950 / EN 60950-1 discussion & leakage current notes (application notes). (advancedenergy.com)
Electrical Phase
Sequence Distortion
Normal = correct phase sequence (e.g., ABC) as required for intended rotation; wrong sequence implies reverse rotation risk.
(Legal source)
1 = correct; 6 = incorrect (hard fault), or grade by detection confidence IEC 60034-8 (connections/sequence and reversing rotation by swapping phases). (Legal source)
Thermal Low
Material Temperature
“Normal” depends on installation class; many stationary protected locations are described via IEC 60721-3-3 climate classes (temperature/humidity severities). (IEC Webstore) Choose your target class (e.g., controlled indoor vs weather-protected) then map 1–6 to that band IEC 60721-3-3 (environmental parameter severities). (IEC Webstore)
Thermal Excessive High
Material Temperature
Same approach: define acceptable band per equipment limits and environmental class; IEC 60721 helps define ambient severities for stationary installations. (IEC Webstore) Use manufacturer nameplate limits for windings/batteries; map severity by °C above limit IEC 60721-3-3. (IEC Webstore)
Environmental Excessive Cold Weather Use site climate class / design envelope (IEC 60721-3-3 provides classes for stationary installations, incl. weather-protected). (IEC Webstore) 1 = within design envelope; 6 = outside envelope (icing/embrittlement risk) IEC 60721-3-3 and related environmental engineering mappings. (IEC Webstore)
Environmental Excessive Hot Weather Same as above—define normal envelope via IEC 60721 class and local design. (IEC Webstore) Severity by ambient °C and duration IEC 60721-3-3. (IEC Webstore)
Environmental Humidity Presence Define acceptable RH band by installation class; IEC 60721-3-3 classifies humidity severities for stationary installations. (IEC Webstore) Map 1–6 by RH% and condensation/icing risk flags IEC 60721-3-3; example industry climate-class guidance derived from it. (IEC Webstore)
Environmental / Wind Low Wind Speed For wind generation context, cut-in speeds around ~3 m/s are common; below cut-in = low/no generation. (Guardian) 1 = above cut-in; higher levels by sustained below cut-in (sustainability/availability impact) Typical cut-in discussion + turbine model specs example. (Guardian)
Environmental / Wind High Wind Speed
Presence
Many turbines have cut-out ~25 m/s (example spec); above implies shutdown/structural risk. (Wind Turbine Models) 1 = within operating range; 6 = above cut-out/survival conditions Turbine spec example; planning docs showing cut-out norms. (Wind Turbine Models)
Environmental / Wind (Design) Wind Speed Design Class (optional, if you want a standards-based classifier) IEC 61400-1 defines design classes and external conditions framework for turbines (site suitability/design). (METU Aeronautik Mühendisliği) Map 1–6 to your chosen IEC class exceedance likelihood IEC 61400-1 (design requirements / classes). (METU Aeronautik Mühendisliği)
Environmental / PV Solar Energy Presence PV “reference” irradiance commonly uses STC: 1000 W/m² (and typically 25°C cell temp); use this as a normalization point. (JRC Publications) 1 = night/very low irradiance; higher levels by irradiance bands (W/m²) STC reference irradiance in PV standards guidance. (JRC Publications)
Environmental / Seismic Earthquake Presence Normal = no seismic event; thresholds are typically site-dependent. IEEE 693 defines seismic qualification levels used in substation equipment design/qualification. (IEEE Standards Association) Map 1 = no shaking; 4–6 based on PGA/response spectra exceedance (per site hazard) IEEE 693 (seismic design/qualification of substations). (IEEE Standards Association)
Safety Flame
Presence
Normal = no flame detected. NFPA 72 is the core code for fire alarm/signaling; flame detection performance requirements are referenced/used in industry practice. (NFPA) 5 = confirmed flame alarm; add intermediate levels for pre-alarm confidence NFPA 72 overview + code references. (NFPA)
Load / Source Fuel Status “Normal” = above minimum reserve threshold required for autonomy target (hours/days); value is site-specific (tank size, consumption, criticality). Map 0 = full/healthy; 6 = below reserve / imminent shutdown (No single universal standard threshold; define by design autonomy + risk policy.)
Utilities / Cooling Insufficient Water “Normal” depends on use: cooling water, hydro resource, firewater tank, etc. Define minimum operating level/pressure/flow per plant design and safety case. Map by % of minimum required flow/level and duration (Strongly site-specific; standards depend on application—cooling vs fire protection vs hydro.)
Load Excessive Load Presence Normal = operate within continuous design band; many engineering practices keep sustained loading below nameplate/thermal limits (e.g., typical 80% continuous for standard breakers in some regimes). (Rockwell Automation) 1 = normal band; 4–6 = sustained overload or repeated overload cycles Industry guidance on continuous loading vs breaker rating. (Rockwell Automation)
Table 5. Normal level ranges for six severity levels based on determination data.
Table 5. Normal level ranges for six severity levels based on determination data.
Variable Unit Priority
Level
Number of
Scenarios
Limits
Present of earthquake. Richter 2 6 0 to 6
Present of flame. Centigrade 1 6 1 to 5
Present of fuel. Liter 1 6 5 to 35
High Frequency distortion. Hz 2 6 49.6 to 50.4
Excessive hot material temperature. Centigrade 1 6 -20 to 60
Excessive hot weather. Centigrade 3 6 -10 to 40
Present of high wind speed. m/s 3 6 4 to 20
High sine wave distortion. - 3 6 310 to 330
218 to 230
Present of humidity. 2 6 0 to 50
Leakage current. mA 1 6 0 to 30
Present of excessive load. A 1 6 50 to 95
Low Frequency distortion. Hz 2 6 49.6 to 50.4
Low material temperature. Centigrade 1 6 -20 to 60
Low sine wave distortion. - 3 6 310 to 330
218 to 230
Low voltage. V 2 6 215 to 230
Excessive cold weather. Centigrade 3 6 -10 to 40
Low wind speed. m/s 3 6 4 to 20
Over current. A 1 6 45 to 75
Over voltage. V 2 6 215 to 230
Phase sequence distortion (L1-L2-L3) - 1 6 123,132,213,
231,321, 312
Insufficient of water. meter 3 6 5 to 20
Insufficient of sun energy. Candela 3 6 25000 to 110000
Table 6. Evaluation outcomes of the program.
Table 6. Evaluation outcomes of the program.
Output Level Number of Outputs Program Comment Number of Outputs Program Comment Number of Outputs Program Comment
1 1:22 The system is in good condition (no warning). - - - -
2 1:14 Low Level Alert:
“warning”
15:22 Medium Level Alert: “WARNING!”
3 1:11 Low Level Alert: “warning” 12:18 Medium Level Alert: “WARNING!” 19:22 High Level Alert: “STOP”
(The Systems Shut Down)
4 1:7 Low Level Alert:
“warning”
8:16 Medium Level Alert: “WARNING!” 17:22 (The Systems Shut Down)
5 1:6
Medium Level Alert: “WARNING!”
7:22
High Level Alert: “STOP”
(The Systems Shut Down)
6 1:22
High Level Alert: “STOP”
(The Systems Shut Down)
Note: If there are problems with renewable resources, then fuel-based production becomes necessary.
Table 7. Randomly generated values entered ten times with a half-hour interval between each run.
Table 7. Randomly generated values entered ten times with a half-hour interval between each run.
Names of
sub-programs
Time
00:39:21 01:09:21 01:39:21 02:09:21 02:39:21 03:09:21 03:39:21 04:09:21 04:39:21 05:09:21
Earthquake 1 5 1 4 2 5 0 3 4 4
Flame 1 5 5 2 2 4 1 5 3 3
Fuel 10 9 20 15 19 5 10 19 18 8
High frequency 49.97 50.22 50.07 49.94 50.35 50.30 50.08 50.45 50.33 50.24
High material temperature 56 60 52 36 56 37 20 27 34 25
High weather temperature 17 33 38 32 22 26 29 21 26 32
High wind speed 20 19 17 20 18 13 12 20 15 17
High Sine wave 210 219 229 220 212 216 223 220 225 211
Humidity 17 28 28 38 20 12 43 31 21 7
Leakage Current 22 8 22 12 8 10 30 25 21 0
Load 86 84 76 94 82 67 76 76 93 70
Low frequency 49.73 49.70 49.32 50.09 49.52 49.73 50.09 49.46 49.92 49.96
Low material temperature 8 6 -2 15 16 3 2 -2 8 5
Low sine wave 211 212 220 219 218 218 216 230 218 228
Low Voltage 216 217 217 216 217 218 217 218 218 215
Low weather temperature -9 -1 14 10 8 7 2 8 1 13
Low wind speed 5 11 11 11 11 12 4 10 4 4
Over Current 68 70 72 73 65 68 73 59 55 63
Over Voltage 227 227 224 226 226 224 220 225 229 221
Phases 312 123 231 231 132 321 213 231 123 231
River 14 5 18 7 12 7 18 7 18 5
Sun 31008 72587 10434 10147 85673 30139 58535 72775 31635 90168
Table 8. Output levels obtained by running 22 subprograms ten times with a half-hour interval.
Table 8. Output levels obtained by running 22 subprograms ten times with a half-hour interval.
Names of
sub-programs
Time
00:39:21 01:09:21 01:39:21 02:09:21 02:39:21 03:09:21 03:39:21 04:09:21 04:39:21 05:09:21
Earthquake 2 6 2 5 3 6 1 4 5 5
Flame 2 6 6 3 3 5 2 6 4 4
Fuel 4 4 1 3 2 6 4 2 2 5
High frequency 1 4 2 1 5 5 2 6 5 4
High material temperature 5 6 5 3 5 3 1 2 3 2
High weather temperature 1 4 6 4 2 3 3 2 3 4
High wind speed 6 6 5 6 5 2 1 6 4 5
High Sine wave 1 3 6 1 1 1 6 3 5 1
Humidity 2 3 3 4 3 2 5 4 3 1
Leakage Current 5 2 5 3 2 3 6 6 5 1
Load 4 4 3 5 4 2 3 3 5 3
Low frequency 3 3 6 1 4 3 1 5 2 2
Low material temperature 3 3 4 2 2 3 3 4 3 3
Low sine wave 6 4 1 1 4 1 3 1 1 1
Low Voltage 5 4 4 5 4 3 4 3 3 6
Low weather temperature 6 4 1 2 2 2 3 2 3 1
Low wind speed 6 1 1 1 1 1 6 2 6 6
Over Current 4 4 5 5 3 4 5 2 2 3
Over Voltage 4 4 3 4 4 3 1 3 5 1
Phases 6 1 6 6 6 6 6 6 1 6
River 4 1 6 2 4 2 6 2 6 1
Sun 6 2 1 1 2 6 3 2 6 2
Table 9. Initial system information for 15 samples randomly generated from literature-based limits over a one-year period.
Table 9. Initial system information for 15 samples randomly generated from literature-based limits over a one-year period.
Names of
sub-programs
No 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Date 19/01/25 15/02/25 13/03/25 05/04/25 29/04/25 25/05/25 18/06/25 14/07/25 05/08/25 27/08/25 23/09/25 18/10/25 15/11/25 10/12/25 15/01/26
Time 16:20:24 15:12:45 12:45:55 22:06:36 23:36:15 13:25:43 14:05:57 12:55:04 14:06:52 13:09:24 14:06:55 12:45:11 20:15:34 15:27:13 22:15:27
Earthquake (Richter) 1.5 3.65 2.17 4.77 1.74 2.45 3.22 3.41 0.69 4.63 1.36 0.87 1.28 3.31 1.35
Flame (Photovoltage) 2.75 3.14 1.74 3.96 2.01 2.04 3.24 2.76 4.12 2.73 2.84 1.68 1.98 2.34 1.85
Fuel (Liter) 28 30 31 20 33 28 20 9 29 17 13 20 21 9 19
High frequency (Hz) 50.14 50.06 50.17 50.38 49.91 49.97 50.16 50.13 49.69 49.7 49.82 50.38 49.87 50.16 49.93
High material
temperature (0C)
6 8 -10 12 56 -10 7 24 43 -4 17 27 14 4 3
High weather temperature (0C) 8 2 11 12 27 36 39 31 34 39 9 10 14 4 -8
High wind speed (m/s) 18 16 15 18 17 11 18 12 15 18 7 19 10 12 16
High Sine wave rate (Vmax/Vef) 0.705 0.719 0.711 0.732 0.721 0.71 0.713 0.693 0.69 0.713 0.702 0.714 0.713 0.69 0.721
Humidity (%) 10 14 15 48 7 12 44 46 21 31 12 33 27 46 15
Leakage Current (mA) 8 6 15 12 26 6 15 7 8 13 17 8 4 9 7
Load (A) 55 79 69 83 60 82 63 62 81 55 83 73 71 80 57
Low frequency (Hz) 50.1 50.18 50.17 50.31 49.92 49.83 50.13 50.11 49.73 49.63 49.97 50.33 49.96 50.17 49.92
Low material temperature (0C) 17 8 -19 7 52 -1 12 48 17 33 25 28 12 -15 12
Low sine wave (Vmin/Vef) 0.712 0.721 0.692 0.721 0.719 0.714 0.709 0.71 0.69 0.712 0.713 0.711 0.713 0.69 0.722
Low Voltage (V) 228 225 221 219 220 224 225 228 216 225 220 225 217 224 229
Low weather temperature (0C) 13 21 35 12 20 35 30 20 33 28 10 28 29 33 3
Low wind speed 18 13 17 18 13 12 15 8 11 12 6 18 9 8 19
Over Current (A) 73 54 67 53 69 66 58 60 68 66 58 50 66 60 71
Over Voltage (V) 229 225 221 221 227 225 224 230 217 229 220 224 216 225 229
Phases (Order) 321 123 123 123 123 123 123 123 123 123 123 123 123 123 123
River (m/s) 13 14 10 16 13 18 14 9 18 13 8 9 15 14 13
Sun (Candela) 70453 53879 79364 0 0 103215 96374 94637 10841 102321 52342 73174 25346 39467 0
Table 10. Six-level responses for the 15 samples generated over one year according to the reference boundaries and system rules.
Table 10. Six-level responses for the 15 samples generated over one year according to the reference boundaries and system rules.
Names of
sub-programs
No 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Date 19/01/25 15/02/25 13/03/25 05/04/25 29/04/25 25/05/25 18/06/25 14/07/25 05/08/25 27/08/25 23/09/25 18/10/25 15/11/25 10/12/25 15/01/26
Time 16:20:24 15:12:45 12:45:55 22:06:36 23:36:15 13:25:43 14:05:57 12:55:04 14:06:52 13:09:24 14:06:55 12:45:11 20:15:34 15:27:13 22:15:27
Earthquake (Richter) 1 3 2 4 1 2 2 2 1 4 1 1 1 2 1
Flame (Photovoltage) 2 2 1 3 1 1 2 2 3 2 2 1 1 1 1
Fuel (Liter) 1 1 1 2 1 1 2 4 1 2 3 2 2 3 2
High frequency (Hz) 4 3 4 6 2 2 4 4 1 1 2 6 2 4 2
High material
temperature (0C)
2 2 1 2 6 1 2 3 4 1 2 3 2 1 2
High weather temperature (0C) 2 1 2 2 4 5 6 4 5 6 2 2 2 1 1
High wind speed (m/s) 4 3 3 4 4 2 4 2 3 4 1 5 2 2 3
High Sine wave rate (Vmax/Vef) 2 3 2 4 3 2 2 2 1 2 2 2 2 1 3
Humidity (%) 1 1 1 5 1 1 4 4 2 3 1 3 2 4 1
Leakage Current (mA) 1 1 2 2 4 1 2 1 1 2 2 1 1 1 1
Load (A) 1 3 2 3 1 3 1 1 3 1 3 2 2 3 1
Low frequency (Hz) 2 2 2 1 3 4 2 2 5 6 3 1 3 2 3
Low material temperature (0C) 3 3 6 3 1 4 3 1 3 2 2 2 3 5 3
Low sine wave (Vmin/Vef) 4 3 5 3 3 4 4 4 6 4 4 4 4 6 3
Low Voltage (V) 1 2 2 3 3 2 2 1 5 2 3 2 4 2 1
Low weather temperature (0C) 3 2 1 3 2 1 1 2 1 1 3 1 1 1 4
Low wind speed 1 2 1 1 2 2 1 3 2 2 4 1 3 3 1
Over Current (A) 5 2 3 2 4 3 2 2 3 3 2 1 3 2 5
Over Voltage (V) 5 3 2 2 4 3 3 6 1 5 2 2 1 3 5
Phases (Order) 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1
River (m/s) 2 2 1 3 2 5 2 1 5 2 1 1 3 2 2
Sun (Candela) 5 3 2 6 6 1 1 1 1 1 3 2 5 4 6
Table 11. Simultaneous repetition counts of the six-level classification for 15 annual samples.
Table 11. Simultaneous repetition counts of the six-level classification for 15 annual samples.
No Operation Date And Time Repetition Counts
Level_1 Level_2 Level _3 Level _4 Level _5 Level _6
1 19/01/2025 16:20:24 7 6 2 3 3 1
2 15/02/2025 15:12:45 5 8 9 0 0 0
3 13/03/2025 12:45:55 8 8 3 1 1 1
4 05/04/2025 22:06:36 3 6 7 3 1 2
5 29/04/2025 23:36:15 7 4 4 5 0 2
6 25/05/2025 13:25:43 8 6 3 3 2 0
7 18/06/2025 14:05:57 5 10 2 4 0 1
8 14/07/2025 12:55:04 7 7 2 5 0 1
9 05/08/2025 14:06:52 9 2 5 1 4 1
10 27/08/2025 13:09:24 6 8 2 3 1 2
11 23/09/2025 14:06:55 5 9 6 2 0 0
12 18/10/2025 12:45:11 9 7 3 1 1 1
13 15/11/2025 20:15:34 6 8 5 2 1 0
14 10/12/2025 15:27:13 7 6 4 3 1 1
15 15/01/2026 22:15:17 9 4 5 1 2 1
Table 12. Alert-level summary for the one-year evaluation period.
Table 12. Alert-level summary for the one-year evaluation period.
Date and time Normal count
L1
Warning counts
L2-L4
Critical counts
L5-L6
Program interpretation
19/01/2025 16:20:24 7 L2=6, L3=2, L4=3 L5=3, L6=1 Low warnings dominate; one medium alert; no shutdown.
15/02/2025 15:12:45 5 L2=8, L3=9, L4=0 L5=0, L6=0 Mostly normal/low states; medium alerts and one STOP.
13/03/2025 12:45:55 8 L2=8, L3=3, L4=1 L5=1, L6=1 Normal and low-warning states dominate; one STOP.
05/04/2025 22:06:36 3 L2=6, L3=7, L4=3 L5=1, L6=2 Low and medium warnings accumulate; two STOP states.
29/04/2025 23:36:15 7 L2=4, L3=4, L4=5 L5=0, L6=2 Moderate risk concentration; one STOP state.
25/05/2025 13:25:43 8 L2=6, L3=3, L4=3 L5=2, L6=0 Mostly normal/low states; medium alerts; no shutdown.
18/06/2025 14:05:57 5 L2=10, L3=2, L4=4 L5=0, L6=1 Low warnings dominate; one STOP state.
14/07/2025 12:55:04 7 L2=7, L3=2, L4=5 L5=0, L6=1 Repeated low and level-4 warnings; one STOP state.
05/08/2025 14:06:52 9 L2=2, L3=5, L4=1 L5=4, L6=1 Normal states with multiple medium alerts and two STOP states.
27/08/2025 13:09:24 6 L2=8, L3=2, L4=3 L5=1, L6=2 Low/medium warning classes dominate; no shutdown.
23/09/2025 14:06:55 5 L2=9, L3=6, L4=2 L5=0, L6=0 Low and level-3 warnings dominate; no shutdown.
18/10/2025 12:45:11 9 L2=7, L3=3, L4=1 L5=1, L6=1 Mostly normal/low states; one STOP state.
15/11/2025 20:15:34 6 L2=8, L3=5, L4=2 L5=1, L6=0 Low-to-medium risk; one STOP state.
10/12/2025 15:27:13 7 L2=6, L3=4, L4=3 L5=1, L6=1 Balanced low/medium risk; one STOP state.
15/01/2026 22:15:17 9 L2=4, L3=5, L4=1 L5=2, L6=1 Low warnings dominate; two STOP states.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2026 MDPI (Basel, Switzerland) unless otherwise stated

Accessibility

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings