STGCformer: Spatio-Temporal Graph Convolutional Transformer for Short-Term Wind Power Forecasting
Abstract
1. Introduction
- (1)
- An STGC module is proposed. This module constructs a graph structure using the geographical location information of wind turbines and historical power data. By integrating Graph Attention Network (GAT) and one-dimensional convolutional operations, it simultaneously addresses the spatial dependencies between turbine locations within a wind farm and the temporal dependencies of historical wind power data, thereby enhancing the model’s spatio-temporal feature learning capabilities.
- (2)
- The time series decomposition module (TSDM) decomposes data into seasonal and trend components, enabling the model to better capture long-term trends and periodic fluctuations, thereby improving prediction accuracy.
- (3)
- Design a spatio-temporal modeling module based on the EA-enhanced Transformer. The EA-enhanced Transformer module not only captures the spatio-temporal dependencies in the wind power data but also leverages the self-attention mechanism of the Transformer to provide global information, thereby improving the extraction of trend and seasonal features.
- (4)
- To evaluate the STGCformer model’s accuracy, validation across multiple time steps (24, 48, 72, 96) on the ACM KDD Cup 2022 competition dataset demonstrated that STGCformer achieves optimal accuracy compared to existing models.
2. Feature Analysis
2.1. Problem Definition and Data Preprocessing
2.2. Wind Power Prediction Data Analysis
3. Methodology
3.1. Time Series Decomposition Module
3.2. Spatio-Temporal Graph Convolution Module
3.2.1. Construction of Spatio-Temporal Graph
3.2.2. Spatio-Temporal Graph-Based Convolution Operation
3.3. Transformer Encoder–Decoder Module
4. Experimental Results Analysis and Discussion
4.1. Analysis of Multi-Step Prediction Experimental Results
4.2. Ablation Study
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Bokde, N.; Feijóo, A.; Villanueva, D.; Kulat, K. A review on hybrid empirical mode decomposition models for wind speed and wind power prediction. Energies 2019, 12, 254. [Google Scholar] [CrossRef]
- Gao, L.; Kong, F.; Zhang, F.; Ren, X.Y.; Zhang, X.L.; Qin, L. Ultra-Short-Term Wind Power Prediction Method Based on IPSO–BiLSTM–AM Model. Smart Power 2022, 50, 27–34. [Google Scholar] [CrossRef]
- Liu, X.; Pu, X.; Li, J.; Zhang, J. Short-term wind power prediction of a VMD-GRU based on Bayesian optimization. Power Syst. Prot. Control 2023, 51, 158–165. [Google Scholar] [CrossRef]
- Ren, Z.; Weng, L.; Xia, M.; Lin, H. MCINet: Multi-attentive cross-level interaction network for cloud and snow segmentation. J. Appl. Remote Sens. 2026, 20, 021404. [Google Scholar] [CrossRef]
- Zhang, Y.; Wang, J.; Wang, X. Review on probabilistic forecasting of wind power generation. Renew. Sustain. Energy Rev. 2014, 32, 255–270. [Google Scholar] [CrossRef]
- Peng, S.; Peng, J.; Yang, Y.; Zhang, H.; Li, B.; Wang, G. Wind power probability density prediction based on time-variant deep feed-forward neural network. J. Electr. Power Sci. Technol. 2023, 38, 84–93. [Google Scholar] [CrossRef]
- Hanifi, S.; Liu, X.; Lin, Z.; Lotfian, S. A critical review of wind power forecasting methods—Past, present and future. Energies 2020, 13, 3764. [Google Scholar] [CrossRef]
- Singh, S.; Mohapatra, A. Repeated wavelet transform based ARIMA model for very short-term wind speed forecasting. Renew. Energy 2019, 136, 758–768. [Google Scholar] [CrossRef]
- Pearre, N.S.; Swan, L.G. Statistical approach for improved wind speed forecasting for wind power production. Sustain. Energy Technol. Assess. 2018, 27, 180–191. [Google Scholar] [CrossRef]
- Alexiadis, M.; Dokopoulos, P.; Sahsamanoglou, H.; Manousaridis, I. Short-term forecasting of wind speed and related electrical power. Sol. Energy 1998, 63, 61–68. [Google Scholar] [CrossRef]
- Zhang, J.; Yan, J.; Infield, D.; Liu, Y.; Lien, F.S. Short-term forecasting and uncertainty analysis of wind turbine power based on long short-term memory network and Gaussian mixture model. Appl. Energy 2019, 241, 229–244. [Google Scholar] [CrossRef]
- González-Sopeña, J.; Pakrashi, V.; Ghosh, B. An overview of performance evaluation metrics for short-term statistical wind power forecasting. Renew. Sustain. Energy Rev. 2021, 138, 110515. [Google Scholar] [CrossRef]
- Wang, Y. Short-term prediction of wind power based on Kalman filter tracking fusion. In Proceedings of the 2021 4th International Conference on Energy, Electrical and Power Engineering (CEEPE), Chongqing, China, 23–25 April 2021; IEEE: Piscataway, NJ, USA, 2021; pp. 507–511. [Google Scholar] [CrossRef]
- Louka, P.; Galanis, G.; Siebert, N.; Kariniotakis, G.; Katsafados, P.; Pytharoulis, I.; Kallos, G. Improvements in wind speed forecasts for wind power prediction purposes using Kalman filtering. J. Wind. Eng. Ind. Aerodyn. 2008, 96, 2348–2362. [Google Scholar] [CrossRef]
- Zhang, Y.; Sun, H.; Guo, Y. Wind power prediction based on PSO-SVR and grey combination model. IEEE Access 2019, 7, 136254–136267. [Google Scholar] [CrossRef]
- Amjady, N.; Keynia, F.; Zareipour, H. Wind power prediction by a new forecast engine composed of modified hybrid neural network and enhanced particle swarm optimization. IEEE Trans. Sustain. Energy 2011, 2, 265–276. [Google Scholar] [CrossRef]
- Liu, H.; Chen, C. Data processing strategies in wind energy forecasting models and applications: A comprehensive review. Appl. Energy 2019, 249, 392–408. [Google Scholar] [CrossRef]
- Kisvari, A.; Lin, Z.; Liu, X. Wind power forecasting—A data-driven method along with gated recurrent neural network. Renew. Energy 2021, 163, 1895–1909. [Google Scholar] [CrossRef]
- Liu, X.; Zhou, J. Short-term wind power forecasting based on multivariate/multi-step LSTM with temporal feature attention mechanism. Appl. Soft Comput. 2024, 150, 111050. [Google Scholar] [CrossRef]
- Sun, Y.; Wang, X.; Yang, J. Modified particle swarm optimization with attention-based LSTM for wind power prediction. Energies 2022, 15, 4334. [Google Scholar] [CrossRef]
- Boucetta, L.N.; Amrane, Y.; Arezki, S. Wind power forecasting using a GRU attention model for efficient energy management systems. Electr. Eng. 2025, 107, 2595–2620. [Google Scholar] [CrossRef]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need. In Proceedings of the Advances in Neural Information Processing Systems, Long Beach, CA, USA, 4–9 December 2017. [Google Scholar] [CrossRef]
- Pan, X.; Wang, L.; Wang, Z.; Huang, C. Short-term wind speed forecasting based on spatial-temporal graph transformer networks. Energy 2022, 253, 124095. [Google Scholar] [CrossRef]
- Fan, H.; Xiong, B.; Mangalam, K.; Li, Y.; Yan, Z.; Malik, J.; Feichtenhofer, C. Multiscale vision transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, QC, Canada, 10–17 October 2021. [Google Scholar] [CrossRef]
- Li, N.; Dong, J.; Liu, L.; Li, H.; Yan, J. A novel EMD and causal convolutional network integrated with Transformer for ultra short-term wind power forecasting. Int. J. Electr. Power Energy Syst. 2023, 154, 109470. [Google Scholar] [CrossRef]
- Wu, H.; Meng, K.; Fan, D.; Zhang, Z.; Liu, Q. Multistep short-term wind speed forecasting using transformer. Energy 2022, 261, 125231. [Google Scholar] [CrossRef]
- Yuan, S.; Mao, Y.; Tian, C.; Yu, F.; Guo, T.; Xia, M. GSTAformer: Graph-Guided Spatio-Temporal Autoformer for Mid-Term Wind Power Forecasting. Energies 2026, 19, 254. [Google Scholar] [CrossRef]
- Wei, W.W. Time series analysis. In The Oxford Handbook of Quantitative Methods in Psychology; Oxford University Press: Oxford, UK, 2013; Volume 2, pp. 458–485. [Google Scholar] [CrossRef]
- Yu, C.; Yan, G.; Yu, C.; Zhang, Y.; Mi, X. A multi-factor driven spatiotemporal wind power prediction model based on ensemble deep graph attention reinforcement learning networks. Energy 2023, 263, 126034. [Google Scholar] [CrossRef]
- Guo, M.H.; Liu, Z.N.; Mu, T.J.; Hu, S.M. Beyond self-attention: External attention using two linear layers for visual tasks. IEEE Trans. Pattern Anal. Mach. Intell. 2022, 45, 5436–5447. [Google Scholar] [CrossRef] [PubMed]










