[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Next Article in Journal
A Single-Output-Filter Double Dual Ćuk Converter
Previous Article in Journal
Adaptive Multi-Criteria Selection for Efficient Resource Allocation in Frugal Heterogeneous Hadoop Clusters
You seem to have javascript disabled. Please note that many of the page functionalities won't work as expected without javascript enabled.
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Improved Variational Mode Decomposition-Temporal Convolutional Network-Gated Recurrent Unit with Multi-Head Attention Mechanism for Enhanced Photovoltaic Power Forecasting

1
Faculty of Electrical and Control Engineering, Liaoning Technical University, Huludao 125105, China
2
Institute of Intelligence Science and Engineering, Shenzhen Polytechnic University, Shenzhen 518055, China
*
Author to whom correspondence should be addressed.
Electronics 2024, 13(10), 1837; https://doi.org/10.3390/electronics13101837
Submission received: 8 April 2024 / Revised: 2 May 2024 / Accepted: 7 May 2024 / Published: 9 May 2024
(This article belongs to the Topic Advances in Power Science and Technology)
Figure 1
<p>Structure diagram of dilated causal convolution network.</p> ">
Figure 2
<p>TCN residual unit structure diagram.</p> ">
Figure 3
<p>Structure diagram of GRU.</p> ">
Figure 4
<p>Diagram of multi-head attention GRU.</p> ">
Figure 5
<p>The framework of improved TCN-GRU network forecasting.</p> ">
Figure 6
<p>The flowchart of IVMD-SSA-TCN-GRU photovoltaic power forecasting.</p> ">
Figure 7
<p>Envelope entropy iteration process. (<b>a</b>) Envelope entropy on sunny days. (<b>b</b>) Envelope entropy on cloudy days. (<b>c</b>) Envelope entropy on rainy days.</p> ">
Figure 8
<p>Photovoltaic power in IVMD decomposition. (<b>a</b>) Photovoltaic power IVMD decomposition on sunny days. (<b>b</b>) Photovoltaic power IVMD decomposition on cloudy days. (<b>c</b>) Photovoltaic power IVMD decomposition on rainy days.</p> ">
Figure 8 Cont.
<p>Photovoltaic power in IVMD decomposition. (<b>a</b>) Photovoltaic power IVMD decomposition on sunny days. (<b>b</b>) Photovoltaic power IVMD decomposition on cloudy days. (<b>c</b>) Photovoltaic power IVMD decomposition on rainy days.</p> ">
Figure 9
<p>IVMD-TCN-GRU forecasting results. (<b>a</b>) Comparison diagram on sunny days. (<b>b</b>) Comparison diagram on cloudy days. (<b>c</b>) Comparison diagram on rainy days.</p> ">
Figure 10
<p>Comparison of photovoltaic power forecasting on sunny days. (<b>a</b>) The iteration of SSA-TCN-GRU on sunny days. (<b>b</b>) Photovoltaic power forecasting on sunny days. (<b>c</b>) The forecasting error on sunny days.</p> ">
Figure 11
<p>Comparison of photovoltaic power forecasting in cloudy days. (<b>a</b>) The iteration of SSA-TCN-GRU in cloudy days. (<b>b</b>) Photovoltaic power forecasting on cloudy days. (<b>c</b>) The forecasting error on cloudy days.</p> ">
Figure 12
<p>Comparison of photovoltaic power forecasting on rainy days. (<b>a</b>) The iteration of SSA-TCN-GRU on rainy days. (<b>b</b>) Photovoltaic power forecasting on rainy days. (<b>c</b>) The forecasting error in rainy days.</p> ">
Review Reports Versions Notes

Abstract

:
Photovoltaic (PV) power forecasting plays a crucial role in optimizing renewable energy integration into the grid, necessitating accurate predictions to mitigate the inherent variability of solar energy generation. We propose a novel forecasting model that combines improved variational mode decomposition (IVMD) with the temporal convolutional network-gated recurrent unit (TCN-GRU) architecture, enriched with a multi-head attention mechanism. By focusing on four key environmental factors influencing PV output, the proposed IVMD-TCN-GRU framework targets a significant research gap in renewable energy forecasting methodologies. Initially, leveraging the sparrow search algorithm (SSA), we optimize the parameters of VMD, including the mode component K-value and penalty factor, based on the minimum envelope entropy principle. The optimized VMD then decomposes PV power, while the TCN-GRU model harnesses TCN’s proficiency in learning local temporal features and GRU’s capability in rapidly modeling sequence data, while leveraging multi-head attention to better utilize the global correlation information within sequence data. Through this design, the model adeptly captures the correlations within time series data, demonstrating superior performance in prediction tasks. Subsequently, the SSA is employed to optimize GRU parameters, and the decomposed PV power mode components and environmental feature attributes are inputted into the TCN-GRU neural network. This facilitates dynamic temporal modeling of multivariate feature sequences. Finally, the predicted values of each component are summed to realize PV power forecasting. Validation using real data from a PV station corroborates that the novel model demonstrates a substantial reduction in RMSE and MAE of up to 55.1% and 54.5%, respectively, particularly evident in instances of pronounced photovoltaic power fluctuations during inclement weather conditions. The proposed method exhibits marked improvements in accuracy compared to traditional PV power prediction methods, underscoring its significance in enhancing forecasting precision and ensuring the secure scheduling and stable operation of power systems.

1. Introduction

As fossil energy is restricted by resource reserves and environmental problems, it has become a consensus of global development to vigorously develop and efficiently utilize renewable energy [1,2]. Because of data released by the national energy administration, for solar power generation in China, the installed capacity is about 650 million kilowatts as of the end of February 2024—a year-on-year increase of 56.9%. In the future, the proportion of new energy installations will continue to increase, and the photovoltaic and other new energy industries will need to develop rapidly. It not only provides strong guarantees for energy security but also injects new impetus into economic growth and the achievement of carbon peaking and carbon neutrality goals.
However, photovoltaic power is distinguished by its unpredictability and instability, posing significant disruptions to the regular functioning of extensive grid-connected solar photovoltaic systems and presenting considerable hurdles to the power grid’s quality and stability [3,4,5]. This fluctuation or intermittency is caused by several factors, i.e., humidity, air pressure, irradiance, and temperature. When the meteorological factors change, large power fluctuations at the power supply side are produced in the power system, bringing operation risks to the active power balance and frequency regulation and affecting the economy of the power system [6,7,8]. Thus, to alleviate the problem, accurate prediction of PV power as the key technology is present. Meanwhile, it supplies guidance for unit commitment, thereby reducing the power generation cost and strengthening the competitiveness of photovoltaic energy in the electricity market. Hence, reliable photovoltaic forecasting technology of the power system is crucial for the economical and safe operation and photovoltaic field management.
Currently, numerous studied on photovoltaic power forecasting have been carried out, and the forecasting approaches have been presented as time series [9,10,11], neural networks [12,13,14], support vector machines [15,16], Markov chain [17,18] and a combination of corresponding methods [19,20,21]. As the scale of power plants continues to expand, the amount of data produced by power plants has also exploded. In fact, due to the quantity and quality of the source data of power plants, the traditional neural network photovoltaic power forecasting model is restricted by not considering environmental factors [22], thereby lacking reasonable utilization of complex sequence information. In addition, considering the nonlinear change in photovoltaic power and multiple environment sequence information, the convergence rate of the model slows down and overfitting appears with the increase in network input variables [23,24,25]. At the same time, the accuracy of photovoltaic power forecasting is also affected by time-varying factors [26,27]. Therefore, to guarantee the feasibility of photovoltaic power forecasting, it is beneficial to fully analyze the impact of environmental factors on the modeling of photovoltaic power forecasting. Moreover, the long short-term memory (LSTM) network, as referenced in the literature [28,29], represents a type of deep neural network. Within the framework of deep learning models, the LSTM network stands out for its exceptional proficiency in addressing issues related to time series forecasting, attributable to its distinctive architectural design. But, the LSTM architecture is characterized by a higher parameter count compared to the GRU architecture. Specifically, LSTM incorporates a greater number of gating units and parameters, resulting in increased model complexity and computational demands. This elevated parameterization in LSTM models may consequently lead to escalated training and inference costs. GRU has been identified as a well-suited solution for managing and predicting the challenges associated with extended time intervals and temporal delays within time series data. Its efficacy in addressing such issues has led to widespread adoption across various industrial processes. In addition, time series modeling has been studied and explored in terms of photovoltaic power forecasting [30]. However, GRU network performance is greatly affected by parameters, and whether the model parameters are reasonable has a great influence on the forecasting results [31,32].
Moreover, due to some random factors such as weather, there are many uncertainties in the actual photovoltaic sequence. In addition, the photovoltaic power has non-stationary and nonlinear characteristics, and a single forecasting model is insufficient to satisfy forecasting accuracy requirements. The hybrid forecasting model with a decomposition algorithm effectively reduces the original photovoltaic sequence characteristics and has better forecasting performance. There are familiar decomposition approaches which include the variational mode, empirical mode [33], and wavelet decomposition [34]. Nevertheless, the selection of base functions and thresholds is depended on the WD effect. EMD and its derived methods lack a mathematical theoretical foundation due to endpoint effects. VMD can effectively suppress noise and is regarded as the most effective decomposition technique. Nevertheless, intrinsic mode functions (IMFs) and the number of modes of VMD have a remarkable effect on the decomposition effect.
The above methods provide inspiration and motivation for the proposed forecasting strategy in this paper. However, the actual photovoltaic power is greatly interfered by the external environment and has the characteristics of instability and obvious intermittent fluctuation [35,36]. In addition, there are differences in photovoltaic power forecasting models under different environments, and a single model cannot meet the actual production needs. Moreover, the forecasting accuracy is directly affected by whether the selection of forecasting model parameter is reasonable. Therefore, a novel hierarchical VMD-TCN-GRU multi-head attention mechanism for photovoltaic power forecasting is present in this paper. The main innovation points of this article are as follows:
(1)
To decompose photovoltaic power, the variational mode decomposition method is used. Meanwhile, the optimal mode and penalty factor are searched based on the minimum envelope entropy to enhance the adaptability of the variational mode decomposition algorithm.
(2)
Different TCN-GRU models are constructed for different PV modal components decomposed via the improved variational mode decomposition algorithm, and the main environmental factors, for example, atmospheric pressure, air temperature, solar irradiance, and component temperature, are considered as TCN-GRU model inputs.
(3)
According to the SSA, the hidden layer neural element number, training frequency, and learning rate parameters that have a significant impact on network performance were optimized. The forecasting results under multiple photovoltaic modes are integrated to obtain better photovoltaic power forecasting. Finally, for the proposed forecasting strategy, the photovoltaic power of the actual power plant is applied to illustrate the feasibility.
The remaining parts of this article include Section 2, which is dedicated to the detailed exposition of the methodology employed in our study, elucidating the theoretical framework and computational techniques utilized in our research investigation. Section 3 comprehensively describes the simulation results derived from the application of the proposed methodology, presenting empirical data and analysis to support our research findings. In Section 4, a rigorous discussion is conducted to evaluate and interpret the significance of the obtained results, thereby validating the rationality of our research approach and its implications for the field of study. Finally, the conclusions drawn from our research endeavor are summarized in Section 5, encapsulating the key findings, implications, and potential avenues for future research exploration.

2. Materials and Methods

2.1. TCN Network

The TCN represents a convolutional neural network architecture tailored for addressing time-series problems, integrating dilated causal convolution (DCC) and residual connection (RC) mechanisms. This architecture effectively captures the interdependencies between data points, facilitating subsequent predictions.
Dilated convolution, a key component of TCN, expands the receptive field by selectively skipping portions of the input. By adjusting the dilation factor, dilated convolution modulates the size of the receptive field, enabling the network to flexibly control the historical information incorporated into the output. In the context of one-dimensional sequential data x R n and filters f : { 0 , 1 , , k 1 } R , the convolutional kernel, characterized by filter coefficients k and dilation factor d, extends the receptive field. The operation of dilated convolution is expressed as follows:
F ( x ) = i = 0 k 1 f ( i ) x s d i
where d denotes the dilation factor; s d i represents historical data in the input sequence; and k stands for the filter coefficient [37].
The dilated causal convolution, as illustrated in Figure 1, reveals that the receptive field size of a point Y t in the output sequence is modulated via k and d. Importantly, the output at a given point is influenced solely by the preceding historical data. The TCN architecture employed in this study utilizes dilated causal convolutions with dilation factors d set to 1, 2, 4, and 8 and a filter coefficient k of 3, as depicted in Figure 2. By flexibly adjusting the receptive field, the model comprehensively considers temporal features within the power data. Tailoring the memory length of output nodes based on varying input time scales effectively addresses the issue of historical data neglect observed in traditional methods. This adaptability proves advantageous, particularly in the context of short-term photovoltaic forecasting.
The residual connection has been demonstrated as an effective approach in training deep neural networks, enabling the network to propagate information across layers. The construction of a residual block to replace a single convolutional layer is depicted in the following Figure 2. A residual block comprises two convolutional layers and nonlinear mapping, with WeightNorm and Dropout incorporated at each layer for network regularization.

2.2. TCN-GRU

The traditional GRU network architecture represents a specialized form of recurrent neural network (RNN) models, offering an optimized alternative based on the LSTM network structure. While maintaining comparable network accuracy, the GRU achieves simplification of unit complexity by adjusting the structures of the input gate, forget gate, and output gate within the LSTM computational framework. Notably, the integration of the LSTM forget gate and input gate into a unified update gate contributes to a reduction in the model’s learning and training duration, enhancing overall computational efficiency. In the GRU unit structure, the reset gate regulates the proportion of historical moment memory values entering the output gate, while the update gate determines the quantity of retained historical moment memory information, thereby governing the state update of the hidden layer. The unit structure is illustrated in Figure 3. This optimization in unit architecture exemplifies the GRU’s ability to streamline computational complexity while preserving the essential memory dynamics, showcasing its potential for expedited learning and improved operational efficiency compared to conventional LSTM models.
The expressions for each gate function are as follows:
r t = σ ( U r h t 1 + W r x t + b r ) ,
z t = σ ( U z h t 1 + W z x t + b z ) ,
h ^ t = tanh [ W h x t + U h ( r t h t 1 ) + b h ] ,
h t = ( 1 z t ) h t 1 + z t h ^ t 1
where h t 1 represents the model’s output at the previous time step; x t denotes the input at time t; σ ( ) signifies the activation function, typically modeled as the sigmoid function; r t and z t denote the reset gate and update gate, respectively; h t signifies the state output of the model at time t; W and U represent weight matrices; tanh denotes the hyperbolic tangent function; ⊙ represents the Hadamard product between two matrices; and b signifies the bias terms for each input [38].
In the temporal convolutional network, the application of DCC allows TCN to possess a larger receptive field with fewer layers, enabling it to process longer historical data. The DCC utilizes an activation function and undergoes weight normalization and regularization operations. Meanwhile, the RC ensures stability in TCN by employing skip connections from the input to the output, especially in deeper TCN architectures.
The gated recurrent unit, distinct from traditional RNNs, introduces changes to the hidden layer architecture, incorporating memory cells, an update gate, and related gates. GRU determines when to update memory cells with candidate values through the update gate. Compared to one-dimensional convolutional neural networks (CNNs), TCN, due to its use of DCC and RC, can process longer historical data with increased stability. Therefore, TCN is selected for high-dimensional feature extraction from input data. For time series prediction, GRU demonstrates performance almost equivalent to LSTM but with faster training speeds, justifying its selection for sequence prediction tasks. In summary, this paper proposes a PV power prediction framework, VMD-TCN-GRU, based on VMD and incorporating TCN and GRU components. The workflow involves initial data preprocessing steps such as data cleaning and standardization, followed by the application of VMD decomposition to the processed data. Subsequently, the individual VMD modes are input into TCN residual blocks for high-dimensional feature extraction. Finally, the output from the TCN residual blocks is fed into the GRU network for prediction, yielding the final forecast results.

2.3. Multi Head Attention Mechanism

While the GRU demonstrates excellent performance in sequence prediction tasks, it is not immune to the issue of error accumulation. Photovoltaic power data, being continuous over time, are subject to considerable uncertainty due to external environmental factors and unforeseen events. The impact of abrupt data changes amplifies errors over multiple time steps during training, leading to suboptimal prediction outcomes. Attention mechanisms, capable of adaptively capturing global dependencies within the data, offer the advantage of focusing not only on the information at the current position in the sequence but also on information at other positions. However, attention mechanisms necessitate the computation of weight relationships between each sequence, leading to significant computational resource requirements, especially when dealing with long sequences.
To address these challenges, this paper introduces a novel structure called a multi-head attention gated recurrent unit (MAGRU), combining the strengths of GRU and multi-head attention mechanisms. The MAGRU structure is presented in Figure 4. In this approach, a sliding window is introduced at the position of the GRU output hidden state h t , aggregating the information from the preceding m time steps into a new sequence. Here, h denotes the dimensionality of the hidden state h t . Subsequently, multiple sets of learnable weight matrices W i Q , W i K , and W i V R h × d are introduced for each head, serving as Query, Key, and Value matrices, respectively, where i represents the group index, and d is the dimensionality of the attention mechanism. The calculations for the Query, Key, and Value matrices are formulated as follows [39]:
Q i = H W q , K i = H W k , V i = H W v
For each hidden state at time step t, use the Query, Key, and Value matrices to calculate its attention weight. The formula is as follows:
A t t e n t i o n i ( Q i , K i , V i ) = softmax ( Q i K i T d a ) V i
where d a is used to scale the size of the inner product and avoid the input of the softmax function being too large or too small [40]. Concatenate the output vectors of multiple attention heads to obtain matrix Z:
Z = c o n c a t ( A t t e n t i o n 1 , , A t t e n t i o n i ) .
Perform a linear transformation on matrix Z to obtain attention score output h a t t as follows:
h a t t = Z W R m × h
where W is a learnable weight matrix. h a t t will participate in training as the hidden state of the input for the next time step GRU [41].
Finally, the obtained output is passed on to a feedforward neural network FNN to adjust its dimension and obtain the temporal feature H T R Q × N × D of PV power data.

2.4. Forecasting Modeling Based on Improved TCN-GRU

Since the actual photovoltaic power system is characterized by instability and intermittent fluctuations, to guarantee the precision and feasibility for photovoltaic power forecasting, an improved TCN-GRU network forecasting framework is proposed, as shown in Figure 5. Firstly, the photovoltaic power is decomposed using VMD, and the penalty factor and decomposition mode number of VMD are determined according to the minimum envelope entropy principle. Subsequently, daily environmental data and photovoltaic power data are utilized as TCN-GRU network inputs. In addition, the TCN-GRU is established for photovoltaic power forecasting under different modal components, and the network parameters are optimized using the SSA algorithm. Finally, to obtain final photovoltaic power forecasting, the forecasting results of the SSA-TCN-GRU model under different modal components are reconstructed.

2.5. Improved Variational Modal Decomposition

2.5.1. Preliminary of VMD

The original photovoltaic power sequence is decomposed to obtain the separation of stationary series and non-stationary series, reduce the randomness and non-stationary of photovoltaic power, and decrease the interference in the forecasting process. The VMD represents a variational approach rooted in the amalgamation of frequency mixing, Hilbert transform, and classical Wiener filter methodologies. Distinguished by its non-recursive nature and adaptive signal processing capabilities, VMD emerges as a robust method for addressing signal decomposition challenges. Thus, original photovoltaic power signal f ( t ) is decomposed through the VMD algorithm into k discrete photovoltaic power mode u k ( t ) , that is, the signal is decomposed into a limited number of mode components with different IMFs. Compared to empirical mode decomposition, the endpoint effects and modal aliasing problems are overcome using the VMD method.
The specific construction steps are present as follows:
  • For each mode function, through Hilbert transform, the analytic signal u k ( t ) is obtained to acquire its unilateral spectrum [ δ ( t ) + j π t ] u k ( t ) ;
  • The frequency spectrum for each mode u k ( t ) is modulated to the corresponding base band [ ( δ ( t ) + j π t ) u k ( t ) ] e j ω k t by mixing the exponential terms e j ω k t of its corresponding center frequency ω k ;
  • Through the Gaussian smoothness of the demodulation signal, for each mode signal, the bandwidth is estimated, and the constrained variational problem is obtained.
The extended Lagrange expression is as follows [42]:
{ min { u k } , { ω k } { k = 1 k t [ ( δ ( t ) + 1 π t ) u k ( t ) ] e j ω k t 2 2 } s . t . k u k = f .
By introducing Lagrange multiplication operator λ and quadratic penalty factor α , an augmented Lagrange expression is present whereby the constrained variation is converted to the unconstrained one, as follows:
L ( { u k } , { ω k } , λ ) = α k t [ ( δ ( t ) + j π t ) u k ( t ) ] e j ω k t 2 2 + f ( t ) k u u ( t ) 2 2 + λ ( t ) , f ( t ) k u k ( t ) .
The solution of each mode function is as follows:
u ^ k n + 1 ( ω ) = f ^ ( ω ) i k u ^ i ( ω ) + λ ^ ( ω ) 2 1 + 2 α ( ω ω k ) 2 .
The solution of the center frequency for each mode is as follows:
ω k n + 1 = 0 ω | u ^ k ( ω ) | 2 d ω 0 | u ^ k ( ω ) | 2 d ω .
λ is updated as follows:
λ ^ k n + 1 ( ω ) λ ^ n ( ω ) + τ ( f ^ ( ω ) k u ^ k n + 1 ( ω ) ) .
Determine whether the termination condition is met.
k u ^ k n + 1 u ^ k n 2 2 / u ^ k n 2 2 < ε .
The specific flow of the VMD algorithm is shown in Algorithm 1. Compared to EMD, VMD has a strict mathematical model and often has better robustness in dealing with noise. VMD not only effectively decomposes various harmonics but also does not consider the relative amplitude between harmonics and the distance between their respective center frequencies during mode separation. Moreover, the VMD method has high decomposition accuracy, fewer decomposition layers and no mode aliasing [43]. For photovoltaic power, it can be used as an effective means to accurately decompose the various frequency components, which is conducive to photovoltaic power forecasting under unstable and intermittent fluctuation conditions.
Algorithm 1 The process of the VMD algorithm.
Complete Optimization of VMD
Initialize { u ^ k 1 } , { ω k 1 } , { λ ^ k 1 } , n 0
Repeat
nn + 1
for k = 1: K do
Update u ^ k for all ω 0 :
u ^ k n + 1 ( ω ) f ^ ( ω ) i < k u ^ i n + 1 ( ω ) i > k u ^ i n ( ω ) + λ ^ n ( ω ) 2 1 + 2 α ( ω ω k n ) 2
Update ω k :
ω k n + 1 = 0 ω | u ^ k n + 1 ( ω ) | 2 d ω 0 | u ^ k n + 1 ( ω ) | 2 d ω
   end for
Dual ascent for all ω 0 :
λ ^ k n + 1 ( ω ) λ ^ n ( ω ) + τ ( f ^ ( ω ) k u ^ k n + 1 ( ω ) )
Until convergence: k u ^ k n + 1 u ^ k n 2 2 / u ^ k n 2 2 < ε

2.5.2. VMD with Minimum Envelope Entropy

In fact, decomposition mode number k has a certain degree of impact on the decomposition effect of VMD. Moreover, in multiple IMFs, mode overlap occurs when the same component appears if the k is big. On the contrary, in the same IMF, there are multiple components. So far, the empirical value has been used by most mode classification studies. To solve this problem, envelope entropy is introduced to search for the optimal mode number k and equilibrium factor, and an improved VMD is proposed. The detailed steps for IVMD are presented:
Step 1: Input the signal x ( i )   ( i = 1 , 2 , , N ) into IVMD model.
Step 2: Initialize parameters; let k = 2. In addition, IVMD is performed.
Step 3: Calculate the envelope entropy, which is represented as Equation (16), and determine whether it meets the condition of minimum envelope entropy under the condition of meeting the error limit.
{ E p = i = 1 N p i log p i p i = a ( i ) / i = 1 N a ( i )
where the entropy value of p i is the envelope entropy E p , and N is the number of sampling points. Decomposed using VMD after Hilbert demodulation, a ( i ) is the envelope signal of k mode components; p i is the probability distribution sequence [44].
Step 4: Stop decomposition and obtain k when the condition is reached. Otherwise, k = k + 1, until the condition is satisfied.

2.6. GRU Optimization Using SSA

The forecasting performance according to the GRU network is greatly affected by its parameters. To fully demonstrate the effectiveness of GRU, a GRU model is established for each mode component, respectively. In addition, the number of hidden layer neurons is optimized through the SSA, training times, and the learning rate for GRU network model parameters. The SSA originates from the anti-capture and foraging behavior.
(1)
The position X i , j t + 1 of the founder is updated as follows:
X i , j t + 1 = { X i , j t exp ( i / α i t e r max ) , R 2 < ST X i , j t + Q L , R 2 ST
where i t e r max represent the maximum number of iterations and t denotes the current iteration number. The position of the ith sparrow in dimension j is represented by X i , j t ; the range of j is { 1 , 2 , , d } . Additionally, S T [ 0.5 , 1 ] and R 2 [ 0 , 1 ] refer to the security threshold and alarm value, respectively. A random number α ( 0 , 1 ] is utilized in the algorithm, and L( 1 × d ) is a complete matrix with all elements equal to 1. A normally distributed random number, denoted as Q, signifies the absence of predators, prompting the finder to engage in wide-area search mode when the condition R 2 < S T is met. Conversely, if there is impending danger R 2 > S T , all sparrows swiftly relocate to alternative safe locations [45].
(2)
The position of the joiner sparrow is expressed as follows:
X i , j t + 1 = { Q exp ( ( X worst X i , j t ) / i 2 ) , i > n / 2 X p t + 1 + | X i , j t X p t + 1 | A + L , others
where X w o r s t denotes the global worst position, X p represents the optimal position of the current discoverer, and a 1xd matrix A is defined with elements randomly assigned 1 or −1: A + = A T ( A A T ) - 1 . The condition where i > n / 2 indicates that the participant with poor fitness is at a heightened risk of starvation [46].
(3)
Assuming that 10%–20% of the sparrow population perceives danger and promptly relocates to a safe area, the guard position X i , j t + 1 is determined as follows:
X i , j t + 1 = { X best t + β | X i , j t X best t | , f i > f g X i , j t + K ( | X i , j t X worst t | ( f i f w ) + ε ) , f i = f g
where β follows a normal distribution with mean 0 and variance 1, representing a random number for the step control parameter. Other variables include X b e s t as the global optimal position; K [ 1 , 1 ] as the step control parameter, denoting the direction of sparrow movement; f g as the global optimal fitness value; f i as the fitness value of individual sparrows at the current step; and f w as the global worst fitness value. To prevent division by zero, ε is introduced as a minimum constant. In addition, sparrows located at the edges of the population face increased vulnerability to predators when f i > f g . Conversely, sparrows positioned in the middle of the population effectively communicate the awareness of danger to other sparrows, thereby reducing the risk of predation under the condition f i = f g [47].
In the context of optimizing the parameters of a GRU using the SSA, a systematic procedure is outlined as follows:
Step 1: Initialization of parameters
The initial steps involve setting up the number of iterations, determining the ratio of predators within the population, and initializing the population size.
Step 2: Fitness evaluation and sorting
Subsequently, the fitness value of each individual sparrow is computed, and the population is sorted in descending order based on their fitness values.
Step 3: Update of discoverer’s location
The position of the discoverer, representing the sparrow with the optimal fitness value, is then updated according to the SSA algorithm.
Step 4: Update of joiner’s location
Similarly, the location of the joiner, denoting a sparrow seeking to improve its fitness by joining the discoverer, is adjusted based on the algorithm’s principles.
Step 5: Update of vigilant position
The vigilant position, indicating a sparrow aware of potential danger, is updated in accordance with the algorithm’s specifications.
Step 6: Fitness calculation and position update
The fitness value of the sparrows is recalculated, and their positions are updated iteratively to enhance the optimization process.
Step 7: If the stop conditions is met, the command output is displayed. Otherwise, repeat Step 2 to Step 6.

2.7. IVMD-SSA-TCN-GRU-Based Photovoltaic Power Forecasting Strategy

Since the intermittent fluctuation and instability characteristics for photovoltaic power, the photovoltaic power time series are firstly decomposed into different modes, and then a TCN-GRU model optimized using the SSA is established for each mode. Furthermore, the forecasting results for each mode are integrated to achieve power forecasting. Figure 6 presents the flowchart of the IVMD-SSA-TCN-GRU photovoltaic power forecast, and the specific forecasting steps are demonstrated as follows.
Step 1: Select the environment information as the model input.
Step 2: Use the IVMD method to decompose the original photovoltaic power sequence and obtain the k components.
Step 3: Firstly, set the parameter range (number of learning rate η, training times E, and hidden layer neurons H), search range of sparrow population size N, and maximum number of iterations M. Moreover, set the mean square error as an objective function for the optimization algorithm. Furthermore, set up the coupling model of SSA-TCN-GRU.
Step 4: Establish SSA-TCN-GRU forecasting models for each component and obtain k forecasting models.
Step 5: Add the corresponding forecasted values of k forecasting models to obtain the forecasting result of photovoltaic power.

3. Results

To illustrate the feasibility of the photovoltaic power forecasting strategy proposed for a photovoltaic power station in China, the historical photovoltaic power data are used for case study analysis. Photovoltaic datasets with different weather conditions (sunny, cloudy, and rainy) were selected with 864 samples, of which the first 605 were used for training and the last 259 were used for forecasting. The sampling interval was 5min, and the installed capacity of the photovoltaic field was 603 MW.

3.1. Data Processing

Since PV power and meteorological data contain outliers and missing values, the data error interference affects the accuracy of the models. Therefore, data reconciliation was used to clean the data, eliminate outliers, and fill in missing values [48,49].
Due to the difference in dimensionality of data for different variables, the data were standardized to ensure normal calculation.
x ˜ ( i ) = x ( i ) x min x max x min
where x ( i ) is the sample of the original photovoltaic sequence or meteorological sequence; x ˜ ( i ) represents the normalized processed sequences, which are in [0, 1]; and for the sample data, x max and x min are the maximum and minimum value of the sample data, respectively.

3.2. Evaluation Index of Forecasting Model

As forecasting evaluation indexes, MAE and RMSE are utilized to quantitatively analyze the forecasting performance and generalization ability of the model.
RMSE = 1 N i = 1 N ( y i y ^ i ) 2
MAE = 1 N i = 1 N | y i y ^ i |
where N is the testing sample; y i is the true data of photovoltaic power; y ^ i is the forecasting result of photovoltaic power; and for the actual photovoltaic power, y ¯ is the average value.

3.3. Simulation Analysis

In addition, air temperature, irradiance, air pressure, and module temperature as well as historical photovoltaic power are determined as the IVMD-TCN-GRU forecasting model inputs. For predetermined parameters K and α, to solve the problem in the traditional VMD algorithm, an adaptive IVMD algorithm is proposed based on envelope entropy. Moreover, the non-stationary and nonlinear characteristics are decomposed for photovoltaic power. Figure 7 illustrates the iterative process of envelope entropy values under different weather conditions, and the optimal parameter combination and corresponding minimum envelope entropy obtained from this are shown in Table 1. The decomposition results of photovoltaic power corresponding to the optimal K value under various weather conditions are shown in Figure 8. The IMF indicates that sub modes are obtained after photovoltaic power decomposition. The different modes after VMD decomposition not only have stronger stationarity, but also maintain the trend characteristics of original photovoltaic data well. Considering the chaotic nature of photovoltaic weather processes and the nonlinear relationship between photovoltaic weather and output photovoltaic power, TCN-GRU photovoltaic power forecasting models are established for each mode component decomposed using IVMD. In addition, to acquire the forecasted photovoltaic power, the forecasted output of each model is added. The five hyperparameters of the model are determined, that is, the number of hidden layers is 1, the dimension of the input layer is 24, the time step of the input layer is 10, the dimension of the output variable is 1, and the dimension of each hidden layer is 10. Finally, Figure 9 presents the experimental results of photovoltaic power prediction based on IVMD-TCN-GRU.
Taking photovoltaic power in sunny days as an example, the comparative experimental results of TCN-GRU, IVMD-TCN-GRU, and IVMD-SSA-TCN-GRU are shown in Figure 10. In addition, in Table 2, RMSE, MAE, time consumption are evaluated to quantitatively compare the performance for each model. It can be observed that, in comparison with TCN-GRU, RMSE and MAE of the IVMD-SSA-TCN-GRU forecasting strategy are reduced by 34.1% and 36.3%, respectively. This is because non-stationary and nonlinear characteristics of photovoltaic power are weakened by photovoltaic power decomposition. Compared with the IVMD-TCN-GRU model, RMSE and MAE decrease by 16.7% and 5.2%, respectively. Because the optimal parameter combination is matched using the SSA for the TCN-GRU network, it can better preserve the original information when processing high-dimensional data, reduce the original data sequence complexity, alleviate the time delay characteristics and the fluctuation range. It can achieve higher accuracy than other single methods. In general, the IVMD-SSA-TCN-GRU forecasting model shows stronger forecasting ability and higher forecasting accuracy.
Moreover, the EMD-SSA-TCN-GRU and IVMD-SSA-Elman models are used as comparisons to verify the superiority under the conditions of cloudy and rainy days with large fluctuations in photovoltaic power. Figure 11 shows the forecasting results with cloudy conditions; under rainy conditions, the forecasting results are illustrated in Figure 12. The performance indexes of the different approaches are exhibited in Table 3. The proposed forecasting model has certain improvement in both RMSE and MAE, verifying the good effect of preserving environmental characteristics on photovoltaic weather type classification and model establishment. Meanwhile, VMD is applied to decompose photovoltaic power, and a forecasting model is set up for each mode before reconstruction, reducing amount of data and shortening the forecasting time. The proposed model has stronger forecasting ability and higher forecasting accuracy compared with other models. Moreover, compared with the EMD-SSA-TCN-GRU forecasting model, for the IVMD-SSA-TCN-GRU forecasting model, RMSE and MAE are reduced by 37.1% and 27.8%. The reason is that IVMD has better decomposition performance and is more suitable for decomposing and forecasting photovoltaic power. Compared with IVMD-SSA-Elman, RMSE and MAE declined by 55.1% and 54.5%, respectively; due to issues when dealing with time series problems, the TCN-GRU network has better performance. Table 4 presents the performance metrics of the novel method proposed in this study alongside the approaches WOA-BiLSTM-Attention [50], LSTM-TCN [51], and CNN-GRU [52] in scenarios characterized by rainy conditions and substantial fluctuations in photovoltaic power generation. Our findings reveal that the proposed method outperforms the existing techniques in terms of predictive accuracy and dependability, as evidenced by the lower MAE and RMSE values obtained by our model.

4. Discussion

The present study introduces a novel hierarchical approach to photovoltaic power forecasting that integrates IVMD into the TCN-GRU framework, further enhanced by a multi-head attention mechanism. This integration aims to tackle the inherent complexities and variabilities in PV power generation, which are significantly influenced by environmental factors. Our findings underscore the effectiveness of combining advanced signal processing techniques with deep learning models to improve the accuracy of PV power forecasts, which are crucial for the efficient management and integration of solar energy into the power grid.
The use of IVMD, optimized using the SSA, for the decomposition of PV power data marks a significant advancement in the preprocessing stage of forecasting [53,54,55]. This methodological choice allows for a refined extraction of the intrinsic modes within the power generation data, facilitating a more detailed and accurate analysis of the power output fluctuations. The optimization of the modal components and penalty factors through the SSA not only enhances the decomposition process but also tailors it specifically to the characteristics of the PV power data, thereby maximizing the relevance and efficiency of the subsequent forecasting model.
The core of our forecasting model combines the strengths of TCN and GRU, augmented with a multi-head attention mechanism [56,57,58]. This design leverages the TCN’s capability to extract local feature patterns within time series data and the GRU’s proficiency in capturing long-term dependencies, addressing two critical aspects of time series forecasting. The addition of a multi-head attention mechanism further elevates the model’s performance by enabling a dynamic focus on the most relevant features across the time series, thereby improving the accuracy and reliability of the forecasts. This integration not only harnesses the individual strengths of these components but also mitigates their limitations, illustrating the synergistic potential of hybrid modeling approaches in complex forecasting tasks.
Incorporating environmental factors into the model represents a holistic approach to forecasting, acknowledging the significant impact of external variables on PV power output. This inclusion ensures that the model captures not only the internal dynamics of the time series data but also the influence of external conditions, providing a comprehensive framework for forecasting. The empirical validation of the model using real-world data from a PV station demonstrates its superior performance compared to traditional forecasting methods, highlighting its practical significance and potential impact on the energy sector.
However, the sophistication and computational demands of our proposed model pose challenges for real-time application and scalability. Future research could focus on optimizing the model’s efficiency and exploring the feasibility of real-time forecasting, potentially broadening its applicability and utility in operational settings. Moreover, investigating the model’s performance across diverse geographical locations and under varying environmental conditions would be invaluable, further affirming its robustness and adaptability. Firstly, integrating multiple components, such as the IVMD, TCN, and GRU, requires careful design and optimization to ensure the seamless functioning of the overall architecture. Coordinating the interactions between these components and fine-tuning hyperparameters can be a non-trivial task that demands computational resources and expertise. Moreover, validating the performance of the proposed model involves addressing issues related to data quality, model interpretability, and generalizability. Ensuring the robustness of the model across different datasets, geographic locations, and weather conditions requires rigorous testing and validation procedures. Additionally, interpreting the results of the forecasting model and identifying the factors influencing its predictions can be challenging, especially when dealing with complex neural network architectures and attention mechanisms. Furthermore, the scalability and computational efficiency of the proposed model may present practical challenges, particularly when deploying the forecasting system in real-world applications with stringent latency and resource constraints. Optimizing the algorithm for efficient inference and deployment on various platforms while maintaining high forecasting accuracy is a critical consideration in operationalizing the proposed approach.
In conclusion, this study contributes a significant advancement to the field of PV power forecasting by proposing a comprehensive and integrative model that adeptly addresses the complexities of solar power generation. The innovative combination of IVMD, TCN-GRU, and a multi-head attention mechanism not only showcases the potential of hybrid models in enhancing forecast accuracy but also sets a foundation for future research aimed at optimizing and expanding the applicability of advanced forecasting techniques in the renewable energy sector.

5. Conclusions

In this study, we proposed a novel hierarchical forecasting model for PV power based on a multi-head attention mechanism integrated with VMD, TCN, and GRU. Through extensive experimentation and validation using real-world PV power data, we have drawn several important conclusions regarding the effectiveness and applicability of our proposed model.
(1)
Our results demonstrate that the integration of VMD, TCN, GRU, and a multi-head attention mechanism significantly improves the accuracy and reliability of PV power forecasting compared to traditional methods. By leveraging VMD for signal decomposition and TCN-GRU for dynamic time series modeling, our model effectively captures both local temporal features and long-term dependencies in the data, leading to more precise predictions.
(2)
The incorporation of a multi-head attention mechanism enables our model to exploit global contextual information in the time series data, further enhancing its forecasting performance. The attention mechanism allows the model to dynamically weigh the importance of different input features, thereby improving the utilization of relevant information for prediction.
(3)
The optimization of VMD parameters using the SSA and the fine-tuning of GRU parameters contribute to the overall effectiveness of our proposed model. The optimization process ensures that the model is able to adapt to the specific characteristics of the input data, thereby improving its generalization capability and robustness.
Overall, our study highlights the importance of incorporating advanced machine learning techniques and considering environmental factors in PV power forecasting. The proposed hierarchical VMD-TCN-GRU multi-head attention mechanism offers a promising solution for accurately predicting PV power output, which is essential for optimizing the operation and management of solar energy systems. This research contributes to the advancement of PV power forecasting methodologies and provides valuable insights for researchers and practitioners in the field of renewable energy forecasting. The proposed model holds significant potential for facilitating the integration of solar energy into the power grid and supporting the transition towards a sustainable energy future.

Author Contributions

Conceptualization, H.F. and J.Z.; methodology, J.Z.; software, J.Z.; validation, J.Z. and H.F.; formal analysis, J.Z.; investigation, J.Z. and S.X.; resources, J.Z.; data curation, J.Z.; writing—original draft preparation, J.Z.; writing—review and editing, J.Z.; visualization, J.Z.; supervision, H.F.; project administration, H.F.; funding acquisition, H.F. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China, grant number 51974151.

Data Availability Statement

The data are unavailable due to privacy.

Acknowledgments

We are grateful for financial and logistical support from the H.F. Model Worker Innovation Laboratory and thank all of the original partners that supported data collection and analyses for the initial work on the Photovoltaic Power Prediction Project.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Pillot, B.; Muselli, M.; Poggi, P.; Dias, J.B. Historical trends in global energy policy and renewable power system issues in Sub-Saharan Africa: The case of solar PV. Energy Policy 2019, 127, 113–124. [Google Scholar] [CrossRef]
  2. Ospina, J.; Newaz, A.; Faruque, M.O. Forecasting of PV plant output using hybrid wavelet-based LSTM-DNN structure model. IET Renew. Power Gen. 2019, 13, 1087–1095. [Google Scholar] [CrossRef]
  3. Sun, W.; Wang, Y. Short-term wind speed forecasting based on fast ensemble empirical mode decomposition, phase space reconstruction, sample entropy and improved back-propagation neural network. Energy Convers. Manag. 2018, 157, 1–12. [Google Scholar] [CrossRef]
  4. Ssekulima, E.B.; Anwar, M.B.; Hinai, A.A.; Moursi, M.S.E. Wind speed and solar irradiance forecasting techniques for enhanced renewable energy integration with the grid: A review. IET Renew. Power Gen. 2016, 10, 885–898. [Google Scholar] [CrossRef]
  5. Zhang, Q.; Ma, W.H.; Li, G.L.; Xie, M.; Shao, Q.Z. Partition fault diagnosis of power grids based on improved PNN and GRA. IEEE J. Trans. Electr. Electr. 2020, 16, 57–66. [Google Scholar] [CrossRef]
  6. Liu, J.; Liu, M.W.; Wang, Z.M.; Yang, J.W.; Lou, S.H. Multi-flexibility resources planning for power system considering carbon trading. Sustainability 2022, 14, 13296. [Google Scholar] [CrossRef]
  7. Chen, X.; Lou, S.H.; Liang, Y.J.; Wu, Y.W.; He, X.L. Optimal scheduling of a regional power system aiming at accommodating clean energy. Sustainability 2021, 13, 2169. [Google Scholar] [CrossRef]
  8. Sen Biswas, R.; Pal, A.; Werho, T.; Vittal, V. A graph theoretic approach to power system vulnerability identification. IEEE Trans. Power Syst. 2021, 36, 923–935. [Google Scholar] [CrossRef]
  9. Wu, T.; Wang, X.C.; Qiao, S.J.; Xian, X.P.; Liu, Y.B.; Zhang, L. Small perturbations are enough: Adversarial attacks on time series prediction. Inform. Sci. 2022, 587, 794–812. [Google Scholar] [CrossRef]
  10. Huang, B.Q.; Zheng, H.A.; Guo, X.B.; Yang, Y.; Liu, X.M. A novel model based on DA-RNN network and skip gated recurrent neural network for periodic time series forecasting. Sustainability 2022, 14, 326. [Google Scholar] [CrossRef]
  11. Salles, R.; Pacitti, E.; Bezerra, E.; Porto, F.; Ogasawara, E. TSPred: A framework for nonstationary time series prediction. Neurocomputing 2021, 467, 197–202. [Google Scholar] [CrossRef]
  12. Guo, K.; Hu, Y.L.; Qian, Z.; Liu, H.; Zhang, K.; Sun, Y.F.; Gao, J.B.; Yin, B.C. Optimized graph convolution recurrent neural network for traffic prediction. IEEE Trans. Intell. Transp. 2021, 22, 1138–1149. [Google Scholar] [CrossRef]
  13. Lou, Y.; Wu, R.Z.; Li, J.L.; Wang, L.; Li, X.; Chen, G.R. A learning convolutional neural network approach for network robustness prediction. IEEE Trans. Cybern. 2022, 53, 4531–4544. [Google Scholar] [CrossRef] [PubMed]
  14. Topic, J.; Skugor, B.; Deur, J. Neural network-based prediction of vehicle fuel consumption based on driving cycle data. Sustainability 2022, 14, 744. [Google Scholar] [CrossRef]
  15. Zhang, X.S.; He, B.A.; Sabri, M.M.S.; Al-Bahrani, M.; Ulrikh, D.V. Soil liquefaction prediction based on bayesian optimization and support vector machines. Sustainability 2022, 14, 11944. [Google Scholar] [CrossRef]
  16. Huang, J.L.; Jin, T.; Liang, M.L.; Chen, H.L. Prediction of heat exchanger performance in cryogenic oscillating flow conditions by support vector machine. Appl. Therm. Eng. 2020, 182, 116053. [Google Scholar] [CrossRef]
  17. Zhou, L.S.; Zhou, X.T.; Liang, H.; Huang, M.T.; Li, Y. Hybrid short-term wind power prediction based on Markov chain. Front. Energy Res. 2022, 10, 899692. [Google Scholar] [CrossRef]
  18. Mao, C.Y.; Bao, L.W.; Yang, S.D.; Xu, W.J.; Wang, Q. Analysis and prediction of pedestrians’ violation behavior at the intersection based on a Markov chain. Sustainability 2021, 13, 5690. [Google Scholar] [CrossRef]
  19. Huang, Y.; Yu, J.H.; Dai, X.H.; Huang, Z.; Li, Y.Y. Air-quality prediction based on the EMD-IPSO-LSTM combination model. Sustainability 2022, 14, 4889. [Google Scholar] [CrossRef]
  20. Wang, X.Q.; Xu, N.K.; Meng, X.R.; Chang, H.Q. Prediction of gas concentration based on LSTM-LightGBM variable weight combination model. Energies 2022, 15, 827. [Google Scholar] [CrossRef]
  21. Li, P.D.; Gao, X.Q.; Li, Z.C.; Zhou, X.Y. Effect of the temperature difference between land and lake on photovoltaic power generation. Renew. Energy 2022, 185, 86–95. [Google Scholar] [CrossRef]
  22. Nelega, R.; Greu, D.I.; Jecan, E.; Rednic, V.; Zamfirescu, C.; Puschita, E.; Turcu, R.V.F. Prediction of power generation of a photovoltaic power plant based on neural networks. IEEE Access 2023, 11, 20713–20724. [Google Scholar] [CrossRef]
  23. Zhang, H.C.; Zhu, T.T. Stacking model for photovoltaic-power-generation prediction. Sustainability 2022, 14, 5669. [Google Scholar] [CrossRef]
  24. Li, Y.L.; Yan, L.C.; He, H.; Zha, W.T. Regional ultra-short-term wind power combination prediction method based on fluctuant/smooth components division. Front. Energy Res. 2022, 10, 840519. [Google Scholar] [CrossRef]
  25. Hui, L.; Ren, Z.Y.; Yan, X.; Li, W.Y.; Bo, H. A multi-data driven hybrid learning method for weekly photovoltaic power scenario forecast. IEEE Trans. Sustain. Energy 2021, 13, 91–100. [Google Scholar]
  26. Zha, Y.X.; Lin, J.; Li, G.J.; Wang, Y.; Yi, Z. Analysis of inertia characteristics of photovoltaic power generation system based on generalized droop control. IEEE Access 2021, 9, 37834–37839. [Google Scholar] [CrossRef]
  27. Qian, Z.; Pei, Y.; Zareipour, H.; Chen, N. A review and discussion of decomposition-based hybrid models for wind energy forecasting applications. Appl. Energy 2019, 235, 939–953. [Google Scholar] [CrossRef]
  28. Lee, J.; Kim, H.; Kim, H. Commercial vacancy prediction using LSTM neural networks. Sustainability 2021, 13, 5400. [Google Scholar] [CrossRef]
  29. Xiao, Z.X.; Tang, F.; Wang, M.Y. Wind power short-term forecasting method based on LSTM and multiple error correction. Sustainability 2023, 15, 3798. [Google Scholar] [CrossRef]
  30. Xiang, X.; Li, X.; Zhang, Y.; Hu, J. A short-term forecasting method for photovoltaic power generation based on the tcn-ecanet-gru hybrid model. Sci. Rep. 2024, 14, 6744. [Google Scholar] [CrossRef]
  31. Moradzadeh, A.; Zakeri, S.; Shoaran, M.; Mohammadi-Ivatloo, B.; Mohammadi, F. Short-term load forecasting of microgrid via hybrid support vector regression and long short-term memory algorithms. Sustainability 2020, 12, 7076. [Google Scholar] [CrossRef]
  32. Sun, Z.; Zhao, S.; Zhang, J. Short-term wind power forecasting on multiple scales using VMD decomposition, K-means clustering and LSTM principal computing. IEEE Access 2019, 18, 17–29. [Google Scholar] [CrossRef]
  33. Lang, X.; Rehman, N.U.; Zhang, Y.F.; Xie, L.; Su, H.Y. Median ensemble empirical mode decomposition. Signal Process. 2020, 176, 107686. [Google Scholar] [CrossRef]
  34. Zhu, W.; Yang, Y.; Zhi, P.; Liang, Z. A control strategy of photovoltaic hybrid energy storage system based on adaptive wavelet packet decomposition. Int. J. Electrochem. Sci. 2022, 17, 221144. [Google Scholar] [CrossRef]
  35. Khan, F.; Alshahrani, T.; Fareed, I.; Kim, J.H. A comprehensive degradation assessment of silicon photovoltaic modules installed on a concrete base under hot and low-humidity environments: Building applications. Sustain. Energy Technol. Assess. 2022, 52, 102314. [Google Scholar] [CrossRef]
  36. Khan, F.; Rezgui, B.D.; Kim, J.H. Reliability study of c-si pv module mounted on a concrete slab by thermal cycling using electroluminescence scanning: Application in future solar roadways. Materials 2020, 13, 470. [Google Scholar] [CrossRef]
  37. Perera, M.; De Hoog, J.; Bandara, K.; Senanayake, D.; Halgamuge, S. Day-ahead regional solar power forecasting with hierarchical temporal convolutional neural networks using historical power generation and weather data. Appl. Energy 2024, 361, 122971. [Google Scholar] [CrossRef]
  38. Mahjoub, S.; Chrifi-Alaoui, L.; Marhic, B.; Delahoche, L. Predicting Energy Consumption Using LSTM, Multi-Layer GRU and Drop-GRU Neural Networks. Sensors 2022, 22, 4062. [Google Scholar] [CrossRef] [PubMed]
  39. Yu, X.; Zhang, D.; Zhu, T.; Jiang, X. Novel hybrid multi-head self-attention and multifractal algorithm for non-stationary time series prediction. Inf. Sci. 2022, 613, 541–555. [Google Scholar] [CrossRef]
  40. He, J.; Zhang, X.; Zhang, X.; Shen, J. Remaining useful life prediction for bearing based on automatic feature combination extraction and residual multi-head attention gru network. Meas. Sci. Technol. 2023, 35, 036003. [Google Scholar] [CrossRef]
  41. Zhang, Y.-M.; Wang, H. Multi-head attention-based probabilistic cnn-bilstm for day-ahead wind speed forecasting. Energy 2023, 278, 127865. [Google Scholar] [CrossRef]
  42. Zhang, Y.G.; Pan, G.F.; Chen, B.; Han, J.Y.; Zhao, Y.; Zhang, C.H. Short-term wind speed prediction model based on GA-ANN improved by VMD. Renew. Energy 2020, 156, 1373–1388. [Google Scholar] [CrossRef]
  43. Wang, X.; Ma, W. A hybrid deep learning model with an optimal strategy based on improved vmd and transformer for short-term photovoltaic power forecasting. Energy 2024, 295, 131071. [Google Scholar] [CrossRef]
  44. Yang, Y.; Liu, H.; Han, L.; Gao, P. A feature extraction method using vmd and improved envelope spectrum entropy for rolling bearing fault diagnosis. IEEE Sens. J. 2023, 23, 3848–3858. [Google Scholar] [CrossRef]
  45. Xue, J.; Shen, B. A novel swarm intelligence optimization approach: Sparrow search algorithm. Syst. Sci. Control Eng. 2020, 8, 22–34. [Google Scholar] [CrossRef]
  46. Gharehchopogh, F.S.; Namazi, M.; Ebrahimi, L.; Abdollahzadeh, B. Advances in sparrow search algorithm: A comprehensive survey. Arch. Comput. Methods Eng. 2023, 30, 427–455. [Google Scholar] [CrossRef] [PubMed]
  47. Yue, Y.G.; Cao, L.; Lu, D.W.; Hu, Z.Y.; Xu, M.H.; Wang, S.X.; Li, B.; Ding, H.H. Review and empirical analysis of sparrow search algorithm. Artif. Intell. Rev. 2023, 56, 10867–10919. [Google Scholar] [CrossRef]
  48. Xie, S.; Wang, H.Z.; Peng, J.C.; Liu, X.L.; Yuan, X.F. A hierarchical data reconciliation based on multiple time-delay interval estimation for industrial processes. ISA Trans. 2020, 105, 198–209. [Google Scholar] [CrossRef]
  49. Xie, S.; Yang, C.H.; Yuan, X.F.; Wang, X.L.; Xie, Y.F. A novel robust data reconciliation method for industrial processes. Contr. Eng. Pract. 2019, 83, 203–212. [Google Scholar] [CrossRef]
  50. Yu, M.; Niu, D.; Wang, K.; Du, R.; Yu, X.; Sun, L.; Wang, F. Short-term photovoltaic power point-interval forecasting based on double-layer decomposition and woa-bilstm-attention and considering weather classification. Energy 2023, 275, 127348. [Google Scholar] [CrossRef]
  51. Limouni, T.; Yaagoubi, R.; Bouziane, K.; Guissi, K.; Baali, E.H. Accurate one step and multistep forecasting of very short-term pv power using lstm-tcn model. Renew. Energy 2023, 205, 1010–1024. [Google Scholar] [CrossRef]
  52. Sabri, N.M.; El Hassouni, M. Accurate photovoltaic power prediction models based on deep convolutional neural networks and gated recurrent units. Energy Sources Part A Recovery Util. Environ. Eff. 2022, 44, 6303–6320. [Google Scholar] [CrossRef]
  53. Cai, L.; Hu, D.; Zhang, C.; Yu, S.; Xie, J. Tool vibration feature extraction method based on ssa-vmd and svm. Arab. J. Sci. Eng. 2022, 47, 15429–15439. [Google Scholar] [CrossRef]
  54. Zhou, S.; Yao, Y.; Luo, X.; Jiang, N.; Niu, S. Dynamic response evaluation for single-hole bench carbon dioxide blasting based on the novel ssa–vmd–pcc method. Int. J. Geomech. 2023, 23, 04022248. [Google Scholar] [CrossRef]
  55. Gao, X.; Guo, W.; Mei, C.; Sha, J.; Guo, Y.; Sun, H. Short-term wind power forecasting based on ssa-vmd-lstm. Energy Rep. 2023, 9, 335–344. [Google Scholar] [CrossRef]
  56. Cai, C.; Li, Y.; Su, Z.; Zhu, T.; He, Y. Short-term electrical load forecasting based on vmd and gru-tcn hybrid network. Appl. Sci. 2022, 12, 6647. [Google Scholar] [CrossRef]
  57. Li, L.; Li, Y.; Mao, R.; Li, L.; Hua, W.; Zhang, J. Remaining useful life prediction for lithium-ion batteries with a hybrid model based on tcn-gru-dnn and dual attention mechanism. IEEE Trans. Transp. Electrif. 2023, 9, 4726–4740. [Google Scholar] [CrossRef]
  58. Pu, X.; Xiao, H.; Wang, J.; Pei, W.; Yang, J.; Zhang, J. A novel gru-tcn network based interactive behavior learning of multi-energy microgrid under incomplete information. Energy Rep. 2023, 9, 608–616. [Google Scholar] [CrossRef]
Figure 1. Structure diagram of dilated causal convolution network.
Figure 1. Structure diagram of dilated causal convolution network.
Electronics 13 01837 g001
Figure 2. TCN residual unit structure diagram.
Figure 2. TCN residual unit structure diagram.
Electronics 13 01837 g002
Figure 3. Structure diagram of GRU.
Figure 3. Structure diagram of GRU.
Electronics 13 01837 g003
Figure 4. Diagram of multi-head attention GRU.
Figure 4. Diagram of multi-head attention GRU.
Electronics 13 01837 g004
Figure 5. The framework of improved TCN-GRU network forecasting.
Figure 5. The framework of improved TCN-GRU network forecasting.
Electronics 13 01837 g005
Figure 6. The flowchart of IVMD-SSA-TCN-GRU photovoltaic power forecasting.
Figure 6. The flowchart of IVMD-SSA-TCN-GRU photovoltaic power forecasting.
Electronics 13 01837 g006
Figure 7. Envelope entropy iteration process. (a) Envelope entropy on sunny days. (b) Envelope entropy on cloudy days. (c) Envelope entropy on rainy days.
Figure 7. Envelope entropy iteration process. (a) Envelope entropy on sunny days. (b) Envelope entropy on cloudy days. (c) Envelope entropy on rainy days.
Electronics 13 01837 g007
Figure 8. Photovoltaic power in IVMD decomposition. (a) Photovoltaic power IVMD decomposition on sunny days. (b) Photovoltaic power IVMD decomposition on cloudy days. (c) Photovoltaic power IVMD decomposition on rainy days.
Figure 8. Photovoltaic power in IVMD decomposition. (a) Photovoltaic power IVMD decomposition on sunny days. (b) Photovoltaic power IVMD decomposition on cloudy days. (c) Photovoltaic power IVMD decomposition on rainy days.
Electronics 13 01837 g008aElectronics 13 01837 g008b
Figure 9. IVMD-TCN-GRU forecasting results. (a) Comparison diagram on sunny days. (b) Comparison diagram on cloudy days. (c) Comparison diagram on rainy days.
Figure 9. IVMD-TCN-GRU forecasting results. (a) Comparison diagram on sunny days. (b) Comparison diagram on cloudy days. (c) Comparison diagram on rainy days.
Electronics 13 01837 g009
Figure 10. Comparison of photovoltaic power forecasting on sunny days. (a) The iteration of SSA-TCN-GRU on sunny days. (b) Photovoltaic power forecasting on sunny days. (c) The forecasting error on sunny days.
Figure 10. Comparison of photovoltaic power forecasting on sunny days. (a) The iteration of SSA-TCN-GRU on sunny days. (b) Photovoltaic power forecasting on sunny days. (c) The forecasting error on sunny days.
Electronics 13 01837 g010
Figure 11. Comparison of photovoltaic power forecasting in cloudy days. (a) The iteration of SSA-TCN-GRU in cloudy days. (b) Photovoltaic power forecasting on cloudy days. (c) The forecasting error on cloudy days.
Figure 11. Comparison of photovoltaic power forecasting in cloudy days. (a) The iteration of SSA-TCN-GRU in cloudy days. (b) Photovoltaic power forecasting on cloudy days. (c) The forecasting error on cloudy days.
Electronics 13 01837 g011
Figure 12. Comparison of photovoltaic power forecasting on rainy days. (a) The iteration of SSA-TCN-GRU on rainy days. (b) Photovoltaic power forecasting on rainy days. (c) The forecasting error in rainy days.
Figure 12. Comparison of photovoltaic power forecasting on rainy days. (a) The iteration of SSA-TCN-GRU on rainy days. (b) Photovoltaic power forecasting on rainy days. (c) The forecasting error in rainy days.
Electronics 13 01837 g012
Table 1. The optimal parameters of IVMD.
Table 1. The optimal parameters of IVMD.
Weather TypesMinimum Envelope EntropyKα
Sunny day4.67123925
Cloudy day5.5301659
Rainy day5.4925793
Table 2. Forecasting errors of the IVMD-SSA-TCN-GRU method.
Table 2. Forecasting errors of the IVMD-SSA-TCN-GRU method.
Evaluation IndexesTCN-GRUIVMD-TCN-GRUIVMD-SSA-TCN-GRU
RMSE1.74791.38321.152
MAE1.48190.99680.94461
Time0.01410.01320.0047
Table 3. The forecasting errors of different models.
Table 3. The forecasting errors of different models.
Weather
Type
ModelMAERMSE
Sunny dayIVMD-SSA-Elman2.324.17
EMD-SSA-TCN-GRU2.173.76
IVMD-SSA-TCN-GRU1.983.41
Cloudy dayIVMD-SSA-Elman3.074.84
EMD-SSA-TCN-GRU2.744.82
IVMD-SSA-TCN-GRU2.714.66
Rainy dayIVMD-SSA-Elman5.018.15
EMD-SSA-TCN-GRU3.165.82
IVMD-SSA-TCN-GRU2.283.66
Table 4. The forecasting errors of different models on rainy days.
Table 4. The forecasting errors of different models on rainy days.
MethodMAERMSE
IVMD-SSA-TCN-GRU2.283.66
WOA-BiLSTM-Attention2.453.73
LSTM-TCN2.563.91
CNN-GRU2.714.14
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.

Share and Cite

MDPI and ACS Style

Fu, H.; Zhang, J.; Xie, S. A Novel Improved Variational Mode Decomposition-Temporal Convolutional Network-Gated Recurrent Unit with Multi-Head Attention Mechanism for Enhanced Photovoltaic Power Forecasting. Electronics 2024, 13, 1837. https://doi.org/10.3390/electronics13101837

AMA Style

Fu H, Zhang J, Xie S. A Novel Improved Variational Mode Decomposition-Temporal Convolutional Network-Gated Recurrent Unit with Multi-Head Attention Mechanism for Enhanced Photovoltaic Power Forecasting. Electronics. 2024; 13(10):1837. https://doi.org/10.3390/electronics13101837

Chicago/Turabian Style

Fu, Hua, Junnan Zhang, and Sen Xie. 2024. "A Novel Improved Variational Mode Decomposition-Temporal Convolutional Network-Gated Recurrent Unit with Multi-Head Attention Mechanism for Enhanced Photovoltaic Power Forecasting" Electronics 13, no. 10: 1837. https://doi.org/10.3390/electronics13101837

APA Style

Fu, H., Zhang, J., & Xie, S. (2024). A Novel Improved Variational Mode Decomposition-Temporal Convolutional Network-Gated Recurrent Unit with Multi-Head Attention Mechanism for Enhanced Photovoltaic Power Forecasting. Electronics, 13(10), 1837. https://doi.org/10.3390/electronics13101837

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop