IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v18y2025i12p3193-d1681594.html
   My bibliography  Save this article

A Hybrid Framework for Photovoltaic Power Forecasting Using Shifted Windows Transformer-Based Spatiotemporal Feature Extraction

Author

Listed:
  • Ping Tang

    (School of New Energy, North China Electric Power University, Beijing 102206, China)

  • Ying Su

    (Institute of Science and Technology, China Three Gorges Corporation, Beijing 100038, China)

  • Weisheng Zhao

    (School of New Energy, North China Electric Power University, Beijing 102206, China)

  • Qian Wang

    (Institute of Science and Technology, China Three Gorges Corporation, Beijing 100038, China)

  • Lianglin Zou

    (School of New Energy, North China Electric Power University, Beijing 102206, China)

  • Jifeng Song

    (Institute of Energy Power Innovation, North China Electric Power University, Beijing 102206, China)

Abstract

Accurate photovoltaic (PV) power forecasting is essential to mitigating the security and stability challenges associated with PV integration into power grids. Ground-based sky images can quickly reveal cloud changes, and the spatiotemporal feature information extracted from these images can improve PV power forecasting. Therefore, this paper proposes a hybrid framework based on shifted windows Transformer (Swin Transformer), convolutional neural network, and long short-term memory network to comprehensively extract spatiotemporal feature information, including global spatial, local spatial, and temporal features, from ground-based sky images and PV power data. The mean absolute error and root mean squared error are reduced by 13.06% and 4.49% compared with ResNet-18. The experimental results indicate that the proposed framework demonstrates competitive predictive performance and generalization capability across different time horizons and weather conditions compared with benchmark frameworks.

Suggested Citation

  • Ping Tang & Ying Su & Weisheng Zhao & Qian Wang & Lianglin Zou & Jifeng Song, 2025. "A Hybrid Framework for Photovoltaic Power Forecasting Using Shifted Windows Transformer-Based Spatiotemporal Feature Extraction," Energies, MDPI, vol. 18(12), pages 1-20, June.
  • Handle: RePEc:gam:jeners:v:18:y:2025:i:12:p:3193-:d:1681594
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/18/12/3193/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/18/12/3193/
    Download Restriction: no
    ---><---

    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:18:y:2025:i:12:p:3193-:d:1681594. 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: 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.