A Scenario Generation Method for Typical Operations of Power Systems with PV Integration Considering Weather Factors
Abstract
:1. Introduction
2. Materials and Methods
2.1. TimeGAN Network
2.1.1. Objectives
2.1.2. TimeGAN Architecture
Training Losses
2.1.3. TimeGAN Training
- (1)
- Separately training the embedding and reconstruction networks, extracting batch_size groups of (max_seq_len,4) data from the raw data for training at each iteration.
- (2)
- Training the generator. At each iteration, batch_size groups of (max_seq_len,4) data from both raw data and random noise are extracted for supervised training.
- (3)
- Joint training, training the generator, discriminator, and embedding–recovery networks alternately. Batch_size groups of (max_seq_len,4) data from the raw data and random noise are extracted at each iteration.
2.2. K-Means Clustering
K-Means Algorithm
2.3. PV–Load Association Rule Mining Based on FP-Growth
3. Experimental Results and Related Discussion
3.1. Dataset
3.2. Data Preprocessing
3.3. Parameter Settings
3.3.1. TimeGAN
3.3.2. K-Means
3.3.3. FP-Growth
3.3.4. Summary of the Global System Parameters
3.4. Discussion
- (1)
- Explicitly encouraging the model to learn the conditional probability distribution at each point of the time-series data, improving the probability distribution fitting capability of scenario generation algorithms, enabling the generated data to fully express the temporal characteristics of the original data.
- (2)
- Adopting an LSTM network architecture, which effectively resolved gradient issues during training and fully mined temporal information over longer time periods.
- (1)
- A deep learning model TimeGAN was leveraged to generate time-series data capturing both static and temporal features of PV output, load, and weather data. This solved the problem of classical GAN models, which are unable to learn temporal relationships within time series.
- (2)
- Weather factors were explicitly incorporated to establish associations between PV scenarios, load scenarios, and weather scenarios. This enabled interpreting the underlying meteorological conditions behind the generated typical scenarios.
- (3)
- The proposed method reduced reliance on subjective prior knowledge during typical scenario generation by mining objective association rules between PV, load., and weather factors. This enhanced the diversity and representativeness of the generated scenarios.
- (4)
- The generated typical scenarios can better support the optimization and planning of PV-integrated power systems by providing more accurate approximates of real-world operating conditions.
3.5. Metrics
3.5.1. Wasserstein Distance
3.5.2. MMD Distance
3.5.3. ACF and PACF
3.6. Data Visualization
3.7. Evaluation of TimeGAN-Generated Data
3.8. Typical Scenario Generation
3.8.1. Rule Repository Generation
3.8.2. Typical Scenario Set Generation
4. Conclusions and Prospects
- (1)
- Related research on Wasserstein distance could be introduced into TimeGAN.
- (2)
- Building upon the weather factors, more impact factors such as holidays and electricity prices could be integrated for scenario generation to further enhance the method’s practical applicability.
- (3)
- The FP-growth algorithm and its generated results are relatively abstract. Clearer rule interpretations need to be further provided. Highly interpretable algorithms like classification based on associations (CBA) could be utilized for generating explanatory association rules.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Uddin, M.; Mo, H.; Dong, D.; Elsawah, S.; Zhu, J.; Guerrero, J.M. Microgrids: A review, outstanding issues and future trends. Energy Strategy Rev. 2023, 49, 101127. [Google Scholar] [CrossRef]
- Kong, X.; Xiao, J.; Liu, D.; Wu, J.; Wang, C.; Shen, Y. Robust stochastic optimal dispatching method of multi-energy virtual power plant considering multiple uncertainties. Appl. Energy 2020, 279, 115707. [Google Scholar] [CrossRef]
- Hu, J.; Li, H. A transfer learning-based scenario generation method for stochastic optimal scheduling of microgrid with newly-built wind farm. Renew. Energy 2022, 185, 1139–1151. [Google Scholar] [CrossRef]
- Yang, H.; Liang, R.; Yuan, Y.; Chen, B.; Xiang, S.; Liu, J.; Zhao, H.; Ackom, E. Distributionally robust optimal dispatch in the power system with high penetration of wind power based on net load fluctuation data. Appl. Energy 2022, 313, 118813. [Google Scholar] [CrossRef]
- Zeng, Y.; Li, C.; Wang, H. Scenario-set-based economic dispatch of power system with wind power and energy storage system. IEEE Access 2020, 8, 109105–109119. [Google Scholar] [CrossRef]
- Guo, M.; Wang, W.; Chen, R.; Li, Y. Research on bi-level model power dispatch considering the uncertainty of source and load. Sustain. Energy Technol. Assess. 2022, 53, 102689. [Google Scholar] [CrossRef]
- Huang, S.; Lu, H.; Chen, M.; Zhao, W. Integrated energy system scheduling considering the correlation of uncertainties. Energy 2023, 283, 129011. [Google Scholar] [CrossRef]
- Dong, L.; Meng, T.; Chen, N.; Li, Y.; Pu, T. Optimized scheduling of AC/DC hybrid active distribution network using markov chains and multiple scenarios technique. Autom. Electr. Power Syst. 2018, 42, 147–153. [Google Scholar]
- Zhang, C.; Wei, H.; Zhao, X.; Liu, T.; Zhang, K. A Gaussian process regression based hybrid approach for short-term wind speed prediction. Energy Convers. Manag. 2016, 126, 1084–1092. [Google Scholar] [CrossRef]
- Huang, S.J.; Shih, K.R. Short-term load forecasting via ARMA model identification including non-Gaussian process considerations. IEEE Trans. Power Syst. 2003, 18, 673–679. [Google Scholar] [CrossRef]
- Krishna, A.B.; Abhyankar, A.R. Time-coupled day-ahead wind power scenario generation: A combined regular vine copula and variance reduction method. Energy 2023, 265, 126173. [Google Scholar] [CrossRef]
- Yao, G.; Wu, Y.; Huang, X.; Ma, Q.; Du, J. Clustering of typical wind power scenarios based on K-means clustering algorithm and improved artificial bee colony algorithm. IEEE Access 2022, 10, 98752–98760. [Google Scholar] [CrossRef]
- Li, H.; Ren, Z.; Fan, M.; Li, W.; Xu, Y.; Jiang, Y.; Xia, W. A review of scenario analysis methods in planning and operation of modern power systems: Methodologies, applications, and challenges. Electr. Power Syst. Res. 2022, 205, 107722. [Google Scholar]
- Pan, Z.; Wang, J.; Liao, W.; Chen, H.; Yuan, D.; Zhu, W.; Fang, X.; Zhu, Z. Data-driven EV load profiles generation using a variational auto-encoder. Energies 2019, 12, 849. [Google Scholar] [CrossRef]
- Zhang, Y.; Ai, Q.; Xiao, F.; Hao, R.; Lu, T. Typical wind power scenario generation for multiple wind farms using conditional improved Wasserstein generative adversarial network. Int. J. Electr. Power Energy Syst. 2020, 114, 105388. [Google Scholar] [CrossRef]
- He, Y.; Deng, J.; Li, H. Short-term power load forecasting with deep belief network and copula models. In Proceedings of the 2017 9th International Conference on Intelligent Human-Machine Systems and Cybernetics (IHMSC), Hangzhou, China, 26–27 August 2017; IEEE: Piscataway, NJ, USA, 2017; Volume 1. [Google Scholar]
- Lin, S.; Wang, H.; Qi, L.; Feng, H.; Su, Y. Short-term load forecasting based on conditional generative adversarial network. Autom. Electr. Power Syst. 2021, 45, 52–60. [Google Scholar]
- Dong, X.; Sun, Y.; Pu, T. Day-ahead scenario generation of renewable energy based on conditional GAN. In Proceedings of the CSEE, Munich, Germany, 9–12 November 2020; Volume 40. [Google Scholar]
- Wang, C.; Tang, L.; Pu, Y.; Geng, Y. Scene Generation Method of Wind-solar Joint Output Based on Generative Adversarial Network. In Proceedings of the 2023 8th Asia Conference on Power and Electrical Engineering (ACPEE), Tianjin, China, 14–16 April 2023; pp. 104–109. [Google Scholar] [CrossRef]
- Peng, B.; Sun, Z.; Liu, M. Medium and Long Term Scenario Generation Method Based on Autoencoder and Generation Adversarial Network. In Proceedings of the 2023 3rd International Conference on Neural Networks, Information and Communication Engineering (NNICE), Guangzhou, China, 24–26 February 2023; pp. 639–645. [Google Scholar] [CrossRef]
- Zhang, C.; Shao, Z. Renewable power generation data transferring based on conditional deep convolutions generative adversarial network. Power Syst. Technol 2022, 46, 2182–2190. [Google Scholar]
- Yoon, J.; Jarrett, D.; Van der Schaar, M. Time-series generative adversarial networks. In Proceedings of the Advances in Neural Information Processing Systems 32 (NeurIPS 2019), Vancouver, BC, Canada, 8–14 December 2019. [Google Scholar]
- Zeng, Y.; Yin, S.; Liu, J.; Zhang, M. Research of improved FP-growth algorithm in association rules mining. Sci. Program. 2015, 2015, 6. [Google Scholar] [CrossRef]
- Rácz, B. nonordfp: An FP-Growth Variation without Rebuilding the FP-Tree. In IEEE Icdm Workshop on Fimi; IEEE: Piscataway, NJ, USA, 2004. [Google Scholar]
- Han, J.; Pei, J.; Yin, Y.; Mao, R. Mining frequent patterns without candidate generation: A frequent-pattern tree approach. Data Min. Knowl. Discov. 2004, 8, 53–87. [Google Scholar] [CrossRef]
- Yuan, C.; Yang, H. Research on K-value selection method of K-means clustering algorithm. J 2019, 2, 226–235. [Google Scholar] [CrossRef]
- Arjovsky, M.; Chintala, S.; Bottou, L. Wasserstein GAN. arXiv 2017, arXiv:1701.07875. [Google Scholar]
Parameter Meaning | Parameter | Value |
---|---|---|
Number of Layers | num_layer | 3 |
Number of Hidden Units per Layer | hidden_dim | 24 |
Max Sequence Length of Data | max_seq_len | 24 |
Iterations | iterations | 25,000 |
Batch Size | batch_size | 128 |
Learning Rate | learing_rate | 0.001 |
1st Moment Decay Rate of Adam Optimizer | 0.9 | |
2nd Moment Decay Rate of Adam Optimizer | 0.999 |
Parameter Meaning | Parameter | Value |
---|---|---|
Minimum Confidence | min_con | 0.75 |
Minimum Support | min_sup | 0.06 |
Algorithm | Parameter Meaning | Parameter | Value |
---|---|---|---|
TimeGAN | Number of Layers | num_layer | 3 |
Number of Hidden Units per Layer | hidden_dim | 24 | |
Max Sequence Length of Data | max_seq_len | 24 | |
Iterations | iterations | 25,000 | |
Batch Size | batch_size | 128 | |
Learning Rate | learing_rate | 0.001 | |
1st Moment Decay Rate of Adam Optimizer | 0.9 | ||
2nd Moment Decay Rate of Adam Optimizer | 0.999 | ||
K-Means | Optimal Number of Clusters | k | 5 |
FP-growth | Minimum Confidence | min_con | 0.75 |
Minimum Support | min_sup | 0.06 |
Model | Temperature (°C) | Humidity (%) | Rainfall (mm/h) | PV (MW) | Load (MW) |
---|---|---|---|---|---|
TimeGAN | 2.70 | 13.6 | 0.079 | 0.008 | 0.017 |
WGAN-GP | 3.86 | 14.7 | 0.048 | 0.014 | 0.026 |
WGAN | 3.43 | 15.1 | 0.060 | 0.018 | 0.019 |
DCCGAN | 4.02 | 16.4 | 0.091 | 0.016 | 0.037 |
GAN | 4.86 | 18.0 | 0.112 | 0.019 | 0.036 |
Model | MMD |
---|---|
TimeGAN | 0.5346 |
WGAN-GP | 0.6616 |
WGAN | 0.6934 |
DCCGAN | 0.7364 |
GAN | 0.8089 |
Minimum Confidence | Minimum Support | Number of Rules |
---|---|---|
0.75 | 0.06 | 30 |
0.7 | 0.05 | 35 |
0.8 | 0.07 | 26 |
0.75 | 0.04 | 38 |
0.85 | 0.06 | 21 |
Confidence | Weather Feature Type | PV Scenarios Type |
---|---|---|
1 | Temperature: 4, Rainfall: 4, Humidity: 2 | PV: 4 |
0.95 | Humidity: 3, Rainfall: 0, Temperature: 0 | PV: 1 |
0.946 | Humidity: 3, Temperature: 4 | PV: 2 |
0.898 | Humidity: 2, Rainfall: 0, Temperature: 2 | PV: 0 |
0.829 | Rainfall: 1, Humidity: 1 | PV: 3 |
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. |
© 2023 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
Wang, X.; Liu, X.; Zhong, F.; Li, Z.; Xuan, K.; Zhao, Z. A Scenario Generation Method for Typical Operations of Power Systems with PV Integration Considering Weather Factors. Sustainability 2023, 15, 15007. https://doi.org/10.3390/su152015007
Wang X, Liu X, Zhong F, Li Z, Xuan K, Zhao Z. A Scenario Generation Method for Typical Operations of Power Systems with PV Integration Considering Weather Factors. Sustainability. 2023; 15(20):15007. https://doi.org/10.3390/su152015007
Chicago/Turabian StyleWang, Xinghua, Xixian Liu, Fucheng Zhong, Zilv Li, Kaiguo Xuan, and Zhuoli Zhao. 2023. "A Scenario Generation Method for Typical Operations of Power Systems with PV Integration Considering Weather Factors" Sustainability 15, no. 20: 15007. https://doi.org/10.3390/su152015007
APA StyleWang, X., Liu, X., Zhong, F., Li, Z., Xuan, K., & Zhao, Z. (2023). A Scenario Generation Method for Typical Operations of Power Systems with PV Integration Considering Weather Factors. Sustainability, 15(20), 15007. https://doi.org/10.3390/su152015007