IDEAS home Printed from https://ideas.repec.org/a/eee/renene/v256y2026iphs0960148125022402.html

Robust imputation of missing photovoltaic power data using a weather- and context-aware hybrid transformer framework

Author

Listed:
  • Zhang, Chunyu
  • Fu, Xueqian
  • Qiu, Dawei
  • Badihi, Hamed
  • Gu, Haitong

Abstract

Accurate imputation of missing photovoltaic (PV) power data is critical for ensuring the reliability of downstream energy management systems. This paper proposes a novel imputation framework that leverages both external knowledge and internal data patterns to enhance imputation performance in complex scenarios with high missing data rates. A weather-prompt and context-knowledge fusion mechanism is designed to incorporate meteorological features alongside coarse imputation results. These semantic prompts provide valuable environmental and temporal context, improving the model's ability to better understand missing data regions. The core architecture features a hybrid design that integrates Transformer modules with diagonal masked self-attention (DMSA) to capture different levels of temporal dependencies. These modules work synergistically with coarse-to-fine imputation layers and context-aware refinement blocks, enabling progressive data reconstruction and robust generalization across varying conditions. Comprehensive robustness evaluations demonstrate the model's ability to maintain high imputation accuracy even under extremely high missing rates. Compared with the strongest baseline, our model reduces MAE and RMSE by up to 50.5 % and 55.0 % on the DKASC dataset and 47.4 % and 52.9 % on the Hebei dataset under 90 % missing conditions. Furthermore, the model remains effective in scenarios where meteorological inputs are unavailable, when missing rates differ between the training and testing phases, or when the input PV data is collected at different time resolutions. These findings highlight the strong adaptability and practical applicability of the proposed imputation framework for real-world PV data scenarios.

