Abstract
Voltage instability poses a significant challenge by limiting power system operation and transmission capacity. Rapid detection and effective corrective actions are essential to prevent voltage collapse. However, traditional methods for assessing voltage security margins are computationally intensive and often impractical for real-time applications. This study addresses voltage stability assessment in power systems using machine learning (ML) to overcome the computational limitations of traditional methods. By employing Linear Regression (LR), Random Forest (RF), Gradient Boosting (GB), and Support Vector Machine (SVM), we predict Fast Voltage Stability Indices (FVSI) at nominal load as well as under varying loads (10–150%) in 15 kV Ethiopian distribution networks: a 35-bus Bata feeder system and a 53-bus Papyrus feeder system. RF and GB models achieved superior accuracy with R² values of 0.999 and 0.9998 respectively, significantly outperforming LR and SVM which exhibited substantial deviations. The GB model achieves the highest accuracy, with RMSE values of 0.0002 (53-bus) and 2.419e-05 (35-bus), while RF yields RMSE values of 0.0039 (53-bus) and 0.00120 (35-bus), demonstrating strong predictive performance. The FVSI threshold analysis revealed critical stability limits, with values approaching 1.0 indicating proximity to voltage collapse. The analysis identified buses 36, 32, and 21 in the 53-bus system (FVSI values: 0.087, 0.082, and 0.080) and buses 27 and 16 in the 35-bus system (FVSI values: 0.085 and 0.082) as critical instability risk points requiring immediate monitoring. These findings underscore the efficacy of ensemble methods for rapid voltage stability assessment and emphasize the need for targeted interventions in high-risk areas to bolster grid resilience in Ethiopian distribution networks.
Similar content being viewed by others
Introduction
Voltage collapse has led to major blackouts, making voltage stability one of the most critical challenges in modern power system planning and operation1,2. Loadability Margin (LM) is the maximum load increase before voltage collapse. Voltage instability is typically observed as a gradual decline in voltage levels, followed by a sudden and severe drop3,4,5,6. However, in some cases, voltage levels remain within acceptable limits before the sharp decline, providing little to no warning for operators until significant system changes occur7,8,9,10. As a result, extensive efforts have been made in recent years to develop practical methods for assessing the proximity of the current operating state to voltage collapse, enabling early detection of critical conditions. The ability of a power system to keep fixed voltages at all of its buses in the face of disruption from a predetermined initial operative situation is referred as voltage stability11. Alternatively, voltage instability mentions to a power system’s inability to keep constant voltages at its buses in the wake of a system disruption. Maintaining the bus voltages within acceptable limits in power systems with insuffiient reactive power supply is diffiult due to voltage instability. Voltage stability is a signifiant challenge regarding substantially loaded power systems or growing system loads. Voltage instability in the power network can also be caused by faults at certain system levels or locations12,13.
The increasing integration of renewable energy sources (RES), distributed generation (DG), and dynamic loads into modern electrical distribution networks has introduced significant complexity to grid operations. These changes amplify the risk of voltage instability, a critical issue that can lead to cascading failures, equipment damage, and widespread outages14,15,16,17. Traditional voltage stability assessment (VSA) methods, such as P-V and Q-V curve analysis or Thevenin equivalent-based approaches, often rely on steady-state assumptions and computationally intensive power flow calculations. While effective for offline planning, these methods struggle to meet the real-time demands of modern distribution networks, where rapid fluctuations in generation and load require millisecond-level monitoring and decision-making14,18,19,20.
In recent years, machine learning (ML) approaches, including artificial neural networks (ANNs), decision trees (DTs), fuzzy logic (FL), adaptive neuro-fuzzy inference systems (ANFIS), Linear regression (LR), random forest (RF), Gradient boosting (GB) and support vector machines (SVMs), have garnered significant interest among researchers. These methods are particularly valued for their capacity to address complex nonlinear challenges in power systems with high computational speed and precision.
In11,21 presented ML-driven voltage stability assessment in a power system by advances in computational intelligence focused on ML models, such as artificial neural networks (ANNs) and SVMs. Authors in employed ANNs to estimate voltage collapse proximity indices using PMU data from transmission systems, while the author in22 applied SVMs to classify stable/unstable operating conditions in medium-voltage networks. In23 evaluated the effectiveness of various ML algorithms, including Gaussian Process Regression and ANN, in predicting voltage stability margins in power systems. The results indicate that Gaussian Process Regression outperforms other methods in accuracy, especially under different operating conditions and network topologies. In24 authors proposed a deep-learning model for short-term voltage stability (STVS) assessment that adapts to grid topology changes by utilizing topology-adaptive voltage dynamic features from PMU data. The model achieves impressive accuracy, exceeding 99% in predicting voltage stability in both the New England 39-bus and larger IEEE 145-bus power systems, even under challenging conditions. Authors in2,25,26 introduced a machine learning method for predicting the long-term voltage stability margin, specifically the Loadability Margin (LM), using various Voltage Stability Indices (VSI) as inputs to an ensemble model. The approach, validated on the IEEE 14 and 118 bus systems, employs RF regression and demonstrates strong accuracy and robustness, even in the presence of synchrophasor measurement errors. The author in27,28,29 conducted a ML algorithms to predict the voltage stability of a transmission and distribution systems and provide a significant insight for future researchers conducting a fast and accurate predictions especially online voltage evaluation in real time data. By30 analysed the critical need for real-time voltage stability assessment in modern, complex power systems facing increased demand and outages. It analyzes voltage stability on the IEEE 30 and 118 bus systems using various stability indices and compares results with a new index based on SVM and Extreme Learning Machine (ELM). Authors in31 addressed the critical issue of voltage stability in electric power systems by proposing an intelligent online voltage stability margin (VSM) estimation method using Radial Basis Function Neural Network (RBFNN) and association rules. Applied to the New England 39-bus model, the method demonstrates excellent accuracy in estimating VSM, essential for maintaining system security amidst the risks of voltage instability.
In1,32 authors proposed an AI-based approach for real-time voltage prediction in micro-grids integrating solar and wind energy, addressing the challenges of intermittency and computation time in traditional methods. By evaluating decision tree, random forest, and KNN algorithms, the study finds that the decision tree technique effectively analyzes online voltage stability, enabling timely activation of voltage compensators. An alternative method for estimating voltage stability margins using AI and data mining algorithms, addressing the challenges of real-time voltage stability assessment through Monte Carlo simulations and employing artificial neural networks and support vector machines validated on the IEEE 14 bus test system in33. The application of MLs in power system resilence and reliability enhancement and also state estimation was carried out in34,35. The assessment of reliability, stability and sustanability of a power system, energy management and optimization, power quality disturbance prediction and classification is incorporated with deep learning methods so as to enhance the total performance of a system in34,36,37. The author in38 addressed the challenges of voltage stability in hybrid AC/DC power grids by proposing a CNN-LSTM-based emergency control strategy. It reveals the limitations of traditional emergency control and demonstrates the effectiveness of its approach through case studies in Northwest China’s power grid. In39 authors proposed the enhancement of voltage stability margins (VSM) in power systems through the strategic deployment of FACTS devices, including STATCOM, SSSC, and UPFC for utilizing contingency ranking and various stability indices, the study validates the effectiveness of these placements on both the IEEE-14 bus and NRPG-246 bus systems under different loading scenarios. In40,41 authors presented innovative techniques for improving voltage stability in power systems, combining an enhanced Genetic Algorithm (GA) approach with a real-time Deep Reinforcement Learning (DRL) control system. By optimizing control variables and leveraging system services from demand response and energy storage, the methods demonstrate increased effectiveness and robustness in stabilizing voltage under various scenarios, outperforming traditional load shedding strategies.
This paper focused on the voltage stability assessment and analysis of a distribution system based on a recent ML algorithms, specifically highlighting their application in real-time voltage stability monitoring and assessment within modern electrical grids. In this study, FVSI was used as a tool for prediction of the voltage stability in a distribution system. A FVSI value approaching unity signifies that the corresponding line is nearing its stability limit. To validate the effectiveness of the proposed FVSI as a stability indicator, it was compared with ML base approaches.
Problem formulation
The voltage stability assessment problem can be mathematically formulated as a prediction task where the objective is to estimate the Fast Voltage Stability Index (FVSI) for each line in the distribution system. Given a set of input features \(\:X={V}_{m},{V}_{n},{P}_{n},{Q}_{n},{R}_{mn},{X}_{mn}\:\)representing sending-end voltage (\(\:{V}_{m}\)), receiving-end voltage (Vn), active power (Pn), reactive power (Qn) at the receiving end, and line parameters (resistance Rmn and reactance Xmn), the goal is to find a function f that maps these features to the corresponding FVSI value:
Where FVSI is defined as:
The function f is approximated using various machine learning algorithms (LR, RF, GB, SVM) trained on data generated from load flow simulations.
The objective is to minimize prediction errors while ensuring computational efficiency for real-time applications. The voltage stability threshold is defined as FVSI < 1, with values approaching 1 indicating proximity to instability.
Test systems description
35-Bus distribution system
The 35-bus distribution system is a balanced three-phase 15 kV radial network commonly used as a benchmark for distribution system analysis. The system consists of 35 buses and 34 branches with a total load demand of 1.89 MW and 1.3455 MVAr under nominal operating conditions. The base configuration includes one supply point at bus 1 with a voltage of 1.0 p.u. and zero phase angle. The single line diagram of 35-bus Bata feeder distribution system is clearly shown in Fig. 1 shown below.
The system has three main laterals branching from the main feeder, with the longest path extending to bus 27, which exhibits one of the highest voltage stability concerns. The R/X ratio of the lines ranges from 0.58 to 1.94, representing typical characteristics of medium-voltage distribution networks. The system’s load is distributed unevenly, with higher concentrations at the end of each lateral, creating natural stress points for voltage stability analysis.
53-Bus distribution system
The 53-bus distribution system is another case study system in Bahir Dar distribution network in Ethiopia with additional laterals and branches. Operating at 15 kV, this system represents a more complex distribution network with a total load of 9.00 MW and 5.78 MVAr under nominal conditions. The single line diagram of 53-bus Papyrus feeder also shown in Fig. 2 as represented below.
The system features five main laterals with multiple sub-laterals, creating a more complex topology than the 35-bus system. The feeder has one supply point at bus 1, maintained at 1.0 p.u. voltage. The line impedances have R/X ratios ranging from 0.42 to 2.16, representing diverse characteristics of urban and suburban distribution lines.
Buses 36, 32, and 21 have been identified as critical points for voltage stability monitoring due to their electrical distance from the supply point and the concentration of loads in those areas. The system includes tie-switches (normally open) between buses 8–21, 9–15, 12–22, 18–33, and 25–29, which can be utilized for reconfiguration to improve voltage profiles and stability margins.
Both test systems were modelled in MATLAB for load flow analysis using the Forward Backward Load Flow Algorithm (FBLFA), which is particularly suitable for radial distribution networks. The systems were subjected to load variations from 10 to 150% of nominal values to generate comprehensive datasets for training and validating the machine learning models.
Proposed fast voltage stability index (FVSI)
The voltage stability index presented in this study is formulated by first deriving the current equation for a distribution line in a simple two-bus system.
In Fig. 3, Vm and Vn are the voltage magnitudes of at node m and n. Let the current flowing through it is I. The substation sending end voltage is assumed to be 1 + j0 p.u. And let the angle at load bus of Pn+jQn be δn.
The distribution line impedance is noted as \(\:Z=R+jX\) with the current that flows in the line I given by.
\(\:{\text{V}}_{m}\:\)is taken as the reference voltage and its angle can be taken as 0. The apparent power at bus (2) is.
Rearranging Eq. (2)
By equating Eq. (1) and Eq. (4) we can find.
Separating the real and imaginary parts and can be takes as.
After making some arrangement of Eq. (7) for \(\:{P}_{n}\) and substituting into (6) yields a quadratic equation of \(\:{\text{V}}_{n}\);
The roots for \(\:{\text{V}}_{n}\) will be.
To get real roots for \(\:{\text{V}}_{n}\), the discriminate set is greater than or equal to 0. i.e.,
Since \(\:{{\updelta\:}}_{mn}\) is normally very small then,
\(\delta _{{mn}} \approx 0,R_{{mn}} \text{Sin} \delta _{{mn}} \approx 0,\,\) and \(X_{{mn}} \text{Cos} \delta _{{mn}} \approx X_{{mn}}\). This simplification is widely adopted in stability analysis for radial distribution systems under normal operating conditions, where voltage phase angles typically remain small due to low X/R ratios21.
Taking the symbol m as sending bus and n as receiving bus. Hence the fast voltage stability index (FVSI) can be defined as.
An FVSI value approaching 1signifies that the corresponding line is nearing its instability threshold, potentially leading to voltage collapse across the entire system. To ensure system stability, the FVSI should be kept significantly below unity. A low FVSI value (approaching zero) indicates a stable power system. The assumption \(\delta _{{mn}} \approx 0\) simplifies FVSI derivation but may reduce accuracy under heavy loading (> 150%) or transient faults. Simulations up to 150% load confirmed FVSI’s reliability, with deviations < 2% from ground-truth thresholds.
Contribution of the paper
This paper has the following main contributions:
-
Proposes a machine learning-based approach for voltage stability assessment and instability prediction with different load varying condition.
-
Enables quick calculation of voltage stability indices for timely corrective actions against voltage collapse.
-
Serves as an online tool for system operators to assess stability based on current operating conditions.
-
Demonstrates accuracy in case studies on 35-bus and 53-bus networks, providing predictions within seconds.
Methodology
The study employs 35-bus, and 53-bus distribution systems for dataset generation. Load flow analysis via the Forward Backward Load Flow Algorithm (FBLFA) in MATLAB simulates varying load conditions (10–150%) to compute voltage stability indices (FVSI). The FVSI values derived from Forward Backward Load Flow Algorithm (FBLFA) serve as ground truth.
The dataset, comprising bus voltages, power flows, and stability indices, is preprocessed and split into training/testing subsets. Four regression models LR, RF, GB, and SVM are implemented using scikit-learn in Python. Hyperparameters are tuned via grid search, and models are trained to predict FVSI.
Data preprocessing
The dataset, comprising bus voltages, active/reactive power flows, and line parameters, underwent preprocessing to ensure robustness. Input features were normalized using Min-Max scaling to a [0,1] range, mitigating bias from varying magnitudes. Feature selection was performed via Pearson correlation analysis, excluding variables with |r| > 0.85 to reduce redundancy (e.g., reactive power at adjacent buses). No missing data were present in the FBLFA-generated dataset, as simulations were fully controlled. To ensure robustness and reproducibility, the following preprocessing steps were applied:
Normalization
The input features like Vm, Vn, Pn, Qn were scaled to a [0,1] range using Min-Max normalization.
Feature selection
Redundant features were avoided by Pearson correlation analysis. Variables with ∣r∣ > 0.85 such as reactive power at the load points or buses were excluded to reduce multicollinearity.
Missing data handling
The simulated dataset contained no missing values, as FBLFA ensured fully observable load-flow solutions. Here is the sample python code for preprocessing steps.

