IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i13p2103-d1428814.html
   My bibliography  Save this article

A Photovoltaic Prediction Model with Integrated Attention Mechanism

Author

Listed:
  • Xiangshu Lei

    (Faculty of Information and Communication Engineering, Dalian University of Technology, Dalian 116024, China)

Abstract

Solar energy has become a promising renewable energy source, offering significant opportunities for photovoltaic (PV) systems. Accurate and reliable PV generation forecasts are crucial for efficient grid integration and optimized system planning. However, the complexity of environmental factors, including seasonal and daily patterns, as well as social behaviors and user habits, presents significant challenges. Traditional prediction models often struggle with capturing the complex nonlinear dynamics in multivariate time series, leading to low prediction accuracy. To address this issue, this paper proposes a new PV power prediction method that considers factors such as light, air pressure, wind direction, and social behavior, assigning different weights to them to accurately extract nonlinear feature relationships. The framework integrates long short-term memory (LSTM) and gated recurrent units (GRU) to capture local time features, while bidirectional LSTM (BiLSTM) and an attention mechanism extract global spatiotemporal relationships, effectively capturing key features related to historical output. This improves the accuracy of multi-step predictions. To verify the feasibility of the method for multivariate time series, we conducted experiments using PV power prediction as a scenario and compared the results with LSTM, CNN, BiLSTM, CNN-LSTM and GRU models. The experimental results show that the proposed method outperforms these models, with a mean absolute error (MAE) of 12.133, root mean square error (RMSE) of 14.234, mean absolute percentage error (MAPE) of 2.1%, and a coefficient of determination (R 2 ) of 0.895. These results indicate the effectiveness and potential of the method in PV prediction tasks.

