Skip to Content
SolarSolar
  • Article
  • Open Access

9 October 2026

18 Pages

Investigation on Photovoltaic Power Forecasting Model Using Sensitivity Analysis

,
,
,
,
and
Sinopec Shengli Oilfield Company, Dongying 257000, China
*
Author to whom correspondence should be addressed.
This article belongs to the Section Photovoltaics

Abstract

Photovoltaic (PV) power forecasting is challenged by high-dimensional input features that cause redundancy and overfitting. To address this, we propose a short-term PV forecasting model integrating a CNN-LSTM architecture with active subspace-based global sensitivity analysis, which quantitatively evaluates feature influence via gradient information. Using operational data from a PV plant, we compare three feature selection schemes across CNN-LSTM, CNN, and LSTM models. For CNN-LSTM, the baseline yields an average R2 of 0.8769 (RMSE: 134.2 kW), while Pearson-based selection slightly reduces performance (R2 = 0.8646, RMSE: 140.7 kW). In contrast, the active subspace method achieves an average R2 of 0.9341 (RMSE: 83.6 kW), representing improvements of 6.52% and 8.04% over the no-selection and Pearson schemes, respectively. Overfitting is mitigated and convergence accelerates. The method also shows consistent improvements on CNN and LSTM models, confirming its model-agnostic effectiveness. These results demonstrate that the active subspace method is an efficient and interpretable feature engineering tool for PV forecasting.

1. Introduction

With the continuous advancement of global industrialization and the steady growth in population, societal demand for energy has been increasing persistently [1]. The large-scale exploitation and utilization of traditional fossil fuels not only face the risk of resource depletion but also give rise to a series of ecological and environmental issues, including the greenhouse effect and air pollution. Consequently, promoting the transformation of energy structures toward clean, low-carbon, and sustainable directions has become a major focus of the international community. Photovoltaic (PV) power generation, owing to advantages such as cleanness, non-pollution, renewability, and abundant reserves, is gradually becoming an important pillar of energy system transformation [2,3,4].
However, PV power generation itself exhibits characteristics of intermittency, randomness, and volatility. Its power output is highly susceptible to the combined effects of complex meteorological factors, including solar radiation intensity, ambient temperature, air humidity, cloud cover, and wind speed [5,6]. Meanwhile, conditions such as the location of PV plants, module performance, and operation duration further influence the generated power [7,8]. The unpredictability of various meteorological and environmental factors leads to fluctuations in PV output, resulting in a dynamic imbalance between power generation and grid load demand, thereby severely restricting the grid integration and large-scale application of PV power [9]. In this context, accurate short-term PV power forecasting has become a key technology for addressing grid integration issues and optimizing power dispatch [10].
In recent years, with the rapid development of artificial intelligence, deep learning has been widely adopted in the field of PV power forecasting due to its powerful nonlinear fitting capability. Dhaked et al. systematically reviewed the application of deep learning methods in PV power forecasting and pointed out that deep learning, by virtue of its ability to learn complex nonlinear relationships from massive data, achieves significantly higher prediction accuracy than traditional machine learning models [11]. Among various deep learning models, the convolutional neural network (CNN) can efficiently extract local fluctuation patterns from time-series power generation data, demonstrating excellent feature extraction capability in PV power forecasting tasks [12]; the long short-term memory (LSTM) network excels at capturing long-term dependencies in time-series data and has achieved higher prediction accuracy than traditional methods in PV output forecasting [13]. The CNN-LSTM hybrid model, which combines the advantages of both, has shown superior predictive performance over single models in multiple studies [14]. Vazquez Pombo et al. demonstrated that the CNN-LSTM architecture effectively integrates local feature extraction and global temporal memory capabilities in PV power forecasting, and that further accuracy improvement can be achieved by incorporating physics-informed features [15]. Nevertheless, most existing studies directly use all available meteorological data and power generation as input features for model training. In practice, however, high-dimensional features often exhibit high redundancy and multicollinearity. On one hand, the effects of certain meteorological factors have obvious lag and nonlinearity, and forcing them into the model only increases computational burden. On the other hand, an excessive number of features can easily lead to model overfitting and reduced generalization ability [16]. Therefore, effectively identifying key driving factors from high-dimensional input features and achieving dimensionality reduction of the feature space represent an important breakthrough for further improving the performance of forecasting models.
Feature selection and sensitivity analysis are effective means to address the above issues. Traditional methods often employ statistical indicators such as correlation coefficients to assess the degree of association between features and target variables, and then screen key features [10]. However, such methods struggle to reveal the complex nonlinear relationships under the joint action of multiple features, nor can they quantitatively measure the specific contribution of each feature to the model output. Peng, K. et al. proposed a feature selection framework combining Spearman’s rank correlation coefficient and grey relational analysis, which effectively screens multidimensional meteorological features in an end-to-end PV power forecasting model and reduces redundancy in model training [17]. In addition, sensitivity analysis methods based on gradient information can more comprehensively capture the influence of input features on model output. Tang et al. calculated system sensitivity gradients through a physical model chain and analyzed the response characteristics of PV output to key meteorological parameters [18]. Among these methods, the active subspace method has attracted particular attention. Proposed by Constantine, this method computes the gradient covariance matrix of the model output with respect to input parameters to identify the low-dimensional subspace in the input space that contributes most to output variation, thereby achieving parameter dimensionality reduction [19]. Brouwer and Eisenberg further revealed the intrinsic connections between the active subspace method and parameter identifiability and sensitivity analysis [20].
Based on the above, this paper proposes a short-term PV power forecasting model based on a CNN-LSTM architecture with sensitivity analysis. First, a baseline CNN-LSTM forecasting model is constructed. Then, the correlation coefficient method and the active subspace method are introduced for sensitivity analysis to select the feature parameters that most significantly affect PV output. Next, the forecasting model is retrained using the optimized feature combination. Finally, the model is validated using actual power plant data.