| Model | 24 h | 48 h | 72 h | 96 h | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MAE | RMSE | MAPE | MAE | RMSE | MAPE | MAE | RMSE | MAPE | MAE | RMSE | MAPE | |
| LSTM | 39.763 | 47.139 | 3.832 | 42.804 | 52.053 | 4.161 | 44.365 | 54.479 | 4.416 | 45.583 | 54.247 | 4.475 |
| BiLSTM | 39.869 | 47.217 | 3.898 | 42.630 | 51.274 | 4.186 | 44.821 | 54.315 | 4.393 | 45.627 | 54.486 | 4.502 |
| GRU | 39.056 | 47.393 | 3.953 | 42.739 | 51.660 | 4.251 | 44.863 | 54.129 | 4.395 | 46.179 | 54.982 | 4.592 |
| BiGUR | 40.493 | 47.827 | 3.983 | 43.320 | 51.081 | 4.278 | 44.987 | 54.976 | 4.382 | 45.793 | 54.469 | 4.537 |
| Transformer | 39.754 | 46.787 | 3.872 | 42.562 | 50.282 | 4.219 | 44.655 | 53.742 | 4.325 | 45.874 | 54.106 | 4.621 |
| Informer | 40.848 | 47.879 | 4.028 | 43.606 | 52.109 | 4.302 | 45.504 | 54.025 | 4.562 | 46.274 | 55.527 | 4.727 |
| Autoformer | 39.252 | 46.682 | 3.823 | 42.721 | 51.026 | 4.178 | 44.273 | 53.585 | 4.312 | 45.563 | 54.254 | 4.479 |
| TCN | 41.035 | 47.382 | 4.035 | 43.825 | 52.235 | 4.362 | 45.146 | 54.275 | 4.593 | 46.427 | 55.724 | 4.625 |
| TimerXer | 38.437 | 45.632 | 3.894 | 42.358 | 50.239 | 4.129 | 43.425 | 52.314 | 4.281 | 44.847 | 53.126 | 4.356 |
| PatchTST | 38.794 | 46.257 | 3.947 | 42.863 | 50.724 | 4.196 | 43.891 | 52.853 | 4.356 | 45.279 | 53.729 | 4.437 |
| iTransformer | 39.157 | 46.348 | 3.972 | 43.257 | 51.195 | 4.236 | 44.217 | 53.138 | 4.289 | 45.374 | 54.157 | 4.396 |
| STGCformer | 37.586 | 44.673 | 3.632 | 41.383 | 49.578 | 3.862 | 42.625 | 51.237 | 4.183 | 43.674 | 51.885 | 4.302 |
| Model | 24 h | 48 h | 72 h | 96 h | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MAE | RMSE | MAPE | MAE | RMSE | MAPE | MAE | RMSE | MAPE | MAE | RMSE | MAPE | |
| w/o STGCH | 37.122 | 44.711 | 3.995 | 40.385 | 50.514 | 4.194 | 42.127 | 52.475 | 4.349 | 43.764 | 54.258 | 4.725 |
| w/o Transformer | 37.479 | 45.392 | 4.117 | 40.708 | 51.324 | 4.324 | 42.962 | 53.585 | 4.625 | 44.230 | 55.315 | 4.839 |
| w/o TSDM | 36.825 | 44.483 | 4.015 | 39.753 | 49.873 | 4.274 | 42.452 | 51.952 | 4.386 | 43.319 | 53.414 | 4.631 |
| w/o EA | 36.257 | 43.992 | 3.974 | 39.236 | 48.718 | 4.134 | 42.032 | 51.407 | 4.289 | 43.071 | 52.715 | 4.481 |
| w/o DA | 36.145 | 44.079 | 3.926 | 38.962 | 48.580 | 4.087 | 42.193 | 51.217 | 4.247 | 42.614 | 52.296 | 4.401 |
| STGCformer | 35.682 | 43.774 | 3.872 | 38.625 | 48.013 | 4.024 | 41.427 | 50.783 | 4.167 | 42.015 | 51.871 | 4.305 |
| Model | Params (M) | FLOPs (GLOPs) | Epoch Times (S) |
|---|---|---|---|
| w/o EA | 5.853 | 105.835 | 149.33 |
| STGCformer | 2.855 | 37.726 | 49.28 |
| Model (lr) | MAE | RMSE | MAPE |
|---|---|---|---|
| STGCformer (lr = 0.00002) | 41.592 | 49.867 | 3.869 |
| STGCformer (lr = 0.00005) | 41.297 | 49.627 | 3.859 |
| STGCformer (lr = 0.0001) | 41.583 | 49.743 | 3.867 |
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. |
© 2026 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.
Share and Cite
Tian, C.; Xia, M.; Yuan, S.; Wang, L.; Zhuang, W. STGCformer: Spatio-Temporal Graph Convolutional Transformer for Short-Term Wind Power Forecasting. Energies 2026, 19, 1214. https://doi.org/10.3390/en19051214
Tian C, Xia M, Yuan S, Wang L, Zhuang W. STGCformer: Spatio-Temporal Graph Convolutional Transformer for Short-Term Wind Power Forecasting. Energies. 2026; 19(5):1214. https://doi.org/10.3390/en19051214
Chicago/Turabian StyleTian, Chenyu, Min Xia, Shi Yuan, Liwen Wang, and Wei Zhuang. 2026. "STGCformer: Spatio-Temporal Graph Convolutional Transformer for Short-Term Wind Power Forecasting" Energies 19, no. 5: 1214. https://doi.org/10.3390/en19051214
APA StyleTian, C., Xia, M., Yuan, S., Wang, L., & Zhuang, W. (2026). STGCformer: Spatio-Temporal Graph Convolutional Transformer for Short-Term Wind Power Forecasting. Energies, 19(5), 1214. https://doi.org/10.3390/en19051214

