Short-term wind speed forecasting for microgrid operation at a high-wind coastal site: a leakage-audited methodology

Melissa Cassan1, Huong Pham Thi Lan2, Dang Pham Quang3, Thanh Bui Dang3,
1 1 Hanoi University of Science and Technology, Ha Noi, Vietnam 2 Arts et Metiers Institute of Technology, Paris, France
2 Hanoi University of Science and Technology, Ha Noi, Vietnam Vietnam National University of Agriculture, Ha Noi, Vietnam
3 Ha Noi University of Science and Technology, Ha Noi, Vietnam

Main Article Content

Abstract

Coastal and island microgrids in the ASEAN region increasingly depend on wind generation, whose hour-to-hour variability drives battery scheduling, dispatchable unit commitment and operating reserve sizing. This paper reports the construction of a short-term wind speed forecasting pipeline for a high-wind coastal site in southern Vietnam, and devotes as much attention to the protocol used to validate the pipeline as to the pipeline itself. The forecasts are built exclusively on publicly available ERA5 reanalysis data, so that the method can be applied to a candidate microgrid site before any measurement mast is installed. Eight model families were compared on one identical chronological split; a gated recurrent unit network was selected, tuned by a Bayesian hyperparameter search over twelve years of hourly records, and combined with a gradient-boosted residual correction stage. The site is unusually windy, with a mean speed of 18.32 m/s at 100 m, so the absolute errors reported here are not comparable with those obtained at calmer sites, a point we return to throughout the paper. On a test period never used for any decision the pipeline reaches a mean absolute error of 1.962 m/s, a root mean squared error of 2.724 m/s, a masked mean absolute percentage error of 14.67 % and a coefficient of determination of 0.8591. Three methodological outcomes matter more than these figures. Four data leakage errors were found and corrected in our own code. A control model fitted on randomly shuffled residuals shows that the verified contribution of the correction stage is 0.019 m/s and not the 0.117 m/s a naive comparison would report. Applying a signal decomposition before rather than after the split inflates the apparent accuracy by 39.9 %, whereas its causal version brings no improvement at all.

Article Details

References