The feature ranking is tabulated in Table 1 for FVSI prediction of ML models to validate the importance of the variables in voltage stability of distribution system.
Hyperparameter tuning
Hyperparameters were tuned via grid search with 5-fold cross-validation. Parameter ranges included estimators (100–500) for RF/GB, max-depth (5–20) for RF, and C (0.1–100) for SVM and generally the summary of hyperparameter sensitivity analysis for ML models as shown in Table 2. The optimal values minimized RMSE on the validation set and the overall methodology flowchart is Proposed for FVSA assessment in Fig. 4.
The following are the performance evaluation metrics for this study includes, Mean Absolute Percentage Error (MAPE), Mean Absolute Error (MAE), Mean Squared Error (MSE), Root Mean Squared Error (RMSE) and Coefficient of Determination (R²). These measures shed light on how accurate and consistent the model’s predictions are16.
Where, \(\:{Y}_{a}\) = Actual value; \(\:{Y}_{p}\) = Model predicted value; and N =Number of the pattern.
Table 3 summarizes the computational efficiency of various machine learning models used for FVSI prediction.
Feature importance ranking with interpretability metrics
The feature importance ranking with interpretability importance of this study is tabulated in Table 4 as shown below.
SHAP-based model interpretability
To address the “black-box” nature of ensemble methods, we implement SHAP (SHapley Additive exPlanations) for enhanced model transparency34.
where \(\:{\varphi\:}_{i}\) represents the SHAP value for feature \(\:i\).
Figure 5 presents the SHAP-based feature importance for predicting the FVSI at bus 36 using the GB model. The voltage magnitude (\(\:{V}_{m}\) = 0.028) is identified as the most significant factor contributing to instability risk, followed by line reactance (\(\:{X}_{mn}\) = 0.015). Reactive power exhibits a negative influence, indicating its role in mitigating risk. This analysis confirms that bus 36 poses the highest FVSI-related risk in the 53-bus Papyrus feeder network, supported by a model accuracy of 99.98%.
Simulation results and analysis
Simulation results at nominal load (100%)
For the assessment and analysis of voltage stability FVSI method is used in this paper and predictions FVSI values are carried out in both case study systems. This paper work mainly considered two scenarios of at nominal load and load varying conditions. The selected ML algorithms predicted the values of FVSI in both case study feeder systems and the performance evaluation are conducted for all ML models used. The calculated and predicted results are tabulated in Tables 5 and 6 for both feeders of the case study respectively.
The results confirm GB and RF as the most accurate predictors, closely aligning with FBLFA values across buses, while LR and SVM exhibit systematic deviations as indicated the result in Table 6 below. Buses 36, 32, and 21 display the highest instability (FVSI > 0.05), with SVM notably underestimating risks. These findings reinforce the reliability of ensemble methods for voltage stability assessment and highlight critical nodes requiring prioritized monitoring.
The Figs. 6 and 7 the graphical representations of the stability indices FVSI of 35 bus and 53 bus system respectively. The figures show the comparison of the index with respect to the LR, RF, GB and SVM to the load flow analysis using FBLFA method. From this we can infer that the RF and GB have showed better performing results whereas LR and SVM have given poor results.
The comparison performance metrices of the ML algorithms results are presented in Table 7. The performance metrics indicate that the GB model excels in both the 35-bus and 53-bus systems, achieving the highest R² values of 0.999 for 35-bus and 0.9998 for 53-bus, suggesting excellent predictive accuracy which is tabulated as in Table 5. Conversely, SVM model underperformed, particularly in the 53-bus system, with a notably low R² of 0.635, indicating weaker predictive capabilities. The SVM’s lower accuracy (R² = 0.635 for 53-bus) stems from its sensitivity to nonlinear voltage-load dynamics. Trials with RBF kernels and regularization (C = 1–100) improved performance marginally but failed to match ensemble methods. Unlike GB/RF, which model nonlinearities via decision trees, SVM’s reliance on kernel transformations struggled with high-dimensional interactions and load variability. The LR has a medium performance in predicting the stability of the system.
Simulation result and analysis of both case study systems at load varying conditions
The following comparison results showed that the FVSI with ML models at load varying conditions with respect to nominal load.
Figure 8 demonstrates FVSI progression for critical buses 27 and 16 in the 35-bus system under load variation (10%-150%). Bus 27 exhibits higher vulnerability with FVSI values of 0.029 and 0.023 respectively at nominal load. The visualization compares machine learning model performance against FBLFA ground truth, revealing ensemble methods (GB, RF) provide superior accuracy while SVM shows significant deviations. Linear FVSI escalation with load validates the need for proactive stability monitoring and load management strategies.
Figure 9 demonstrates comprehensive FVSI prediction analysis for critical buses in the 35-bus system, comparing machine learning models (FBLFA, GB, RF, SVM, LR) across four analytical perspectives. Subplot (a) shows Bus 27 as most critical with highest FVSI values, while subplot (b) confirms Bus 16’s secondary vulnerability. Prediction error analysis (c) reveals SVM’s significant deviations, while comparative analysis (d) validates ensemble method superiority. This multi-dimensional visualization enables operators to assess model reliability and identify critical stability monitoring priorities.
Figure 10 demonstrates FVSI simulation results for nine selected critical buses (36, 32, 21, 18, 15, 12, 9, 6, 3) in the 53-bus system under load variation (50%-200%). Bus 36 emerges as most vulnerable, with exponential FVSI growth approaching critical threshold (0.85) at 140% loading. The visualization reveals critical loading points where buses exceed warning thresholds (0.35), enabling proactive voltage stability monitoring. Yellow markers identify first critical points, validating the need for targeted reactive power compensation strategies.
Figure 11 presents a comprehensive FVSI analysis for the 53-bus system through four analytical perspectives: (a) Top 3 critical buses showing exponential FVSI growth with Bus 36 as most vulnerable, (b) System maximum FVSI escalation reaching 0.5 at 200% loading, (c) Buses exceeding thresholds with critical count rising dramatically beyond 150% load, and (d) Safety margin analysis revealing diminishing stability buffers. This multi-dimensional visualization demonstrates voltage collapse proximity indicators and validates the need for proactive load management strategies in high-risk distribution networks.
The performance evaluation and comparison are carried out using various research papers on machine learning, as presented in Table 8.
Stability threshold analysis
The voltage stability threshold analysis for critical buses with different load levels is summarized in Table 9; Fig. 12 as shown below.
Figure 13 presents a comprehensive stability threshold analysis dashboard for Ethiopian distribution systems, demonstrating multi-dimensional voltage stability assessment across nine analytical perspectives. The visualization encompasses FVSI progression analysis for critical buses in both 35-bus Bata and 53-bus Papyrus feeders under load variations (10%-150%). Panel (a) shows exponential FVSI growth with Bus 36 (Papyrus) and Bus 27 (Bata) emerging as most vulnerable nodes. Panel (b) reveals safety margin evolution, indicating diminishing stability buffers beyond 130% loading. Panel (c) displays Ethiopian grid resilience assessment, with both systems maintaining acceptable thresholds until 140% load. The analysis incorporates system-wide maximum FVSI comparison (d), grid stress factors (e), voltage profile monitoring (f), load shedding requirements (g), and overall resilience indices (h-i). This comprehensive framework enables Ethiopian Electric Power operators to implement proactive stability monitoring, optimize reactive power compensation strategies, and establish critical loading thresholds for enhanced grid reliability in challenging operating conditions.
The voltage stability region illustrated in Fig. 14 is the comparison between SVM and RF. The training convergence curve of ML models is depicted in Fig. 15 below.
Sensitivity analysis and feature impact assessment
RF analysis reveals voltage magnitude (Vm) as the most critical feature (importance: 0.42), followed by reactive power (Qn: 0.28), line reactance (Xmn: 0.18), and active power (Pn: 0.12). This ranking aligns with voltage stability theory, where voltage levels and reactive power balance dominate stability margins. Systematic variation of R/X ratios (± 20%), load compositions (± 30%), and voltage angles (± 15°) demonstrated model robustness with accuracy degradation 0.92 under all tested conditions while SVM performance degraded to R² 1000 predictions/second on standard hardware.
Figure 16 presents a comprehensive six-panel sensitivity analysis dashboard for the 53-bus distribution system, validating machine learning model performance for FVSI prediction. The results demonstrate feature importance rankings matching paper specifications (Vm: 0.42, Qn: 0.28), with parameter variations showing acceptable degradation levels below 3%. Monte Carlo analysis confirms model robustness across 1000 iterations. Critical buses (36, 32, 21) exhibit increasing FVSI values under load variations (10%-150%), with ensemble methods (RF/GB) maintaining superior alignment with ground-truth FBLFA calculations compared to linear regression and SVM approaches.
Figure 17 presents a six-panel sensitivity analysis dashboard for the 35-bus distribution system, validating FVSI-based voltage stability assessment using machine learning algorithms. The dashboard demonstrates feature importance rankings consistent with paper specifications (Vm: 0.42, Qn: 0.28, Xmn: 0.18, Pn: 0.12), parameter variation impacts below 3% degradation threshold, and Monte Carlo distribution confirming model robustness. Critical buses 27 and 16 exhibit exponential FVSI growth under load variations, while feature sensitivity curves validate ensemble method superiority over linear approaches for real-time voltage stability monitoring applications28.
To mitigate risks near FVSI ≈ 1.0, we implement a multi-tier warning system:
where \(\:{ϵ}_{uncertainty}\) accounts for model prediction uncertainty.
This approach allows system operators to dynamically assess the proximity to voltage instability and respond accordingly based on a clearly defined risk classification, as summarized in Table 10.
Discussion
Machine learning model performance analysis
The comprehensive evaluation of machine learning algorithms for voltage stability assessment reveals significant insights into their predictive capabilities and computational efficiency. The performance metrics presented in Table 6 demonstrate that ensemble methods, particularly Gradient Boosting (GB) and Random Forest (RF), achieve superior accuracy compared to traditional approaches.
The GB model exhibits exceptional performance with R2 values of 0.999 for the 35-bus system and 0.9998 for the 53-bus system, indicating near-perfect correlation with FBLFA ground truth values. This superiority stems from GB’s sequential learning mechanism, where each decision tree corrects errors from previous iterations, as mathematically expressed in Eq. (19)36:
where \(\:{F}_{m}\left(x\right)\) represents the ensemble prediction at iteration \(\:m\), \(\:{\gamma\:}_{m}\) is the learning rate, and \(\:{h}_{m}\left(x\right)\) is the weak learner at iteration \(\:m\).
Similarly, RF demonstrates robust performance through its bagging approach, combining multiple decision trees trained on bootstrap samples. The prediction accuracy is governed by Eq. (20):
where \(\:\stackrel{\prime }{y}\) is the final prediction, \(\:B\) is the number of trees, and \(\:{T}_{b}\left(x\right)\) represents individual tree predictions.
The inferior performance of SVM, particularly evident in the 53-bus system (R² = 0.635), can be attributed to its sensitivity to high-dimensional feature spaces and nonlinear voltage-load dynamics. Despite kernel optimization attempts using RBF functions defined in Eq. (19)37:
SVM failed to capture the complex interactions between voltage stability indices and system parameters effectively.
Critical bus identification and stability threshold analysis
The stability threshold analysis presented in Table 7 provides crucial operational insights for grid management. The identification of critical buses through FVSI calculations reveals distinct vulnerability patterns across both test systems. Bus 36 in the 53-bus system emerges as the most critical node, with FVSI reaching 0.087 at 150% loading, approaching the theoretical instability limit defined by Eq. (11).
The visualization in Fig. 12 reveals the complex relationship between stability threshold analysis, load variation, and stability risk. Buses located farther from the substation demonstrate higher vulnerability, confirming the theoretical expectation that voltage stability deteriorates with increased electrical impedance paths.
Comparative analysis with State-of-the-Art methods
Table 11 provides a comparative summary of the proposed GB + XAI method against recent approaches in voltage stability prediction. The proposed method, applied to a 53-bus system, achieves the highest accuracy at 99.98%, with real-time readiness and high interpretability through SHAP-based explanations. It also includes a cybersecurity-ready framework, setting it apart from existing methods.
Cybersecurity and adversarial robustness framework
Smart grid deployment introduces cybersecurity vulnerabilities, particularly against FDI attacks that can manipulate sensor measurements.
Attack Model: Consider adversarial perturbations \(\:\delta\:\) added to input measurements27:
subject to:
Following recent advances in adversarial robustness, it can be proposed a Moving Target Defense (MTD) strengthened framework:
where \(\:{\xi\:}_{i}\) represents randomized defensive perturbations.
Future cybersecurity research will focus on strengthening system defenses through several key strategies. Adversarial training will make models more robust by exposing them to deceptive inputs. Blockchain integration will ensure data integrity via secure, decentralized ledgers. Real-time intrusion detection will enable prompt responses to suspicious activity. Lastly, quantum-safe cryptography will prepare security protocols for future quantum threats.
Limitations and future considerations
While the proposed methodology demonstrates excellent performance, several limitations warrant consideration:
-
1.
Assumption validity: The FVSI derivation assumes δₘₙ ≈ 0, which may introduce errors under extreme loading conditions (> 150%) or during transient disturbances. This study was conducted on 35-bus and 53-bus radial distribution systems. For future work, it is essential to extend the analysis to large-scale distribution networks with over 100 buses to evaluate the scalability, robustness, and real-world applicability of the proposed approach in more complex and diverse system conditions.
-
2.
System complexity: The analysis focuses on radial distribution networks; extension to meshed networks requires additional considerations for multiple power flow paths.
-
3.
Dynamic effects: The steady-state FVSI formulation may not capture dynamic voltage stability phenomena, particularly during fault conditions or rapid load changes.
Future research should address these limitations through:
-
Integration of dynamic stability indices.
-
Validation using real-world PMU data with measurement noise.
-
Extension to networks with high distributed generation penetration.
-
Development of uncertainty quantification methods for ML predictions.
The findings demonstrate that ensemble machine learning methods, particularly GB and RF, provide reliable and computationally efficient solutions for voltage stability assessment in modern distribution networks. The proposed methodology offers a practical framework for enhancing grid resilience through proactive stability monitoring and control.
Conclusion
The research presented the predictive performance of machine learning algorithms in assessing voltage instability within electrical distribution networks. By proposing the FVSI as a predictive tool, we successfully demonstrated the potential for rapid identification of voltage instability, a crucial factor in preventing outages and ensuring operational reliability. The findings from the case studies on both 35-bus and 53-bus networks reinforce the capability of ML techniques, particularly Random Forest and Gradient Boosting, to deliver accurate predictions swiftly. The results demonstrate that the Gradient Boosting model delivered outstanding accuracy, achieving RMSE values of just 0.0002 for the 53-bus system and 2.419e-05 for the 35-bus system. Random Forest also performed strongly, with corresponding RMSE values of 0.0039 and 0.00120. These outcomes confirm the models’ effectiveness for real-time voltage stability assessment. This paper contributes significantly to the field by offering a practical solution that caters to the constraints of modern power systems, emphasizing the necessity for real-time monitoring and quick decision-making in voltage stability management.
This paper not only addresses existing challenges but also lays the groundwork for future advancements in power system resilience and reliability. So Future work will focus on enhancing the robustness of the proposed models under high DG penetration and integrating additional predictive features to improve instability forecasting in complex grid scenarios. While this study utilizes FBLFA to generate supplementary data such as voltage profiles at various buses within selected feeders from Bahir Dar distribution network in Ethiopia and incorporates essential line and load data sourced from the Ethiopian Electric Utility (EEU), we recognize a key limitation as the absence of field measurement data from PMUs or SCADA systems. This omission poses a significant challenge, as it affects the model’s ability to generalize effectively to noisy or incomplete real-time data, which is critical for practical deployment.
Data availability
The datasets used and/or analyzed during the current study are available from the corresponding author on reasonable request.
References
Werkie, Y. G., Nyakoe, G. N. & Wekesa, C. W. Power System Voltage Stability Assessment and Control Strategies: State-of-the-Art Review, vol. 2025. (2025).
Amroune, M. Machine learning techniques applied to On – Line voltage stability assessment: A review. Arch. Comput. Methods Eng. no. 0123456789 https://doi.org/10.1007/s11831-019-09368-2 (2019).
Phyu, M. L. Simulation of voltage stability enhancement at primary substation using static VAR compensator. J. Eng. Technol. Appl. Phys. 5 (2), 52–57. https://doi.org/10.33093/jetap.2023.5.2.5 (2023).
Anbarasan, A. & Sanavullah, M. Y. Voltage Stability Improvement in Power System By Using, no. November 2020. (2012).
Abdullah, M. Voltage Stability Assessment of Grid Connected PV Systems With FACTS Devices, (2021).
Al-Wazni, H. S. M. & Al-Kubragyi, S. S. A. A hybrid algorithm for voltage stability enhancement of distribution systems. Int. J. Electr. Comput. Eng. 12 (1), 50–61. https://doi.org/10.11591/ijece.v12i1.pp50-61 (2022).
Essien, U. J., Odion, J. & Ekpa, A. K. Application of SSSC for voltage stability improvement in the Nigerian 330 kv transmission system using particle swarm optimization technique. Int. J. Multidiscip Res. Anal. 07 (02), 813–820. https://doi.org/10.47191/ijmra/v7-i02-51 (2024).
Danish, M., Kumar, M., Memon, Z. A. & Jamshoro, T. Voltage stability index improvement in RDS using. Int. J. Electr. Eng. Emerg. Technol. 04, 49–54 (2021).
Dawood Salman, M. S., Sultan, A. J. & Booneya, M. F. Voltage stability enhancement based optimal reactive power control, 2nd Int. Conf. Trends Electr. Electron. Comput. Eng. TEECCON 2023, no. August 2023, pp. 184–191, 2023, no. August 2023, pp. 184–191, 2023, (2023). https://doi.org/10.1109/TEECCON59234.2023.10335768
Benson, P. D., Amadi, H. N. & Uwho, K. O. Voltage enhancement of GRA phase 2 distribution network via static synchronous compensator (STATCOM). no. August, (2024).
Valle, S., Kethireddi, S., Sirugudi, J. K. & Chappa, H. Detection of voltage stability by using machine, 8, 10, pp. 382–389, (2023).
Alyu, A. B., Salau, A. O., Khan, B. & Eneh, J. N. Hybrid GWO-PSO based optimal placement and sizing of multiple PV-DG units for power loss reduction and voltage profile improvement. Sci. Rep. 13 (1), 1–17. https://doi.org/10.1038/s41598-023-34057-3 (2023).
Chourasia, M. S., Soubache, I. D. & Gomathi, P. Voltage stability index improvement system by optimal placement of STATCOM in distributed systems. Turkish J. Comput. Math. Educ. 11 (3), 1175–1187 (2020).
Jagatheeswari, G. I. P. & Gnana, A. J. Elitist Harris Hawks optimized voltage stability enhancement in radial distribution system. J. Electr. Eng. Technol. 18 (4), 2683–2693. https://doi.org/10.1007/s42835-023-01375-5 (2023).
Ismail, B., Izzri, N., Wahab, A. & Member, S. New Line Voltage Stability Index (BVSI) for Voltage Stability Assessment in Power System: The Comparative Studies, IEEE Access, vol. 10, no. October, pp. 103906–103931, https://doi.org/10.1109/ACCESS.2022.3204792 (2022).
Selim, A., Kamel, S., Nasrat, L. S. & Jurado, F. Voltage stability assessment of radial distribution systems including optimal allocation of distributed generators. No Febr. https://doi.org/10.9781/ijimai.2020.02.004 (2020).
Rawat, M. S. & Vadhera, S. A novel method for determination of maximum penetration of distributed generation in radial distribution network. Aust J. Electr. Electron. Eng. 18 (2), 80–90. https://doi.org/10.1080/1448837X.2021.1935412 (2021).
Selim, A., Kamel, S. & Jurado, F. Voltage stability analysis based on optimal placement of multiple DG types using hybrid optimization technique. Int. Trans. Electr. Energy Syst. 30 (10), 1–20. https://doi.org/10.1002/2050-7038.12551 (2020).
Srilatha, N. Distributed generation placement using voltage stability index and optimal sizing using adaptive particle swarm optimization. E3S Web Conf. 399, 1–9. https://doi.org/10.1051/e3sconf/202339901007 (2023).
Kazeminejad, M., Banejad, M., Annakkage, U. D. & Hosseinzadeh, N. The effect of high penetration level of distributed generation sources on voltage stability analysis in unbalanced distribution systems considering load model. J. Oper. Autom. Power Eng. 7 (2), 196–205. https://doi.org/10.22098/joape.2019.5726.1427 (2019).
Adhikari, A. Comparison of voltage stability assessment using different machine learning algorithms, pp. 2023–2026, (2023).
Dharmapala, K. D. & Member, G. S. Machine learning based Real-Time monitoring of Long-Term voltage stability using voltage stability indices, 8, https://doi.org/10.1109/ACCESS.2020.3043935 (2020).
Bahmanyar, A. R. & Karami, A. Electrical power and energy systems power system voltage stability monitoring using artificial neural networks with a reduced set of inputs. Int. J. Electr. POWER ENERGY Syst. 58, 246–256. https://doi.org/10.1016/j.ijepes.2014.01.019 (2014).
Abbass, M. J., Lis, R. & Rebizant, W. Applied sciences A predictive model using long Short-Time memory (LSTM) technique for power system voltage stability, (2024).
Alayande, A. S. et al. L-Index-Based technique for voltage collapse prediction and voltage stability enhancement in electrical power systems, 7, 1, pp. 260–277, (2024).
Anthony, K. & Arunachalam, V. e-Prime - Advances in Electrical Engineering, Electronics and Energy Voltage stability monitoring and improvement in a renewable energy dominated deregulated power system : A review, e-Prime - Adv. Electr. Eng. Electron. Energy, vol. 11, no. January p. 100893, 2025, https://doi.org/10.1016/j.prime.2024.100893 (2024).
Hemmatpour, M. H. Prediction of voltage stability index in buses without measurement, no. June, pp. 2435–2451, https://doi.org/10.1049/gtd2.13211 (2024).
Malbasa, V., Zheng, C., Chen, P. & Member, S. Voltage stability prediction using active machine learning. No April. https://doi.org/10.1109/TSG.2017.2693394 (2017).
Jain, A. & Gupta, S. C. Optimal placement of distributed generation in power distribution system and evaluating the losses and voltage using machine learning algorithms. No April. 1–17. https://doi.org/10.3389/fenrg.2024.1378242 (2024).
Hutchison, D. And memetic computing. no. December (2013).
Sarikhani, N. & Ghanbari, A. Online Distribution System ’ s Voltage Stability Margin Monitoring Using Neural Networks and Optimization Algorithm, vol. 05, no. March, pp. 16–25, (2019).
Micro-grid, S., Achshah, R. M. & Prakash, T. R. D. Artificial intelligence based voltage stability assessment of, 8, 02, pp. 37–50, (2022).
Cepeda, J. C., Chamba, M. S., Granda, N. V. & Vargas, W. Voltage stability margin Estimation using machine learning tools estimación Del Margen de estabilidad de Voltaje utilizando Herramientas de Aprendizaje automático, no. 20, pp. 1–8, (2023).
Sorokin, D. Machine learning application for power systems reliability assessment, 01032, pp. 1–5, (2023).
Wang, Y., Chen, C., Wang, J. & Baldick, R. Research on resilience of power systems under natural disasters—A review. IEEE Trans. Power Syst. 31 (2), 1604–1613. https://doi.org/10.1109/TPWRS.2015.2429656 (2016).
Ozcanli, A. K. Deep learning methods and applications for electrical power systems: A comprehensive review, no. February, pp. 7136–7157, https://doi.org/10.1002/er.5331 (2020).
Robert, A., Potter, K. & Frank, L. Machine Learning Applications in Electric Power Systems (Enhancing Efficiency, Reliability, and Sustainability, 2024).
Zhang, Z. CNN-LSTM based power grid voltage stability emergency control VOLTAGE STABILITY EMERGENCY, no. September pp. 3559–3570, 2023, (2022). https://doi.org/10.1049/gtd2.12890
Gupta, S. K. & Mallik, S. K. Enhancement in voltage stability using FACTS devices under contingency conditions, 12, 4, pp. 365–378, https://doi.org/10.22098/joape.2023.11569.1864 (2024)
Devaraj, D. & Roselyn, J. P. Electrical power and energy systems genetic algorithm based reactive power dispatch for voltage stability improvement, 32, pp. 1151–1156,https://doi.org/10.1016/j.ijepes.2010.06.014 (2010).
Hagmar, H. & Eriksson, R. Deep reinforcement learning for Long-Term voltage stability control, pp. 1–9, (2022).
Author information
Authors and Affiliations
Contributions
Author ContributionsMolla Addisu Mossie: Conceptualization, Methodology, Software, Writing – Original Draft, Supervision.Tefera Terefe Yetayew: Software, Validation, Formal Analysis, Data Curation.Girmaw Teshager Bitew: Investigation, Resources, Visualization.Mezigebu Getinet Yenealem: Formal Analysis, Data Curation, Writing – Review & Editing.Teketay Mulu Beza: Methodology, Software, Visualization, Project Administration.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Mossie, M.A., Yetayew, T.T., Bitew, G.T. et al. Machine learning algorithms for voltage stability assessment in electrical distribution systems. Sci Rep 15, 31980 (2025). https://doi.org/10.1038/s41598-025-15791-2
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41598-025-15791-2



















