IDEAS home Printed from https://ideas.repec.org/a/gam/jforec/v7y2025i3p45-d1727753.html

A Wavelet–Attention–Convolution Hybrid Deep Learning Model for Accurate Short-Term Photovoltaic Power Forecasting

Author

Listed:
  • Kaoutar Ait Chaoui

    (ASE Laboratory, National School of Applied Sciences, Ibn Tofail University, Kenitra 14000, Morocco)

  • Hassan EL Fadil

    (ASE Laboratory, National School of Applied Sciences, Ibn Tofail University, Kenitra 14000, Morocco)

  • Oumaima Choukai

    (Higher National School of Chemistry—ENSC, Ibn Tofail University, Kenitra 14000, Morocco)

  • Oumaima Ait Omar

    (ASE Laboratory, National School of Applied Sciences, Ibn Tofail University, Kenitra 14000, Morocco)

Abstract

The accurate short-term forecasting (PV) of power is crucial for grid stability control, energy trading optimization, and renewable energy integration in smart grids. However, PV generation is extremely variable and non-linear due to environmental fluctuations, which challenge the conventional forecasting models. This study proposes a hybrid deep learning architecture, Wavelet Transform–Transformer–Temporal Convolutional Network–Efficient Channel Attention Network–Gated Recurrent Unit (WT–Transformer–TCN–ECANet–GRU), to capture the overall temporal complexity of PV data through integrating signal decomposition, global attention, local convolutional features, and temporal memory. The model begins by employing the Wavelet Transform (WT) to decompose the raw PV time series into multi-frequency components, thereby enhancing feature extraction and denoising. Long-term temporal dependencies are captured in a Transformer encoder, and a Temporal Convolutional Network (TCN) detects local features. Features are then adaptively recalibrated by an Efficient Channel Attention (ECANet) module and passed to a Gated Recurrent Unit (GRU) for sequence modeling. Multiscale learning, attention-driven robust filtering, and efficient encoding of temporality are enabled with the modular pipeline. We validate the model on a real-world, high-resolution dataset of a Moroccan university building comprising 95,885 five-min PV generation records. The model yielded the lowest error metrics among benchmark architectures with an MAE of 209.36, RMSE of 616.53, and an R 2 of 0.96884, outperforming LSTM, GRU, CNN-LSTM, and other hybrid deep learning models. These results suggest improved predictive accuracy and potential applicability for real-time grid operation integration, supporting applications such as energy dispatching, reserve management, and short-term load balancing.

