IDEAS home Printed from https://ideas.repec.org/a/eee/energy/v324y2025ics0360544225016135.html
   My bibliography  Save this article

Photovoltaic power forecasting based on VMD-SSA-Transformer: Multidimensional analysis of dataset length, weather mutation and forecast accuracy

Author

Listed:
  • Zhai, Chao
  • He, Xinyi
  • Cao, Zhixiang
  • Abdou-Tankari, Mahamadou
  • Wang, Yi
  • Zhang, Minghao

Abstract

Photovoltaic (PV) power generation is characterized by inherent intermittency and uncertainty, underscoring the critical need for accurate PV power forecasting to enhance grid stability and optimize energy management. This study proposes a novel hybrid forecasting model integrating Variational Mode Decomposition (VMD), Sparrow Search Algorithm (SSA), and a Transformer-LSTM architecture. The proposed model effectively captures the complex interactions between meteorological variables and PV power time series, enabling high-precision forecasts. A sensitivity analysis on training data length indicates that the VMD-SSA-Transformer-LSTM model reduces data requirements by 87.5 % compared to conventional LSTM models, significantly lowering computational costs and improving feasibility for newly deployed rooftop PV systems. Performance evaluation across typical time periods—stable weather, fluctuating weather, and post-fluctuation stabilization—demonstrates exceptional adaptability to dynamic weather patterns. Furthermore, a systematic analysis of forecasting accuracy degradation with increasing prediction horizons was conducted. Finally, comparative experiments across multiple benchmarks—including existing models, diverse geographic locations, varying temporal resolutions, and extreme weather conditions—validate the proposed model's robustness. The normalized RMSE remains below 6.5 % across all scenarios, confirming its superior accuracy and reliability.