Suggested Citation

  • Xiangshu Lei, 2024. "A Photovoltaic Prediction Model with Integrated Attention Mechanism," Mathematics, MDPI, vol. 12(13), pages 1-16, July.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:13:p:2103-:d:1428814
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/13/2103/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/13/2103/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Das, Utpal Kumar & Tey, Kok Soon & Seyedmahmoudian, Mehdi & Mekhilef, Saad & Idris, Moh Yamani Idna & Van Deventer, Willem & Horan, Bend & Stojcevski, Alex, 2018. "Forecasting of photovoltaic power generation and model optimization: A review," Renewable and Sustainable Energy Reviews, Elsevier, vol. 81(P1), pages 912-928.
    2. Liu, Luyao & Zhao, Yi & Chang, Dongliang & Xie, Jiyang & Ma, Zhanyu & Sun, Qie & Yin, Hongyi & Wennersten, Ronald, 2018. "Prediction of short-term PV power output and uncertainty analysis," Applied Energy, Elsevier, vol. 228(C), pages 700-711.
    3. Li, Pengtao & Zhou, Kaile & Lu, Xinhui & Yang, Shanlin, 2020. "A hybrid deep learning model for short-term PV power forecasting," Applied Energy, Elsevier, vol. 259(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. 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).
    2. Martina Radicioni & Valentina Lucaferri & Francesco De Lia & Antonino Laudani & Roberto Lo Presti & Gabriele Maria Lozito & Francesco Riganti Fulginei & Riccardo Schioppo & Mario Tucci, 2021. "Power Forecasting of a Photovoltaic Plant Located in ENEA Casaccia Research Center," Energies, MDPI, vol. 14(3), pages 1-22, January.
    3. 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).
    4. Huang, Xiaoqiao & Li, Qiong & Tai, Yonghang & Chen, Zaiqing & Zhang, Jun & Shi, Junsheng & Gao, Bixuan & Liu, Wuming, 2021. "Hybrid deep neural model for hourly solar irradiance forecasting," Renewable Energy, Elsevier, vol. 171(C), pages 1041-1060.
    5. du Plessis, A.A. & Strauss, J.M. & Rix, A.J., 2021. "Short-term solar power forecasting: Investigating the ability of deep learning models to capture low-level utility-scale Photovoltaic system behaviour," Applied Energy, Elsevier, vol. 285(C).
    6. Fjelkestam Frederiksen, Cornelia A. & Cai, Zuansi, 2022. "Novel machine learning approach for solar photovoltaic energy output forecast using extra-terrestrial solar irradiance," Applied Energy, Elsevier, vol. 306(PB).
    7. 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).
    8. Korkmaz, Deniz, 2021. "SolarNet: A hybrid reliable model based on convolutional neural network and variational mode decomposition for hourly photovoltaic power forecasting," Applied Energy, Elsevier, vol. 300(C).
    9. Victor Hugo Wentz & Joylan Nunes Maciel & Jorge Javier Gimenez Ledesma & Oswaldo Hideo Ando Junior, 2022. "Solar Irradiance Forecasting to Short-Term PV Power: Accuracy Comparison of ANN and LSTM Models," Energies, MDPI, vol. 15(7), pages 1-23, March.
    10. Gómez-Amo, J.L. & Freile-Aranda, M.D. & Camarasa, J. & Estellés, V. & Utrillas, M.P. & Martínez-Lozano, J.A., 2019. "Empirical estimates of the radiative impact of an unusually extreme dust and wildfire episode on the performance of a photovoltaic plant in Western Mediterranean," Applied Energy, Elsevier, vol. 235(C), pages 1226-1234.
    11. Seung Chan Jo & Young Gyu Jin & Yong Tae Yoon & Ho Chan Kim, 2021. "Methods for Integrating Extraterrestrial Radiation into Neural Network Models for Day-Ahead PV Generation Forecasting," Energies, MDPI, vol. 14(9), pages 1-18, May.
    12. Ahn, Hyeunguk, 2024. "A framework for developing data-driven correction factors for solar PV systems," Energy, Elsevier, vol. 290(C).
    13. Khan, Zulfiqar Ahmad & Hussain, Tanveer & Baik, Sung Wook, 2023. "Dual stream network with attention mechanism for photovoltaic power forecasting," Applied Energy, Elsevier, vol. 338(C).
    14. Limouni, Tariq & Yaagoubi, Reda & Bouziane, Khalid & Guissi, Khalid & Baali, El Houssain, 2023. "Accurate one step and multistep forecasting of very short-term PV power using LSTM-TCN model," Renewable Energy, Elsevier, vol. 205(C), pages 1010-1024.
    15. Xu, Fang Yuan & Tang, Rui Xin & Xu, Si Bin & Fan, Yi Liang & Zhou, Ya & Zhang, Hao Tian, 2021. "Neural network-based photovoltaic generation capacity prediction system with benefit-oriented modification," Energy, Elsevier, vol. 223(C).
    16. Theocharides, Spyros & Makrides, George & Livera, Andreas & Theristis, Marios & Kaimakis, Paris & Georghiou, George E., 2020. "Day-ahead photovoltaic power production forecasting methodology based on machine learning and statistical post-processing," Applied Energy, Elsevier, vol. 268(C).
    17. Zhen, Hao & Niu, Dongxiao & Wang, Keke & Shi, Yucheng & Ji, Zhengsen & Xu, Xiaomin, 2021. "Photovoltaic power forecasting based on GA improved Bi-LSTM in microgrid without meteorological information," Energy, Elsevier, vol. 231(C).
    18. 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).
    19. Mitrentsis, Georgios & Lens, Hendrik, 2022. "An interpretable probabilistic model for short-term solar power forecasting using natural gradient boosting," Applied Energy, Elsevier, vol. 309(C).
    20. Li, Chengdong & Zhou, Changgeng & Peng, Wei & Lv, Yisheng & Luo, Xin, 2020. "Accurate prediction of short-term photovoltaic power generation via a novel double-input-rule-modules stacked deep fuzzy method," Energy, Elsevier, vol. 212(C).

    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:jmathe:v:12:y:2024:i:13:p:2103-:d:1428814. 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.