2. Materials and Methods

2.1. Problem Definition and Data Sources

This study uses meteorological forecast data provided by the Moji Weather platform as an external data source. This study used meteorological forecast data provided by Moji Weather platform as an external data source, with hourly meteorological forecast data for the next 24 h. Ten meteorological features are selected as candidate input variables. The detailed information of these variables is presented in Table 1. PV power data are obtained from actual operational records of four PV monitoring points at an oil production plant located in Dongying, Shandong, China, from January to August 2025. The original PV power data have a temporal resolution of 5 min, while the meteorological data are hourly. To align the two data sources, only the PV data at full hours were retained and aggregated to hourly resolution, resulting in a final dataset with a consistent 1 h time step. The two types of data are matched chronologically to form a complete experimental sample dataset. The data duration spans approximately eight months (January–August 2025), and after quality control, a total of 5164 valid hourly samples were obtained.
Table 1. The Detailed Information of Variables.
To define the forecasting task precisely: the model performs multi-step forecasting with a forecasting horizon of 24 h, issued daily at 00:00. The input window consists of the past 24 h of historical data (including PV power and meteorological variables), and the output is the hourly PV power for the next 24 h.
To ensure the quality of the modeling data, data cleaning and preprocessing are first performed. Records with power generation greater than 5 kW during periods before 5:00 or after 19:00 each day are identified as outliers and removed. For daytime generation periods from 8:00 to 17:00, if the power generation at a given time is exactly equal to the values at both the preceding and succeeding times, the record is considered abnormal (typically due to acquisition or transmission faults) and is also deleted. After the above screening, samples containing missing values or duplicate records are further eliminated. To preserve the complete diurnal cycle of PV output, only samples with complete 24 h data for each day are selected for subsequent modeling.
Affected by sensor noise, transient shading, or data transmission errors, the raw PV power series exhibits abrupt increases or decreases. To mitigate the interference of such local disturbances on model training, a Gaussian smoothing method is applied to the cleaned data. The weighted average of data points in the neighborhood is used to correct the central point, which effectively suppresses local anomalous fluctuations while preserving the overall trend of the original series. The Gaussian smoothing was performed with a kernel size of 5 and a standard deviation of σ = 1.0, which were chosen to suppress high-frequency noise while preserving the diurnal pattern. Importantly, the smoothing was applied only to the PV power data used during the model training phase; the raw, unsmoothed PV power measurements were retained for the final evaluation of model prediction accuracy. This ensures that the reported performance metrics reflect the model’s ability to predict real, physically meaningful measurements rather than artificially smoothed values.
After data processing, the samples are divided chronologically: the period from 14 January 2025 to 31 July 2025 is used as the training set, and the period from 1 August 2025 to 15 August 2025 is reserved as the test set. Within the training set, we further split the data into 80% for model training and 20% for validation. The validation set is used for early stopping and hyperparameter tuning during the training process, while the test set is kept completely unseen until the final evaluation to provide an unbiased assessment of the model’s predictive performance. This strategy ensures robust evaluation and prevents over-optimistic performance estimates.

2.2. Pearson Correlation Coefficient Method

The Pearson correlation coefficient is a commonly used correlation analysis method that measures the degree of linear correlation between two variables, with values ranging between [−1, 1]. An absolute value closer to 1 indicates stronger correlation, while a value closer to 0 indicates weaker correlation. This study uses this indicator to calculate the linear correlation between each meteorological feature and PV power output, and then selects features with higher correlation coefficients to form a feature subset. The calculation formula is as follows:
r = ∑ i = 1 n x i − x ¯ y i − y ¯ ∑ i = 1 n x i − x ¯ 2 ∑ i = 1 n y i − y ¯ 2
where x i is the input value, y i is the photovoltaic power value, and x ¯ and y ¯ are the mean values of the corresponding variables, respectively.

2.3. Active Subspace Method

