Extreme Grid Operation Scenario Generation Framework Considering Discrete Failures and Continuous Output Variations
Abstract
1. Introduction
- In light of the escalating equipment failures observed in power grids, compounded by the extreme renewable energy outputs resulting from frequent extreme weather events, a comprehensive definition and generation framework for extreme power grid operation scenarios is proposed. This framework encompasses both equipment failure and extreme output.
- To address the lack of samples for extreme power grid operation scenarios, the equipment failure rate is calculated based on extreme weather data. Subsequently, the sequential Monte Carlo sampling method is employed to expand the discrete equipment failure scenario samples. During the extreme output scenario training process for renewable energy, a distribution shifting algorithm is introduced to gradually shift the training data distribution towards the tail distribution of the extreme dataset, thereby assisting the model in learning the extreme output characteristics of renewable energy.
- A Gumbel-Softmax variational autoencoder (Gumbel-Softmax VAE) suitable for modeling discrete temporal data is proposed for the power grid extreme operation scenario generation problem. A discrete latent space structure is designed to better fit the change characteristics of discrete temporal data. The proposed extreme CGAN (ExCGAN) model is designed for continuous temporal data analysis. The model incorporates four extreme metrics as scenario labels, a strategy that is intended to enhance model interpretability.
2. Power Grid Extreme Operation Scenario Definition and Generation Framework
3. Extreme Operation Scenario Generation Model for Power Grids
3.1. Equipment Failure Scenario Generation Model
3.2. Extreme Scenario Generation Model for Renewable Energy
Algorithm 1. Extreme output scenario generation for renewable energy |
Input: Original scenario set x, number of scenarios N, extreme metric , shift factor , training rounds k |
Sort all scenarios in the original scenario set in descending order according to the extreme metric |
Initialize the training set |
for do |
Train the ExCGAN generator and discriminator on |
Select samples that are relatively extreme from as the first-part scenario set |
Generate samples using the ExCGAN |
Select samples as the second-part scenario set Incorporate and together to form the new training scenario set |
end |
Output: Extreme scenario set |
3.3. Extreme Scenario Generation Quality Evaluation Indices
3.3.1. Evaluation Indices for Equipment Failure Scenarios
3.3.2. Extreme Output Scenario Evaluation Indices for Renewable Energy
4. Case Study
4.1. Case Study Setup
- (1)
- For the first Gumbel-Softmax VAE case study, the IEEE 39-bus system (46 lines) was chosen to simulate line failure scenarios. In the context of the line probability failure model in the NaFIRS database, the failure rate was established in a 0.06–0.1 range under typhoon weather conditions, while the repair rate was set to 0.8. Through sequential Monte Carlo sampling [25,26], 682 days of failure scenarios with a time granularity of 1 h were obtained, which were partitioned into 582 training days and 100 test days.
- (2)
- The second case study utilized real-world operational status data of 1222 lines in a northern Chinese city, covering the first quarter of 2022 (January–March), with a time granularity of 5 min. The dataset spans 90 days, divided into 70 training days and 20 test days, preserving temporal continuity for validation.
- (3)
- The ExCGAN case study employs two-year (2021–2022) normalized power generation data with a time granularity of 15 min from 11 wind farms in the same region. The 730-day dataset was divided into 600 training days and 130 test days, ensuring adequate representation of seasonal variations while maintaining sufficient test samples for performance evaluation.
4.2. Equipment Failure Scenario Generation
4.2.1. IEEE 39-Bus System Example
4.2.2. Actual Power Grid Test Case
4.3. Extreme Output Scenario Generation for Renewable Energy
5. Conclusions
- The proposed Gumbel-Softmax VAE model, which is based on the Gumbel-Softmax reparameterization technique and focused loss function introduction, has the ability to effectively generate equipment failure scenarios in discrete data form. This provides a new approach for failure scenario modeling.
- Four extreme metrics are proposed. When employed in conjunction with the distribution shifting algorithm, this approach effectively addresses the challenge posed by the lack of historical extreme output scenario data. Compared with the conventional CGAN, the proposed ExCGAN model demonstrated its efficiency in terms of generating particular types of extreme output scenarios for renewable energy. This capability offers significant advantages and provides data support for power system extreme situation analysis.
6. Patents
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Appendix A
Method | Error Index | ||
---|---|---|---|
/% | /% | /% | |
GAN | 22.6 | 8.46 | 12.9 |
Gumbel-Softmax VAE | 4.07 | 1.07 | 9.58 |
References
- Li, H.; Liu, D.; Yao, D.Y. Analysis and reflection on the development of power system towards the goal of carbon emission peak and carbon neutrality. Proc. CSEE 2021, 41, 6245–6258. [Google Scholar]
- Fischer, E.M.; Sippel, S.; Knutti, R. Increasing probability of record-shattering climate extremes. Nat. Clim. Change 2021, 11, 689–695. [Google Scholar] [CrossRef] [PubMed]
- Guo, H.X.; Chen, L.X.; Zhang, Q.; Huang, H.; Ma, Q.; Wang, J.X. Research and response to extreme scenarios in new power system: A review from perspective of electricity and power balance. Power Syst. Technol. 2024, 48, 3975–3991. [Google Scholar] [CrossRef]
- Zhu, X.; Yu, Z.; Liu, X. Security constrained unit commitment with extreme wind scenarios. J. Mod. Power Syst. Clean Energy 2020, 8, 464–472. [Google Scholar] [CrossRef]
- Pan, G.; Hu, Q.; Gu, W.; Ding, S.; Qiu, H.; Lu, Y. Assessment of plum rain’s impact on power system emissions in Yangtze-Huaihe River basin of China. Nat. Commun. 2021, 12, 6156. [Google Scholar] [CrossRef] [PubMed]
- Xu, J.; Wang, B.; Sun, Y.; Xu, Q.; Liu, J.; Cao, H.; Jiang, H.; Lei, R.; Shen, M. A day-ahead economic dispatch method considering extreme scenarios based on wind power uncertainty. CSEE J. Power Energy Syst. 2019, 5, 224–233. [Google Scholar] [CrossRef]
- Yeganefar, A.; Amin-Naseri, M.R.; Sheikh-El-Eslami, M.K. Improvement of representative days selection in power system planning by incorporating the extreme days of the net load to take account of the variability and intermittency of renewable resources. Appl. Energy 2020, 272, 115224. [Google Scholar] [CrossRef]
- Li, C.; Conejo, A.J.; Siirola, J.D.; Grossmann, I.E. On representative day selection for capacity expansion planning of power systems under extreme operating conditions. Int. J. Electr. Power Energy Syst. 2022, 137, 107697. [Google Scholar] [CrossRef]
- Teichgraeber, H.; Küpper, L.E.; Brandt, A.R. Designing reliable future energy systems by iteratively including extreme periods in time-series aggregation. Appl. Energy 2021, 304, 117696. [Google Scholar] [CrossRef]
- Dong, X.C.; Zhang, S.; Li, Y.; Wang, X.Y.; Pu, T.J.; Sun, Y.Y. Summary of research on generation and reduction methods of time series scenes in power system. Power Syst. Technol. 2023, 47, 709–721. [Google Scholar]
- Haan, L.; Ferreira, A. Extreme Value Theory: An Introduction; Springer: New York, NY, USA, 2006. [Google Scholar]
- Pan, Y.; Qin, J. A novel probabilistic modeling framework for wind speed with highlight of extremes under data discrepancy and uncertainty. Appl. Energy 2022, 326, 119938. [Google Scholar] [CrossRef]
- Peláez-Rodríguez, C.; Pérez-Aracil, J.; Fister, D.; Prieto-Godino, L.; Deo, R.; Salcedo-Sanz, S. A hierarchical classification/regression algorithm for improving extreme wind speed events prediction. Renew. Energy 2022, 201, 157–178. [Google Scholar] [CrossRef]
- Browell, J.; Fasiolo, M. Probabilistic forecasting of regional net-load with conditional extremes and gridded NWP. IEEE Trans. Smart Grid 2021, 12, 5011–5019. [Google Scholar] [CrossRef]
- Cerrai, D.; Koukoula, M.; Watson, P.; Anagnostou, E.N. Outage prediction models for snow and ice storms. Sustain. Energy Grids Netw. 2020, 21, 100294. [Google Scholar] [CrossRef]
- Liu, Y.P.; Xu, Z.P.; He, J.H.; Wan, Q.; Gao, S.G.; Zhao, J. Data augmentation method for power transformer fault diagnosis based on conditional Wasserstein generative adversarial network. Power Syst. Technol. 2020, 44, 1505–1513. [Google Scholar]
- Dong, W.; Chen, X.; Yang, Q. Data-driven scenario generation of renewable energy production based on controllable generative adversarial networks with interpretability. Appl. Energy 2022, 308, 118387. [Google Scholar] [CrossRef]
- Bhatia, S.; Jain, A.; Hooi, B. Exgan: Adversarial generation of extreme samples. Proc. AAAI Conf. Artif. Intell. 2021, 35, 6750–6758. [Google Scholar] [CrossRef]
- Qiao, J.; Pu, T.; Wang, X. Renewable scenario generation using controllable generative adversarial networks with transparent latent space. CSEE J. Power Energy Syst. 2020, 7, 66–77. [Google Scholar]
- Kingma, D.P.; Welling, M. Auto-encoding variational bayes. arXiv 2013, arXiv:1312.6114. [Google Scholar]
- Li, H.; Liu, D.; Liang, H.Q.; Li, F.; Wu, X.; Cao, B.R. Conditional-generative-adversarial-network-based Day-ahead Multi-stage Stochastic Scheduling of Power Systems. New Type Power Syst. 2023, 1, 272–282. [Google Scholar]
- Mi, Y.; Lu, C.K.; Shen, J.; Yang, X.; Ge, L.J. Wind power extreme scenario generation based on conditional generative adversarial network. High Volt. Eng. 2023, 49, 2253–2263. [Google Scholar]
- Li, W.Y. Power System Risk Assessment: Models, Methods and Applications; Science Press: Beijing, China, 2006. [Google Scholar]
- Xiang, S.T.; Li, H. On the effects of batch and weight normalization in generative adversarial networks. arXiv 2017, arXiv:1704.03971. [Google Scholar]
- Liu, T.; Li, S.Y.; Gu, X.P.; Liu, Y.M.; Wang, T.Q.; Yang, X.D. Critical Line Identification of Cascading Failures in Power Grid Based on Graph Attention Network Algorithm. Proc. CSEE 2022, 42, 5448–5459. [Google Scholar]
- Shi, S.S.; Zhang, Q.Q.; Wei, X.C.; Liu, J.P.; Wang, Y.; Xu, Y. Anti-Fragile Planning of Urban Distribution Network for Survivability Improvement. Electr. Power Constr. 2024, 45, 56–67. [Google Scholar]
Metric | Calculation Formula |
---|---|
Maximum power | |
Minimum power | |
Average power | |
Volatility |
Parameter | Value |
---|---|
Training epoch | 500 |
Gumbel-Softmax VAE learning rate | 0.001 |
LeakyReLU slope | 0.2 |
ExCGAN generator learning rate | 0.0002 |
ExCGAN discriminator learning rate | 0.0001 |
Shift factor | 0.75 |
Training round k | 10 |
Weight for balancing the ratio of normal operation samples to failure samples | 0.3 |
Focusing parameter | 0.5 |
Annealing range | 1→0.01 |
Number of Training Samples | With Focal Loss | Without Focal Loss | ||||
---|---|---|---|---|---|---|
/% | /% | /% | /% | /% | /% | |
500-day training sample | 4.07 | 1.07 | 9.58 | 6.08 | 10.52 | 17.12 |
300-day training sample | 9.48 | 1.35 | 11.50 | 22.16 | 14.91 | 18.40 |
200-day training sample | 10.83 | 2.83 | 15.33 | 22.87 | 17.59 | 18.77 |
Method | Latent Space Dimension 144 | Latent Space Dimension 288 | ||||
---|---|---|---|---|---|---|
/% | /% | /% | /% | /% | /% | |
Conventional VAE | 42 | 51 | 55 | 32 | 54 | 49 |
Gumbel-Softmax VAE | 13 | 22 | 19 | 5.4 | 7.4 | 3.1 |
Extreme Metrics | High-Power Accuracy Rate/% | Low-Power Accuracy Rate/% | Average-Power Accuracy Rate/% | Volatility Accuracy Rate/% |
---|---|---|---|---|
[0.8, 0.1, 0.3, 0.7] | 98.2 | 90.1 | 99.7 | 92.6 |
[0.1, 0, 0.05, 0.1] | 91.2 | 98.7 | 96 | 90.4 |
Method | Generation Index | |
---|---|---|
CGAN | 0.0375 | 0.0320 |
CGAN + distribution shift | 0.0266 | 0.0159 |
ExCGAN | 0.0236 | 0.0132 |
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
Liu, D.; Guo, G.; Wang, Z.; Li, F.; Jia, K.; Zhu, C.; Wang, H.; Sun, Y. Extreme Grid Operation Scenario Generation Framework Considering Discrete Failures and Continuous Output Variations. Energies 2025, 18, 3838. https://doi.org/10.3390/en18143838
Liu D, Guo G, Wang Z, Li F, Jia K, Zhu C, Wang H, Sun Y. Extreme Grid Operation Scenario Generation Framework Considering Discrete Failures and Continuous Output Variations. Energies. 2025; 18(14):3838. https://doi.org/10.3390/en18143838
Chicago/Turabian StyleLiu, Dong, Guodong Guo, Zhidong Wang, Fan Li, Kaiyuan Jia, Chenzhenghan Zhu, Haotian Wang, and Yingyun Sun. 2025. "Extreme Grid Operation Scenario Generation Framework Considering Discrete Failures and Continuous Output Variations" Energies 18, no. 14: 3838. https://doi.org/10.3390/en18143838
APA StyleLiu, D., Guo, G., Wang, Z., Li, F., Jia, K., Zhu, C., Wang, H., & Sun, Y. (2025). Extreme Grid Operation Scenario Generation Framework Considering Discrete Failures and Continuous Output Variations. Energies, 18(14), 3838. https://doi.org/10.3390/en18143838