[1] K. Cho, B. van Merrienboer, C. Gulcehre, D. Bahdanau, F. Bougares, H. Schwenk, and Y. Bengio, Learning phrase representations using RNN encoder-decoder for statistical machine translation, in Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar, pp. 1724-1734, 2014. https://doi.org/10.3115/v1/D14-1179
[2] J. Bergstra, R. Bardenet, Y. Bengio, and B. Kégl, Algorithms for hyper-parameter optimization, in Advances in Neural Information Processing Systems 24, Granada, Spain, pp. 2546–2554, Dec. 2011.
[3] T. Chen and C. Guestrin, XGBoost: a scalable tree boosting system, in Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Anchorage, San Francisco, CA, USA, pp. 785–794, Aug. 2016. https://doi.org/10.1145/2939672.2939785
[4] Y. Romano, E. Patterson, and E. J. Candès, Conformalized quantile regression, in Advances in Neural Information Processing Systems, Vancouver, Canada, vol. 32, pp. 3543–3553, Dec. 2019.
[5] S. Hochreiter and J. Schmidhuber, Long short-term memory, Neural Computation, vol. 9, iss. 8, pp. 1735–1780, Nov. 1997.
https://doi.org/10.1162/neco.1997.9.8.1735
[6] G. Box, G. Jenkins, G. Reinsel, and G. Ljung, Time Series Analysis: Forecasting and Control, 5th ed. Hoboken, NJ, USA: Wiley, 2015.
[7] Y. Wang and L. Wu, On practical challenges of decomposition-based hybrid forecasting algorithms for wind speed and solar irradiation, Energy, vol. 112, pp. 208–220, Oct. 2016. https://doi.org/10.1016/j.energy.2016.06.075
[8] Z. Qian, Y. Pei, H. Zareipour, and N. Chen, A review and discussion of decomposition-based hybrid models for wind energy forecasting applications, Applied Energy, vol. 235, pp. 939–953, Feb. 2019. https://doi.org/10.1016/j.apenergy.2018.10.080
[9] K. Li, R. Shen, Z. Wang, B. Yan, Q. Yang, and X. Zhou, an efficient wind speed prediction method based on a deep neural network without future information leakage, Energy, vol. 267, Mar. 2023, Art. no. 126589. https://doi.org/10.1016/j.energy.2022.126589
[10] Open-Meteo, Historical Weather API. [Online]. Available: https://open-meteo.com/en/docs/historical-weather-api. Accessed on: Jun. 2, 2026.
[11] H. Hersbach, B. Bell, P. Berrisford, S. Hirahara, A. Horányi, J. Muñoz-Sabater, J. Nicolas, C. Peubey, R. Radu, D. Schepers, A. Simmons, C. Soci, S. Abdalla, X. Abellan, G. Balsamo, P. Bechtold, G. Biavati, J. Bidlot, M. Bonavita, G. De Chiara, P. Dahlgren, D. Dee, M. Diamantakis, R. Dragani, J. Flemming, R. Forbes, M. Fuentes, A. Geer, L. Haimberger, S. Healy, R. J. Hogan, E. Hólm, M. Janisková, S. Keeley, P. Laloyaux, P. Lopez, C. Lupu, G. Radnoti, P. de Rosnay, I. Rozum, F. Vamborg, S. Villaume, and J.-N. Thépaut, The ERA5 global reanalysis, Quarterly Jourrnal of the Royal Meteorological Society, vol. 146, iss. 730, pp. 1999–2049, Jul. 2020.
https://doi.org/10.1002/qj.3803
[12] H. Zheng, Q. Wu, X. Lv, P. Zeng, X. Zhu, and Y. Zeng, Multi-scale wind speed prediction model based on improved escape algorithm for optimizing time-varying filtering empirical modal decomposition, Scientific Reports, vol. 16, Jan. 2026, Art. no. 4958.
https://doi.org/10.1038/s41598-026-35505-6
[13] P. Dhaka, M. Sreejeth, and M. M. Tripathi, Wind power forecasting using multivariate signal decomposition and stacked GRU ensembles with error correction, Future Generation Computer Systems, vol. 175, Feb. 2026, Art. no. 108105. https://doi.org/10.1016/j.future.2025.108105
[14] X. Huang, Y. Zhang, J. Liu, X. Zhang, and S. Liu, A short-term wind power forecasting model based on 3D convolutional neural network–gated recurrent unit, Sustainability, vol. 15, iss. 19, Sep. 2023, Art. no. 14171. https://doi.org/10.3390/su151914171
[15] Z. Zhao, S. Yun, L. Jia, J. Guo, Y. Meng, N. He, X. Li, J. Shi, and L. Yang, Hybrid VMD-CNN-GRU-based model for short-term forecasting of wind power considering spatio-temporal features, Engineering Applications of Artificial Intelligence, vol. 121, May 2023, Art. no. 105982. https://doi.org/10.1016/j.engappai.2023.105982
[16] L. Suo, T. Peng, S. Song, C. Zhang, Y. Wang, Y. Fu, and M. S. Nazir, Wind speed prediction by a swarm intelligence based deep learning model via signal decomposition and parameter optimization using improved chimp optimization algorithm, Energy, vol. 276, Aug. 2023, Art. no. 127526. https://doi.org/10.1016/j.energy.2023.127526
[17] M. Yaghoubirad, N. Azizi, M. Farajollahi, and A. Ahmadi, Deep learning-based multistep ahead wind speed and power generation forecasting using direct method, Energy Conversion and Management, vol. 281, Apr. 2023, Art. no. 116760.
https://doi.org/10.1016/j.enconman.2023.116760
[18] J. Liu, C. Gong, S. Chen, and N. Zhou, Multi-step-ahead wind speed forecast method based on outlier correction, optimized decomposition, and DLinear model, Mathematics, vol. 11, iss. 12, Jun. 2023, Art. no. 2746. https://doi.org/10.3390/math11122746
[19] W. Jiang, B. Liu, Y. Liang, H. Gao, P. Lin. D. Zhang, and G. Hu, Applicability analysis of transformer to wind speed forecasting by a novel deep learning framework with multiple atmospheric variables, Applied Energy, vol. 353, Jan. 2024, Art. no. 122155.
https://doi.org/10.1016/j.apenergy.2023.122155
[20] K. Dragomiretskiy and D. Zosso, Variational mode decomposition, IEEE Transaction on Signal Processing, vol. 62, iss. 3, pp. 531–544, Feb. 2014. https://doi.org/10.1109/TSP.2013.2288675
[21] S. Kaufman, S. Rosset, C. Perlich, and O. Stitelman, Leakage in data mining: formulation, detection, and avoidance, ACM Transactions on Knowledge Discovery from Data, vol. 6, iss. 4, Dec. 2012, Art. no. 15. https://doi.org/10.1145/2382577.2382579
[22] F. X. Diebold and R. S. Mariano, Comparing predictive accuracy, Journal of Business & Economic Statistics, vol. 13, iss. 3, pp. 253–263, Jul. 1995. https://doi.org/10.1080/07350015.1995.10524599
[23] D. Harvey, S. Leybourne, and P. Newbold, Testing the equality of prediction mean squared errors, International Journal of Forecasting, vol. 13, iss. 2, pp. 281–291, Jun. 1997. https://doi.org/10.1016/S0169-2070(96)00719-4
[24] T. Akiba, S. Sano, T. Yanase, T. Ohta, and M. Koyama, Optuna: a next-generation hyperparameter optimization framework, in Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Anchorage, AK, USA, pp. 2623–2631, Jul. 2019. https://doi.org/10.1145/3292500.3330701