Active subspace is a type of low-dimensional structure with several variable functions. Dimensional reduction can be achieved by transformations in high-dimensional spaces, which essentially involve identifying the most significant and sensitive directions within these spaces through linear transformations of space. In this study, this method can quantitatively calculate the sensitivity weights of various meteorological features and historical power variables, thereby identifying the key operating parameters that have the most significant impact on photovoltaic output. The input and output response scheme closely resembles a linear model. The specific process of sensitivity analysis using the active subspace method is shown in Figure 1.
Figure 1. Active Subspace Principle Diagram.
The active subspace is determined by the eigenvectors of a symmetric positive semidefinite matrix:
C = ∫ ∇ f ∇ f T ρ d x = W Λ W T
where W denotes the orthogonal eigenvector matrix, and Λ is the diagonal matrix of eigenvalues sorted in descending order.
To estimate C, we draw independent random samples of the gradient vector and compute the eigenvalue decomposition of the resulting approximation:
C ≈ C ^ = 1 M ∑ i = 1 M ∇ f ( x i ) ∇ f ( x i ) T = W ^ Λ ^ W ^ T
where xi are drawn independently from the input space.
In this study, the active subspace method is employed solely as a pre-processing tool for feature extraction, conducted before any forecasting model is built. The analysis is performed on the training set, and is entirely independent of the subsequent CNN-LSTM training.
In practice, the gradients are obtained from a polynomial approximation fitted to the input–output pairs. Specifically, when a linear (first-order) polynomial model is employed, the gradient becomes constant across the input space, which substantially reduces the computational cost. Under this linear approximation, we have:
f ( x ) ≈ a ^ 0 + a ^ T x
∇ f ( x ) ≈ a ^
Substituting the constant gradient into the estimator yields:
C ^ ≈ 1 M ∑ i = 1 M a ^ a ^ T = a ^ a ^ T = w ^ λ ^ w ^ T
where w ^ = a ^ / a ^ . This formulation reveals that for a linear model, the active subspace reduces to a one-dimensional space, as only a single active direction can be identified.
The sensitivity analysis is performed separately for each of the four monitoring stations, with M = 2048 samples randomly drawn from the training set. The resulting feature rankings are consistent across stations, confirming the robustness of the analysis. The identified key features then guide feature selection for subsequent CNN-LSTM training.
Unlike correlation-based methods, the active subspace approach quantitatively evaluates each variable’s contribution via gradient-based global sensitivity analysis. While existing studies typically incorporate all available features without rigorous selection, the proposed method identifies the most influential drivers prior to training, reducing dimensionality, mitigating overfitting, and enhancing interpretability without altering the network architecture.

2.4. CNN and LSTM Models

The CNN efficiently extracts local spatial features from input data through the sliding-window operation of convolution kernels. In time-series forecasting tasks, CNN has strong feature extraction capability and has been widely applied in PV power forecasting with notable success [21]. In PV power forecasting, CNN performs local perception on multi-feature sequences within a continuous time window, capturing short-term correlation patterns between various meteorological factors and historical power. The convolution operation is typically followed by a pooling layer to reduce feature dimensions and enhance translation invariance [22].
The LSTM network is an improved variant of the recurrent neural network (RNN). By introducing three gating mechanisms—input gate, forget gate, and output gate—LSTM effectively addresses the vanishing and exploding gradient problems of traditional RNNs in long-sequence training [23]. The LSTM unit can selectively remember or forget information from historical time steps, thereby accurately capturing long-term dependencies in time-series PV power generation data. Numerous studies have confirmed that LSTM outperforms other deep learning networks across all forecasting horizons [10].
The CNN-LSTM model is a classic deep learning hybrid model. First, CNN is used to extract local features and reduce dimensionality from the input time-window data. Then, the extracted feature sequences are fed into the LSTM layer for temporal modeling. Finally, the predicted power is output through a fully connected layer. This architecture integrates local pattern recognition with global temporal memory capability and is widely adopted in PV forecasting tasks [24]. Its principle is shown in Figure 2. The complete model specifications are summarized in Table 2 below.
Figure 2. Schematic Diagram of the Principle of CNN-LSTM Method.
Table 2. Specifications of the CNN-LSTM Model.

2.5. Model Evaluation

To quantitatively evaluate the performance of the photovoltaic power forecasting model, this study selects Mean Squared Error (MSE) as the loss function for model training and adopts the coefficient of determination (R2) and the root-mean-square error (RMSE) as the evaluation metric for prediction accuracy.
MSE is one of the most commonly used loss functions in regression problems, which measures the average squared error between the predicted value and the actual value. During model training, MSE is used as the optimization objective, and network parameters are updated by minimizing this loss function. Its calculation formula is as follows:
M S E = 1 n ∑ i = 1 n y i − y ^ i 2
where y i is the actual photovoltaic power value, y ^ i is the predicted value, and n is the number of samples.
The error metrics can be obtained by applying:
R 2 = 1 − ∑ i = 1 n y i − y ^ i 2 ∑ i = 1 n y i − y ¯ 2
R M S E = 1 N ∑ i = 1 N ( y i − y ^ i ) 2
where y ¯ represents the mean of the true values.
During the model training process, this study records and analyzes the MSE loss curves of the training set and validation set to evaluate the convergence speed and degree of overfitting of the model. The R2 metric is calculated on the test set to assess the prediction accuracy of the model for unknown data.

