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

Application of Temporal Fusion Transformer for Day-Ahead PV Power Forecasting

Author

Listed:
  • Miguel López Santos

    (Galicia Institute of Technology (ITG), 15003 A Coruña, Spain)

  • Xela García-Santiago

    (Galicia Institute of Technology (ITG), 15003 A Coruña, Spain)

  • Fernando Echevarría Camarero

    (Galicia Institute of Technology (ITG), 15003 A Coruña, Spain)

  • Gonzalo Blázquez Gil

    (Galicia Institute of Technology (ITG), 15003 A Coruña, Spain)

  • Pablo Carrasco Ortega

    (Galicia Institute of Technology (ITG), 15003 A Coruña, Spain)

Abstract

The energy generated by a solar photovoltaic (PV) system depends on uncontrollable factors, including weather conditions and solar irradiation, which leads to uncertainty in the power output. Forecast PV power generation is vital to improve grid stability and balance the energy supply and demand. This study aims to predict hourly day-ahead PV power generation by applying Temporal Fusion Transformer (TFT), a new attention-based architecture that incorporates an interpretable explanation of temporal dynamics and high-performance forecasting over multiple horizons. The proposed forecasting model has been trained and tested using data from six different facilities located in Germany and Australia. The results have been compared with other algorithms like Auto Regressive Integrated Moving Average (ARIMA), Long Short-Term Memory (LSTM), Multi-Layer Perceptron (MLP), and Extreme Gradient Boosting (XGBoost), using statistical error indicators. The use of TFT has been shown to be more accurate than the rest of the algorithms to forecast PV generation in the aforementioned facilities.