Suggested Citation

  • Kaoutar Ait Chaoui & Hassan EL Fadil & Oumaima Choukai & Oumaima Ait Omar, 2025. "A Wavelet–Attention–Convolution Hybrid Deep Learning Model for Accurate Short-Term Photovoltaic Power Forecasting," Forecasting, MDPI, vol. 7(3), pages 1-29, August.
  • Handle: RePEc:gam:jforec:v:7:y:2025:i:3:p:45-:d:1727753
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2571-9394/7/3/45/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2571-9394/7/3/45/
    Download Restriction: no
    ---><---

    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. Zhu, Jianhua & He, Yaoyao, 2025. "A novel hybrid model based on evolving multi-quantile long and short-term memory neural network for ultra-short-term probabilistic forecasting of photovoltaic power," Applied Energy, Elsevier, vol. 377(PC).
    3. Xilong Lin & Yisen Niu & Zixuan Yan & Lianglin Zou & Ping Tang & Jifeng Song, 2024. "Hybrid Photovoltaic Output Forecasting Model with Temporal Convolutional Network Using Maximal Information Coefficient and White Shark Optimizer," Sustainability, MDPI, vol. 16(14), pages 1-20, July.
    4. Markovics, Dávid & Mayer, Martin János, 2022. "Comparison of machine learning methods for photovoltaic power forecasting based on numerical weather prediction," Renewable and Sustainable Energy Reviews, Elsevier, vol. 161(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. Cao, Yisheng & Liu, Gang & Luo, Donghua & Bavirisetti, Durga Prasad & Xiao, Gang, 2023. "Multi-timescale photovoltaic power forecasting using an improved Stacking ensemble algorithm based LSTM-Informer model," Energy, Elsevier, vol. 283(C).
    2. Lyu, Chenghao & Zhang, Yuchen & Bai, Yilin & Yang, Kun & Song, Zhengxiang & Ma, Yuhang & Meng, Jinhao, 2024. "Inner-outer layer co-optimization of sizing and energy management for renewable energy microgrid with storage," Applied Energy, Elsevier, vol. 363(C).
    3. 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).
    4. 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).
    5. He, Jing & Fu, Cheng & Ye, Shengchao, 2025. "Fine-grained poverty alleviation performance evaluation based on solar photovoltaic projects—A case study of Huoshan County, China," Energy, Elsevier, vol. 332(C).
    6. Scott, Connor & Ahsan, Mominul & Albarbar, Alhussein, 2023. "Machine learning for forecasting a photovoltaic (PV) generation system," Energy, Elsevier, vol. 278(C).
    7. Zhang, Tian & Hou, Zhengmeng & Li, Xiaoqin & Chen, Qianjun & Wang, Qichen & Lüddeke, Christian & Wu, Lin & Wu, Xuning & Sun, Wei, 2025. "A novel multivariable prognostic approach for PEMFC degradation and remaining useful life prediction using random forest and temporal convolutional network," Applied Energy, Elsevier, vol. 385(C).
    8. 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).
    9. Li, Ling-Ling & Ji, Bing-Xiang & Li, Zhong-Tao & Lim, Ming K. & Sethanan, Kanchana & Tseng, Ming-Lang, 2025. "Microgrid energy management system with degradation cost and carbon trading mechanism: A multi-objective artificial hummingbird algorithm," Applied Energy, Elsevier, vol. 378(PA).
    10. He, Yaoyao & Xian, Ning, 2025. "Short-term optimal scheduling of hydro–wind–PV and multi-storage complementary systems based on opposition-based learning PSO algorithm," Applied Energy, Elsevier, vol. 394(C).
    11. Kim, Jimin & Obregon, Josue & Park, Hoonseok & Jung, Jae-Yoon, 2024. "Multi-step photovoltaic power forecasting using transformer and recurrent neural networks," Renewable and Sustainable Energy Reviews, Elsevier, vol. 200(C).
    12. Wang, Wenting & Guo, Yufeng & Yang, Dazhi & Zhang, Zili & Kleissl, Jan & van der Meer, Dennis & Yang, Guoming & Hong, Tao & Liu, Bai & Huang, Nantian & Mayer, Martin János, 2024. "Economics of physics-based solar forecasting in power system day-ahead scheduling," Renewable and Sustainable Energy Reviews, Elsevier, vol. 199(C).
    13. Chen, Xin & Li, Baojie & Braid, Jennifer L. & Byford, Brandon & Colvin, Dylan J. & Glaws, Andrew & Jost, Norman & Pierce, Benjamin & Rabade, Salil & Springer, Martin & Jain, Anubhav, 2025. "Open data sets for assessing photovoltaic system reliability," Applied Energy, Elsevier, vol. 395(C).
    14. Zhao, Xiaoyu & Duan, Pengfei & Cao, Xiaodong & Xue, Qingwen & Zhao, Bingxu & Hu, Jinxue & Zhang, Chenyang & Yuan, Xiaoyang, 2025. "A probabilistic load forecasting method for multi-energy loads based on inflection point optimization and integrated feature screening," Energy, Elsevier, vol. 327(C).
    15. Chen, Jie & Peng, Tian & Qian, Shijie & Ge, Yida & Wang, Zheng & Nazir, Muhammad Shahzad & Zhang, Chu, 2025. "An error-corrected deep Autoformer model via Bayesian optimization algorithm and secondary decomposition for photovoltaic power prediction," Applied Energy, Elsevier, vol. 377(PD).
    16. Wang, Renshun & Xie, Yuchen & Wang, Shilong & Geng, Guangchao & Jiang, Quanyuan & Liu, Chun & Wang, Bo, 2025. "Capacity credit assessment of regional renewable generation considering multi-time-scale forecast errors," Energy, Elsevier, vol. 331(C).
    17. Zhiwei Liao & Wenlong Min & Chengjin Li & Bowen Wang, 2024. "Photovoltaic Power Prediction Based on Irradiation Interval Distribution and Transformer-LSTM," Energies, MDPI, vol. 17(12), pages 1-17, June.
    18. Cao, Hui & Lin, Jiajing & Li, Nan, 2023. "Optimal control and energy efficiency evaluation of district ice storage system," Energy, Elsevier, vol. 276(C).
    19. 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).
    20. Ma, Yifeng & Yu, Wenzheng & Zhu, Junyu & You, Zhiyuan & Jia, Aiqing, 2025. "Research on ultra-short-term photovoltaic power forecasting using multimodal data and ensemble learning," Energy, Elsevier, vol. 330(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:gam:jforec:v:7:y:2025:i:3:p:45-:d:1727753. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.