2.6. Experimental Design

This study conducts model development and experimental validation based on historical operational data from an actual PV power plant. The dataset includes historical power generation as well as meteorological data such as solar radiation intensity, ambient temperature, humidity, wind speed, and cloud cover, with a temporal resolution of one hour. The overall technical route is shown in Figure 3 and consists of the following five main steps:
Figure 3. Technology Roadmap.
(1)
Data acquisition. Historical power generation data from the PV plant and synchronized meteorological observations are collected as the fundamental data source for model construction and validation.
(2)
Data analysis and processing. Outliers are corrected. PV power data during non-sunlight hours each day are set to zero, duplicate records are removed, and abrupt outliers are corrected. Samples containing missing values are removed, and only days with complete 24 h records are retained for subsequent modeling.
(3)
Feature selection based on the Pearson correlation coefficient method. Based on the initially constructed dataset, the correlation coefficient between each input feature and the output power is calculated. Parameters most correlated with PV output are identified through the correlation coefficient values to construct an optimal feature subset.
(4)
Sensitivity analysis and feature selection based on the active subspace method. Based on the initial dataset, gradient information of each input feature with respect to the output power is calculated. The gradient covariance matrix is constructed and subjected to eigenvalue decomposition to identify the key directions in the input space that are most sensitive to changes in PV output, and the sensitivity weight of each feature is quantitatively evaluated. According to the sensitivity indicators, key features that significantly affect PV output are selected, features with low sensitivity are discarded, and an optimal feature subset is constructed.
(5)
CNN-LSTM model construction and training. The full set of input features, the optimal feature subset selected by the Pearson correlation coefficient method, and the optimal feature subset selected by the active subspace method are each normalized to eliminate the influence of dimensional differences among features on model training. Three sets of CNN-LSTM hybrid forecasting models are then constructed. The structures of the three models are consistent, using the same hyperparameter settings and training strategies. The CNN layer is responsible for extracting local spatial features within the input time window, and the LSTM layer captures temporal dependencies.
(6)
Result comparison. The models are compared and analyzed from multiple perspectives, including R2, convergence speed (training epochs at which validation loss stabilizes), and degree of overfitting (gap between training loss and validation loss), to evaluate the improvement in model performance brought by the active subspace method.

3. Results

3.1. Baseline Model Construction

A CNN-LSTM model based on all input features is first constructed. Data from 14 January 2025 to 31 July 2025 are used as the training set, and data from 8.1 to 8.15 are used as the test set. The sliding window method is adopted to construct supervised learning samples.
The loss curves of the model on the training and validation sets are shown in Figure 4. It can be observed that the training loss continuously decreases and tends to converge, but the validation loss exhibits some fluctuations in the later stage of training. The gap between the validation loss and the training loss gradually widens after approximately 30 epochs, indicating overfitting. This phenomenon is partly related to the structural complexity of the deep learning model and partly reflects that some input features may introduce noise or redundant information.
Figure 4. Training and Validation Loss Curves without Feature Parameter Selection.
Taking the prediction results of 7 August 2025, which was a clear-sky day, as an example, a comparison between the model’s predictions on the test set and the actual power curves is shown in Figure 5. The horizontal axis represents time, and the vertical axis represents PV power. The orange solid line indicates the true values, and the blue solid line indicates the predicted values. It can be seen that the model can reasonably capture the diurnal trend of PV output. However, obvious deviations remain in certain periods, and the overall predicted values differ from the true values, failing to accurately capture power fluctuations.
Figure 5. Comparison of Predicted and Actual Curves without Feature Parameter Selection. (a) 1# PV Station; (b) 2# PV Station; (c) 3# PV Station; (d) 4# PV Station.
The results indicate that although the CNN-LSTM model with all 12 input features can reasonably fit the overall trend of PV output, it exhibits clear signs of overfitting, and its prediction accuracy needs improvement. Based on this, this study further introduces sensitivity analysis methods for feature selection to remove redundant features, reduce interference, and improve model prediction accuracy.

3.2. Linear Sensitivity Analysis and Model Optimization

