Fault Recovery Strategy with Net Load Forecasting Using Bayesian Optimized LSTM for Distribution Networks
Abstract
1. Introduction
2. Net Load Forecasting Based on Bayesian-Optimized LSTM
2.1. Long Short-Term Memory Network
- , , and are the weight matrices associated with the forget gate, input gate, and output gate, respectively;
- , , and are the corresponding bias vectors;
- denotes the input vector at time step t;
- is the output (hidden state) from the previous time step;
- represents the sigmoid activation function;
- , , and refer to the forget gate, input gate, and output gate activations at time t, respectively.
2.2. Bayesian Optimization Algorithm
- Initialization: Construct a prior distribution for the surrogate model, serving as the initial approximation of the objective function.
- Sampling point selection: Determine the next sampling point x by maximizing the acquisition function a(x), which balances the trade-off between exploring uncertain regions and exploiting areas with known promising results.
- Objective evaluation: Evaluate the objective function c(x) at the selected point x, and obtain the corresponding output value y.
- Model update: Update the surrogate model using the newly observed data pair (x,y), resulting in a revised posterior distribution that reflects the most recent information.
- Iterative optimization: Repeat steps 2–4 until a stopping criterion is met, such as reaching the maximum number of iterations or satisfying convergence conditions.
2.3. Bayesian Optimization of LSTM
3. Fault Recovery Strategies for Distribution Networks with Distributed Generation
3.1. Objective Function
- denotes the total power of different classes of de-energized loads;
- denotes the number of switching operations;
- denotes the active power loss in the network.
- is the total number of load nodes without power;
- denotes the class of load at node ;
- is the active power of the important lost load node;
- is the total number of switches in the system;
- and represent the switching states of switch iii before and after reconfiguration, respectively, where 1 indicates closed and 0 indicates open;
- is the total number of branches in the system;
- is the switching state of branch , where 1 indicates closed and 0 indicates open;
- is the resistance of branch ;
- and are the active and reactive power flows on branch ;
- is the voltage magnitude at the receiving end of branch ,
3.2. Model Constraints
- (1)
- Nodal Power Balance Constraint:
- (2)
- Nodal voltage constraints:
- (3)
- Branch active power constraints:
- (4)
- Distributed generation constraints:
3.3. Islanding and Network Reconfiguration Recovery Based on GA-QPSO Algorithm
- Initial data input: Import the post-fault distribution network data, including topology, fault location, load distribution, and switching states, where each switch node is binary-encoded (0/1) to represent on/off status.
- Feasible solution generation and population initialization: Construct an initial solution set meeting network constraints using a radial structure strategy, ensuring reasonable network distribution and a stable base for optimization.
- Genetic evolution and structural optimization: Apply selection, crossover, and mutation operations to globally explore the solution space, iteratively updating islanding schemes to maintain population diversity and solution feasibility.
- Local search enhancement: Introduce QPSO for the local optimization of elite individuals after each genetic generation, leveraging quantum behavior and the best population positions to improve convergence and escape local optima.
- Islanding scheme verification: Assess the optimized islanding solutions for physical topology, load distribution, and voltage stability and analyze potential power imbalances using load forecasts.
- Dynamic topology update: Update the network topology based on optimization results to clarify backbone connectivity and available branches for subsequent reconfiguration.
- Population regeneration and iterative optimization: Use loop coding and genetic recombination to regenerate feasible solutions, evaluate them via the fitness function, and retain the best individuals to guide evolution.
- Final recovery scheme determination: Perform gradient-level fine tuning on the optimal solution to maximize load restoration, network connectivity, and operational stability.
4. Validating Cases
4.1. Results and Analyses
4.2. Performance Comparison
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
DG | Distributed Generation |
QPSO | Quantum-behaved Particle Swarm Optimization |
GA | Genetic Algorithm |
LSTM | Long Short-Term Memory network |
GA-QPSO | Genetic Algorithm and Quantum-behaved Particle Swarm Optimization |
RNN | Recurrent Neural Network |
References
- Xie, M.; Lin, S.; Dong, K.; Zhang, S. Short-Term Prediction of Multi-Energy Loads Based on Copula Correlation Analysis and Model Fusions. Entropy 2023, 25, 1343. [Google Scholar] [CrossRef]
- Wang, F.; Cetinay, H.; He, Z.; Liu, L.; Van Mieghem, P.; Kooij, R.E. Recovering Power Grids Using Strategies Based on Network Metrics and Greedy Algorithms. Entropy 2023, 25, 1455. [Google Scholar] [CrossRef]
- Bai, Y.; Gu, X.; Li, S.; Liu, K. Coordinated restoration method of transmission and distribution network considering distribution network fault repair scenario. Int. J. Electr. Power Energy Syst. 2023, 151, 109153. [Google Scholar] [CrossRef]
- Quintero, J.M.; Uribe, J.A.; Bernal, O.; Henao, C.O. Optimal restoration algorithm for active distribution network considering island mode of the microgrids, e-Prime—Advances in Electrical Engineering. Electron. Energy 2025, 12, 100976. [Google Scholar] [CrossRef]
- Savastianov, M.; Smedley, K.; Cao, J. Power System Recovery from Momentary Cessation with Transient Stability Improvement. IEEE Trans. Power Syst. 2024, 39, 6014–6025. [Google Scholar] [CrossRef]
- Bae, I.S.; Son, E.T.; Kim, S.Y.; Kim, D.M. Optimum Cable Sizing for Offshore Wind Farms Using Binary Integer Programming. IEEE Access 2023, 11, 132708–132717. [Google Scholar] [CrossRef]
- Yang, L.; Cui, X.; Qin, Y. Emergency power supply scheme and fault repair strategy for distribution networks considering electric -traffic synergy. Sustain. Energy Grids Netw. 2024, 40, 101575. [Google Scholar] [CrossRef]
- Wang, W.; Zhang, K.; Lv, S.; Zheng, Z.; Li, G.; Bai, L. Research and Application of New Fast Self-Healing Technology of Distribution Network Based on Line Topology and Beat Frequency Attenuation. Results in Engineering. 2025, 106641. [Google Scholar] [CrossRef]
- Wang, K.; Zhao, Z.; Zhong, J.; Xu, F. Dynamic Fault Recovery Strategy for Distribution Network Based on Improved Simulated Annealing Genetic Algorithm. Smart Grid 2024, 52, 16–22. [Google Scholar] [CrossRef]
- Zhao, R.; Hou, Z.; Lu, J.; Lin, G.; Yan, J.; Chen, J.; Pan, K.; Wang, F. Distributed coordinated service restoration strategy for transmission and distribution networks based on distribution network partition. Electr. Power Syst. Res. 2025, 246, 111675. [Google Scholar] [CrossRef]
- Huang, W.; Sun, K.; Qi, J.; Ning, J. Optimal Allocation of Dynamic Var Sources Using the Voronoi Diagram Method Integrating Linear Programing. IEEE Trans. Power Syst. 2017, 32, 4644–4655. [Google Scholar] [CrossRef]
- Chen, L.; Jiang, Y.; Deng, X.; Zheng, S.; Chen, H.; Islam, M.R. A multi-period restoration approach for resilience increase of active distribution networks by considering fault rapid recovery and component repair. Int. J. Electr. Power Energy Syst. 2024, 161, 110181. [Google Scholar] [CrossRef]
- Zhang, B.; Crossley, P. Reliability improvement using ant colony optimization applied to placement of sectionalizing switches. Energy Procedia 2017, 142, 2604–2610. [Google Scholar] [CrossRef]
- Liu, S.; Zhao, L.; Li, J.; Hou, Z. Dynamic fault recovery method of a photovoltaic distribution network considering switch state set adjustment. Power Syst. Prot. Control 2021, 49, 24–31. [Google Scholar]
- Nayak, P.; Dash, P.K.; Mishra, S.P. Stability assessment and optimal state-feedback system design for PQ-Vf coordination in a PV/DFIG/DSG based microgrid. Renew. Energy Focus 2018, 27, 14–32. [Google Scholar] [CrossRef]
- Avilés, J.P.; Mayo-Maldonado, J.C.; Micheloud, O. A multi-objective evolutionary approach for planning and optimal condition restoration of secondary distribution networks. Appl. Soft Comput. 2020, 90, 106182. [Google Scholar] [CrossRef]
- Shaikh, M.S.; Raj, S.; Babu, R.; Kumar, S.; Sagrolikar, K. A hybrid moth–flame algorithm with particle swarm optimization with application in power transmission and distribution. Decis. Anal. J. 2023, 6, 100182. [Google Scholar] [CrossRef]
- Song, W.; Qiao, Y.; Park, S.C.; Qian, X. A hybrid evolutionary computation approach with its application for optimizing text document clustering. Expert Syst. Appl. 2015, 42, 2517–2524. [Google Scholar] [CrossRef]
- Xu, P.; Song, Y.; Du, J.; Zhang, F. Town gas daily load forecasting based on machine learning combinatorial algorithms: A case study in North Chin. Chin. J. Chem. Eng. 2024, 75, 239–252.0. [Google Scholar] [CrossRef]
- Li, H.; Tang, M.; Mu, Y.; Wang, Y.; Yang, T.; Wang, H. Achieving accurate and balanced regional electric vehicle charging load forecasting with a dynamic road network: A case study of Lanzhou City. Appl. Intell. 2024, 54, 9230–9252. [Google Scholar] [CrossRef]
- Tang, Z.; Ji, T.; Kang, J.; Huang, Y.; Tang, W. Learning global and local features of power load series through transformer and 2D-CNN: An image-based multi-step forecasting approach incorporating phase space reconstruction. Appl. Energy 2025, 378, 124786. [Google Scholar] [CrossRef]
- Hu, X.; Li, H.; Si, C. Improved composite model using metaheuristic optimization algorithm for short-term power load forecasting. Electr. Power Syst. Res. 2025, 241, 111330. [Google Scholar] [CrossRef]
- Fu, Z.; Qian, H.; Wei, W.; Chu, X.; Yang, F.; Guo, C.; Wang, F. An Informer-BiGRU-temporal attention multi-step wind speed prediction model based on spatial-temporal dimension denoising and combined VMD decomposition. Energy 2025, 326, 136265. [Google Scholar] [CrossRef]
- Liu, X.; Song, J.; Tao, H.; Wang, P.; Mo, H.; Du, W. Quarter-Hourly Power Load Forecasting Based on a Hybrid CNN-BiLSTM-Attention Model with CEEMDAN, K-Means, and VMD. Energies 2025, 18, 2675. [Google Scholar] [CrossRef]
- Griffith, A.; Harris, M. Efficient techno-economic optimization of integrated energy systems using Bayesian optimization. Energy 2025, 326, 136117. [Google Scholar] [CrossRef]
- Lin, S.; Wang, Y.; Wei, H.; Wang, X.; Wang, Z. Hybrid Method for Oil Price Prediction Based on Feature Selection and XGBOOST-LSTM. Energies 2025, 18, 2246. [Google Scholar] [CrossRef]
- Chen, Y.; Xu, J. Solar and wind power data from the Chinese State Grid Renewable Energy Generation Forecasting Competition. Sci. Data 2022, 9, 577. [Google Scholar] [CrossRef] [PubMed]
- Duan, Y.; Gao, C.; Xu, Z.; Ren, S.; Wu, D. Multi-Objective Optimization for the Low-Carbon Operation of Integrated Energy Systems Based on an Improved Genetic Algorithm. Energies 2025, 18, 2283. [Google Scholar] [CrossRef]
- Zhou, J.; Xie, H.; Zheng, B. Coordination of Distribution Network Fault Reconfiguration and Islanded Operation Based on Hybrid Algorithm. Power Syst. Technol. 2015, 39, 136–142. [Google Scholar]
- Ma, Z.; Liu, Y.; Xu, L.; Zhu, J.; Lin, Q. Operation Strategy for Distribution Network Fault Restoration Considering Islanding and Reconfiguration. Electr. Power Constr. 2018, 39, 128–136. [Google Scholar] [CrossRef]
- Wan, H.; Liu, W.; Shi, Q.; Liu, J.; Zhang, S. A Post-Disaster Centralized Matching and Decentralized Dispatch Strategy for Emergency Resources in Urban Power Network. Trans. China Electrotech. Soc. 2024, 39, 7463–7480. [Google Scholar]
Algorithm | R2 | RMSE/kW |
---|---|---|
BP | 0.7963 | 36.3064 |
LSTM | 0.8951 | 22.7879 |
CNN-LSTM | 0.9193 | 17.7116 |
Bayesian–LSTM | 0.9569 | 12.1464 |
Load Category | Weighting Factor | Respective Buses |
---|---|---|
Category I load | 100 | 3, 10, 11, 24, 31 |
Category II load | 10 | 4, 6, 12, 15, 19, 21, 22, 23, 29, 30 |
Category III load | 1 | 2, 5, 7, 8, 9, 13, 14, 16, 17, 18, 20, 25, 26, 27, 28, 32, 33 |
Connection Node | Typology | Active Power Capacity/kW |
---|---|---|
5 | photovoltaic | 750 |
17 | wind power | 600 |
24 | photovoltaic | 500 |
32 | wind power | 720 |
Comparison Metrics | Pre-Optimization | Post-Optimization |
---|---|---|
Operating switch | - | Disconnect line segments 25–29 and 18–33 |
Number of operations | - | 2 |
Network loss /kW | 122.0886 | 81.5665 |
Minimum voltage/pu | 0.9759 | 0.9759 |
Load recovery percentage | 72.7% | 75.8% |
Power supply duration /min | 60 | 120 |
Increased electricity supply/kWh | - | 81.0442 |
Restoration Strategy | Disconnect Switch | Number of Switching Operations | Network Loss/kW |
---|---|---|---|
Before fault recovery | S9, S22, S35–S37 | 0 | 95.35 |
Literature [29] | S9, S12, S14, S23, S33, S35–S37 | 3 | 118.51 |
Literature [30] | S9, S22, S17, S23, S33, S35–S37 | 3 | 71.08 |
Methodology of this paper | S9, S10, S16, S20, S23, S35–S37 | 2 | 76.08 |
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. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Ding, Z.; Chu, Y. Fault Recovery Strategy with Net Load Forecasting Using Bayesian Optimized LSTM for Distribution Networks. Entropy 2025, 27, 888. https://doi.org/10.3390/e27090888
Ding Z, Chu Y. Fault Recovery Strategy with Net Load Forecasting Using Bayesian Optimized LSTM for Distribution Networks. Entropy. 2025; 27(9):888. https://doi.org/10.3390/e27090888
Chicago/Turabian StyleDing, Zekai, and Yundi Chu. 2025. "Fault Recovery Strategy with Net Load Forecasting Using Bayesian Optimized LSTM for Distribution Networks" Entropy 27, no. 9: 888. https://doi.org/10.3390/e27090888
APA StyleDing, Z., & Chu, Y. (2025). Fault Recovery Strategy with Net Load Forecasting Using Bayesian Optimized LSTM for Distribution Networks. Entropy, 27(9), 888. https://doi.org/10.3390/e27090888