Suggested Citation

  • Zhai, Chao & He, Xinyi & Cao, Zhixiang & Abdou-Tankari, Mahamadou & Wang, Yi & Zhang, Minghao, 2025. "Photovoltaic power forecasting based on VMD-SSA-Transformer: Multidimensional analysis of dataset length, weather mutation and forecast accuracy," Energy, Elsevier, vol. 324(C).
  • Handle: RePEc:eee:energy:v:324:y:2025:i:c:s0360544225016135
    DOI: 10.1016/j.energy.2025.135971
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0360544225016135
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.energy.2025.135971?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Liu, Xiangjie & Liu, Yuanyan & Kong, Xiaobing & Ma, Lele & Besheer, Ahmad H. & Lee, Kwang Y., 2023. "Deep neural network for forecasting of photovoltaic power based on wavelet packet decomposition with similar day analysis," Energy, Elsevier, vol. 271(C).
    2. Wang, Yuqing & Fu, Wenjie & Wang, Junlong & Zhen, Zhao & Wang, Fei, 2024. "Ultra-short-term distributed PV power forecasting for virtual power plant considering data-scarce scenarios," Applied Energy, Elsevier, vol. 373(C).
    3. Hanif, M.F. & Mi, J., 2024. "Harnessing AI for solar energy: Emergence of transformer models," Applied Energy, Elsevier, vol. 369(C).
    4. Brester, Christina & Kallio-Myers, Viivi & Lindfors, Anders V. & Kolehmainen, Mikko & Niska, Harri, 2023. "Evaluating neural network models in site-specific solar PV forecasting using numerical weather prediction data and weather observations," Renewable Energy, Elsevier, vol. 207(C), pages 266-274.
    5. Yang, Mao & Wang, Jinxin & Chen, Yiming & Zeng, Yuxuan & Su, Xin, 2024. "Data-driven robust optimization scheduling for microgrid day-ahead to intra-day operations based on renewable energy interval prediction," Energy, Elsevier, vol. 313(C).
    6. Mayer, Martin János & Gróf, Gyula, 2021. "Extensive comparison of physical models for photovoltaic power forecasting," Applied Energy, Elsevier, vol. 283(C).
    7. Tao, Kejun & Zhao, Jinghao & Tao, Ye & Qi, Qingqing & Tian, Yajun, 2024. "Operational day-ahead photovoltaic power forecasting based on transformer variant," Applied Energy, Elsevier, vol. 373(C).
    8. Ren, Xiaoying & Zhang, Fei & Zhu, Honglu & Liu, Yongqian, 2022. "Quad-kernel deep convolutional neural network for intra-hour photovoltaic power forecasting," Applied Energy, Elsevier, vol. 323(C).
    9. Dong, Jin & Olama, Mohammed M. & Kuruganti, Teja & Melin, Alexander M. & Djouadi, Seddik M. & Zhang, Yichen & Xue, Yaosuo, 2020. "Novel stochastic methods to predict short-term solar radiation and photovoltaic power," Renewable Energy, Elsevier, vol. 145(C), pages 333-346.
    10. Li, Qing & Zhang, Xinyan & Ma, Tianjiao & Jiao, Chunlei & Wang, Heng & Hu, Wei, 2021. "A multi-step ahead photovoltaic power prediction model based on similar day, enhanced colliding bodies optimization, variational mode decomposition, and deep extreme learning machine," Energy, Elsevier, vol. 224(C).
    11. Wang, Lining & Mao, Mingxuan & Xie, Jili & Liao, Zheng & Zhang, Hao & Li, Huanxin, 2023. "Accurate solar PV power prediction interval method based on frequency-domain decomposition and LSTM model," Energy, Elsevier, vol. 262(PB).
    12. Zhou, Yi & Zhou, Nanrun & Gong, Lihua & Jiang, Minlin, 2020. "Prediction of photovoltaic power output based on similar day analysis, genetic algorithm and extreme learning machine," Energy, Elsevier, vol. 204(C).
    13. Andi A. H. Lateko & Hong-Tzer Yang & Chao-Ming Huang & Happy Aprillia & Che-Yuan Hsu & Jie-Lun Zhong & Nguyễn H. Phương, 2021. "Stacking Ensemble Method with the RNN Meta-Learner for Short-Term PV Power Forecasting," Energies, MDPI, vol. 14(16), pages 1-23, August.
    14. Qu, Jiaqi & Qian, Zheng & Pei, Yan, 2021. "Day-ahead hourly photovoltaic power forecasting using attention-based CNN-LSTM neural network embedded with multiple relevant and target variables prediction pattern," Energy, Elsevier, vol. 232(C).
    15. Wang, Yue & Zha, Yuanyuan, 2024. "Comparison of transformer, LSTM and coupled algorithms for soil moisture prediction in shallow-groundwater-level areas with interpretability analysis," Agricultural Water Management, Elsevier, vol. 305(C).
    16. Xu, Han & Zhang, Lu & Wang, Xuanbo & Han, Baocheng & Luo, Zhengyuan & Bai, Bofeng, 2024. "Improved genetic algorithm for pipe diameter optimization of an existing large-scale district heating network," Energy, Elsevier, vol. 304(C).
    17. Hassan, Muhammed A. & Bailek, Nadjem & Bouchouicha, Kada & Nwokolo, Samuel Chukwujindu, 2021. "Ultra-short-term exogenous forecasting of photovoltaic power production using genetically optimized non-linear auto-regressive recurrent neural networks," Renewable Energy, Elsevier, vol. 171(C), pages 191-209.
    18. Shi, Jiaqi & Liu, Nian & Huang, Yujing & Ma, Liya, 2022. "An Edge Computing-oriented Net Power Forecasting for PV-assisted Charging Station: Model Complexity and Forecasting Accuracy Trade-off," Applied Energy, Elsevier, vol. 310(C).
    19. Mellit, A. & Pavan, A. Massi & Lughi, V., 2021. "Deep learning neural networks for short-term photovoltaic power forecasting," Renewable Energy, Elsevier, vol. 172(C), pages 276-288.
    20. Weyll, Arthur Lúcide Cotta & Kitagawa, Yasmin Kaore Lago & Araujo, Mirella Lima Saraiva & Ramos, Diogo Nunes da Silva & Lima, Francisco José Lopes de & Santos, Thalyta Soares dos & Jacondino, William , 2024. "Medium-term forecasting of global horizontal solar radiation in Brazil using machine learning-based methods," Energy, Elsevier, vol. 300(C).
    21. Liu, Da & Sun, Kun, 2019. "Random forest solar power forecast based on classification optimization," Energy, Elsevier, vol. 187(C).
    22. Cui, Shuhui & Lyu, Shouping & Ma, Yongzhi & Wang, Kai, 2024. "Improved informer PV power short-term prediction model based on weather typing and AHA-VMD-MPE," Energy, Elsevier, vol. 307(C).
    23. Valle, João & Bruno, Odemir Martinez, 2025. "Forecasting chaotic time series: Comparative performance of LSTM-based and Transformer-based neural network," Chaos, Solitons & Fractals, Elsevier, vol. 192(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Sabadus, Andreea & Blaga, Robert & Hategan, Sergiu-Mihai & Calinoiu, Delia & Paulescu, Eugenia & Mares, Oana & Boata, Remus & Stefu, Nicoleta & Paulescu, Marius & Badescu, Viorel, 2024. "A cross-sectional survey of deterministic PV power forecasting: Progress and limitations in current approaches," Renewable Energy, Elsevier, vol. 226(C).
    2. Huang, Congzhi & Yang, Mengyuan, 2023. "Memory long and short term time series network for ultra-short-term photovoltaic power forecasting," Energy, Elsevier, vol. 279(C).
    3. Zhang, Ruoyang & Wu, Yu & Zhang, Lei & Xu, Chongbin & Wang, ZeYu & Zhang, Yanfeng & Sun, Xiaomin & Zuo, Xin & Wu, Yuhan & Chen, Qian, 2025. "A multiscale network with mixed features and extended regional weather forecasts for predicting short-term photovoltaic power," Energy, Elsevier, vol. 318(C).
    4. Yang, Shaomei & Luo, Yuman, 2025. "Short-term photovoltaic power prediction based on RF-SGMD-GWO-BiLSTM hybrid models," Energy, Elsevier, vol. 316(C).
    5. Andi A. H. Lateko & Hong-Tzer Yang & Chao-Ming Huang, 2022. "Short-Term PV Power Forecasting Using a Regression-Based Ensemble Method," Energies, MDPI, vol. 15(11), pages 1-21, June.
    6. Li, Baojie & Chen, Xin & Jain, Anubhav, 2024. "Power modeling of degraded PV systems: Case studies using a dynamically updated physical model (PV-Pro)," Renewable Energy, Elsevier, vol. 236(C).
    7. Tang, Yugui & Yang, Kuo & Zhang, Shujing & Zhang, Zhen, 2022. "Photovoltaic power forecasting: A hybrid deep learning model incorporating transfer learning strategy," Renewable and Sustainable Energy Reviews, Elsevier, vol. 162(C).
    8. Hao, Jianhua & Liu, Fangai & Zhang, Weiwei, 2024. "Multi-scale RWKV with 2-dimensional temporal convolutional network for short-term photovoltaic power forecasting," Energy, Elsevier, vol. 309(C).
    9. Zheng, Lingwei & Su, Ran & Sun, Xinyu & Guo, Siqi, 2023. "Historical PV-output characteristic extraction based weather-type classification strategy and its forecasting method for the day-ahead prediction of PV output," Energy, Elsevier, vol. 271(C).
    10. Yang, Yanru & Liu, Yu & Zhang, Yihang & Shu, Shaolong & Zheng, Junsheng, 2025. "DEST-GNN: A double-explored spatio-temporal graph neural network for multi-site intra-hour PV power forecasting," Applied Energy, Elsevier, vol. 378(PA).
    11. Bo Gu & Xi Li & Fengliang Xu & Xiaopeng Yang & Fayi Wang & Pengzhan Wang, 2023. "Forecasting and Uncertainty Analysis of Day-Ahead Photovoltaic Power Based on WT-CNN-BiLSTM-AM-GMM," Sustainability, MDPI, vol. 15(8), pages 1-27, April.
    12. Li, Jiaqian & Rao, Congjun & Gao, Mingyun & Xiao, Xinping & Goh, Mark, 2025. "Efficient calculation of distributed photovoltaic power generation power prediction via deep learning," Renewable Energy, Elsevier, vol. 246(C).
    13. Gong, Jianqiang & Qu, Zhiguo & Zhu, Zhenle & Xu, Hongtao, 2025. "Parallel TimesNet-BiLSTM model for ultra-short-term photovoltaic power forecasting using STL decomposition and auto-tuning," Energy, Elsevier, vol. 320(C).
    14. Adam Krechowicz & Maria Krechowicz & Katarzyna Poczeta, 2022. "Machine Learning Approaches to Predict Electricity Production from Renewable Energy Sources," Energies, MDPI, vol. 15(23), pages 1-41, December.
    15. Sarmas, Elissaios & Spiliotis, Evangelos & Stamatopoulos, Efstathios & Marinakis, Vangelis & Doukas, Haris, 2023. "Short-term photovoltaic power forecasting using meta-learning and numerical weather prediction independent Long Short-Term Memory models," Renewable Energy, Elsevier, vol. 216(C).
    16. Ma, Huixin & Zhang, Chu & Peng, Tian & Nazir, Muhammad Shahzad & Li, Yiman, 2022. "An integrated framework of gated recurrent unit based on improved sine cosine algorithm for photovoltaic power forecasting," Energy, Elsevier, vol. 256(C).
    17. Zhang, Zongbin & Huang, Xiaoqiao & Li, Chengli & Cheng, Feiyan & Tai, Yonghang, 2025. "CRAformer: A cross-residual attention transformer for solar irradiation multistep forecasting," Energy, Elsevier, vol. 320(C).
    18. Yu, Sheng & He, Bin & Fang, Lei, 2025. "Multi-step short-term forecasting of photovoltaic power utilizing TimesNet with enhanced feature extraction and a novel loss function," Applied Energy, Elsevier, vol. 388(C).
    19. Lin, Huapeng & Gao, Liyuan & Cui, Mingtao & Liu, Hengchao & Li, Chunyang & Yu, Miao, 2025. "Short-term distributed photovoltaic power prediction based on temporal self-attention mechanism and advanced signal decomposition techniques with feature fusion," Energy, Elsevier, vol. 315(C).
    20. Cui, Shuhui & Lyu, Shouping & Ma, Yongzhi & Wang, Kai, 2024. "Improved informer PV power short-term prediction model based on weather typing and AHA-VMD-MPE," Energy, Elsevier, vol. 307(C).

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:energy:v:324:y:2025:i:c:s0360544225016135. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/energy .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.