Explainable time-varying directional representations for photovoltaic power generation forecasting

Zhijin Wang, Hanjing Liu, Senzhen Wu, Niansheng Liu, Xiufeng Liu, Yue Hu, Yonggang FuJournal of Cleaner Production 2024 · DOI

TL;DR

This paper introduces CoDR, a novel deep learning model for photovoltaic (PV) power forecasting that captures directional fluctuations in solar irradiance data. CoDR achieves superior accuracy and provides explainable insights into forecasting drivers, crucial for integrating renewable energy into power grids.

What Problem Does This Paper Address?

Accurately forecasting photovoltaic (PV) power generation is essential for integrating solar energy into power grids and achieving a cleaner energy future. However, PV power generation is inherently variable and complex due to factors like weather and solar irradiance, making precise forecasting a significant challenge. Existing methods often struggle to capture these dynamics effectively, and many "black-box" models lack transparency, hindering trust and informed decision-making. This paper aims to address these issues by developing a more accurate and explainable forecasting model.

Methods

The core innovation of this paper is the Collaborative Directional Representation (CoDR) model. CoDR goes beyond traditional time-series forecasting by explicitly modeling the direction of changes in solar irradiance, not just their magnitude. The model employs a multi-stage process:

  • Data Preprocessing: Normalizes and splits data into input-output pairs.
  • Window Fluctuation Extraction (WFE): Isolates short-term variations (fluctuations) by subtracting a moving average from the data. This focuses on deviations from the local trend.
  • Directional Representation (DR): This is the key novel component. It transforms the fluctuation data into a low-dimensional representation that captures directional information. This involves rectification (ReLU), transformation (learnable weights), highlighting (softmax for attention across dimensions), and linearization (reducing dimensionality). The DR unit considers three dimensions: batch, sequence, and variate.
  • Window Fluctuation De-extraction (WFD): Recovers the trend and seasonality by adding back the last element of the input data.
  • Mapping: Combines the de-extracted data and directional representations to produce the final prediction. This involves feature fusion and a linear projection.
  • Data Postprocessing: De-normalizes the predictions and calculates error metrics.

CoDR's directional representation is designed to capture causal relationships and directional influences among input variables and PV power output, enhancing explainability.

Datasets

The study utilizes a real-world dataset from Elia Group (EG), the Belgian transmission system operator. This dataset comprises 15-minute resolution PV power generation data from January 1, 2022, to December 31, 2022, covering 14 regions in Belgium. The data includes both day-ahead measurements and intra-day forecasts.

Key Insights and Ideas

  • Direction Matters: The paper strongly emphasizes that the direction of solar irradiance fluctuations is as important as their magnitude for accurate PV forecasting. CoDR's novel directional representation directly addresses this.
  • Explainability through Direction: By visualizing the learned directional weights, CoDR offers insights into which input features and temporal patterns are most influential for forecasting, fostering trust in the model's predictions.
  • Synergistic Components: An ablation study reveals that each component of CoDR (WFE, WFD, and the different dimensions of DR) is crucial for its overall high performance, highlighting their synergistic effect.
  • Balancing Complexity and Accuracy: CoDR achieves state-of-the-art accuracy while maintaining a computational complexity comparable to other advanced deep learning models, suggesting a favorable trade-off.

Key Results

  • Superior Accuracy: CoDR consistently outperformed 22 state-of-the-art benchmark models across three key metrics: MSE, MAE, and CVRMSE. It achieved the lowest values for all metrics, with significant reductions compared to the second-best model (GAIN). For instance, CoDR achieved a maximum reduction of 17.45% in MSE.
  • High Correlation: CoDR demonstrated the highest Pearson Correlation Coefficient (PCC) of 0.779, indicating its strong ability to capture the trend and pattern of the actual PV power data.
  • Optimal Hyperparameters: Sensitivity analyses identified optimal values for key hyperparameters like window size (T=12), batch size (B=25), and hidden size (P=18), which were used for the final model configuration.
  • Visualizations: Figures show CoDR's ability to track real PV power generation more closely than other methods, despite a slight time lag common to all models.

Limitations and Future Work

Limitations: * Data Scope: The current model primarily relies on solar irradiance data. Incorporating additional meteorological variables (temperature, cloud cover, etc.) could further enhance accuracy. * Forecasting Horizon: The study focused on one-day-ahead forecasting. Evaluating CoDR for shorter (hourly) or longer horizons is needed for a comprehensive assessment. * Generalizability: The study used data from Belgium. Testing CoDR's performance across different geographical regions and climates is essential.

Future Work: * Extended Data Integration: Incorporate more external factors like geographical information and social events. * Advanced Attention Mechanisms: Explore transformer-based models and graph neural networks to further enhance CoDR's capabilities. * Broader Applications: Adapt the CoDR approach to other renewable energy sources like wind and hydropower.

Summary updated

Abstract

Accurate photovoltaic (PV) power generation forecasting is crucial for optimizing the integration of solar energy into power grids and advancing towards a cleaner, more sustainable energy future. However, the inherent variability and complexity of PV power generation data pose significant challenges for accurate forecasting. To address these challenges, this paper introduces Collaborative Directional Representation (CoDR), a novel deep learning model that extracts and represents the directional fluctuations of solar irradiance data to improve forecasting accuracy and reliability. CoDR utilizes a series of steps, including data preprocessing, fluctuation extraction, directional representation, linearization, de-extraction, mapping, and data postprocessing, to capture both the temporal and spatial dependencies within the data. CoDR leverages a unique directional representation to capture both temporal and spatial dependencies in the data, enabling superior forecasting accuracy and robustness compared to twenty-two state-of-the-art benchmark methods. We validate CoDR on a real-world dataset of PV power generation in Belgium, demonstrating its effectiveness through extensive experiments, ablation studies, and sensitivity analyses. Importantly, CoDR enhances the transparency of the forecasting process by revealing the causal relationships and directional influences among input variables and PV power output. This explainability feature provides valuable insights into the underlying drivers of PV power generation, promoting trust and informed decision-making in the transition to cleaner energy systems.
BibTeX
@article{wang2024explainable,
  author = {Zhijin Wang and Hanjing Liu and Senzhen Wu and Niansheng Liu and Xiufeng Liu and Yue Hu and Yonggang Fu},
  title = {{Explainable time-varying directional representations for photovoltaic power generation forecasting}},
  journal = {Journal of Cleaner Production},
  year = {2024},
  doi = {10.1016/j.jclepro.2024.143056},
}
Figure