Energies (Jul 2022)

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

  • Miguel López Santos,
  • Xela García-Santiago,
  • Fernando Echevarría Camarero,
  • Gonzalo Blázquez Gil,
  • Pablo Carrasco Ortega

DOI
https://doi.org/10.3390/en15145232
Journal volume & issue
Vol. 15, no. 14
p. 5232

Abstract

Read online

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.

Keywords