Firstly, the Pearson correlation coefficient method is used for linear sensitivity analysis to calculate the linear correlation coefficients between each meteorological feature and PV power output. The Pearson correlation coefficient is a classic statistical indicator for measuring the degree of linear correlation between two variables, with values between [−1, 1]; an absolute value closer to 1 indicates stronger correlation.
The calculation results are shown in Figure 6. It can be seen that radiation-related features such as total solar radiation, direct radiation, and scattered radiation have the highest correlations with PV power. Features such as 2 m temperature and relative humidity show moderate correlations, while features such as air pressure, total cloud cover, and precipitation have relatively low correlations. Based on the analysis results and referring to common practices in similar studies, this study retains the top eight features with the highest correlation coefficients to form a feature subset for subsequent model training [25].
Figure 6. Pearson Correlation Coefficient Calculation Results.
Based on the feature subset selected by linear sensitivity analysis, the CNN-LSTM model is reconstructed and retrained, with the model structure and hyperparameter settings kept consistent with the baseline model. Figure 7 shows the loss curves of the optimized model on the training and validation sets. Compared with Figure 4, the fluctuation amplitude of the validation loss is reduced, and the gap between the training loss and the validation loss is narrowed, indicating that feature selection alleviates overfitting to some extent.
Figure 7. Training and Validation Loss Curves after Linear Sensitivity Analysis and Feature Selection.
Taking the prediction results for the same day as in Figure 5 as an example, Figure 8 shows the comparison between the predictions of the optimized model on the test set and the actual power curves. Compared with Figure 5, the prediction accuracy in some periods is improved, but overall, there is no significant improvement in prediction accuracy compared with Figure 5, and certain deviations remain during full-sunshine periods.
Figure 8. Comparison of Predicted and Actual Curves after Linear Sensitivity Analysis and Feature Selection. (a) 1# PV Station; (b) 2# PV Station; (c) 3# PV Station; (d) 4# PV Station.

3.3. Global Sensitivity Analysis and Model Optimization

The Pearson correlation coefficient method can only capture linear relationships between features and the target, and fails to identify complex coupling effects. To address this issue, the active subspace method is introduced for global sensitivity analysis. Global sensitivity analysis covers the entire parameter space, considering not only the individual effects of single parameters but also the influence of interactions among parameters on the output. The active subspace method identifies the directions in the input space that are most sensitive to changes in model output response through linear space transformation, obtaining global sensitivity information of parameters at a relatively low computational cost and providing a theoretical basis for feature selection.
The sensitivity calculation results of the active subspace method are shown in Figure 9. The horizontal axis represents the input feature variables, and the vertical axis represents the normalized sensitivity index. It can be seen that various radiation components (total solar radiation, direct radiation, and scattered radiation) have the highest sensitivity indices, making them the most core factors affecting PV output, which is consistent with the basic physical mechanism of PV power generation. In addition, parameters such as time, 2 m temperature, air pressure, and total cloud cover also exhibit high sensitivity, while features such as relative humidity, 10 m wind direction, and precipitation have low sensitivity. Referring to the number of feature parameters retained in linear sensitivity analysis and based on the global sensitivity analysis results, this study discards features with low sensitivity indices and retains eight key features—total solar radiation, direct radiation, scattered radiation, time, 2 m temperature, 10 m wind speed, air pressure, and total cloud cover—to form the optimal feature subset for subsequent model training.
Figure 9. Active Subspace Calculation Results. (a) 1# PV Station; (b) 2# PV Station; (c) 3# PV Station; (d) 4# PV Station.
Based on the newly established optimal feature subset, the CNN-LSTM model is reconstructed and retrained, with the model structure and hyperparameter settings kept consistent with the baseline model to exclude the influence of model architecture differences on experimental results. Figure 10 shows the loss curves of the optimized model on the training and validation sets. The fluctuation amplitude of the validation loss is significantly reduced, and the gap between the training loss and the validation loss is substantially narrowed, indicating that the degree of overfitting is effectively alleviated. Meanwhile, the convergence speed is improved compared with that before optimization, indicating that feature selection reduces the learning burden of the model and enables the model to focus more on learning key features.
Figure 10. Training and Validation Loss Curves after Global Sensitivity Analysis and Feature Selection.
Figure 11 shows the comparison between the predictions of the optimized model on the test set and the actual power curves. Compared with Figure 5 and Figure 8, the prediction accuracy of the optimized model is significantly improved, and the predicted curves are much more closely aligned with the actual curves. This demonstrates that the global sensitivity analysis based on the active subspace method can effectively identify key features that significantly influence PV output and consider the impact of interactions among features on the output, thereby enhancing the model’s ability to capture PV output fluctuations.
Figure 11. Comparison of Predicted and Actual Curves after Global Sensitivity Analysis and Feature Selection. (a) 1# PV Station; (b) 2# PV Station; (c) 3# PV Station; (d) 4# PV Station.

3.4. Analysis of Optimization Effects

