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

CRAformer: A cross-residual attention transformer for solar irradiation multistep forecasting

Author

Listed:
  • Zhang, Zongbin
  • Huang, Xiaoqiao
  • Li, Chengli
  • Cheng, Feiyan
  • Tai, Yonghang

Abstract

In recent years, solar energy has gained widespread adoption in smart grids due to its safety, environmental friendliness, abundance, and other advantages, driving the application of photovoltaic (PV) power generation technology. Accurately predicting solar irradiance is essential for ensuring the operational stability of PV power systems, making it a critical challenge for maintaining grid security and stability. Although Transformer models in deep learning have achieved significant advancements in solar irradiance forecasting, existing studies often treat cross-batch time-series data (TSD) as independent. By overlooking the complex coupling relationships between different data batches, they fail to fully capture the underlying patterns in TSD under varying conditions. Moreover, handling the long-term dependencies and short-term weather-induced fluctuations inherent in TSD remains difficult. To address these issues, this paper proposes an efficient Transformer model (CRAformer) based on Cross-Residual Attention (CRA) for multi-step solar irradiance forecasting. CRAformer effectively captures the deep coupling relationships within TSD through a residual scoring mechanism, which can dynamically adjust feature weights and balance long-term dependencies with short-term variations. Furthermore, by incorporating a dual-output mode and dual-attention strategy, the model can deconstruct complex data structures and guide the prediction process with greater accuracy. Additionally, the newly designed Convolutional Weighted Fusion Module (CWFM) enhances the model's capability to recognize diverse patterns and characteristics in TSD. By dynamically regulating the information transfer process, the CWFM improves the model's generalization, fitting accuracy, and robustness. To evaluate CRAformer's performance, four prediction tasks with varying time steps (24 h, 48 h, 72 h, 96 h) were designed using irradiance datasets from different locations: Denver, Clark, and Folsom. The experimental results demonstrate that, compared to the second-best model, iTransformer, CRAformer reduces the RMSE by an average of 5.6 %, 3.9 %, and 5.6 % across the four prediction steps for the datasets from Denver, Clark, and Folsom, respectively. These results indicate that CRAformer offers significant advantages in multi-step solar irradiance forecasting, providing a valuable reference for future model optimization.

Suggested Citation

  • 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).
  • Handle: RePEc:eee:energy:v:320:y:2025:i:c:s0360544225008564
    DOI: 10.1016/j.energy.2025.135214
    as

    Download full text from publisher

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

    File URL: https://libkey.io/10.1016/j.energy.2025.135214?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 search for a different version of it.

    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:320:y:2025:i:c:s0360544225008564. 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.

    We have no bibliographic references for this item. You can help adding them by using 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.