IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v17y2024i17p4426-d1470752.html

TransPVP: A Transformer-Based Method for Ultra-Short-Term Photovoltaic Power Forecasting

Author

Listed:
  • Jinfeng Wang

    (Electric Power Science Research Institute, Guangdong Power Grid Limited Liability Company, Guangzhou 510062, China)

  • Wenshan Hu

    (School of Power and Mechanical Engineering, Wuhan University, Wuhan 430072, China)

  • Lingfeng Xuan

    (Qingyuan Yingde Power Supply Bureau, Guangdong Power Grid Limited Liability Company, Guangzhou 513000, China)

  • Feiwu He

    (Qingyuan Yingde Power Supply Bureau, Guangdong Power Grid Limited Liability Company, Guangzhou 513000, China)

  • Chaojie Zhong

    (Qingyuan Yingde Power Supply Bureau, Guangdong Power Grid Limited Liability Company, Guangzhou 513000, China)

  • Guowei Guo

    (Foshan Shunde Power Supply Bureau, Guangdong Power Grid Limited Liability Company, Guangzhou 528300, China)

Abstract

The increasing adoption of renewable energy, particularly photovoltaic (PV) power, has highlighted the importance of accurate PV power forecasting. Despite advances driven by deep learning (DL), significant challenges remain, particularly in capturing the long-term dependencies essential for accurate forecasting. This study presents TransPVP, a novel transformer-based methodology that addresses these challenges and advances PV power forecasting. TransPVP employs a deep fusion technique alongside a multi-task joint learning framework, effectively integrating heterogeneous data sources and capturing long-term dependencies. This innovative approach enhances the model’s ability to detect patterns of PV power variation, surpassing the capabilities of traditional models. The effectiveness of TransPVP was rigorously evaluated using real data from a PV power plant. Experimental results showed that TransPVP significantly outperformed established baseline models on key performance metrics including RMSE, R 2 , and CC, underscoring its accuracy, predictive power, and reliability in practical forecasting scenarios.