To quantitatively evaluate the impact of sensitivity analysis and feature selection on model forecasting performance, the R2 and RMSE on the test set for the baseline model, the Pearson correlation coefficient-based selection model, and the active subspace-based selection model are compared, as shown in Table 3. After feature selection using the active subspace method, the prediction accuracy improves significantly at all four monitoring points, with the largest improvement of 7.43% observed at 4# PV Station in terms of R2 (among them, the improvement rate can be calculated by Improvement (%) = (R2_after − R2_before)/R2_before × 100%). Without feature selection, the average R2 across the four stations is 0.8769. Pearson-based selection yields an average R2 of 0.8646, slightly lower than the no-selection scheme. In contrast, the active subspace-based selection achieves an average R2 of 0.9341, representing an increase of 6.52% over no selection and 8.04% over Pearson-based selection. Correspondingly, the RMSE values are substantially reduced under the active subspace scheme, confirming that the selected features lead to more accurate and stable predictions.
Table 3. Comparison of optimization effects of CNN-LSTM model.
To further validate the effectiveness and generalizability of the proposed feature selection strategy, we applied the same three feature selection schemes to two additional baseline models: a standalone CNN and a standalone LSTM. As shown in Table 4, for the CNN model, the active subspace-based selection consistently improves R2 across all stations compared with no selection (e.g., from 0.9369 to 0.9546 at 1# station), while Pearson-based selection is slightly lower than the no-selection scheme. Similarly, for the LSTM model (Table 5), the active subspace method dramatically enhances prediction accuracy, with R2 increasing from 0.9207 to 0.9761 at 1# station. Notably, Pearson-based selection performs poorly on the LSTM model, even degrading R2 substantially at some stations (e.g., from 0.9207 to 0.5637 at 1# station), suggesting that linear screening may discard features that are linearly weak but nonlinearly influential, which are critical for LSTM’s sequential learning.
Table 4. Comparison of optimization effects of CNN model.
Table 5. Comparison of optimization effects of LSTM model.
The active subspace-based global sensitivity analysis effectively identifies and eliminates redundant features, allowing the model to focus on key drivers. The optimized model exhibits higher prediction accuracy at all monitoring points, demonstrating the generalization ability and stability of the method across different PV power generation units. Meanwhile, the dimensionality reduction of the feature space effectively alleviates the overfitting problem present in the baseline model and improves the prediction accuracy of the model on unseen data.
It is worth noting that the Pearson correlation coefficient method performs slightly worse than the no-selection scheme in this study. The reason may be that the Pearson correlation coefficient method can only capture linear relationships between single features and the target, which may discard some features that contain important complex coupling effect information, thereby leading to degraded model performance. In contrast, the active subspace method evaluates global sensitivity via gradient information, capturing feature interactions and demonstrating clear advantages in feature selection. Meanwhile, the additional computational overhead introduced by the active subspace-based feature selection is minimal, as the gradient calculation and eigenvalue decomposition are performed offline during the feature screening stage. Once the key features are identified, the model complexity during online deployment is reduced due to the lower input dimensionality. This makes the proposed method suitable for real-time PV power forecasting applications in practical industrial settings.

4. Discussion and Conclusions

To address model overfitting and reduced prediction accuracy caused by redundancy in multidimensional input features for PV power forecasting, this study comparatively investigates the effects of three feature selection schemes, no selection, Pearson correlation coefficient-based selection, and active subspace-based selection, on a CNN-LSTM PV power forecasting model. The main conclusions are as follows.
(1)
The baseline CNN-LSTM model based on all 12 input features exhibits obvious overfitting, with the validation loss fluctuating in the later stage of training and the predicted curves being relatively smooth. The average R2 is 0.8769 (RMSE: 134.2 kW). Directly using all meteorological features for modeling not only increases computational burden of the model but also introduces redundant information and noise, thereby limiting the improvement of model performance.
(2)
The linear sensitivity analysis method based on the Pearson correlation coefficient can effectively identify a single feature that is strongly linearly correlated with PV output, but cannot assess coupling or interactions among parameters. The experimental results show that after feature selection using the Pearson correlation coefficient method, the average R2 of the model is 0.8646 (RMSE: 140.7 kW), slightly lower than the no-selection scheme. This decline is even more pronounced when applied to the standalone LSTM model, where the average R2 drops substantially from 0.8782 to 0.5703 (RMSE increases from 131.9 kW to 264.7 kW). These results indicate linear screening is inadequate for PV forecasting with complex coupling relationships.
(3)
The active subspace-based global sensitivity analysis quantitatively evaluates each feature’s global sensitivity across the entire parameter space by computing gradients of the model output with respect to input parameters, effectively capturing complex couplings and interactions among features. The sensitivity analysis results consistently identify radiation-related features—total solar radiation, direct radiation, and scattered radiation—as having the highest sensitivity indices, confirming them as the most critical factors affecting PV output across all model architectures.
(4)
Active subspace-based feature selection suppresses overfitting and accelerates convergence across all three architectures. For the CNN-LSTM model, the validation loss curve fluctuations are significantly reduced, convergence accelerates, and the average R2 reaches 0.9341 (RMSE: 83.6 kW), representing improvements of 6.52% over no selection and 8.04% over Pearson-based selection in terms of R2. Similar improvements are observed for the standalone CNN model (average R2 from 0.8799 to 0.9049) and the standalone LSTM model (average R2 from 0.8782 to 0.9313), demonstrating that the proposed active subspace-based feature selection is model-agnostic and consistently enhances prediction accuracy regardless of the underlying network architecture.
In summary, the active subspace method, as a global sensitivity analysis technique, comprehensively assesses the influence of each input feature on PV output, overcoming the limitation of traditional linear sensitivity analysis that fails to capture parameter interactions. It provides an efficient and interpretable feature engineering tool for PV forecasting and performs consistently across different model architectures.
Despite the promising results, several limitations of this study should be acknowledged. The model was developed using a single-site, short-term dataset, limiting generalizability. The Gaussian smoothing may suppress cloud-induced fluctuations. While validated on CNN, LSTM, and CNN-LSTM, comparison with state-of-the-art forecasting models is not included. Additionally, the use of 24 h forecast meteorological data may contain minor deviations from actual observed conditions. Future work will focus on the following aspects: (1) validating the proposed method on additional PV sites across different climate zones and seasons to assess its robustness and generalizability; (2) investigating the impact of different smoothing strategies on forecast accuracy; (3) conducting a more extensive comparative study with a broader set of baseline models, including Transformer-based and attention-based networks; and (4) refining the model by incorporating on-site meteorological observations obtained through the deployment of micro-meteorological instruments to further improve prediction accuracy.

Author Contributions

Conceptualization, J.C. (Jianan Chen); methodology, J.C. (Jianan Chen); software, J.C. (Jianan Chen); validation, X.S. and Z.J.; formal analysis, J.C. (Jianan Chen); investigation, J.C. (Jianan Chen); resources, J.C. (Jianzhong Cui); data curation, J.C. (Jianan Chen); writing—original draft preparation, J.C. (Jianan Chen); writing—review and editing, J.C. (Jianan Chen); visualization, J.C. (Jianan Chen); supervision, Q.W. and J.S.; project administration, Q.W. and J.S.; funding acquisition, Q.W., J.S. and J.C. (Jianzhong Cui). All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Oil & Gas Major Project of China, grant number 2025ZD1406900, and its sub-project, grant number 2025ZD1406900. The APC was funded by the same project.

Data Availability Statement

Restrictions apply to the availability of these data. The data that support the findings of this study are available from the corresponding author upon reasonable request, subject to permission from the data provider.

Conflicts of Interest

Jianan Chen, Quanli Wei, Junshu Song, Jianzhong Cui, Xiaohui Sun, and Zhenghua Jiang were employed by the company Sinopec Shengli Oilfield Company.

References

  1. Antonanzas, J.; Osorio, N.; Escobar, R.; Urraca, R.; Martinez-De-Pison, F.J.; Antonanzas-Torres, F. Review of Photovoltaic Power Forecasting. Sol. Energy 2016, 136, 78–111. [Google Scholar] [CrossRef] [Scilit]
  2. Kim, J.C.; Huh, J.H.; Ko, J.S. Improvement of MPPT Control Performance Using Fuzzy Control and VGPI in the PV System for Micro Grid. Sustainability 2019, 11, 5891. [Google Scholar] [CrossRef] [Scilit]
  3. Eseye, A.T.; Zhang, J.; Zheng, D. Short-Term Photovoltaic Solar Power Forecasting Using a Hybrid Wavelet-PSO-SVM Model Based on SCADA and Meteorological Information. Renew. Energy 2018, 118, 357–367. [Google Scholar] [CrossRef] [Scilit]
  4. Wang, H.; Yi, H.; Peng, J.; Wang, G.; Liu, Y.; Jiang, H.; Liu, W. Deterministic and Probabilistic Forecasting of Photovoltaic Power Based on Deep Convolutional Neural Network. Energy Convers. Manag. 2017, 153, 409–422. [Google Scholar] [CrossRef] [Scilit]
  5. Rettger, P.; Keshner, M.; Pligavko, K.A.; Moore, J.; Littmann, W.B. Dynamic Management of Power Production in a Power System Subject to Weather-Related Factors. U.S. Patent 2010/0198420 A, 5 August 2010. [Google Scholar]
  6. Qing, X.; Niu, Y. Hourly Day-Ahead Solar Irradiance Prediction Using Weather Forecasts by LSTM. Energy 2018, 148, 461–468. [Google Scholar] [CrossRef] [Scilit]
  7. Pelland, S.; Remund, J.; Kleissl, J.; Oozeki, T.; De Brabandere, K. Photovoltaic and Solar Forecasting: State of the Art; IEA PVPS: Paris, France, 2013; Volume 14. [Google Scholar]
  8. Pedro, H.T.C.; Coimbra, C.F.M. Assessment of forecasting techniques for solar power production with no exogenous inputs. Sol. Energy 2012, 86, 2017–2028. [Google Scholar] [CrossRef] [Scilit]
  9. Cai, T.; Duan, S.; Chen, C. Forecasting Power Output for Grid-Connected Photovoltaic Power System without Using Solar Radiation Measurement. In Proceedings of the 2nd International Symposium on Power Electronics Distributed Generation Systems, Hefei, China, 16–18 June 2010; pp. 773–777. [Google Scholar]
  10. Sultana, N.; Tsutsumida, N. A review on data-driven methods for solar energy forecasting. Appl. Energy 2025, 400, 126631. [Google Scholar] [CrossRef] [Scilit]
  11. Dhaked, D.K.; Narayanan, V.L.; Gopal, R.; Sharma, O.; Bhattarai, S.; Dwivedy, S.K. Exploring deep learning methods for solar photovoltaic power output forecasting: A review. Renew. Energy Focus 2025, 53, 100682. [Google Scholar] [CrossRef] [Scilit]
  12. Ibrahim, M.S.; Gharghory, S.M.; Kamal, H.A. A hybrid model of CNN and LSTM autoencoder-based short-term PV power generation forecasting. Electr. Eng. 2024, 106, 4239–4255. [Google Scholar] [CrossRef] [Scilit]
  13. Diaba, S.Y.; Alola, A.A.; Simoes, M.G.; Elmusrati, M. Deep learning-based evaluation of photovoltaic power generation. Energy Rep. 2024, 12, 2077–2085. [Google Scholar] [CrossRef] [Scilit]
  14. Wang, R.; Liu, X.; Chang, Y.; Liu, D.; Yao, H. Short-term photovoltaic system output power prediction based on integrated deep learning algorithms in the clean energy sector. Int. J. e-Collab. (IJeC) 2024, 20, 1–15. [Google Scholar] [CrossRef] [Scilit]
  15. Vázquez Pombo, D.; Bindner, H.W.; Spataru, S.V.; Sørensen, P.E.; Bacher, P. Increasing the Accuracy of Hourly Multi-Output Solar Power Forecast with Physics-Informed Machine Learning. Sensors 2022, 22, 749. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  16. Hu, Z.; Gao, Y.; Ji, S.; Mae, M.; Imaizumi, T. Improved multistep ahead photovoltaic power prediction model based on LSTM and self-attention with weather forecast data. Appl. Energy 2024, 359, 122709. [Google Scholar] [CrossRef] [Scilit]
  17. Peng, K.; Tan, X.; Wang, Z.; Wu, Y.; Cai, Y. PV power prediction based on feature selection and GMM clustering. J. Phys. Conf. Ser. 2024, 2683, 012012. [Google Scholar] [CrossRef] [Scilit]
  18. Tang, J.; Yang, Y.O.; Yuan, S.; Cai, Z.; Jiang, Y.; Yang, Q.; Guo, Y. Day-ahead PV power prediction intervals based on physical sensitivity analysis and robust error decomposition. IET Renew. Power Gener. 2026, 20, e70217. [Google Scholar] [CrossRef] [Scilit]
  19. Constantine, P.G. Active Subspaces: Emerging Ideas for Dimension Reduction in Parameter Studies; Society for Industrial and Applied Mathematics: Philadelphia, PA, USA, 2015. [Google Scholar] [CrossRef] [Scilit]
  20. Brouwer, A.F.; Eisenberg, M.C. The underlying connections between identifiability, active subspaces, and parameter space dimension reduction. arXiv 2018, arXiv:1802.05641. [Google Scholar] [CrossRef] [Scilit]
  21. Khouili, O.; Hanine, M.; Louzazni, M.; Flores, M.A.L.; Villena, E.G.; Ashraf, I. Evaluating the impact of deep learning approaches on solar and photovoltaic power forecasting: A systematic review. Energy Strategy Rev. 2025, 59, 101735. [Google Scholar] [CrossRef] [Scilit]
  22. Korkmaz, D. Solarnet: A hybrid reliable model based on convolutional neural network and variational mode decomposition for hourly photovoltaic power forecasting. Appl. Energy 2021, 300, 117410. [Google Scholar] [CrossRef] [Scilit]
  23. Chandel, S.S.; Gupta, A.; Chandel, R.; Tajjour, S. Review of deep learning techniques for power generation prediction of industrial solar photovoltaic plants. Sol. Compass 2023, 8, 100061. [Google Scholar] [CrossRef] [Scilit]
  24. Bani, S.; Afonaa-Mensah, S.; Yahya, A.; Simango, D. Data-driven modeling of solar power output using a CNN–LSTM approach. Sustain. Energy Res. 2026, 13, 16. [Google Scholar] [CrossRef] [Scilit]
  25. Ali, W.; Akhtar, F.; Ullah, A.; Kim, W.Y. A hybrid ensemble learning framework for accurate photovoltaic power prediction. Energies 2026, 19, 453. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.