Abstract
New energy power generation has become the first choice for low-carbon reform in the energy industry due to its emission reduction characteristics and environmental friendliness. However, due to the fluctuating nature of renewable energy, sustaining consistent reliability and secure performance within the power network has become increasingly challenging. A novel ensemble prediction scheme for photovoltaic (PV) output is presented, leveraging multi-source environmental data fusion to enhance forecast precision. The relationship between environmental variables and PV generation is quantitatively assessed using Pearson’s correlation coefficient to isolate the most influential factors. Subsequently, the PV time-series data are decomposed via variational mode decomposition (VMD) to extract multi-scale dynamic patterns. The refined features are then utilized within a long short-term memory (LSTM) network, whose parameters are adaptively optimized by the zebra optimization algorithm (ZOA). Historical datasets comprising environmental observations and corresponding PV generation records from a representative power station serve as the empirical basis. Results reveal that the VMD-ZOA-LSTM framework achieves the lowest RMSE and MAE, reducing errors by over 50% relative to comparative models. Furthermore, its R2 metric outperforms that of the baseline LSTM and VMD-LSTM configurations by 2.05% and 1.19%, respectively, thereby substantiating the efficiency and validity of the proposed modeling strategy.
1. Introduction
Photovoltaic (PV) generation, representing the forefront of China’s renewable energy transition, plays a central role in advancing the national dual-carbon initiative, which aims to reach peak carbon emissions by 2030 and attain net-zero emissions by 2060. In alignment with this vision, China’s State Council has successively promulgated top-level policy frameworks—such as the Comprehensive Guidelines for Implementing the New Development Concept on Carbon Peaking and Neutrality and the 2030 Carbon Peaking Action Plan—underscoring PV energy’s strategic importance within the evolving energy landscape, and encouraging its expansion to progressively displace coal-fired generation [1,2]. Among all renewable energy options, solar power is viewed as the most scalable candidate to satisfy future electricity demand, attributable to its vast resource potential and simplified energy-conversion pathway [3,4].
As the principal technological pathway for harnessing solar energy, photovoltaic (PV) generation has expanded dramatically. Over the last decade, China has continuously added more than 30 GW of PV capacity annually, and by 2022, its cumulative installation reached 392 GW—equivalent to 37% of global PV capacity. PV technology is projected to serve as a cornerstone of the future electric power supply system [5]. Nonetheless, unlike the dispatchable and steady generation of fossil-based systems, PV output is profoundly shaped by external meteorological factors [6], exhibiting marked intermittency and randomness [7,8], which pose challenges to maintaining grid reliability and operational security [9,10]. A large body of research has addressed this challenge. Gökmen et al. [11] identified wind speed as a determining factor through analytical modeling and experimental verification. Wang et al. [12] employed empirical data to determine that temperature exerts the greatest influence on efficiency. Jo et al. [13] examined environmental determinants of PV generation—such as solar irradiance, ambient temperature, and ground heat—and assessed how these variables modulate output efficiency across seasons. Nakamoto and Eguchi [14] analyzed long-term station records, revealing that irradiance and temperature dominate power variability, emphasizing the importance of constructing plants in favorable climates to improve generation reliability and energy stability. Collectively, these findings confirm that PV output is tightly coupled with atmospheric conditions. Consequently, to enhance prediction precision, environmental influences must be systematically incorporated into forecasting models.
The output of photovoltaic (PV) installations exhibits pronounced temporal variability driven by atmospheric dynamics. Ensuring effective utilization of PV resources within energy scheduling frameworks demands precise short-term forecasting tools. In recent years, researchers [15,16] have progressively integrated three methodological paradigms—physical simulation, statistical analysis, and machine learning—into PV output prediction. Following the methodologies proposed in previous studies [17,18], physical models reconstruct the conversion process within PV modules using meteorological drivers such as irradiance, temperature, and geographic position to approximate system behavior. Wolff et al. [19] employed numerical weather prediction outputs and cloud displacement vectors derived from global horizontal irradiance and ambient temperature to model site-specific and regional PV generation over forecast windows ranging from 15 min to 5 h. Mughal et al. [20] introduced a terrain-adaptive, physics-based framework for wind-speed estimation in complex landscapes. However, the physical method mainly depends on weather conditions, requiring detailed input data [21] and many parameters, which makes it expensive. It is not universal for regional research and has certain limitations. Subsequent developments have emphasized statistical learning models, including regression-based formulations [22] and autoregressive structures such as ARIMA and SARIMA [23], which remain widely used for short-horizon prediction, though their long-term accuracy degrades with time.
The long short-term memory (LSTM) architecture offers a distinct advantage in capturing persistent temporal dependencies within sequential datasets, making it a dominant framework for time-series forecasting [24]. Wang et al. [25] established a hybrid convolutional–recurrent structure (CNN-LSTM), where extending the temporal input window markedly improved predictive capability, yielding state-of-the-art accuracy. Feng et al. [26] introduced a spatiotemporal fusion method combining a conserved-element solver with LSTM enhancement to optimize data preprocessing, feature extraction, and subsequence forecasting. Similarly, Tovar et al. [27] implemented a CNN-LSTM configuration for photovoltaic (PV) output prediction, wherein the LSTM component captured sequential dynamics, resulting in high-fidelity forecasts. Tang et al. [28] proposed a hybrid model of the attention-based convolutional neural network and long short-term memory (AT-CNN-LSTM), which uses parameter transfer to make up for the lack of data and accelerate the training speed of the model to improve the prediction results. Cumulative empirical evidence underscores the LSTM’s efficacy in managing extended temporal dependencies; therefore, it serves as the principal forecasting mechanism adopted in this work.
The inherent intermittency and randomness of photovoltaic (PV) generation impose stringent demands on forecasting precision. Achieving equilibrium between PV output and system load, while preserving grid reliability and operational safety, requires advance prediction within a 1–48 h horizon. Existing studies reveal that hybridized machine-learning-based forecasting frameworks can effectively leverage prior data and that the incorporation of environmental variables further augments model accuracy. Accordingly, this research focuses on environmental determinants of PV output, employing variational mode decomposition (VMD) to extract temporal features across multiple scales. Secondly, the Zebra Optimization Algorithm (ZOA) is used to optimize the LSTM network parameters to further improve the prediction accuracy. The overall research framework of this study is illustrated in Figure 1.
Figure 1.
Technical roadmap of the proposed study.
2. Multivariate Environmental Factors Analysis
Fluctuations in environmental conditions constitute the principal external source of uncertainty in photovoltaic (PV) power output [29], leading to reduced reliability and stability in power system operations. Influential environmental variables include irradiance intensity, ambient temperature, humidity, and atmospheric pressure. Incorporating all of these parameters as model inputs increases computational complexity and can compromise prediction precision. Consequently, selecting environmental features exhibiting high statistical dependence with PV output is fundamental to ensuring robust predictive performance.
To quantify this relationship, the Pearson correlation coefficient (PCC) was adopted as a statistical measure of linear dependence, calculated as follows:
Within the above formulation, corresponds to the examined variable, quantifies the covariance term, whereas and indicate the standard deviations associated with each variable, and represents the mean component. In an analogous calculation, can be determined, and signifies the total number of observational records considered.
The evaluation criteria for absolute PCC values are outlined in Table 1, distinguishing five levels of correlation intensity: very weak, weak, moderate, strong, and extremely strong.
Table 1.
Correlation coefficient degrees of strong and weak standard deviations.
3. Hybrid Prediction Method
3.1. VMD
The power of PV power generation is greatly affected by environmental factors and presents a series of unstable characteristics. To mitigate these fluctuations and reveal intrinsic temporal features, variational mode decomposition (VMD) is adopted to separate the signal into multiple components representing different frequency scales.
Through the VMD process, the PV power sequence is decomposed into finite-bandwidth modes (), each characterized by a central frequency (), and the aggregate of all modes reconstructs the original PV sequence. The procedure involves the following main steps:
- (1)
- Establishing the variational formulation:
The analytic form of each mode () is derived through the Hilbert transform, which relocates the spectral content to the baseband frequency domain, as represented by Equation (2):
Here, denotes the Dirac impulse function, is the imaginary constant, represents the decomposed modal component, and indicates the central frequency of the respective mode.
The signal is demodulated by Gaussian smoothing, and the square norm of the demodulation gradient is calculated to obtain the modal component bandwidth. The optimization objective minimizes the sum of the estimated bandwidths of all modes uk(t), subject to the constraint that their sum equals the original signal f. The constrained variational model is as follows:
Within this formulation, indicates the partial-derivative term.
To achieve an optimal unconstrained solution, a Lagrangian multiplier () together with a quadratic penalty factor () are incorporated, thereby transforming the constrained framework into an unconstrained variational formulation, as defined in Equation (4).
Here, refers to the source signal sequence.
- (2)
- Resolution of the variational expression:
Variables and are iteratively optimized via the alternating direction multiplier approach (ADMM), as expressed in Equations (5) and (6).
3.2. LSTM Prediction Algorithm Based on ZOA Optimization
The Zebra Optimization Algorithm (ZOA) tackles parameter optimization by achieving an adaptive balance between global exploration and local exploitation throughout the search process. When compared to alternative metaheuristic approaches—such as particle swarm optimization—ZOA generally provides superior performance in both accuracy and convergence efficiency [30]. Consequently, to maximize the predictive effectiveness of the LSTM-based forecasting framework, ZOA is applied to adaptively optimize the model’s hyperparameters and network topology.
3.2.1. ZOA
In the population initialization phase, the candidate solution matrix is defined as follows:
where represents the complete group of individuals considered in the optimization process, indicates the parameter value corresponding to the -th variable of the -th candidate, E denotes the total population count, and F signifies the dimensional scope of the optimization domain.
At the initial optimization stage, the update mechanism for individual positions within the population is mathematically defined as follows:
Within this expression, corresponds to the updated positional state of the -th individual at the first stage, designates its value along the -th dimension, and signifies its evaluated fitness or objective value. denotes the pioneer zebra, serving as the leading entity in the population, while represents its -dimensional coordinate. indicates a random parameter drawn from the range , and expresses a secondary random component, where is sampled from the interval .
In the subsequent stage of the ZOA framework, the defensive phase is represented by the mathematical expression:
The updated positional dynamics of each individual are described as follows:
In this context, corresponds to the revised state vector of the -th individual during the defense stage, and specifies the value of its -th dimension. denotes the objective or fitness value recalculated after the positional adjustment, indicates the iteration index (contour level), and marks the predefined maximum iteration count. The constant R is fixed at 0.01, while denotes the probabilistic parameter controlling defense-strategy selection, sampled randomly within the interval [0, 1]. Furthermore, designates the configuration of the attacked individual, and represents its -th dimensional component. The term “AZ” denotes the Attacked Zebra, i.e., the individual selected for defensive response based on the attack–defense mechanism. The “state of the attacked individual” refers to its position vector prior to the defense adjustment, which is updated using the defensive strategy to enhance population robustness and maintain diversity during optimization.
3.2.2. LSTM Neural Network
Figure 2 depicts the architectural schematic of the long short-term memory (LSTM) model. Serving as a refined evolution of recurrent neural networks (RNNs), the LSTM introduces a specialized structure to alleviate gradient decay and effectively capture extended temporal correlations in sequential data. It comprises a set of adaptive memory cells that determine when information should be retained, modified, or output. The computational flow within each unit progresses through four interconnected stages: forget gate, input gate, cell-state adjustment, and output generation.
Figure 2.
LSTM structure figure.
3.3. A Combined Prediction Model Based on VMD-ZOA-LSTM
3.3.1. Combination Forecasting Process
The schematic of the complete prediction pipeline is presented in Figure 3. The sequential operations are as follows:
Figure 3.
VMD-ZOA-LSTM combined prediction overall flowchart.
- (1)
- Load input data, including historical environmental attributes and PV generation records.
- (2)
- Employ variational mode decomposition (VMD) to break down the raw PV sequence into K intrinsic mode functions.
- (3)
- Construct the hybrid dataset by merging the K IMFs with relevant environmental parameters, which are then provided to the LSTM network optimized via the Zebra Optimization Algorithm (ZOA).
- (4)
- Generate predictions for all K decomposed components, then combine and reconstruct them to yield the final PV power prediction curve.
- (5)
- Apply the trained model on the validation or test dataset to obtain the predicted PV power trajectory.
- (6)
- The results are analyzed and compared using the evaluation indicators, including the mean absolute error (MAE), root mean square error (RMSE), and the coefficient of determination (R2).
3.3.2. Performance Evaluation Indicators
To ensure that the developed model delivers accurate and practically meaningful predictions, a set of statistical performance metrics is employed to evaluate its predictive capability.
The mean absolute error (MAE) measures the mean of the absolute discrepancies between predicted outputs and observed measurements. It is formulated as follows:
Here, denotes the total sample size, represents the observed (true) dataset, and corresponds to the predicted dataset.
The root mean square error (RMSE) quantifies the degree of deviation between forecasts and actual observations, functioning as the standard deviation of residuals. Its mathematical representation is as follows:
The coefficient of determination (R2) expresses the proportion of variance in the dependent variable (Y) that can be explained by the independent variable (X). It is defined as follows:
where SSE is the sum of squared errors between the predicted and actual values, and SST is the total sum of squares, representing the total variance of the actual data relative to its mean.
3.3.3. LSTM Hyperparameter Optimization via the Zebra Optimization Algorithm
The LSTM’s performance depends on several critical hyperparameters: input/output neuron counts, hidden layer architecture, learning rate, and maximum training iterations. The input and output dimensions are determined by the structure of the PV dataset—input features and target outputs—while the model employs a single hidden layer due to its integration with VMD preprocessing. The hidden neuron count governs network representational capacity, and both the iteration cap and learning rate require systematic tuning to achieve rapid yet stable convergence.
To accomplish this, the Zebra Optimization Algorithm (ZOA) is utilized to automatically search for optimal LSTM parameters, maximizing its forecasting precision. The entire optimization scheme, illustrated in Figure 4, unfolds as follows:
Figure 4.
ZOA optimized the LSTM model flowchart.
- (1)
- Initialization phase: Establish the ZOA configuration, including population size, iteration limit, and initial position matrix for each zebra.
- (2)
- Network construction: Build the LSTM with provisional parameters—hidden-layer count, neuron number, learning rate, and training iterations—derived from the current population.
- (3)
- Fitness assessment: Run the network on the training dataset, compute the predictive error, and assign it as the fitness score.
- (4)
- Iterative optimization. In the first stage, the position of each individual is updated to generate a new population. In the second stage, the defense strategy is applied, where each zebra updates its position relative to the attacked zebra (AZ). This mechanism simulates the collective defensive behavior of zebras under threat, allowing individuals to adjust their movement direction and amplitude adaptively. It enhances the algorithm’s global exploration ability, prevents premature convergence, and maintains population diversity. The optimization process is repeated until the termination condition is met—that is, when either the maximum number of iterations (n = 50, determined from preliminary tuning experiments) is reached or the change in root mean square error (ΔRMSE) between two consecutive iterations is less than 1 × 10−4, indicating convergence.
- (5)
- Final parameter application: The best hyperparameter set obtained through ZOA optimization is transferred to the LSTM for final PV power forecasting.
In this study, the population size of the ZOA was set to 30, and the maximum number of iterations (n) was set to 50. These values were determined based on preliminary tuning experiments and previous optimization studies [31,32], which showed that this configuration provides a good trade-off between convergence speed and prediction accuracy. Increasing the population or iterations beyond these values yielded negligible performance improvement while significantly increasing computation time.
In this study, the initial range of the parameter R in the ZOA was determined based on previous optimization studies [33], which indicate that moderate values of R help maintain stability and prevent premature convergence. These references provided the basis for selecting the preliminary range of R used in this work. The specific value was then determined through parameter tuning experiments to achieve an optimal balance between convergence speed and prediction accuracy.
4. Experimental Case Analysis
A photovoltaic power station with a total installed capacity of 80 MW was selected for this study. The experimental data include PV power generation and multiple environmental influencing factors collected in 2022. The PV power sampling interval is 5 min, consistent with that of the environmental data. A total of 5000 data samples are used for analysis, with the ratio of the training set to the testing set being 0.7 and 0.3, respectively.
4.1. Analysis of Correlation Results
The correlation between component temperature, ambient temperature, air pressure, air humidity, irradiance, wind speed, and actual power was analyzed. Finally, the correlation coefficient between meteorological characteristics and actual power was obtained, as shown in Figure 5.
Figure 5.
Heat figure of environmental factors and power correlation coefficients.
From Figure 5, it can be observed that solar irradiance maintains the strongest statistical connection with the generated PV power (r = 0.88). The temperature of the PV module also shows a significant positive association (r = 0.601), which is more pronounced than that of ambient temperature (r = 0.439). In contrast, air humidity exhibits a negative influence on output (r = −0.3), while both wind speed and barometric pressure have only slight correlations, measured at 0.273 and 0.144, respectively. Based on the Pearson correlation evaluation, the environmental variables with the most substantial impact—irradiance, module temperature, humidity, and wind speed—are selected as primary meteorological inputs for the predictive modeling process.
4.2. Analysis of VMD Results
4.2.1. ZOA Optimizes LSTM Model
The value range of the decomposition modulus K starts from 2, increasing by 1 each time. The optimal K value is determined based on the stability of the center frequency of the last modal component. As shown in Table 2, when K > 4, the last component becomes stable; therefore, K = 5 was selected. In addition, the penalty factor (α) in the VMD model was set to 2500, which controls the smoothness of the decomposed modes, and the tolerance (tol) is set to 1 × 10−7, serving as the convergence criterion for the iterative decomposition. These parameters were chosen based on previous research results and pre-experimental verification, ensuring a balance between decomposition accuracy and computational efficiency. The parameter settings are consistent with the recommendations of [34], which verified that α values between 2000 and 3000 and tol around 1 × 10−7 can achieve stable convergence in photovoltaic power signal decomposition.
Table 2.
The center frequency values of modal components under different K values.
To determine appropriate parameter settings for the ZOA, a series of preliminary experiments was conducted with different population sizes and iteration numbers. Table 3 presents the RMSE results of the prediction model under varying configurations. As shown, increasing the population or iteration count beyond certain thresholds leads to marginal accuracy improvement but significantly higher computation cost. Therefore, the population size of 30 and the maximum number of iterations of 50 were selected as optimal values, balancing accuracy and efficiency.
Table 3.
Parameter tuning results of the ZOA.
To determine an appropriate value of R for the ZOA, a parameter sensitivity experiment was conducted under fixed conditions (population size = 30, maximum iterations = 50). Each configuration was independently tested three times under the same hardware environment, and the computation time reported in Table 4 represents the average of these runs. Minor variations in runtime were caused by system fluctuations. The stopping criterion for all tests was either ΔRMSE < 1 × 10−4 or reaching the maximum iteration number (n = 50). Table 4 presents the prediction performance and computation time under different R values.
Table 4.
Parameter tuning results of the ZOA (R value sensitivity analysis).
As shown, excessively small R values result in slow convergence and longer computation times, while overly large R values lead to unstable optimization behavior and reduced prediction accuracy. The results indicate that R = 0.01 achieves the best balance between convergence speed, stability, and accuracy. Therefore, R = 0.01 was selected as the optimal configuration for the ZOA in this study.
According to previous studies on photovoltaic power forecasting [35,36] and other energy forecasting applications based on LSTM models [36], the learning rate (η), number of hidden units (h), and number of training epochs (E) are identified as the key hyperparameters influencing the prediction accuracy and convergence stability of LSTM models. Therefore, these three parameters were selected as the optimization objectives of the ZOA, while the batch size was fixed at 64 to maintain stable training. Their initial ranges were determined based on the parameter configurations reported in the above literature: η ∈ [0.001, 0.01], h ∈ [32, 64], and E = 50.
4.2.2. Analysis of Decomposition Results
The variational mode decomposition (VMD) yields five intrinsic mode functions (IMFs) from the original PV time series, as displayed in Figure 6. The lower-order modes (IMF1–IMF2) evolve gradually and represent the baseline diurnal evolution of solar power production. The middle-frequency modes (IMF3–IMF4) manifest pronounced oscillatory patterns, suggesting the presence of short-term cyclic variations related to solar irradiance dynamics. The highest-frequency mode (IMF5) exhibits irregular and abrupt fluctuations, reflecting the random disturbances inherent in PV generation due to changing meteorological conditions. Collectively, these decomposed modes demonstrate clear differentiation across temporal scales. The non-overlapping spectral distributions further validate that VMD effectively disentangles the complex PV power signal into independent and physically interpretable components.
Figure 6.
Graphs of modal components obtained by VMD decomposition.
4.3. Cross-Weather Performance Comparison
In view of the fluctuation characteristics of photovoltaic power under different seasonal and weather conditions, this study selects relevant data to conduct a comparative analysis of the prediction performance of the VMD-ZOA-LSTM model, and evaluates the model under two weather types—clear-sky and non-clear-sky days—to verify its generalization capability and prediction accuracy under varying environmental conditions.
4.3.1. Model Performance Under Clear-Sky and Non-Clear-Sky Conditions
A total of 1500 time-series samples were examined, categorized into clear and cloudy conditions based on irradiance variation patterns.
- (1)
- Analysis of clear sky days
The predictive outcomes for clear-sky days are illustrated in Figure 7a. Under stable irradiance, the observed PV generation profile remains relatively consistent throughout the day. All three models are capable of reconstructing the general trend; however, discrepancies emerge in peak and trough intervals. In the low-output phase, both VMD-LSTM and VMD-ZOA-LSTM show close agreement with measured data, while the standalone LSTM yields larger prediction errors. During high-output peaks, the order of fitting precision is VMD-ZOA-LSTM > VMD-LSTM > LSTM. The basic and VMD-enhanced LSTM models produce smoother curves that fail to capture sharp fluctuations, whereas the ZOA-optimized version responds dynamically to rapid irradiance changes. Across the full diurnal cycle, VMD-ZOA-LSTM consistently achieves the smallest deviation from actual power output, underscoring its effectiveness in modeling PV power under stable meteorological conditions.
Figure 7.
Prediction results and error curves of three models under different weather conditions.
Figure 7b depicts the residual profiles derived from the difference between predicted and measured PV generation. The LSTM and VMD-LSTM models display irregular and large-magnitude deviations, reflecting weaker predictive stability. Conversely, the ZOA-enhanced VMD-LSTM model exhibits a highly constrained error range, signifying marked improvements in both robustness and accuracy.
- (2)
- Analysis of a non-sunny day scenario
Under non-clear-sky circumstances—as illustrated in Figure 7c—the PV output demonstrates frequent high-frequency oscillations and significant amplitude variability, driven by transient irradiance and cloud cover changes. Although all tested models capture the overall generation tendency, their ability to follow rapid fluctuations differs substantially. The VMD-ZOA-LSTM shows the highest fidelity to actual dynamics, maintaining accurate phase alignment and closely matching the observed power curve. The comparative ranking of overall predictive performance remains VMD-ZOA-LSTM > VMD-LSTM > LSTM.
The error analysis (Figure 7d) reveals that while the LSTM and VMD-LSTM models produce highly scattered residuals, the proposed VMD-ZOA-LSTM achieves minimal and uniform error dispersion. This highlights its superior adaptability to unstable weather patterns and its capability to generate more precise short-term PV output estimations.
4.3.2. Performance Evaluation and Quantitative Analysis
The quantitative comparison of model performance under varying meteorological conditions is reported in Table 5. Regardless of weather type, the VMD-ZOA-LSTM achieves the most accurate predictions, as reflected by the minimum RMSE and MAE values and the highest coefficient of determination (R2). Under clear-sky scenarios, the proposed approach outperforms the baseline models significantly, with RMSE reductions of 65.20% and 58.80% and MAE reductions of 60.37% and 57.93% relative to LSTM and VMD-LSTM, respectively. The R2 coefficient is also enhanced by 2.05% and 1.19%. During non-clear-sky conditions, RMSE decreases by 58.16% and 51.54%, while MAE decreases by 63.50% and 55.48%, accompanied by R2 improvements of 4.12% and 2.23%. These findings underscore that the VMD-ZOA-LSTM not only delivers superior fitting precision but also preserves robustness and adaptability in the presence of fluctuating irradiance.
Table 5.
Performance evaluation metrics of the three models under different weather conditions.
By incorporating variational mode decomposition, the model effectively decomposes the multi-scale features of the photovoltaic power generation sequence, demonstrating outstanding performance under different weather conditions. For instance, in non-clear or cloudy conditions where sunlight fluctuates frequently, VMD is able to separate high-frequency fluctuations from low-frequency trends, capturing both the rapid short-term changes and the long-term stable generation trends. In cloudy weather, where photovoltaic power output often exhibits intense short-term fluctuations, VMD extracts these high-frequency modes, assisting the LSTM model in recognizing and modeling such short-term variations, thereby reducing the impact of noise. The Zebra Optimization Algorithm (ZOA), through global search and dynamic optimization, enables the LSTM model to flexibly adjust its parameters in response to real-time weather changes. Particularly in situations where clear skies suddenly shift to cloudy or there are short periods of rainfall, ZOA can rapidly respond to these changes, ensuring the model maintains high prediction accuracy. For example, during summer rainstorms, where sunlight intensity may drop sharply, ZOA optimizes the LSTM network’s parameters to adapt to such abrupt fluctuations, thereby minimizing prediction errors. The combination of VMD and ZOA creates a synergistic effect in multi-source fusion: the clean, decomposed, and layered data from VMD serves as the input to the LSTM model, while ZOA ensures adaptive optimization under complex weather conditions, greatly enhancing the model’s robustness and prediction accuracy in volatile weather. This synergy allows the VMD-ZOA-LSTM model to maintain consistently high prediction accuracy across varying irradiance and temperature conditions, demonstrating strong robustness and adaptability under both stable and rapidly changing weather environments.
5. Conclusions
In this paper, a photovoltaic power prediction method for an electric vehicle charging station based on multi-environmental information fusion is proposed. Historical environmental factors, such as solar irradiance, component temperature, air humidity, and wind speed, were selected as model inputs, and a hybrid prediction framework combining variational mode decomposition, Zebra Optimization Algorithm, and long short-term memory networks was constructed. The main conclusions are as follows:
- (1)
- By applying the VMD algorithm, the PV power generation sequence was decomposed into multiple intrinsic mode functions, effectively separating high-frequency fluctuations from low-frequency trends. This decomposition enhanced feature representation, reduced noise interference, and improved the stability of the prediction process.
- (2)
- The ZOA was employed to optimize the parameters of the LSTM model, including the number of hidden neurons, learning rate, and iteration count. Through adaptive global search, ZOA improved model convergence and prediction accuracy, while preventing local minima and overfitting.
- (3)
- Experimental results demonstrate that the proposed VMD-ZOA-LSTM hybrid model achieves the smallest RMSE and MAE and the highest R2 among all comparison models. The overall prediction errors were reduced by more than 50%, and the model showed strong robustness and generalization capability under both clear-sky and non-clear-sky conditions, verifying the effectiveness of the proposed approach.
In future work, we will extend the proposed model by incorporating additional environmental variables such as cloud coverage and atmospheric pressure, and by applying it to datasets from multiple regions and seasons to validate its generalization performance. Moreover, the model’s high prediction accuracy demonstrates its practical value for photovoltaic-powered EV charging stations, enabling optimized energy storage dispatch, rational charging scheduling, and reduced dependence on grid electricity during peak hours. These improvements contribute to lower operational costs, better renewable energy utilization, and enhanced system stability, making the model suitable for integration into real-time energy management and vehicle-to-grid (V2G) applications.
Author Contributions
Conceptualization, Z.Q. and H.W.; methodology, Z.Q., H.W. and X.D.; software, Z.Q. and X.D.; validation, H.W. and X.D.; formal analysis, Z.Q. and X.D.; investigation, H.W. and Y.Z.; resources, Y.Z. and X.W.; data curation, H.W. and X.D.; writing—original draft preparation, Z.Q. and H.W.; writing—review and editing, Y.Z. and X.W.; visualization, X.D.; supervision, Y.Z. and X.W.; project administration, Y.Z.; funding acquisition, Y.Z. and X.W. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Key Science and Technology Project of the Transportation Industry, titled ‘Research on Enhancing the Openness of Expressways and Promoting Industrial Integration in the Era of New Infrastructure’, under Project No. 2021-MS7-163.
Data Availability Statement
The data presented in this study are available upon request from the corresponding author.
Conflicts of Interest
Zixiu Qin, Hai Wei and Xiaoning Deng were employed by Guangxi New Development Transportation Group Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
References
- Fan, T.H.; Ren, Y.J.; Chapman, A. Unveiling the carbon neutrality pathways of compact cities: A simulation-based scenario analysis from China. Humanit. Soc. Sci. Commun. 2025, 12, 1–21. [Google Scholar] [CrossRef] [Scilit]
- Zhou, B.H.; Huang, Y.; Su, H.; Wang, J.S. Mechanism conflicts: Carbon reduction pathways and optimization in China’s Big Data Policy. Humanit. Soc. Sci. Commun. 2025, 12, 1–15. [Google Scholar] [CrossRef] [Scilit]
- Zhao, F.Q.; Bai, F.L.; Liu, X.L.; Liu, Z.W. A Review on Renewable Energy Transition under China’s Carbon Neutrality Target. Sustainability 2022, 14, 15006. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.J.; Wang, R.; Tanaka, K.; Ciais, P.; Penuelas, J.; Balkanski, Y.; Sardans, J.; Hauglustaine, D.; Liu, W.; Xing, X.F.; et al. Accelerating the energy transition towards photovoltaic and wind in China. Nature 2023, 619, 761–767. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Iheanetu, K.J. Solar Photovoltaic Power Forecasting: A Review. Sustainability 2022, 14, 17005. [Google Scholar] [CrossRef] [Scilit]
- Gürtürk, M.; Benli, H.; Ertürk, N.K. Effects of different parameters on energy—Exergy and power conversion efficiency of PV modules. Renew. Sustain. Energy Rev. 2018, 92, 426–439. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.Y.; Xu, X.Y.; Bao, D.R.; Rasakhodzhaev, B.; Jobir, A.; Chang, C.; Zhao, M.Z. Research on Hydrogen Production System Technology Based on Photovoltaic-Photothermal Coupling Electrolyzer. Energies 2023, 16, 7982. [Google Scholar] [CrossRef] [Scilit]
- Li, Z.X.; Rahman, S.M.M.; Vega, R.; Dong, B. A Hierarchical Approach Using Machine Learning Methods in Solar Photovoltaic Energy Production Forecasting. Energies 2016, 9, 55. [Google Scholar] [CrossRef] [Scilit]
- Knobloch, F.; Hanssen, S.V.; Lam, A.; Pollitt, H.; Salas, P.; Chewpreecha, U.; Huijbregts, M.A.J.; Mercure, J.F. Net emission reductions from electric cars and heat pumps in 59 world regions over time. Nat. Sustain. 2020, 3, 437–447. [Google Scholar] [CrossRef] [Scilit]
- Saldaña, G.; San Martin, J.I.; Zamora, I.; Asensio, F.J.; Oñederra, O. Electric Vehicle into the Grid: Charging Methodologies Aimed at Providing Ancillary Services Considering Battery Degradation. Energies 2019, 12, 2443. [Google Scholar] [CrossRef] [Scilit]
- Gökmen, N.; Hu, W.H.; Hou, P.; Chen, Z.; Sera, D.; Spataru, S. Investigation of wind speed cooling effect on PV panels in windy locations. Renew. Energy 2016, 90, 283–290. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.H.; Li, Y.; Wang, K.; Huang, Z.M. Environment-adjusted operational performance evaluation of solar photovoltaic power plants: A three stage efficiency analysis. Renew. Sustain. Energy Rev. 2017, 76, 1153–1162. [Google Scholar] [CrossRef] [Scilit]
- Jo, H.H.; Kim, J.; Kim, S. Enhancing the power generation performance of photovoltaic system: Impact of environmental and system factors. Appl. Therm. Eng. 2024, 240, 122221. [Google Scholar] [CrossRef] [Scilit]
- Nakamoto, Y.; Eguchi, S. How do seasonal and technical factors affect generation efficiency of photovoltaic power plants? Renew. Sustain. Energy Rev. 2024, 199, 114441. [Google Scholar] [CrossRef] [Scilit]
- Yang, D.Z.; Kleissl, J.; Gueymard, C.A.; Pedro, H.T.C.; Coimbra, C.F.M. History and trends in solar irradiance and PV power forecasting: A preliminary assessment and review using text mining. Sol. Energy 2018, 168, 60–101. [Google Scholar] [CrossRef] [Scilit]
- Wang, H.Z.; Yi, H.Y.; Peng, J.C.; Wang, G.B.; Liu, Y.T.; Jiang, H.; Liu, W.X. Deterministic and probabilistic forecasting of photovoltaic power based on deep convolutional neural network. Energy Convers. Manag. 2017, 153, 409–422. [Google Scholar] [CrossRef] [Scilit]
- Mayer, M.J.; Gróf, G. Extensive comparison of physical models for photovoltaic power forecasting. Appl. Energy 2021, 283, 116239. [Google Scholar] [CrossRef] [Scilit]
- Liu, Q.; Li, Y.L.; Jiang, H.; Chen, Y.L.; Zhang, J. Short-term photovoltaic power forecasting based on multiple mode decomposition and parallel bidirectional long short term combined with convolutional neural networks. Energy 2024, 286, 129580. [Google Scholar] [CrossRef] [Scilit]
- Wolff, B.; Kühnert, J.; Lorenz, E.; Kramer, O.; Heinemann, D. Comparing support vector regression for PV power forecasting to a physical modeling approach using measurement, numerical weather prediction, and cloud motion data. Sol. Energy 2016, 135, 197–208. [Google Scholar] [CrossRef] [Scilit]
- Mughal, M.O.; Lynch, M.; Yu, F.; McGann, B.; Jeanneret, F.; Sutton, J. Wind modelling, validation and sensitivity study using Weather Research and Forecasting model in complex terrain. Environ. Model. Softw. 2017, 90, 107–125. [Google Scholar] [CrossRef] [Scilit]
- Ahmed, R.; Sreeram, V.; Mishra, Y.; Arif, M.D. A review and evaluation of the state-of-the-art in PV solar power forecasting: Techniques and optimization. Renew. Sustain. Energy Rev. 2020, 124, 109792. [Google Scholar] [CrossRef] [Scilit]
- Wang, G.C.; Su, Y.; Shu, L.J. One-day-ahead daily power forecasting of photovoltaic systems based on partial functional linear regression models. Renew. Energy 2016, 96, 469–478. [Google Scholar] [CrossRef] [Scilit]
- Nobre, A.M.; Severiano, C.A.; Karthik, S.; Kubis, M.; Zhao, L.; Martins, F.R.; Pereira, E.B.; Rüther, R.; Reindl, T. PV power conversion and short-term forecasting in a tropical, densely-built environment in Singapore. Renew. Energy 2016, 94, 496–509. [Google Scholar] [CrossRef] [Scilit]
- Hu, Z.H.; Gao, Y.; Ji, S.Y.; 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]
- Wang, K.J.; Qi, X.X.; Liu, H.D. A comparison of day-ahead photovoltaic power forecasting models based on deep learning neural network. Appl. Energy 2019, 251, 113315. [Google Scholar] [CrossRef] [Scilit]
- Yin, W.S.; Han, Y.T.; Zhou, H.; Ma, M.; Li, L.; Zhu, H.L. A novel non-iterative correction method for short-term photovoltaic power forecasting. Renew. Energy 2020, 159, 23–32. [Google Scholar] [CrossRef] [Scilit]
- Tovar, M.; Robles, M.; Rashid, F. PV Power Prediction, Using CNN-LSTM Hybrid Neural Network Model. Case of Study: Temixco-Morelos, Mexico. Energies 2020, 13, 6512. [Google Scholar] [CrossRef] [Scilit]
- Tang, Y.G.; Yang, K.; Zhang, S.J.; Zhang, Z. Photovoltaic power forecasting: A hybrid deep learning model incorporating transfer learning strategy. Renew. Sustain. Energy Rev. 2022, 162, 112473. [Google Scholar] [CrossRef] [Scilit]
- Raza, M.Q.; Nadarajah, M.; Ekanayake, C. On recent advances in PV output power forecast. Sol. Energy 2016, 136, 125–144. [Google Scholar] [CrossRef] [Scilit]
- Trojovska, E.; Dehghani, M.; Trojovsky, P. Zebra Optimization Algorithm: A New Bio-Inspired Optimization Algorithm for Solving Optimization Algorithm. IEEE Access 2022, 10, 49445–49473. [Google Scholar] [CrossRef] [Scilit]
- Mumtahina, U.; Alahakoon, S.; Wolfs, P. Hyperparameter Tuning of Load-Forecasting Models Using Metaheuristic Optimization Algorithms-A Systematic Review. Mathematics 2024, 12, 3353. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.G.; Li, W.P.; Chen, H.R.; Ma, Y.C.; Yu, B.B.; Yu, Y.D. Short-Term Photovoltaic Power Forecasting Based on an Improved Zebra Optimization Algorithm-Stochastic Configuration Network. Sensors 2025, 25, 3378. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Mohapatra, S.; Mohapatra, P. American zebra optimization algorithm for global optimization problems. Sci. Rep. 2023, 13, 5211. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Li, H.P.; Xu, B.; Zhou, F.X.; Yan, B.K.; Zhou, F.Q. Empirical Variational Mode Decomposition Based on Binary Tree Algorithm. Sensors 2022, 22, 4961. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Pacella, M.; Papa, A.; Papadia, G. On Integrating Time-Series Modeling with Long Short-Term Memory and Bayesian Optimization: A Comparative Analysis for Photovoltaic Power Forecasting. Appl. Sci. 2024, 14, 3217. [Google Scholar] [CrossRef] [Scilit]
- Bolboaca, R.; Haller, P. Performance Analysis of Long Short-Term Memory Predictive Neural Networks on Time Series Data. Mathematics 2023, 11, 1432. [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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.