Suggested Citation

  • Zhang, Chunyu & Fu, Xueqian & Qiu, Dawei & Badihi, Hamed & Gu, Haitong, 2026. "Robust imputation of missing photovoltaic power data using a weather- and context-aware hybrid transformer framework," Renewable Energy, Elsevier, vol. 256(PH).
  • Handle: RePEc:eee:renene:v:256:y:2026:i:ph:s0960148125022402
    DOI: 10.1016/j.renene.2025.124576
    as

    Download full text from publisher

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

    File URL: https://libkey.io/10.1016/j.renene.2025.124576?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. Sun, Fengpeng & Li, Longhao & Bian, Dunxin & Bian, Wenlin & Wang, Qinghong & Wang, Shuang, 2025. "Photovoltaic power prediction based on multi-scale photovoltaic power fluctuation characteristics and multi-channel LSTM prediction models," Renewable Energy, Elsevier, vol. 246(C).
    2. Qu, Fengtao & Liao, Hualin & Liu, Jiansheng & Wu, Tianyu & Shi, Fang & Xu, Yuqiang, 2024. "A novel well log data imputation methods with CGAN and swarm intelligence optimization," Energy, Elsevier, vol. 293(C).
    3. Chen, Fan & Yu, Lan & Mao, Jinqi & Yang, Qing & Wang, Delu & Yu, Chenghao, 2024. "A novel data-characteristic-driven modeling approach for imputing missing value in industrial statistics: A case study of China electricity statistics," Applied Energy, Elsevier, vol. 373(C).
    4. Sareen, Karan & Panigrahi, Bijaya Ketan & Shikhola, Tushar & Sharma, Rajneesh, 2023. "An imputation and decomposition algorithms based integrated approach with bidirectional LSTM neural network for wind speed prediction," Energy, Elsevier, vol. 278(C).
    5. Li, Yifan & Liu, Gang & Cao, Yisheng & Chen, Jiawei & Gang, Xiao & Tang, Jianchao, 2025. "WNPS-LSTM-Informer: A Hybrid Stacking model for medium-term photovoltaic power forecasting with ranked feature selection," Renewable Energy, Elsevier, vol. 244(C).
    6. Lee, Kyungjae & Lim, Hyunwoo & Hwang, Jeongyun & Lee, Doyeon, 2024. "Evaluating missing data handling methods for developing building energy benchmarking models," Energy, Elsevier, vol. 308(C).
    7. Liu, Wencheng & Mao, Zhizhong, 2024. "Short-term photovoltaic power forecasting with feature extraction and attention mechanisms," Renewable Energy, Elsevier, vol. 226(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. Zhang, Yagang & Wang, Hui & Wang, Jingchao & Cheng, Xiaodan & Wang, Tong & Zhao, Zheng, 2024. "Ensemble optimization approach based on hybrid mode decomposition and intelligent technology for wind power prediction system," Energy, Elsevier, vol. 292(C).
    2. Peng, Yuankai & Hu, Zhili & Hua, Lin & Qin, Xunpeng & Zheng, Jian & Hu, Quan, 2025. "Adaptive Stacking ensemble model driven by multi-source data fusion for energy consumption prediction in forging production line," Energy, Elsevier, vol. 341(C).
    3. Chen, Xin & Ye, Xiaoling & Shi, Jian & Zhang, Yingchao & Xiong, Xiong, 2024. "A spatial transfer-based hybrid model for wind speed forecasting," Energy, Elsevier, vol. 313(C).
    4. Zang, Haixiang & Li, Wenan & Cheng, Lilin & Liu, Jingxuan & Wei, Zhinong & Sun, Guoqiang, 2025. "Short-term multi-site solar irradiance prediction with dynamic-graph-convolution-based spatial-temporal correlation capturing," Renewable Energy, Elsevier, vol. 246(C).
    5. Huang, Mianji & Luo, Jing & Guo, Zhijun & Zheng, Yuzhe & Jin, Shengli & Shen, Qu & Ding, Waner & Zhu, Qinchen & Qi, Yinqiao & Zhao, Xinhai & Shou, Chunhui & Sun, Shien & Fan, Haidong & Teng, Weiming &, 2026. "Materials-informed long-term photovoltaic energy yield prediction: Unveiling the dynamic degradation mechanisms of anti-reflective coatings via explainable machine learning," Renewable Energy, Elsevier, vol. 260(C).
    6. Xing, Qianyi & Huang, Xiaojia & Wang, Kang & Wang, Jianzhou & Wang, Shuai, 2025. "MIG-EWPFS: An ensemble probabilistic wind speed forecasting system integrating multi-dimensional feature extraction, hybrid quantile regression, and Knee improved multi-objective optimization," Energy, Elsevier, vol. 324(C).
    7. Al-Dahidi, Sameer & Alrbai, Mohammad & Rinchi, Bilal & Alahmer, Hussein & Al-Ghussain, Loiy & Hayajneh, Hassan S. & Alahmer, Ali, 2025. "Techno-economic implications and cost of forecasting errors in solar PV power production using optimized deep learning models," Energy, Elsevier, vol. 323(C).
    8. Liu, Tianhao & Shan, Linke & Jiang, Meihui & Li, Fangning & Kong, Fannie & Du, Pengcheng & Zhu, Hongyu & Goh, Hui Hwang & Kurniawan, Tonni Agustiono & Huang, Chao & Zhang, Dongdong, 2025. "Multi-dimensional data processing and intelligent forecasting technologies for renewable energy generation," Applied Energy, Elsevier, vol. 398(C).
    9. Li, Yanmei & Zhang, Yi & Yin, Minghao, 2026. "Physics-informed Mamba network for ultra-short-term photovoltaic power forecasting: integrating WGAN-GP augmentation and CEEMDAN-SST decomposition," Renewable Energy, Elsevier, vol. 257(C).
    10. Zhou, Daixuan & Liu, Yujin & Wang, Xu & Wang, Fuxing & Jia, Yan, 2025. "Combined ultra-short-term photovoltaic power prediction based on CEEMDAN decomposition and RIME optimized AM-TCN-BiLSTM," Energy, Elsevier, vol. 318(C).
    11. Zhong, Mingwei & Xu, Cancheng & Xian, Zikang & He, Guanglin & Zhai, Yanpeng & Zhou, Yongwang & Fan, Jingmin, 2024. "DTTM: A deep temporal transfer model for ultra-short-term online wind power forecasting," Energy, Elsevier, vol. 286(C).
    12. Liu, Wenhui & Bai, Yulong & Yue, Xiaoxin & Wang, Rui & Song, Qi, 2024. "A wind speed forcasting model based on rime optimization based VMD and multi-headed self-attention-LSTM," Energy, Elsevier, vol. 294(C).
    13. Guo, Yiran & Liu, Xin & Liu, Minxia & Xie, Jian & Xiang, Xi, 2025. "A novel spatiotemporal feature fusion-based GAN framework for SCADA data imputation of wind turbines," Energy, Elsevier, vol. 341(C).
    14. 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).
    15. Wan, Hang & Wang, Jiasong & Gan, Quan & Xia, Yaping & Chang, Yufang & Yan, Huaicheng, 2025. "Addressing intermittency in medium-term photovoltaic and wind power forecasting using a hybrid xLSTM-TCCNN model with numerical weather predictions," Renewable Energy, Elsevier, vol. 253(C).
    16. Yongning Zhang & Xiaoying Ren & Fei Zhang & Yulei Liu & Jierui Li, 2024. "A Deep Learning-Based Dual-Scale Hybrid Model for Ultra-Short-Term Photovoltaic Power Forecasting," Sustainability, MDPI, vol. 16(17), pages 1-22, August.
    17. 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.
    18. Guo, Xiaojie & Zeng, Pingliang & Xiong, Xiong & Wang, Guodong, 2026. "A physical model and data-driven synergy method for short-term photovoltaic power prediction," Renewable Energy, Elsevier, vol. 256(PE).
    19. Luo, Ping & Li, Chenlei & Kang, Dongming & Zhang, Fan & Lv, Qiang, 2026. "PMWC: A hybrid framework based causal inference and multi-scale feature fusion for day-ahead PV power forecasting," Renewable Energy, Elsevier, vol. 257(C).
    20. Wenyuan Sun & Shuailing Ma & Yufei Zhang & Yingai Jin & Firoz Alam, 2025. "Multi-Energy-Microgrid Energy Management Strategy Optimisation Using Deep Learning," Energies, MDPI, vol. 18(12), pages 1-28, June.

    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:renene:v:256:y:2026:i:ph:s0960148125022402. 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/renewable-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.