IDEAS home Printed from https://ideas.repec.org/a/eee/energy/v324y2025ics0360544225016135.html

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. Hanif, M.F. & Mi, J., 2024. "Harnessing AI for solar energy: Emergence of transformer models," Applied Energy, Elsevier, vol. 369(C).
    3. 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).
    4. 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).
    5. 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).
    6. 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.
    7. 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).
    8. 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.
    9. 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.
    10. 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).
    11. Mayer, Martin János & Gróf, Gyula, 2021. "Extensive comparison of physical models for photovoltaic power forecasting," Applied Energy, Elsevier, vol. 283(C).
    12. 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).
    13. 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).
    14. 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.
    15. 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).
    16. 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).
    17. 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).
    18. Liu, Da & Sun, Kun, 2019. "Random forest solar power forecast based on classification optimization," Energy, Elsevier, vol. 187(C).
    19. 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).
    20. 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).
    21. 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).
    22. 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.
    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)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Wang, Tao & Xu, Ye & Qin, Yu & Wang, Xu & Zheng, Feifan & Li, Wei, 2025. "Short-term PV forecasting of multiple scenarios based on multi-dimensional clustering and hybrid transformer-BiLSTM with ECPO," Energy, Elsevier, vol. 334(C).
    2. Zhang, Chengyu & Wang, Jiaming & Su, Yuan & Rezgui, Yacine & Luo, Zhiwen & Wu, Yifan & Sun, Chang & Jiang, Ben & Wang, Yiting & Zhao, Tianyi, 2026. "Novel energy consumption forecasting method employing weighted occupant behavior probabilities and physics-informed network with thermodynamic constrain in office buildings," Energy, Elsevier, vol. 342(C).
    3. Hu, Yuchen & Yun, Zhonghua & Wang, Jia & Guan, Lin, 2025. "A battery SOH estimation method based on PI-TFT-iDOA driven Li-battery discharge state features," Energy, Elsevier, vol. 335(C).
    4. Zou, Jiahao & Wang, Zhaocai & Zhu, Zhaoyang & Tan, Zuowen, 2026. "Explainable and physics-constrained PV power prediction via a hybrid framework Integrating secondary decomposition and improved Transformer-LSTM," Energy, Elsevier, vol. 347(C).
    5. Zheng, Feifan & Li, Zhongyan & Xu, Ye & Li, Wei & Wang, Tao, 2026. "A hybrid prediction model of photovoltaic power system based on AP, ISSA-based VMD, CLKAN and error correction," Renewable and Sustainable Energy Reviews, Elsevier, vol. 226(PC).
    6. Wang, Weiru & Guo, Hanyang & Liu, Shaofeng & Xin, Yechun & Li, Guoqing & Wang, Yanxu, 2025. "Dynamic-parameter physics-informed neural networks for short-term photovoltaic power prediction: Integrating physics-informed and data driven," Applied Energy, Elsevier, vol. 401(PC).
    7. Zhai, Chao & Cao, Zhixiang & Wang, Yi & Abdou-Tankari, Mahamadou & Yu, Jian & Lei, Zhen, 2025. "A reverse incentive-based demand response strategy for shared energy storage in industrial microgrids: Optimization, scheduling, and investment analysis," Energy, Elsevier, vol. 330(C).
    8. Wang, Jun & Zhang, Xuanyu & Wang, Yonggang & Liu, Jiashun & Wang, Han & Lin, Jiali & Xu, Chen & Hua, Shuo, 2025. "A zero-shot load forecasting method for extreme weather integrating causal learning and meta-learning," Energy, Elsevier, vol. 334(C).

    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. Wang, Tao & Xu, Ye & Qin, Yu & Wang, Xu & Zheng, Feifan & Li, Wei, 2025. "Short-term PV forecasting of multiple scenarios based on multi-dimensional clustering and hybrid transformer-BiLSTM with ECPO," Energy, Elsevier, vol. 334(C).
    3. 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).
    4. 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).
    5. Yang, Shaomei & Luo, Yuman, 2025. "Short-term photovoltaic power prediction based on RF-SGMD-GWO-BiLSTM hybrid models," Energy, Elsevier, vol. 316(C).
    6. 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).
    7. 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.
    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. Yu, Weijie & Dai, Yeming & Wang, Wenjie & Ren, Tao & Leng, Mingming, 2026. "Short-term photovoltaic forecasting: A parallel TimesNet and AT-Informer-AT method," Renewable Energy, Elsevier, vol. 258(C).
    10. 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.
    11. Zou, Jiahao & Wang, Zhaocai & Zhu, Zhaoyang & Tan, Zuowen, 2026. "Explainable and physics-constrained PV power prediction via a hybrid framework Integrating secondary decomposition and improved Transformer-LSTM," Energy, Elsevier, vol. 347(C).
    12. 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).
    13. Yang, Mao & Jiang, Yue & Guo, Yunfeng & Su, Xin & Li, Yi & Huang, Tao, 2025. "Ultra-short-term prediction of photovoltaic cluster power based on spatiotemporal convergence effect and spatiotemporal dynamic graph attention network," Renewable Energy, Elsevier, vol. 255(C).
    14. Sameer Al-Dahidi & Manoharan Madhiarasan & Loiy Al-Ghussain & Ahmad M. Abubaker & Adnan Darwish Ahmad & Mohammad Alrbai & Mohammadreza Aghaei & Hussein Alahmer & Ali Alahmer & Piero Baraldi & Enrico Z, 2024. "Forecasting Solar Photovoltaic Power Production: A Comprehensive Review and Innovative Data-Driven Modeling Framework," Energies, MDPI, vol. 17(16), pages 1-38, August.
    15. 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).
    16. 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).
    17. Mao, Mingxuan & Wang, Lining & Jiang, Sheng & Zhang, Hao, 2026. "Meteorological element prediction for renewable energy systems: Comprehensive comparison on deep learning algorithms with/without hyperparameters tuning," Energy, Elsevier, vol. 346(C).
    18. 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).
    19. 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).
    20. Tian, Zhirui & Liang, Bingjie, 2025. "PVMTF: End-to-end long-sequence time-series forecasting frameworks based on patch technique and information fusion coding for mid-term photovoltaic power forecasting," Applied Energy, Elsevier, vol. 396(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.