Photovoltaic power generation power prediction method based on multivariable time sequence decomposition and multiple models
Through the method of multi-variable time series decomposition and multi-model combination, the problem of insufficient prediction accuracy of photovoltaic power generation output power is solved, and more efficient and accurate prediction is achieved, which is suitable for the optimization and power dispatch of photovoltaic power plants.
Patent Information
- Application Number
- CN202410681523.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-05-29
AI Technical Summary
Existing photovoltaic power generation output power prediction methods have shortcomings in accuracy, generalization ability and interpretability. Especially under the influence of multiple factors such as weather, lighting conditions and equipment performance, the prediction accuracy is difficult to improve.
Using the method of multi-variable time series decomposition and multi-model combination, through correlation screening, seasonal trend decomposition, time domain and frequency domain attention mechanism, multi-model fusion prediction and zero output adjustment, a method that can extract and integrate various variables is constructed. A new framework for photovoltaic output power prediction based on the intricate relationship between
It significantly improves the accuracy and robustness of photovoltaic power generation output power prediction, can more accurately capture seasonal cycle patterns and long-term trend evolution, and is suitable for operation optimization and power dispatching of photovoltaic power stations.
Smart Images

Figure CN118657243A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of information technology, and in particular relates to a photovoltaic power generation prediction method based on multi-variable time series decomposition and multi-model combination. Background Art
[0002] With the implementation of the national new energy development strategy and the rise of clean energy, photovoltaic power generation, as an important renewable energy source, has an increasingly broad application prospect. Especially in virtual power plants, photovoltaic power generation can effectively help virtual power plants participate in the peak-shaving and valley-filling of power systems, reduce carbon emissions, increase the proportion of clean energy, and improve the economic benefits of virtual power plants. However, affected by various factors such as weather, environment, and equipment, the output power of photovoltaic power generation has great uncertainty, which will bring many problems to the system dispatching and the reliable and stable operation of the power grid. Therefore, it is particularly important to study the prediction of photovoltaic power generation output power.
[0003] The traditional research method of photovoltaic power output power mainly adopts data collection, correlation analysis, modeling and simulation methods. First, the real-time information of environmental factors such as light intensity, temperature, wind speed and each battery component is obtained through data collection. Secondly, the collected data is analyzed to determine the influence of variables on photovoltaic power output power. Then, a mathematical model between photovoltaic power output power and environmental factors is established under the corresponding environmental factors. Finally, the corresponding conclusions are drawn through simulation and verification. For example, Yue Yuntao et al. established the Rhino three-dimensional physical model based on its geographical conditions, building environment, photovoltaic materials and other parameters. According to historical meteorological data, the parameterized platform Grasshopper was used to establish Ladybug and honeybee models to predict photovoltaic power output power, and the accuracy of the simulation results was verified by theoretical empirical formulas. However, due to the complexity of photovoltaic power generation systems, they are susceptible to interference and damage, and traditional methods require a lot of manual intervention and data calibration. Secondly, traditional methods lack adaptability and cannot automatically adapt to the different mechanisms and complex situations of photovoltaic power stations, so they need to be continuously updated and iterated.
[0004] In recent years, with the development of artificial intelligence technologies such as deep learning and machine learning, the research field of photovoltaic power output power has also shown the development of intelligence and adaptability. Machine learning and deep learning models are widely used in the prediction of photovoltaic power output power. Ni et al. constructed a photovoltaic power direct interval prediction model through extreme learning machine and upper and lower bound estimation method to achieve interval prediction of photovoltaic power. Hu Bing et al. proposed a PCA-GA-Elman model for short-term prediction of photovoltaic active power to improve the dispatching capacity of power grid for renewable energy. Wang Yingli et al. combined the Spearman correlation coefficient significance test with the improved MIV analysis using the Euclidean distance to calculate the change factor α, screened out the input variables with the greatest correlation with photovoltaic power, and used the optimized BP neural network to make short-term predictions of photovoltaic power. Since the traditional prediction models of forward neural networks or regression analysis methods have poor robustness and weak adaptability due to the lack of historical memory, the short-term prediction method of photovoltaic power based on LSTM network is widely used. In view of the uncertainty of photovoltaic output, Huang et al. proposed a day-ahead photovoltaic power prediction model based on improved quantile convolutional neural network. The convolutional neural network was used to mine the deep features of the factors affecting photovoltaic power, and then the quantile was used to generate the probability distribution of photovoltaic predicted power and determine the distribution range of photovoltaic power, which provided assistance for the day-ahead output prediction of virtual power plants. Wen et al. firstly adopted a hybrid model to realize the point prediction of photovoltaic power, and then selected the Bootstrap method to analyze the prediction error to realize the interval prediction of photovoltaic power. Zhang et al. proposed a photovoltaic power prediction model based on minimum quantile regression gating unit and KDE method. Zhao Yao et al. proposed a short-term photovoltaic power interval probability prediction model based on weather similarity clustering and quantile regression neural network (QRNN) monotone model, and took the actual data set of Australian Desert Knowledge Solar Energy Center as an example to perform interval prediction, and used kernel density estimation to give the probability prediction results.
[0005] The problems or shortcomings of the prior art are as follows:
[0006] Although the current research on photovoltaic output power prediction has made breakthroughs, there are still some urgent problems to be solved: (1) Since the accuracy of photovoltaic power prediction is affected by multiple factors such as weather, light conditions, and equipment performance, the accuracy of current deterministic predictions needs to be further improved. (2) The existing prediction models need to be further improved and optimized in terms of prediction accuracy, generalization ability, interpretability, and balance of more realistic prediction methods.
[0007] The present invention proposes a deep learning prediction method for photovoltaic output power that considers the impact of multiple monitoring variables and their changes by multivariate time series decomposition and multi-model combination. First, the understanding and modeling of the complex interaction between photovoltaic output power and environmental monitoring variables are strengthened, and the correlation information between multiple variables is strengthened by using variable screening and time series decomposition methods; then, by adding frequency domain information and using different model prediction methods, a new photovoltaic output power prediction framework is constructed that can extract and integrate the intricate relationships between variables. The empirical comparison results also confirm the prediction accuracy of this method. Summary of the invention
[0008] In view of the problems existing in the prior art, the present invention provides a photovoltaic power prediction method based on multi-variable time series decomposition and multi-model combination.
[0009] The present invention is implemented as follows: a photovoltaic power generation power prediction method based on multivariable time series decomposition and multi-model combination, the method comprising:
[0010] S1: Relevance screening. In the early stages of the forecasting process, all available input data (including but not limited to meteorological parameters such as temperature, relative humidity, and equipment status data such as zenith angle, total solar radiation, etc.) are analyzed in depth;
[0011] S2: Seasonal trend decomposition. For the selected Top-K related variables, the seasonal trend decomposition method is introduced for preprocessing;
[0012] S3: Time and frequency domain attention. Taking advantage of the unique advantages of wavelet transform for non-stationary signals, the seasonal term time domain data of different variables are converted to the wavelet domain, and the frequency domain features are enhanced through the attention mechanism. The seasonal fluctuations and extreme values that are difficult to capture in the time series are displayed on the frequency domain axis, so that the model can locate and allocate attention resources more accurately. At the same time, the time domain data of the trend term and the residual term are respectively treated with time attention to capture important information in the time step.
[0013] S4: Multi-model fusion prediction. Based on the STL decomposition, the decomposed seasonal term, trend term, and residual term are predicted using a bidirectional long short-term memory network and a time series convolutional network: the seasonal term predicted by the bidirectional long short-term memory network is added to the trend term and residual term predicted by the time series convolutional network to obtain a comprehensive prediction output of the actual photovoltaic power; this different model fusion strategy not only fully utilizes the advantages of each model, but also effectively compensates for the limitations of a single model, thereby improving the robustness and accuracy of the overall prediction system;
[0014] S5: Zero output adjustment. The prediction results were adjusted to zero output according to the known solar irradiation time period; considering that the solar irradiation time of the adjacent days is basically the same, the values of the time periods before sunrise and after sunset in the prediction results were set to zero according to the solar irradiation time period of the previous day, so that the results are consistent with the actual photovoltaic power generation situation.
[0015] Further, the S1 specifically includes:
[0016] Mutual information entropy is used to quantitatively evaluate the correlation between each data variable and the target variable (i.e., photovoltaic actual power). Based on these calculation results, it is proposed to select the Top-K variables with the highest correlation with photovoltaic actual power as the input of the subsequent prediction model, aiming to filter out noise factors that have little or no impact on power prediction, thereby focusing on the most influential key variables and improving the pertinence and efficiency of the prediction model.
[0017] Furthermore, the seasonal trend decomposition method is a powerful time series analysis technique, which can decompose the original data into three parts: trend term (reflecting the long-term change pattern), seasonal term (characterizing the periodic fluctuation characteristics) and residual term (including random disturbance). This decomposition helps to reveal the intrinsic time pattern of each variable, making it easier to use appropriate prediction models for components of different natures.
[0018] Furthermore, the bidirectional long short-term memory network can effectively extract and integrate seasonal fluctuation characteristics by considering both past and future information on the time axis, which is suitable for capturing seasonal cycle patterns in photovoltaic power output and improving prediction accuracy; the time series convolutional network is used to predict trend terms and residual terms: using its unique causal convolution and dilated convolution structure, it can flexibly adapt to time series of various lengths, which can not only capture local dependencies, but also model the long-term evolution of trend terms by expanding the receptive field, and has stable gradient propagation capabilities.
[0019] Furthermore, in S3, the time domain data of the trend term and the residual term are respectively subjected to time attention, and capturing important information in the time step includes the following key steps:
[0020] (1) Frequency domain conversion. The input time domain features are transformed through discrete wavelet transform to obtain the corresponding frequency domain features;
[0021] (2) Attention weight calculation. Attention weights are assigned according to the importance of frequency domain features, and the learned attention weights are applied to the frequency domain representation, that is, weighted operations are performed on each frequency domain component to enhance the important frequency domain parts and weaken the less important parts;
[0022] (3) Fusion and inverse transformation. The frequency domain features after weight adjustment are fused and inversely transformed back to the time domain to generate enhanced time domain feature representation;
[0023] (4) Feature concatenation: The features processed by the frequency domain attention mechanism are combined with the original time domain features and input into the subsequent time series prediction network.
[0024] Further, the S1 correlation calculation method is as follows:
[0025] Multivariate prediction is more accurate than single variable prediction, but it is necessary to select highly correlated variables. Therefore, the relevant variables are screened by calculating the mutual information entropy (MIE) between the actual photovoltaic power generation and various solar radiation and meteorological variable data.
[0026] Mutual information entropy is a dimensionless measure of the information that a random variable X can provide about the changes in another random variable Y. Unlike the Pearson coefficient, which can only measure linear correlation, mutual information entropy is applicable to variables with linear or nonlinear correlation. The greater the mutual information between two variables, the higher the correlation between the variables. When the mutual information entropy is 0, the two variables are independent of each other.
[0027] The calculation formula of mutual information is as follows:
[0028]
[0029] Where p(x) and p(y) are the marginal probability distribution functions of X and Y, and p(x, y) is the joint probability distribution function of X and Y. Mutual information measures the information shared between two random variables, and can also be expressed as the amount by which the uncertainty of Y is reduced due to the introduction of X. In this case, mutual information is the same as information gain.
[0030] For continuous variables, mutual information is calculated using density estimation methods. For variable x, there are N samples, and its density function is:
[0031]
[0032] Where δ(·) is the Gaussian window function, x (i) is the i-th sample, h is the window width, z = xx (i) , d is the dimension of x, ∑ is the covariance of z, when d = 1, is the marginal density estimate of variable x, when d = 2, is the joint probability distribution density of x and y; the mutual information entropy is used to calculate the influence of each factor on the actual photovoltaic power, and the influencing factors are ranked according to their size.
[0033] Furthermore, the time series decomposition adopts STL decomposition: STL decomposition is a non-parametric decomposition method, and after decomposition, it usually includes the following parts: trend term, seasonal term and residual term. Its core mechanism is to use local weighted regression smoothing technology, and its expression is as follows:
[0034] X t =T t +S t +I t (4)
[0035] Where, X t is the observed value of the time series at time point t, T t is the trend component, S t It is a seasonal component, I t It is an irregular component;
[0036] The STL decomposition process is iterative until the estimates of the trend and seasonal components converge or the predetermined number of iterations is reached. After the decomposition is completed, the residual term obtained is usually regarded as a random fluctuation or the remaining part not explained by the trend and seasonal terms, including the influence of noise, sudden events or other unknown factors.
[0037] Furthermore, the wavelet domain attention specifically includes:
[0038] For the seasonal term vector of multiple variables obtained after STL decomposition, the frequency domain attention mechanism based on wavelet transform is used to further enhance the periodic information among multiple variables. The calculation formula is as follows:
[0039]
[0040] Where W(·) represents wavelet transform, W -1 (·) represents inverse wavelet transform; q, k, v represent query, key, and value vectors in the time domain signal, respectively, and d is the dimension of the input data.
[0041] Wavelet transform can analyze data at multiple scales, especially excelling in capturing local features and extreme values of data. It gradually refines the signal at multiple scales through scaling and translation operations, and can eventually automatically adapt to the requirements of time-frequency signal analysis, thereby focusing on the details of the data. The calculation formula of discrete wavelet transform is as follows:
[0042]
[0043] In the formula, ψ(·) represents the reference wavelet, which satisfies ψ(±∞)=0, ψ(0)=0, x[m] represents the discrete time domain signal; h[·] represents the filter coefficient; N represents the input sequence length; 2 n Represents the scale factor.
[0044] Furthermore, the bidirectional long short-term memory network is a deep learning model that extends the standard LSTM, which addresses the problem that the unidirectional LSTM can only consider past information but cannot simultaneously utilize future information when processing sequence data; the BiLSTM contains two independent LSTM layers, which run forward and backward along the time axis respectively, so that past context information and future context information can be obtained simultaneously.
[0045] The forward LSTM processes the input sequence in the normal order, that is, from the first time step to the last time step; the backward LSTM processes the input sequence in reverse order, that is, from the last time step to the first time step. The BiLSTM concatenates the hidden states in these two directions as the final hidden state. This comprehensive state contains the complete contextual information from the entire sequence, and it can capture the contextual information at any position in the sequence.
[0046] Furthermore, the temporal convolutional network (TCN) is a deep learning model specially designed for processing sequence data, which is particularly suitable for tasks such as time series prediction and sequence labeling. Its main feature is to capture long-distance dependencies by stacking one-dimensional convolutional layers and hole convolutions while maintaining the parallel computing property. The convolution operation in TCN only depends on the data at the current moment and before, and does not consider future information. It uses a convolutional layer with an expansion coefficient, which can expand the receptive field of the convolution kernel and enable it to access a wider range of historical data, thereby effectively capturing long-distance dependencies without increasing the depth of the model and avoiding the problem of gradient disappearance or explosion. TCN can extract and combine features of different granularities layer by layer by stacking multiple layers of convolutional layers, thereby realizing the learning of complex patterns in sequence data.
[0047] In combination with the above technical solutions and the technical problems solved, the advantages and positive effects of the technical solutions to be protected by the present invention are as follows:
[0048] First, the photovoltaic actual power prediction method based on multivariate time series decomposition and multi-model combination proposed in this invention ensures that the prediction method focuses on key influencing factors through correlation screening; seasonal trend decomposition STL is used to reveal the deep time pattern of data; the learning of periodic features is enhanced through wavelet transform and frequency domain attention; the bidirectional long short-term memory (Bi-LSTM) model is used to capture the seasonal cycle pattern, combined with the time series convolutional network (TCN) to model the long-term evolution law of trend terms and capture the local change information of residual terms; and the prediction results are made consistent with the actual photovoltaic power generation through zero output adjustment. This method realizes the accurate and efficient prediction of photovoltaic actual power, and provides strong technical support for the operation optimization, power dispatching and even the stability of energy market of photovoltaic power stations.
[0049] Second, the present invention determines that the prediction method based on multivariable time series decomposition and multi-model combination has the best effect in photovoltaic power generation prediction. This model successfully integrates the advantages of STL decomposition, BiLSTM and TCN, time domain and frequency domain attention mechanism, which can not only accurately capture the seasonal cycle pattern of photovoltaic power, but also accurately model its long-term trend evolution, thereby achieving accurate prediction of photovoltaic power output, providing strong support for the operation optimization of photovoltaic power stations, virtual power plant scheduling and energy market decision-making.
[0050] Third, the technical features that distinguish the present invention from the prior art are as follows:
[0051] 1. Multivariate time series decomposition: This paper adopts the STL decomposition method to decompose multivariate data into components of different time scales and characteristics, revealing the trend term, seasonal term and residual term of the data, and adopts different frequency domain / time domain attention enhancement and different deep learning prediction models for different components to more accurately predict future time series changes.
[0052] 2. Multi-model combination: The present invention combines two deep learning models, BiLSTM and TCN, to predict seasonal terms and trend terms / residual terms respectively. BiLSTM can memorize the information in the sequence, and TCN extracts features through deep convolutional layers. Therefore, the combination of the two models can complement each other, so that the model can better capture and utilize deep sequence features.
[0053] 3. Time-frequency domain attention mechanism: The present invention uses wavelet transform to convert seasonal item data into frequency domain, and strengthens the information in time domain and frequency domain through attention mechanism, so that the model can more accurately capture the key features in the data and improve the model's ability to learn periodic features.
[0054] 4. Zero output adjustment: The present invention performs zero output adjustment on the prediction results according to the actual working conditions of the photovoltaic system, thereby increasing the universality and robustness of the model and making the prediction results more consistent with the actual situation.
[0055] The existing technical problems solved by the present invention and the significant technical progress achieved are:
[0056] Traditional methods often only consider the influence of a small number of variables, while the present invention introduces multi-source variables to more comprehensively consider the factors affecting photovoltaic power. At the same time, through multi-variable time series decomposition, the changes in photovoltaic power at different time and frequency are analyzed, the feature representation is further refined, and the prediction accuracy is improved. The present invention also adopts a multi-model combination method to integrate multiple model characteristics, thereby improving the prediction stability and robustness of the model. In addition, through the time-frequency domain attention mechanism, the present invention can obtain key features from different time scales and frequency ranges, improving the expression ability and accuracy of the model. Finally, the present invention uses a zero output adjustment strategy to achieve the optimization of the prediction results, avoids the problem of fluctuations in the predicted output at small values, and also improves the applicability of the method to the actual photovoltaic output situation. Therefore, the present invention can provide more accurate and stable support for the optimization and power dispatching of photovoltaic power stations, help improve the energy utilization and economic benefits of photovoltaic power stations, and has important application value.
[0057] Fourth, the present invention proposes a photovoltaic power prediction method based on multivariate time series decomposition and multi-model combination. This method deeply analyzes all available input data and uses correlation screening technology to select the Top-K variables with the highest correlation with the target variable, thereby effectively improving the input quality of the prediction model. Furthermore, through the seasonal trend decomposition method, the original data is decomposed into trend terms, seasonal terms and residual terms, providing a more accurate data basis for subsequent prediction models. This method not only solves the difficulties of traditional prediction methods in dealing with multivariate and non-stationary signals, but also significantly improves the prediction accuracy, providing strong technical support for the accurate prediction of photovoltaic power.
[0058] In the data preprocessing stage, the present invention innovatively introduces the time domain and frequency domain attention mechanism, uses wavelet transform to convert the time domain data of seasonal items of different variables into the wavelet domain, and enhances the frequency domain features through the attention mechanism. This method allows seasonal fluctuations and extreme values that are difficult to capture in time series to be displayed on the frequency domain axis, thereby helping the model to locate and allocate attention resources more accurately. At the same time, time attention is used for the time domain data of trend items and residual items to further capture important information in the time step, further improving the performance of the prediction model.
[0059] In the selection of prediction models, the present invention adopts a multi-model fusion prediction strategy, combining the bidirectional long short-term memory network and the time series convolution network to predict the decomposed seasonal terms, trend terms, and residual terms. The bidirectional long short-term memory network can simultaneously consider past and future information, effectively extract and integrate seasonal fluctuation characteristics; the time series convolution network uses its unique causal convolution and dilated convolution structure to accurately predict trend terms and residual terms. This multi-model combination method gives full play to the advantages of each model and realizes the accurate prediction of photovoltaic power generation.
[0060] Finally, the present invention also makes a zero output adjustment for the prediction results, and sets the prediction values before sunrise and after sunset to zero according to the known solar radiation time period, so that the prediction results are more consistent with the actual photovoltaic power generation situation. This step not only improves the accuracy of the prediction results, but also enhances the practicality and reliability of the prediction model. Through the above innovative technical improvements and optimizations, the present invention has made significant technical progress in the field of photovoltaic power generation prediction, and provides an efficient and accurate prediction solution for industrial applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 It is a flow chart of a photovoltaic power generation power prediction method based on multi-variable time series decomposition and multi-model combination provided by an embodiment of the present invention;
[0062] Figure 2 It is a photovoltaic power generation power prediction framework diagram based on multi-variable time series decomposition and multi-model combination provided by an embodiment of the present invention;
[0063] Figure 3 It is a comparison chart of prediction results provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0065] In industrial applications, the specific embodiments of the photovoltaic power generation prediction method based on multi-variable time series decomposition and multi-model combination can be summarized as follows:
[0066] Embodiment 1:
[0067] A photovoltaic power station is located in an area with significant seasonal changes and changeable weather conditions. The traditional photovoltaic power generation prediction method is difficult to meet the power station's requirements for prediction accuracy. The power station needs a more advanced and accurate prediction method to guide power dispatching and equipment maintenance planning.
[0068] Method application:
[0069] 1. Data collection and preprocessing:
[0070] Utilize the existing monitoring equipment in the photovoltaic power station to collect real-time meteorological information such as light intensity, temperature, wind speed, and parameters such as the output power, voltage, and current of photovoltaic modules.
[0071] The collected data is preprocessed by cleaning, screening, denoising, etc. to ensure the accuracy and completeness of the data.
[0072] 2. Correlation screening and seasonal trend decomposition:
[0073] The mutual information entropy between the actual photovoltaic power generation and various solar radiation and meteorological variable data is calculated, and the Top-K variables with the highest correlation with the target variable are selected as the input of the prediction model.
[0074] The seasonal trend decomposition method is used to decompose the screened variables into trend terms, seasonal terms and residual terms.
[0075] 3. Time domain and frequency domain attention mechanism:
[0076] The time domain data of seasonal items are converted into wavelet domain using wavelet transform, and the frequency domain features are enhanced through the attention mechanism.
[0077] A temporal attention mechanism is used for the time domain data of the trend term and the residual term to capture important information in the time step.
[0078] 4. Multi-model fusion prediction:
[0079] Combining the bidirectional long short-term memory network and the time series convolutional network, the decomposed seasonal terms, trend terms, and residual terms are predicted.
[0080] The seasonal term results predicted by the bidirectional long short-term memory network are added to the trend term and residual term results predicted by the time series convolutional network to obtain a comprehensive prediction output of the actual photovoltaic power.
[0081] 5. Zero output adjustment:
[0082] According to the known solar radiation time period, the prediction results are adjusted to zero output, and the prediction values before sunrise and after sunset are set to zero.
[0083] By applying the prediction method in this embodiment, the prediction accuracy of the photovoltaic power station has been significantly improved, and the error rate RMSE has been reduced by 43.9% compared with LSTM. The power station can more accurately predict future power generation, reasonably arrange power dispatch and equipment maintenance plans, and improve the economic benefits and operation and maintenance efficiency of the power station.
[0084] Embodiment 2:
[0085] A large photovoltaic power station group is distributed in multiple regions and faces challenges such as large climate differences and complex weather changes in different regions. The power station group needs a unified and high-precision forecasting method to optimize the overall operation.
[0086] Method application (this example focuses on the coordinated prediction of multiple power stations):
[0087] 1. Data collection and standardization:
[0088] Unified monitoring equipment is deployed in each power station to collect meteorological information, power station operating parameters and other data in real time.
[0089] Standardize the data of different power plants to ensure the consistency of data format and dimension.
[0090] 2. Multi-station data fusion:
[0091] The data from each power station is integrated to form a unified data set.
[0092] Using the correlation screening method, the variables with the highest correlation with the overall photovoltaic actual power are selected as the input of the prediction model.
[0093] 3. Multivariate time series decomposition and multi-model combination forecasting:
[0094] Perform seasonal trend decomposition on the fused data.
[0095] The time domain and frequency domain attention mechanism, multi-model fusion prediction and other technologies are used to predict the power generation of the entire photovoltaic power station group.
[0096] 4. Result analysis and optimization:
[0097] Based on the forecast results, the power dispatching and equipment maintenance plans of each power station are uniformly optimized.
[0098] Analyze the mutual impact and synergy between different power stations and propose targeted improvement measures.
[0099] Through the prediction method in this embodiment, the overall prediction accuracy of the photovoltaic power station group has been significantly improved, providing strong support for the unified operation and coordinated optimization of the power station group. The power station group can more accurately predict future power generation, optimize resource allocation, and improve overall economic benefits and competitiveness.
[0100] like Figure 1 , 2 As shown, an embodiment of the present invention provides a photovoltaic power generation prediction method based on multivariable time series decomposition and multi-model combination, the method comprising:
[0101] S1: Relevance screening. In the early stages of the forecasting process, all available input data (including but not limited to meteorological parameters such as temperature, relative humidity, and equipment status data such as zenith angle, total solar radiation, etc.) are analyzed in depth;
[0102] S2: Seasonal trend decomposition. For the selected Top-K related variables, the seasonal trend decomposition method is introduced for preprocessing;
[0103] S3: Time and frequency domain attention. Taking advantage of the unique advantages of wavelet transform for non-stationary signals, the seasonal term time domain data of different variables are converted to the wavelet domain, and the frequency domain features are enhanced through the attention mechanism. The seasonal fluctuations and extreme values that are difficult to capture in the time series are displayed on the frequency domain axis, so that the model can locate and allocate attention resources more accurately. At the same time, the time domain data of the trend term and the residual term are respectively treated with time attention to capture important information in the time step.
[0104] S4: Multi-model fusion prediction. Based on the STL decomposition, the decomposed seasonal term, trend term, and residual term are predicted using a bidirectional long short-term memory network and a time series convolutional network: the seasonal term predicted by the bidirectional long short-term memory network is added to the trend term and residual term predicted by the time series convolutional network to obtain a comprehensive prediction output of the actual photovoltaic power; this different model fusion strategy not only fully utilizes the advantages of each model, but also effectively compensates for the limitations of a single model, thereby improving the robustness and accuracy of the overall prediction system;
[0105] S5: Zero output adjustment. The prediction results were adjusted to zero output according to the known solar irradiation time period; considering that the solar irradiation time of the adjacent days is basically the same, the values of the time periods before sunrise and after sunset in the prediction results were set to zero according to the solar irradiation time period of the previous day, so that the results are consistent with the actual photovoltaic power generation situation.
[0106] The S1 specifically includes:
[0107] Mutual information entropy is used to quantitatively evaluate the correlation between each data variable and the target variable (i.e., photovoltaic actual power). Based on these calculation results, it is proposed to select the Top-K variables with the highest correlation with photovoltaic actual power as the input of the subsequent prediction model, aiming to filter out noise factors that have little or no impact on power prediction, thereby focusing on the most influential key variables and improving the pertinence and efficiency of the prediction model.
[0108] The seasonal trend decomposition method is a powerful time series analysis technique that can decompose the original data into three parts: a trend term (reflecting long-term variation patterns), a seasonal term (characterizing periodic fluctuations) and a residual term (including random disturbances). This decomposition helps reveal the inherent temporal patterns of each variable, making it easier to subsequently adopt appropriate prediction models for components of different natures.
[0109] The bidirectional long short-term memory network can effectively extract and integrate seasonal fluctuation characteristics by considering both past and future information on the time axis. It is suitable for capturing seasonal cycle patterns in photovoltaic power output and improving prediction accuracy. The time series convolutional network is used to predict trend terms and residual terms: using its unique causal convolution and dilated convolution structure, it can flexibly adapt to time series of various lengths, capture local dependencies, and model the long-term evolution of trend terms by expanding the receptive field, and has stable gradient propagation capabilities.
[0110] In S3, the time domain data of the trend term and the residual term are respectively subjected to time attention, and the important information in the time step is captured, which includes the following key steps:
[0111] (1) Frequency domain conversion. The input time domain features are transformed through discrete wavelet transform to obtain the corresponding frequency domain features;
[0112] (2) Attention weight calculation. Attention weights are assigned according to the importance of frequency domain features, and the learned attention weights are applied to the frequency domain representation, that is, weighted operations are performed on each frequency domain component to enhance the important frequency domain parts and weaken the less important parts;
[0113] (3) Fusion and inverse transformation. The frequency domain features after weight adjustment are fused and inversely transformed back to the time domain to generate enhanced time domain feature representation;
[0114] (4) Feature concatenation: The features processed by the frequency domain attention mechanism are combined with the original time domain features and input into the subsequent time series prediction network.
[0115] The S1 correlation calculation method is as follows:
[0116] Multivariate prediction is more accurate than single variable prediction, but it is necessary to select highly correlated variables. Therefore, the relevant variables are screened by calculating the mutual information entropy (MIE) between the actual photovoltaic power generation and various solar radiation and meteorological variable data.
[0117] Mutual information entropy is a dimensionless measure of the information that a random variable X can provide about the change of another random variable Y. Unlike the Pearson coefficient, which can only measure linear correlation, mutual information entropy is applicable to variables with linear or nonlinear correlation. The greater the mutual information between two variables, the higher the correlation between the variables. When the mutual information entropy is 0, the two variables are independent of each other.
[0118] The calculation formula of mutual information is as follows:
[0119]
[0120] Where p(x) and p(y) are the marginal probability distribution functions of X and Y, and p(x, y) is the joint probability distribution function of X and Y. Mutual information measures the information shared between two random variables, and can also be expressed as the amount by which the uncertainty of Y is reduced due to the introduction of X. In this case, mutual information is the same as information gain.
[0121] For continuous variables, mutual information is calculated using density estimation methods. For variable x, there are N samples, and its density function is:
[0122]
[0123] Where δ(·) is the Gaussian window function, x (i) is the i-th sample, h is the window width, z = xx (i) , d is the dimension of x, ∑ is the covariance of z, when d = 1, is the marginal density estimate of variable x, when d = 2, is the joint probability distribution density of x and y; the mutual information entropy is used to calculate the influence of each factor on the actual photovoltaic power, and the influencing factors are ranked according to their size.
[0124] The time series decomposition adopts STL decomposition: STL decomposition is a non-parametric decomposition method, which usually includes the following parts after decomposition: trend term, seasonal term and residual term. Its core mechanism is to use local weighted regression smoothing technology, and its expression is as follows:
[0125] X t =T t +S t +I t (4)
[0126] Where, X t is the observed value of the time series at time point t, T t is the trend component, S t It is a seasonal component, I t It is an irregular component;
[0127] The STL decomposition process is iterative until the estimates of the trend and seasonal components converge or the predetermined number of iterations is reached. After the decomposition is completed, the residual term obtained is usually regarded as a random fluctuation or the remaining part not explained by the trend and seasonal terms, including the influence of noise, sudden events or other unknown factors.
[0128] The wavelet domain attention specifically includes:
[0129] For the seasonal term vector of multiple variables obtained after STL decomposition, the frequency domain attention mechanism based on wavelet transform is used to further enhance the periodic information among multiple variables. The calculation formula is as follows:
[0130]
[0131] Where W(·) represents wavelet transform, W -1 (·) represents inverse wavelet transform; q, k, v represent query, key, and value vectors in the time domain signal, respectively, and d is the dimension of the input data;
[0132] Wavelet transform can analyze data at multiple scales, especially excelling in capturing local features and extreme values of data. It gradually refines the signal at multiple scales through scaling and translation operations, and can eventually automatically adapt to the requirements of time-frequency signal analysis, thereby focusing on the details of the data. The calculation formula of discrete wavelet transform is as follows:
[0133]
[0134] In the formula, ψ(·) represents the reference wavelet, which satisfies ψ(±∞)=0, ψ(0)=0, x[m] represents the discrete time domain signal; h[·] represents the filter coefficient; N represents the input sequence length; 2 n Represents the scale factor.
[0135] The bidirectional long short-term memory network is a deep learning model that extends the standard LSTM. It addresses the problem that the unidirectional LSTM can only consider past information but cannot use future information at the same time when processing sequence data. The BiLSTM contains two independent LSTM layers, which run forward and backward along the time axis respectively, so that past context information and future context information can be obtained at the same time.
[0136] The forward LSTM processes the input sequence in the normal order, that is, from the first time step to the last time step; the backward LSTM processes the input sequence in reverse order, that is, from the last time step to the first time step. The BiLSTM concatenates the hidden states in these two directions as the final hidden state. This comprehensive state contains the complete contextual information from the entire sequence, and it can capture the contextual information at any position in the sequence.
[0137] The temporal convolutional network is a deep learning model specially designed for processing sequence data. It is particularly suitable for tasks such as time series prediction and sequence labeling. Its main feature is to capture long-distance dependencies by stacking one-dimensional convolutional layers and hole convolutions while maintaining the parallel computing property. The convolution operation in TCN only depends on the data at the current moment and before, and does not consider future information. It uses a convolutional layer with an expansion coefficient, which can expand the receptive field of the convolution kernel and enable it to access a wider range of historical data, thereby effectively capturing long-distance dependencies without increasing the depth of the model and avoiding the problem of gradient disappearance or explosion. TCN can extract and combine features of different granularities layer by layer by stacking multiple convolutional layers, thereby realizing the learning of complex patterns in sequence data.
[0138] In order to prove the creativity and technical value of the technical solution of the present invention, this section provides application examples of the claimed technical solution in specific products or related technologies.
[0139] 1. Dataset Construction
[0140] The data set uses photovoltaic data provided by a photovoltaic power station in Northwest China from 10:00 on January 1, 2007 to 23:00 on October 6, 2020, with a data sampling frequency of 15 minutes. Each month contains 2688-2935 data items, totaling 482643 data items, including 17 different feature data: actual power (W), air temperature (℃), azimuth (0-360), cloud opacity, dew point temperature (℃), DHI (solar diffuse radiation index), DNI (solar direct radiation index), GHI (global horizontal solar radiation), GTI (fixed tilt radiation), GTI (tracking tilt radiation), atmospheric precipitable water (m), relative humidity (%), snow depth (m), ground pressure (mb), 10m wind direction (0-360), 10m wind speed (m / s), zenith angle (0-180).
[0141] Table 1 Multivariate feature types contained in the dataset
[0142]
[0143] Since the data interval is 15 minutes, that is, there are 96 data samples every day, the data samples of the previous three days (i.e. 388) are used as model input to predict the actual power value of the next day (96). The training set and the test set are divided into 8:2 ratios, where the training set contains 6400 data and the test set contains 1600 data. All data are normalized for time series prediction model training.
[0144] 2. Experiment
[0145] 2.1 Evaluation indicators
[0146] In order to verify the effectiveness of this method, different types of evaluation indicators are selected, such as Mean Absolute Error (MAE), Root Mean Square Error (RMSE) and Coefficient of Determination (R 2 ) evaluates the degree of agreement between the predicted value and the true value. MAE, RMSE and R 2 The calculation formula is as follows:
[0147]
[0148]
[0149] Where: n is the predicted length, y i is the actual photovoltaic power value at time i, is the power prediction value at time i, is the average value of the actual photovoltaic power, Represents the average value of the power prediction.
[0150] When the model predicts the effective power of photovoltaic power generation, the smaller the values of MAE and RMSE, the more accurate the prediction results are. 2 The value of is between 0 and 1, 1 means a perfect fit, and 0 means there is no relationship between the predicted value and the actual value. All three evaluation indicators can reflect the accuracy of model prediction. 2 The process of comparing the predicted value with the original data can more intuitively display the degree of error in terms of magnitude, and is more fair and objective.
[0151] 2.2 Experimental results analysis and discussion
[0152] 2.2.1 Relevance screening of TOP-K variables
[0153] The correlation of each variable is calculated based on the mutual information entropy, and the results are shown in Table 3. Since the total solar radiation level GHI and photovoltaic power generation are strongly linearly related in the experimental data, the prediction of actual power is equivalent to the prediction of GHI, so the GHI indicator is not included in Table 3.
[0154] Table 3 Correlation calculation results
[0155] variable MIE variable MIE DHI (Diffuse Solar Radiation Index) 3.3553 Precipitable Water 2.0813 DNI (Direct Solar Radiation Index) 2.8145 Relative humidity 2.640 GTI (Fixed Tilt Radiation) 3.7591 Snow depth 0.2103 GTI (tracking tilt radiation) 3.7769 Ground pressure 2.3739 Temperature 2.6236 Wind direction at 10m height nan Azimuth 2.5901 Wind speed at 10m 1.5768 Cloud Opacity 2.1086 Zenith angle 2.33111 Dew point temperature 2.4206
[0156] According to the results in Table 3, the four variables with the highest MIE index are selected, namely: GTI (tracking tilt radiation), GTI (fixed tilt radiation), DHI (diffuse solar radiation index), and DNI (direct solar radiation index).
[0157] 2.2.2 Comparative Experiment
[0158] In order to explore the optimal model architecture for photovoltaic time power prediction, this study compared a variety of different prediction schemes. After detailed experiments and performance evaluation, the results showed that the method based on multivariable time series decomposition and multi-model combination (multivariable-STL decomposition-BiLSTM+TCN+Atten-zero adjustment) of the embodiment of the present invention showed significant advantages in prediction accuracy, generalization ability and model stability, proving that it is the optimal prediction scheme. Table 4 is a performance comparison of the patented method with the currently commonly used LSTM photovoltaic power prediction method and the latest (2023) long time series prediction network PatchTST. All models use multiple variables as input. The results show that the patented method has better prediction performance than both the LSTM based on recurrent neural network and the PatchTST based on Transformer.
[0159] Table 4 Comparison results of prediction model evaluation indicators
[0160] Model MAE RMSE <![CDATA[R 2 ]]> LSTM 6.7136 11.0262 0.9143 PatchTST 5.1821 9.815 0.9397 This patented method 3.4419 6.1863 0.9731
[0161] Table 5 shows the results of the ablation experiments of each module of the method of this patent, to illustrate the effectiveness of each module in this patent.
[0162] Table 5 Ablation experimental results of the patent method
[0163]
[0164] As can be seen from Table 5, in the method with serial number 1, only the TCN network is used, and the photovoltaic power generation power of the previous three days is used as a single variable input, the prediction result can achieve good results, such as Figure 3 As shown in Figure 2, the method of No. 2 first performs STL decomposition on the input, then predicts the decomposed seasonal term, trend term, and residual term components using the TCN network, and finally integrates the output. Compared with the method without variable decomposition (No. 1), the RMSE and R2 indicators are improved, but the MAE error increases, which shows that how to effectively use each component has an important impact on the prediction performance of the method.
[0165] The same situation also occurs when using multiple variables as input (No. 3 and No. 4). Comparing No. 3 and No. 4 methods with No. 1 and No. 2 methods, it can be seen that directly using multiple variables will cause interference, increase errors, and reduce the R2 index, but increasing time series decomposition can effectively reduce the interference caused by the introduction of multiple variables.
[0166] Method No. 5 predicts the seasonal term component after STL decomposition by BiLSTM network, and predicts the trend term and residual term by TCN network, and the prediction performance is significantly improved; Method No. 6 adds a time-frequency attention module on the basis of Method No. 5, and the results show that the MAE and RMSE error indicators are further reduced, and the R2 indicator is further improved. This shows that the core module in the embodiment method of the present invention has a good effect on capturing the relationship between multiple variables and time series periodicity, as well as long series prediction. Finally, No. 7 is the result after adding zero output adjustment. It can be seen that the overall prediction performance is optimal, with an average absolute error of 3.44 and R2=0.97. In addition, in multiple repeated experiments in different time periods, different seasons and different weather conditions, the prediction performance of the embodiment method of the present invention is stable, the error fluctuation is small, and good model stability is shown.
[0167] The embodiment of the present invention determines that the prediction method based on multivariable time series decomposition and multi-model combination has the best effect in photovoltaic power generation prediction. The model successfully integrates the advantages of STL decomposition, BiLSTM and TCN, time domain and frequency domain attention mechanism, which can not only accurately capture the seasonal cycle pattern of photovoltaic power, but also accurately model its long-term trend evolution, thereby realizing accurate prediction of photovoltaic power output, and providing strong support for the operation optimization of photovoltaic power stations, virtual power plant scheduling and energy market decision-making.
[0168] Step 1: Relevance Screening
[0169] At the initial stage of the forecasting process, all available input data are examined in depth and detail. These data cover a wide range of influencing factors, such as meteorological parameters (temperature, relative humidity, etc.) and equipment status information (zenith angle, total horizontal solar radiation, etc.). In order to quantitatively evaluate the linear / nonlinear correlation strength between each data variable and the target variable-the actual photovoltaic power-the embodiment of the present invention uses mutual information entropy (MIE) for quantification. Based on the MIE calculation results, the embodiment of the present invention proposes to select the Top-K variables with the highest correlation with the actual photovoltaic power as the input of the subsequent forecasting model. This screening step is intended to filter out interference factors that contribute little or nothing to power forecasting, so that the forecasting model can focus on the few most influential key variables, thereby improving the pertinence and computational efficiency of the forecasting model.
[0170] Step 2: STL decomposition
[0171] For the selected Top-K related variables, the embodiment of the present invention uses the STL decomposition method for preliminary data processing. As a powerful time series analysis technology, STL has the ability to decompose the original data into three parts: trend term (reflecting long-term trends), seasonal term (depicting periodic fluctuation characteristics) and residual term (including random disturbances). This decomposition process helps to reveal the implicit time pattern within each variable, laying the foundation for the subsequent application of designing appropriate prediction models for components with different characteristics.
[0172] Step 3: Time and frequency domain attention
[0173] In time series prediction, the time domain and frequency domain complement each other. The embodiment of the present invention utilizes the unique advantage of wavelet transform for non-stationary signals. By converting the time domain data of seasonal items of different variables into the wavelet domain and enhancing the frequency domain features through the attention mechanism, seasonal fluctuations and extreme values that are difficult to capture in the time series are displayed on the frequency domain axis, so that the model can locate and allocate attention resources more accurately. At the same time, the time domain data of the trend item and the residual item are respectively subjected to time attention to capture important information in the time step.
[0174] Step 4: Multi-model fusion prediction
[0175] Based on the STL decomposition, the embodiment of the present invention uses two advanced deep learning models to predict the decomposed seasonal terms, trend terms and residual terms: the bidirectional long short-term memory network (BiLSTM) is used to predict the seasonal terms, and the temporal convolutional network (TCN) is used to predict the trend terms and residual terms. The comprehensive prediction output of the actual photovoltaic power is obtained by adding the prediction results of the two. This multi-model fusion strategy fully utilizes the advantages of each model and improves the robustness and accuracy of the overall prediction system.
[0176] Step 5: Zero output adjustment
[0177] The output of the time series prediction is an approximation of the time series data and has a certain volatility. When there is no sunlight at night, the photovoltaic output is zero, but the result of the time series prediction is often close to zero. The embodiment of the present invention adjusts the prediction result to zero output according to the known solar radiation time period, so that the result is more consistent with the actual photovoltaic power generation situation.
[0178] The photovoltaic power prediction method of multivariable time series decomposition and multi-model combination proposed in the embodiment of the present invention successfully achieves accurate and efficient prediction of photovoltaic actual power through correlation screening, STL decomposition, time domain and frequency domain attention mechanism, multi-model fusion prediction and zero output adjustment. This innovative method provides strong technical support for the daily operation optimization of photovoltaic power stations, the optimization and scheduling decision of virtual power plants, and even the promotion of the development of the new energy market, showing significant application value and broad market prospects.
[0179] It should be noted that the embodiments of the present invention can be implemented by hardware, software, or a combination of software and hardware. The hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. It can be understood by a person of ordinary skill in the art that the above-mentioned devices and methods can be implemented using computer executable instructions and / or contained in a processor control code, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the carrier medium. The device and its modules of the present invention can be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., can also be implemented by software executed by various types of processors, and can also be implemented by a combination of the above-mentioned hardware circuits and software, such as firmware.
[0180] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.
Claims
1. A photovoltaic power generation prediction method based on multivariable time series decomposition and multi-model combination, characterized in that: The method includes: S1: Relevance screening: In-depth analysis of all available input data at the early stages of the forecasting process; S2: Seasonal trend decomposition: For the selected Top-K related variables, the seasonal trend decomposition method is introduced for preprocessing; S3: Time and frequency domain attention; Taking advantage of the unique advantages of wavelet transform for non-stationary signals, the seasonal term time domain data of different variables are converted to the wavelet domain, and the frequency domain features are enhanced through the attention mechanism. The seasonal fluctuations and extreme values that are difficult to capture in the time series are displayed on the frequency domain axis, so that the model can locate and allocate attention resources more accurately. At the same time, the time domain data of the trend term and the residual term are respectively treated with time attention to capture important information in the time step. S4: Multi-model fusion prediction: Based on the STL decomposition, the decomposed seasonal term, trend term, and residual term are predicted using a bidirectional long short-term memory network and a time series convolutional network: the seasonal term predicted by the bidirectional long short-term memory network is added to the trend term and residual term predicted by the time series convolutional network to obtain a comprehensive prediction output of the actual photovoltaic power; S5: Zero output adjustment: The prediction results are adjusted to zero output according to the known solar radiation time period; considering that the solar radiation time of the adjacent days is basically the same, the values of the time periods before sunrise and after sunset in the prediction results are set to zero according to the solar radiation time period of the previous day, so that the results are consistent with the actual photovoltaic power generation situation.
2. The photovoltaic power generation prediction method based on multivariable time series decomposition and multi-model combination as claimed in claim 1, characterized in that: The S1 specifically includes: Mutual information entropy is used to quantitatively evaluate the correlation between each data variable and the target variable. Based on these calculation results, it is proposed to select the Top-K variables with the highest correlation with the actual photovoltaic power as the input of the subsequent prediction model.
3. The photovoltaic power generation prediction method based on multivariable time series decomposition and multi-model combination as claimed in claim 1, characterized in that: The seasonal trend decomposition method is a powerful time series analysis technique that can decompose the original data into three parts: trend term, seasonal term and residual term. This decomposition helps to reveal the intrinsic temporal pattern of each variable, making it easier to subsequently adopt appropriate prediction models for components of different natures.
4. The photovoltaic power generation prediction method based on multivariable time series decomposition and multi-model combination as claimed in claim 1, characterized in that: The bidirectional long short-term memory network can effectively extract and integrate seasonal fluctuation characteristics by considering both past and future information on the time axis. It is suitable for capturing seasonal cycle patterns in photovoltaic power output and improving prediction accuracy. The time series convolutional network is used to predict trend terms and residual terms: utilizing its unique causal convolution and dilated convolution structures.
5. The photovoltaic power generation prediction method based on multivariable time series decomposition and multi-model combination as claimed in claim 1, characterized in that: In S3, the time domain data of the trend term and the residual term are respectively subjected to time attention, and the important information in the time step is captured, which includes the following key steps: (1) Frequency domain conversion. The input time domain features are transformed through discrete wavelet transform to obtain the corresponding frequency domain features; (2) Attention weight calculation. Attention weights are assigned according to the importance of frequency domain features, and the learned attention weights are applied to the frequency domain representation, that is, weighted operations are performed on each frequency domain component to enhance the important frequency domain parts and weaken the less important parts; (3) Fusion and inverse transformation. The frequency domain features after weight adjustment are fused and inversely transformed back to the time domain to generate enhanced time domain feature representation; (4) Feature concatenation: The features processed by the frequency domain attention mechanism are combined with the original time domain features and input into the subsequent time series prediction network.
6. The photovoltaic power generation prediction method based on multivariable time series decomposition and multi-model combination as claimed in claim 1, characterized in that: The S1 correlation calculation method is as follows: Multivariate prediction is more accurate than single variable prediction, but it is necessary to select variables with high correlation. Therefore, relevant variables are screened by calculating the mutual information entropy MIE between the actual photovoltaic power generation and various solar radiation and meteorological variable data. Mutual information entropy is a dimensionless measure of the information that a random variable X can provide about the changes in another random variable Y. Unlike the Pearson coefficient, which can only measure linear correlation, mutual information entropy is applicable to variables with linear or nonlinear correlation. The greater the mutual information between two variables, the higher the correlation between the variables. When the mutual information entropy is 0, the two variables are independent of each other. The calculation formula of mutual information is as follows: Among them, p(x) and p(y) are the marginal probability distribution functions of X and Y, and p(x, y) is the joint probability distribution function of X and Y. Mutual information measures the information shared between two random variables, and can also be expressed as the amount by which the uncertainty of Y is reduced due to the introduction of X. In this case, mutual information is the same as information gain. For continuous variables, mutual information is calculated using density estimation methods. For variable x, there are N samples, and its density function is: Where δ(·) is the Gaussian window function, x (i) is the i-th sample, h is the window width, z = xx (i) , d is the dimension of x, ∑ is the covariance of z, when d = 1, is the marginal density estimate of variable x, when d = 2, is the joint probability distribution density of x and y; the mutual information entropy is used to calculate the influence of each factor on the actual photovoltaic power, and the influencing factors are ranked according to their size.
7. The photovoltaic power generation prediction method based on multivariable time series decomposition and multi-model combination as claimed in claim 1, characterized in that: The time series decomposition adopts STL decomposition: STL decomposition is a non-parametric decomposition method, which usually includes the following parts after decomposition: trend term, seasonal term and residual term. Its core mechanism is to use local weighted regression smoothing technology, and its expression is as follows: X t =T t +S t +I t (4) In the formula, X t is the observed value of the time series at time point t, T t is the trend component, S t It is a seasonal component, I t It is an irregular component. The STL decomposition process is iterative until the estimates of the trend and seasonal components converge or the predetermined number of iterations is reached. After the decomposition is completed, the residual term obtained is usually regarded as a random fluctuation or the remaining part not explained by the trend and seasonal terms, including the influence of noise, sudden events or other unknown factors.
8. The photovoltaic power generation prediction method based on multivariable time series decomposition and multi-model combination as claimed in claim 1, characterized in that: The wavelet domain attention specifically includes: For the seasonal term vector of multiple variables obtained after STL decomposition, the frequency domain attention mechanism based on wavelet transform is used to further enhance the periodic information among multiple variables. The calculation formula is as follows: Where W(·) represents wavelet transform, W -1 (·) represents inverse wavelet transform; q, k, v represent query, key, and value vectors in the time domain signal, respectively, and d is the dimension of the input data; Wavelet transform can analyze data at multiple scales, especially excelling in capturing local features and extreme values of data. It gradually refines the signal at multiple scales through scaling and translation operations, and can eventually automatically adapt to the requirements of time-frequency signal analysis, thereby focusing on the details of the data. The calculation formula of discrete wavelet transform is as follows: In the formula, ψ(·) represents the reference wavelet, which satisfies ψ(±∞)=0, ψ(0)=0, x[m] represents the discrete time domain signal; h[·] represents the filter coefficient; N represents the input sequence length; 2 n Represents the scale factor.
9. The photovoltaic power generation prediction method based on multivariable time series decomposition and multi-model combination as claimed in claim 1, characterized in that: The bidirectional long short-term memory network is a deep learning model that extends the standard LSTM. It addresses the problem that the unidirectional LSTM can only consider past information but cannot use future information at the same time when processing sequence data. The BiLSTM contains two independent LSTM layers, which run forward and backward along the time axis respectively, and can obtain past context information and future context information at the same time. The forward LSTM processes the input sequence in regular order, from the first time step to the last time step; The backward LSTM processes the input sequence in reverse order, that is, from the last time step to the first time step. The BiLSTM concatenates the hidden states in these two directions as the final hidden state. This comprehensive state contains complete contextual information from the entire sequence, and it can capture the contextual information at any position in the sequence.
10. A photovoltaic power generation prediction method based on multivariable time series decomposition and multi-model combination, characterized in that: The method includes: a. Real-time collection of multi-variable data such as meteorological information and operating parameters of photovoltaic power generation systems; b. Preprocess the collected multivariate data, including data cleaning, screening and denoising; c. Using the correlation screening method, select the variable with the highest correlation with the target variable from the multivariate data as the input of the prediction model; d. Perform time series decomposition on the selected variables to extract trend terms, seasonal terms and residual terms; e. Build multiple forecasting models respectively, and each model makes forecasts for the decomposed trend term, seasonal term or residual term; f. Combining the prediction results of multiple prediction models to obtain the final prediction value of photovoltaic power generation; g. Based on the final forecast value, optimize the power dispatching, equipment maintenance and other operational activities of the photovoltaic power generation system.
Citation Information
Patent Citations
An Attention LSTM-based photovoltaic power generation power prediction model and a construction method thereof
CN109886492A
Photovoltaic power multi-model interval prediction method
CN110110912A
Electrical load prediction method based on time series data periodicity
CN114519471A
Photovoltaic power combination prediction method, device, equipment and medium
CN116050658A
Short-term wind power prediction method based on data reconstruction and TCN-BiLSTM
CN116070768A
Cited By
Photovoltaic maximum output power prediction method and system, electronic equipment and storage medium
CN119150253A
Weather data prediction method based on sequence segmentation and frequency domain attention
CN119167067A
A weather data prediction method based on sequence segmentation and frequency domain attention
CN119167067B
Seasonal trend decomposition-based short-term photovoltaic power generation power interval combined prediction method
CN119297992A
Predictive maintenance method and system for photovoltaic water heater based on deep learning
CN119315552A