Suggested Citation

  • Miguel López Santos & Xela García-Santiago & Fernando Echevarría Camarero & Gonzalo Blázquez Gil & Pablo Carrasco Ortega, 2022. "Application of Temporal Fusion Transformer for Day-Ahead PV Power Forecasting," Energies, MDPI, vol. 15(14), pages 1-22, July.
  • Handle: RePEc:gam:jeners:v:15:y:2022:i:14:p:5232-:d:866410
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/15/14/5232/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/15/14/5232/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. 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.
    2. Vishnu Suresh & Przemyslaw Janik & Jacek Rezmer & Zbigniew Leonowicz, 2020. "Forecasting Solar PV Output Using Convolutional Neural Networks with a Sliding Window Algorithm," Energies, MDPI, vol. 13(3), pages 1-15, February.
    3. Ahmed, R. & Sreeram, V. & Mishra, Y. & Arif, M.D., 2020. "A review and evaluation of the state-of-the-art in PV solar power forecasting: Techniques and optimization," Renewable and Sustainable Energy Reviews, Elsevier, vol. 124(C).
    4. Olmo, F.J & Vida, J & Foyo, I & Castro-Diez, Y & Alados-Arboledas, L, 1999. "Prediction of global irradiance on inclined surfaces from horizontal global irradiance," Energy, Elsevier, vol. 24(8), pages 689-704.
    5. Muhammad Aslam & Jae-Myeong Lee & Hyung-Seung Kim & Seung-Jae Lee & Sugwon Hong, 2019. "Deep Learning Models for Long-Term Solar Radiation Forecasting Considering Microgrid Installation: A Comparative Study," Energies, MDPI, vol. 13(1), pages 1-15, December.
    6. Luo, Xing & Zhang, Dongxiao & Zhu, Xu, 2021. "Deep learning based forecasting of photovoltaic power generation by incorporating domain knowledge," Energy, Elsevier, vol. 225(C).
    7. Dukhwan Yu & Wonik Choi & Myoungsoo Kim & Ling Liu, 2020. "Forecasting Day-Ahead Hourly Photovoltaic Power Generation Using Convolutional Self-Attention Based Long Short-Term Memory," Energies, MDPI, vol. 13(15), pages 1-17, August.
    8. Gangqiang Li & Huaizhi Wang & Shengli Zhang & Jiantao Xin & Huichuan Liu, 2019. "Recurrent Neural Networks Based Photovoltaic Power Forecasting Approach," Energies, MDPI, vol. 12(13), pages 1-17, July.
    9. Hsu-Yung Cheng & Chih-Chang Yu & Kuo-Chang Hsu & Chi-Chang Chan & Mei-Hui Tseng & Chih-Lung Lin, 2019. "Estimating Solar Irradiance on Tilted Surface with Arbitrary Orientations and Tilt Angles," Energies, MDPI, vol. 12(8), pages 1-14, April.
    10. Marco Pierro & David Moser & Richard Perez & Cristina Cornaro, 2020. "The Value of PV Power Forecast and the Paradox of the “Single Pricing” Scheme: The Italian Case Study," Energies, MDPI, vol. 13(15), pages 1-27, August.
    11. Dukhwan Yu & Seowoo Lee & Sangwon Lee & Wonik Choi & Ling Liu, 2020. "Forecasting Photovoltaic Power Generation Using Satellite Images," Energies, MDPI, vol. 13(24), pages 1-15, December.
    12. 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).
    13. Mohamed Lotfi & Mohammad Javadi & Gerardo J. Osório & Cláudio Monteiro & João P. S. Catalão, 2020. "A Novel Ensemble Algorithm for Solar Power Forecasting Based on Kernel Density Estimation," Energies, MDPI, vol. 13(1), pages 1-19, January.
    14. Stefano Massucco & Gabriele Mosaico & Matteo Saviozzi & Federico Silvestro, 2019. "A Hybrid Technique for Day-Ahead PV Generation Forecasting Using Clear-Sky Models or Ensemble of Artificial Neural Networks According to a Decision Tree Approach," Energies, MDPI, vol. 12(7), pages 1-21, April.
    15. Shireen, Tahasin & Shao, Chenhui & Wang, Hui & Li, Jingjing & Zhang, Xi & Li, Mingyang, 2018. "Iterative multi-task learning for time-series modeling of solar panel PV outputs," Applied Energy, Elsevier, vol. 212(C), pages 654-662.
    16. 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).
    17. Shivashankar, S. & Mekhilef, Saad & Mokhlis, Hazlie & Karimi, M., 2016. "Mitigating methods of power fluctuation of photovoltaic (PV) sources – A review," Renewable and Sustainable Energy Reviews, Elsevier, vol. 59(C), pages 1170-1184.
    18. Nailya Maitanova & Jan-Simon Telle & Benedikt Hanke & Matthias Grottke & Thomas Schmidt & Karsten von Maydell & Carsten Agert, 2020. "A Machine Learning Approach to Low-Cost Photovoltaic Power Prediction Based on Publicly Available Weather Reports," Energies, MDPI, vol. 13(3), pages 1-23, February.
    19. Tang, Pingzhou & Chen, Di & Hou, Yushuo, 2016. "Entropy method combined with extreme learning machine method for the short-term photovoltaic power generation forecasting," Chaos, Solitons & Fractals, Elsevier, vol. 89(C), pages 243-248.
    20. Alberto Dolara & Francesco Grimaccia & Sonia Leva & Marco Mussetta & Emanuele Ogliari, 2015. "A Physical Hybrid Artificial Neural Network for Short Term Forecasting of PV Plant Power Output," Energies, MDPI, vol. 8(2), pages 1-16, February.
    21. Lim, Bryan & Arık, Sercan Ö. & Loeff, Nicolas & Pfister, Tomas, 2021. "Temporal Fusion Transformers for interpretable multi-horizon time series forecasting," International Journal of Forecasting, Elsevier, vol. 37(4), pages 1748-1764.
    22. Wu, Binrong & Wang, Lin & Zeng, Yu-Rong, 2022. "Interpretable wind speed prediction with multivariate time series and temporal fusion transformers," Energy, Elsevier, vol. 252(C).
    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. Frank, Johannes, 2023. "Forecasting realized volatility in turbulent times using temporal fusion transformers," FAU Discussion Papers in Economics 03/2023, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    2. Jimyung Kang & Jooseung Lee & Soonwoo Lee, 2023. "Data-Driven Minute-Ahead Forecast of PV Generation with Adjacent PV Sector Information," Energies, MDPI, vol. 16(13), pages 1-16, June.

    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. Adam Krechowicz & Maria Krechowicz & Katarzyna Poczeta, 2022. "Machine Learning Approaches to Predict Electricity Production from Renewable Energy Sources," Energies, MDPI, vol. 15(23), pages 1-41, December.
    2. Putri Nor Liyana Mohamad Radzi & Muhammad Naveed Akhter & Saad Mekhilef & Noraisyah Mohamed Shah, 2023. "Review on the Application of Photovoltaic Forecasting Using Machine Learning for Very Short- to Long-Term Forecasting," Sustainability, MDPI, vol. 15(4), pages 1-21, February.
    3. 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).
    4. Muhammad Naveed Akhter & Saad Mekhilef & Hazlie Mokhlis & Ziyad M. Almohaimeed & Munir Azam Muhammad & Anis Salwa Mohd Khairuddin & Rizwan Akram & Muhammad Majid Hussain, 2022. "An Hour-Ahead PV Power Forecasting Method Based on an RNN-LSTM Model for Three Different PV Plants," Energies, MDPI, vol. 15(6), pages 1-21, March.
    5. Rial A. Rajagukguk & Raden A. A. Ramadhan & Hyun-Jin Lee, 2020. "A Review on Deep Learning Models for Forecasting Time Series Data of Solar Irradiance and Photovoltaic Power," Energies, MDPI, vol. 13(24), pages 1-23, December.
    6. Mohamed Massaoudi & Ines Chihi & Lilia Sidhom & Mohamed Trabelsi & Shady S. Refaat & Fakhreddine S. Oueslati, 2021. "Enhanced Random Forest Model for Robust Short-Term Photovoltaic Power Forecasting Using Weather Measurements," Energies, MDPI, vol. 14(13), pages 1-20, July.
    7. 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.
    8. Nguyen, Thi Ngoc & Müsgens, Felix, 2022. "What drives the accuracy of PV output forecasts?," Applied Energy, Elsevier, vol. 323(C).
    9. 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).
    10. Elena Collino & Dario Ronzio, 2021. "Exploitation of a New Short-Term Multimodel Photovoltaic Power Forecasting Method in the Very Short-Term Horizon to Derive a Multi-Time Scale Forecasting System," Energies, MDPI, vol. 14(3), pages 1-30, February.
    11. Fateh Mehazzem & Maina André & Rudy Calif, 2022. "Efficient Output Photovoltaic Power Prediction Based on MPPT Fuzzy Logic Technique and Solar Spatio-Temporal Forecasting Approach in a Tropical Insular Region," Energies, MDPI, vol. 15(22), pages 1-21, November.
    12. Liu, Zhengguang & Guo, Zhiling & Chen, Qi & Song, Chenchen & Shang, Wenlong & Yuan, Meng & Zhang, Haoran, 2023. "A review of data-driven smart building-integrated photovoltaic systems: Challenges and objectives," Energy, Elsevier, vol. 263(PE).
    13. Cheng, Lilin & Zang, Haixiang & Wei, Zhinong & Zhang, Fengchun & Sun, Guoqiang, 2022. "Evaluation of opaque deep-learning solar power forecast models towards power-grid applications," Renewable Energy, Elsevier, vol. 198(C), pages 960-972.
    14. Fachrizal Aksan & Vishnu Suresh & Przemysław Janik & Tomasz Sikorski, 2023. "Load Forecasting for the Laser Metal Processing Industry Using VMD and Hybrid Deep Learning Models," Energies, MDPI, vol. 16(14), pages 1-24, July.
    15. Huang, Xiaoqiao & Li, Qiong & Tai, Yonghang & Chen, Zaiqing & Liu, Jun & Shi, Junsheng & Liu, Wuming, 2022. "Time series forecasting for hourly photovoltaic power using conditional generative adversarial network and Bi-LSTM," Energy, Elsevier, vol. 246(C).
    16. 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).
    17. Thi Ngoc Nguyen & Felix Musgens, 2021. "What drives the accuracy of PV output forecasts?," Papers 2111.02092, arXiv.org.
    18. Happy Aprillia & Hong-Tzer Yang & Chao-Ming Huang, 2020. "Short-Term Photovoltaic Power Forecasting Using a Convolutional Neural Network–Salp Swarm Algorithm," Energies, MDPI, vol. 13(8), pages 1-20, April.
    19. 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).
    20. 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).

    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:15:y:2022:i:14:p:5232-:d:866410. 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.