Suggested Citation

  • Jinfeng Wang & Wenshan Hu & Lingfeng Xuan & Feiwu He & Chaojie Zhong & Guowei Guo, 2024. "TransPVP: A Transformer-Based Method for Ultra-Short-Term Photovoltaic Power Forecasting," Energies, MDPI, vol. 17(17), pages 1-19, September.
  • Handle: RePEc:gam:jeners:v:17:y:2024:i:17:p:4426-:d:1470752
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/17/17/4426/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/17/17/4426/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Ramadhan, Raden A.A. & Heatubun, Yosca R.J. & Tan, Sek F. & Lee, Hyun-Jin, 2021. "Comparison of physical and machine learning models for estimating solar irradiance and photovoltaic power," Renewable Energy, Elsevier, vol. 178(C), pages 1006-1019.
    2. Del Pero, Claudio & Aste, Niccolò & Leonforte, Fabrizio, 2021. "The effect of rain on photovoltaic systems," Renewable Energy, Elsevier, vol. 179(C), pages 1803-1814.
    3. Zheng, Jianqin & Zhang, Haoran & Dai, Yuanhao & Wang, Bohong & Zheng, Taicheng & Liao, Qi & Liang, Yongtu & Zhang, Fengwei & Song, Xuan, 2020. "Time series prediction for output of multi-region solar power plants," Applied Energy, Elsevier, vol. 257(C).
    4. Fengyuan Tian & Xuexin Fan & Ruitian Wang & Haochen Qin & Yaxiang Fan & Albert Alexander Stonier, 2022. "A Power Forecasting Method for Ultra-Short-Term Photovoltaic Power Generation Using Transformer Model," Mathematical Problems in Engineering, Hindawi, vol. 2022, pages 1-15, October.
    5. Akhter, Muhammad Naveed & Mekhilef, Saad & Mokhlis, Hazlie & Ali, Raza & Usama, Muhammad & Muhammad, Munir Azam & Khairuddin, Anis Salwa Mohd, 2022. "A hybrid deep learning method for an hour ahead power output forecasting of three different photovoltaic systems," Applied Energy, Elsevier, vol. 307(C).
    6. Jamal, Taskin & Carter, Craig & Schmidt, Thomas & Shafiullah, G.M. & Calais, Martina & Urmee, Tania, 2019. "An energy flow simulation tool for incorporating short-term PV forecasting in a diesel-PV-battery off-grid power supply system," Applied Energy, Elsevier, vol. 254(C).
    7. Dai, Yeming & Wang, Yanxin & Leng, Mingming & Yang, Xinyu & Zhou, Qiong, 2022. "LOWESS smoothing and Random Forest based GRU model: A short-term photovoltaic power generation forecasting method," Energy, Elsevier, vol. 256(C).
    8. 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).
    9. Agga, Ali & Abbou, Ahmed & Labbadi, Moussa & El Houm, Yassine, 2021. "Short-term self consumption PV plant power production forecasts based on hybrid CNN-LSTM, ConvLSTM models," Renewable Energy, Elsevier, vol. 177(C), pages 101-112.
    10. 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.
    11. Hyndman, Rob J. & Koehler, Anne B., 2006. "Another look at measures of forecast accuracy," International Journal of Forecasting, Elsevier, vol. 22(4), pages 679-688.
    12. Liu, Wencheng & Mao, Zhizhong, 2024. "Short-term photovoltaic power forecasting with feature extraction and attention mechanisms," Renewable Energy, Elsevier, vol. 226(C).
    13. Wang, Kejun & Qi, Xiaoxia & Liu, Hongda, 2019. "A comparison of day-ahead photovoltaic power forecasting models based on deep learning neural network," Applied Energy, Elsevier, vol. 251(C), pages 1-1.
    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. Yongmei Ding & Shangnan Zhou & Wenwu Deng, 2025. "Sustainable PV Power Forecasting via MPA-VMD Optimized BiGRU with Attention Mechanism," Mathematics, MDPI, vol. 13(9), pages 1-26, May.

    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. Wang, Min & Rao, Congjun & Xiao, Xinping & Hu, Zhuo & Goh, Mark, 2024. "Efficient shrinkage temporal convolutional network model for photovoltaic power prediction," Energy, Elsevier, vol. 297(C).
    4. Rizk M Rizk-Allah & Lobna M Abouelmagd & Ashraf Darwish & Vaclav Snasel & Aboul Ella Hassanien, 2024. "Explainable AI and optimized solar power generation forecasting model based on environmental conditions," PLOS ONE, Public Library of Science, vol. 19(10), pages 1-33, October.
    5. Rita Teixeira & Adelaide Cerveira & Eduardo J. Solteiro Pires & José Baptista, 2024. "Advancing Renewable Energy Forecasting: A Comprehensive Review of Renewable Energy Forecasting Methods," Energies, MDPI, vol. 17(14), pages 1-30, July.
    6. Weihui Xu & Zhaoke Wang & Weishu Wang & Jian Zhao & Miaojia Wang & Qinbao Wang, 2024. "Short-Term Photovoltaic Output Prediction Based on Decomposition and Reconstruction and XGBoost under Two Base Learners," Energies, MDPI, vol. 17(4), pages 1-19, February.
    7. Liu, Zhi-Feng & Chen, Xiao-Rui & Huang, Ya-He & Luo, Xing-Fu & Zhang, Shu-Rui & You, Guo-Dong & Qiang, Xiao-Yong & Kang, Qing, 2024. "A novel bimodal feature fusion network-based deep learning model with intelligent fusion gate mechanism for short-term photovoltaic power point-interval forecasting," Energy, Elsevier, vol. 303(C).
    8. 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).
    9. Luo, Xing & Zhang, Dongxiao, 2023. "A cascaded deep learning framework for photovoltaic power forecasting with multi-fidelity inputs," Energy, Elsevier, vol. 268(C).
    10. Deng, Feng & Wang, Tianhang & Tao, Wanting & Darkwa, Jo & Li, Yilin, 2025. "A LSTM-model based approach for long-term forecasting of high-rise residential building integrated photovoltaic system," Energy, Elsevier, vol. 338(C).
    11. Yin, Linfei & Cao, Xinghui & Liu, Dongduan, 2023. "Weighted fully-connected regression networks for one-day-ahead hourly photovoltaic power forecasting," Applied Energy, Elsevier, vol. 332(C).
    12. 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.
    13. 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).
    14. 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).
    15. Negri, Simone & Giani, Federico & Blasuttigh, Nicola & Massi Pavan, Alessandro & Mellit, Adel & Tironi, Enrico, 2022. "Combined model predictive control and ANN-based forecasters for jointly acting renewable self-consumers: An environmental and economical evaluation," Renewable Energy, Elsevier, vol. 198(C), pages 440-454.
    16. Wang, Xiaoyang & Sun, Yunlin & Luo, Duo & Peng, Jinqing, 2022. "Comparative study of machine learning approaches for predicting short-term photovoltaic power output based on weather type classification," Energy, Elsevier, vol. 240(C).
    17. 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).
    18. Zhang, Weiyi & Zhou, Haiyang & Bao, Xiaohua & Cui, Hongzhi, 2023. "Outlet water temperature prediction of energy pile based on spatial-temporal feature extraction through CNN–LSTM hybrid model," Energy, Elsevier, vol. 264(C).
    19. 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).
    20. Lyu, Jingjing & Zhu, Guanghui & He, Chuan, 2026. "Data-driven short-term photovoltaic power forecasting under extreme weather conditions using GRU-KAN model," Renewable Energy, Elsevier, vol. 257(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:jeners:v:17:y:2024:i:17:p:4426-:d:1470752. 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 The email address of this maintainer does not seem to be valid anymore. Please ask MDPI Indexing Manager to update the entry or send us the correct address (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.