A photovoltaic power forecasting method considering historical similar days and combination weights

Through the combined prediction method of gray correlation method and fuzzy C-means clustering combined with LSSVR and CEEMDAN-CNN-LSTM models, the grid stability problem caused by uncertainty in photovoltaic power prediction is solved, and the prediction accuracy and robustness are improved. Energy waste is reduced and more efficient grid management is achieved.

CN118469106BActive Publication Date: 2024-09-06NANJING NORMAL UNIVERSITY
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410942530.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-09-06
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

Uncertainty exists in photovoltaic power prediction when distributed renewable energy is connected to the grid, resulting in grid stability and frequency fluctuation problems that are difficult to effectively solve with existing technology.

Method used

The gray correlation method is used to select meteorological features and fuzzy C-means clustering is used to classify weather types. The least squares support vector machine (LSSVR) and complete ensemble empirical mode decomposition (CEEMDAN) are combined with the convolutional network (CNN) and the long short-term memory network. (LSTM) hybrid model for prediction, and model combination through gray correlation analysis method.

Benefits of technology

It improves the accuracy and robustness of photovoltaic power prediction, reduces prediction errors, improves power grid dispatching and energy management, reduces energy waste, and brings economic benefits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118469106B
    Figure CN118469106B
Patent Text Reader

Abstract

The present invention discloses a photovoltaic power prediction method considering historical similar days and combination weights, comprising the following steps: (1) selecting important meteorological features by using grey correlation, and dividing historical days into sunny, cloudy, overcast and rainy and snowy weather to form a training set by using fuzzy C-means clustering; (2) predicting the four classified training sets by using least squares support vector machine (LSSVR) respectively; (3) decomposing historical data into a number of subsequences by using complete set empirical mode decomposition, and predicting each subsequence by using a hybrid network model of convolutional network and long short-term memory network with attention mechanism; (4) combining the prediction result of LSSVR with the prediction result of C model by using grey correlation analysis method to obtain the final prediction result; the present invention can more effectively manage and dispatch the energy of photovoltaic power station, reduce the energy waste caused by prediction error, and thus bring significant economic benefits.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of photovoltaic power of distribution network, and in particular to a photovoltaic power prediction method considering historical similar days and combination weights. Background Art

[0002] Photovoltaic power prediction technology is facing challenges brought by the integration of distributed renewable energy into the grid. As solar power generation continues to increase, its inherent volatility and uncertainty affect the stability of the power grid. The instability of solar power generation mainly comes from changes in sunshine and weather conditions, which increase the uncertainty of power grid operation and make voltage distribution and frequency fluctuations more complicated. Therefore, accurate photovoltaic power prediction is crucial for optimizing grid dispatch and improving power quality, especially in the context of the increasing proportion of distributed energy and random loads. Summary of the invention

[0003] Purpose of the invention: The purpose of the present invention is to provide a photovoltaic power prediction method that takes into account historical similar days and combined weights, so as to overcome the node frequency fluctuation phenomenon caused by the connection of wind storage equipment to the distribution network, which makes it difficult for the distribution network to operate stably and plan the distribution network.

[0004] Technical solution: The photovoltaic power prediction method considering historical similar days and combination weights described in the present invention comprises the following steps:

[0005] (1) The meteorological features were selected using the grey correlation method, and the fuzzy C-means clustering was used to divide the historical days into sunny, cloudy, overcast, and rainy and snowy weather to form the training set;

[0006] (2) The four classified training sets are predicted by the least squares support vector machine (LSSVR).

[0007] (3) Use the complete set empirical mode decomposition (CEEMDAN) to decompose historical data into several subsequences, and predict each subsequence through a hybrid network model (CEEMDAN-CNN-LSTM) that combines a convolutional network (CNN) with a long short-term memory (LSTM) network and adds an attention mechanism;

[0008] (4) The prediction results of LSSVR are combined with those of the CEEMDAN-CNN-LSTM model using the grey correlation analysis method to obtain the final prediction results.

[0009] Furthermore, in step (1), the meteorological characteristics include global horizontal ultraviolet irradiance, ambient temperature, rainfall, and wind direction; the fuzzy C-means clustering method formula is as follows:

[0010] ;

[0011] ;

[0012] The data set is , that is, the photovoltaic daily power time series; For the j Power data for the day; is the sample membership; For the fuzzy factor m The size of sample membership under the size of ; n is the number of samples, i.e. the number of days; is the cluster center; m is the fuzzy factor.

[0013] Furthermore, step (2) is as follows: for the training sample , construct the objective function, the formula is as follows:

[0014] ;

[0015] in, is a slack variable; C is a regularization coefficient, which is used to control the complexity of the model; is the loss function; To solve the problem of w, b, is the minimum objective function of the variable; is the weight vector; To solve the norm of w;

[0016] The objective function is expressed by Lagrange multiplier method as follows:

[0017] ;

[0018] in, For sample i The Lagrange multiplier of ; is the offset; To solve the problem of w, b, , is the Lagrangian objective function of the variables; w. is the Lagrangian objective function of the variables; The original data points Mapping to new feature space function; is the Lagrange multiplier;

[0019] At the same time, according to Lagrangian optimization conditions:

[0020] get:

[0021] ;

[0022] Select radial basis function as kernel function, kernel function The formula is as follows:

[0023] ;

[0024] in, is the parameter of the kernel function, and the objective function is converted into a nonlinear regression equation:

[0025] ;

[0026] And after solving, we get the first prediction result.

[0027] Furthermore, in step (3), decomposing the historical data into several subsequences using the complete ensemble empirical mode decomposition (CEEMDAN) includes the following steps:

[0028] (S1) In the photovoltaic power signal Add N The new signal is obtained by grouping Gaussian white noise, and then the modal decomposition EMD is used to decompose the signal to obtain the first intrinsic modal component The formula is as follows:

[0029] ;

[0030] The decomposition process The residual is:

[0031] ;

[0032] in, Indicates solution Expected value; Indicates that it is added to the original signal The auxiliary noise in For the m Different noise added in iterations;

[0033] (S2) in the residual Add a white noise signal to the EMD decomposition to obtain the modal components and repeat the calculation N times, taking the average value to get the second ,in, Represents the residual function obtained in the mth iteration; the formula is as follows:

[0034] ;

[0035] Secondly, the second residual is obtained during the decomposition process :

[0036] ;

[0037] (S3) Repeat steps (S1) and (S2) until no modal components of the load rule can be obtained; at this time for g , the original signal That is decomposed into:

[0038] ;

[0039] (S4) decomposes the signal from (S3) Put it into the CNN-LSTM model for prediction to get the second prediction result.

[0040] Furthermore, step (4) is as follows: First, the prediction result of the similar day model is recorded as ; The day-ahead model prediction result is recorded as ; The actual photovoltaic power on the day to be predicted is recorded as , the deviation between the two prediction results and the true value is recorded as ,but:

[0041] ;

[0042] in, is the resolution coefficient;

[0043] The correlation coefficient matrix between the models is:

[0044] ;

[0045] in, is the correlation coefficient matrix, for deviation; is the minimum deviation value; is the maximum deviation value;

[0046] The correlation coefficient matrix is ​​normalized, and the outputs of the two prediction models are weighted combined according to the dynamic correlation coefficient weight to obtain the hybrid model prediction result. The formula is as follows:

[0047] ;

[0048] Among them, P is the final predicted value, For the LSSVR model i Correlation coefficient of predicted value; The first i predicted values; For the CNN-LSTM model i Correlation coefficient of predicted value; is the first i predicted value.

[0049] Beneficial effects: Compared with the prior art, the present invention has the following significant advantages: the present invention selects key meteorological features through grey correlation and combines fuzzy C-means clustering to classify weather types for historical days, thereby improving the adaptability and accuracy of the prediction model for photovoltaic power changes under different weather conditions; and uses the grey correlation method to combine and weight the prediction results of the CNN-LSTM model and the LSSVR model, fully integrating the advantages of the two models. This paper uses the grey correlation analysis method to dynamically combine the prediction results of the two models and assign weights to improve the prediction accuracy and robustness of the model, which can more effectively manage and dispatch the energy of photovoltaic power stations, reduce energy waste caused by prediction errors, and thus bring significant economic benefits. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 It is a schematic diagram of the present invention. DETAILED DESCRIPTION

[0051] like Figure 1 As shown, an embodiment of the present invention provides a photovoltaic power prediction method considering historical similar days and combination weights, comprising the following steps:

[0052] (1) The meteorological features were selected using the grey correlation method, and the fuzzy C-means clustering was used to divide the historical days into sunny, cloudy, overcast, and rainy and snowy weather to form a training set. The meteorological features included global horizontal ultraviolet irradiance, ambient temperature, rainfall, and wind direction. The fuzzy C-means clustering method formula is as follows:

[0053] ;

[0054] ;

[0055] The data set is , that is, the photovoltaic daily power time series; For the j Power data for the day; is the sample membership; For the fuzzy factor m The size of sample membership under the size of ; n is the number of samples, i.e. the number of days; is the cluster center; m is the fuzzy factor.

[0056] (2) The four classified training sets are predicted by the least squares support vector machine LSSVR respectively; the details are as follows: , construct the objective function, the formula is as follows:

[0057] ;

[0058] in, is a slack variable; C is a regularization coefficient, which is used to control the complexity of the model; is the loss function; To solve the problem of w, b, is the minimum objective function of the variable; is the weight vector; To solve the norm of w;

[0059] The objective function is expressed by Lagrange multiplier method as follows:

[0060] ;

[0061] in, For sample i The Lagrange multiplier of ; is the offset; To solve the problem of w, b, , is the Lagrangian objective function of the variables; w. is the Lagrangian objective function of the variables; The original data points Mapping to new feature space function; is the Lagrange multiplier;

[0062] At the same time, according to Lagrangian optimization conditions:

[0063] get:

[0064] ;

[0065] Select radial basis function as kernel function, kernel function The formula is as follows:

[0066] ;

[0067] in, is the parameter of the kernel function, and the objective function is converted into a nonlinear regression equation:

[0068] ;

[0069] And after solving, we get the first prediction result.

[0070] (3) Decomposing historical data into several subsequences using complete set empirical mode decomposition (CEEMDAN), and predicting each subsequence using a hybrid network model CEEMDAN-CNN-LSTM that combines a convolutional network (CNN) with a long short-term memory (LSTM) network and adds an attention mechanism; Decomposing historical data into several subsequences using complete set empirical mode decomposition (CEEMDAN) includes the following steps:

[0071] (S1) In the photovoltaic power signal Add N The new signal is obtained by grouping Gaussian white noise, and then the modal decomposition EMD is used to decompose the signal to obtain the first intrinsic modal component The formula is as follows:

[0072] ;

[0073] The decomposition process The residual is:

[0074] ;

[0075] in, Indicates solution Expected value; Indicates that it is added to the original signal The auxiliary noise in For the m Different noise added in iterations;

[0076] (S2) in the residual Add a white noise signal to the EMD decomposition to obtain the modal components and repeat the calculation N times, taking the average value to get the second ,in, Represents the residual function obtained in the mth iteration; the formula is as follows:

[0077] ;

[0078] Secondly, the second residual is obtained during the decomposition process :

[0079] ;

[0080] (S3) Repeat steps (S1) and (S2) until no modal components of the load rule can be obtained; at this time for g , the original signal That is decomposed into:

[0081] ;

[0082] (S4) decomposes the signal from (S3) Put it into the CNN-LSTM model for prediction to get the second prediction result.

[0083] (4) Use the grey correlation analysis method to combine the prediction results of LSSVR with the prediction results of the CEEMDAN-CNN-LSTM model to obtain the final prediction results. The details are as follows: First, the prediction results of the similar day model are recorded as ; The day-ahead model prediction result is recorded as ; The actual photovoltaic power on the day to be predicted is recorded as , the deviation between the two prediction results and the true value is recorded as ,but:

[0084] ;

[0085] in, is the resolution coefficient;

[0086] The correlation coefficient matrix between the models is:

[0087] ;

[0088] in, is the correlation coefficient matrix, for deviation; is the minimum deviation value; is the maximum deviation value;

[0089] The correlation coefficient matrix is ​​normalized, and the outputs of the two prediction models are weighted combined according to the dynamic correlation coefficient weight to obtain the hybrid model prediction result. The formula is as follows:

[0090] ;

[0091] Among them, P is the final predicted value, For the LSSVR model i Correlation coefficient of predicted value; The first i predicted values; For the CNN-LSTM model i Correlation coefficient of predicted value; is the first i predicted value.

Claims

1. A photovoltaic power prediction method considering historical similar days and combination weights, characterized in that: The following steps are involved: (1) The meteorological features were selected using the grey correlation method, and the fuzzy C-means clustering was used to divide the historical days into sunny, cloudy, overcast, and rainy and snowy weather to form the training set; (2) The four classified training sets are predicted by the least squares support vector machine LSSVR respectively; the details are as follows: , construct the objective function, the formula is as follows: ; in, is a slack variable; C is a regularization coefficient, which is used to control the complexity of the model; is the loss function; To solve the problem of w, b, is the minimum objective function of the variable; is the weight vector; To solve the norm of w; The objective function is expressed by Lagrange multiplier method as follows: ; in, For sample i The Lagrange multiplier of ; is the offset; To solve the problem of w, b, , is the Lagrangian objective function of the variables; To solve the problem of w, is the Lagrangian objective function of the variables; The original data points Mapping to new feature space function; is the Lagrange multiplier; At the same time, according to Lagrangian optimization conditions: get: ; Select radial basis function as kernel function, kernel function The formula is as follows: ; in, is the parameter of the kernel function, and the objective function is converted into a nonlinear regression equation: ; And after solving, we get the first prediction result; (3) Decomposing historical data into several subsequences using complete set empirical mode decomposition (CEEMDAN), and predicting each subsequence using a hybrid network model CEEMDAN-CNN-LSTM that combines a convolutional network (CNN) with a long short-term memory (LSTM) network and adds an attention mechanism; Decomposing historical data into several subsequences using complete set empirical mode decomposition (CEEMDAN) includes the following steps: (S1) In the photovoltaic power signal Add N The new signal is obtained by grouping Gaussian white noise, and then the modal decomposition EMD is used to decompose the signal to obtain the first intrinsic modal component The formula is as follows: ; The decomposition process The residual is: ; in, Indicates solution Expected value; Indicates that it is added to the original signal The auxiliary noise in For the m Different noise added in iterations; (S2) in the residual Add a white noise signal to the EMD decomposition to obtain the modal components and repeat the calculation N times, taking the average value to get the second ,in, Represents the residual function obtained in the mth iteration; the formula is as follows: ; Secondly, the second residual is obtained during the decomposition process : ; (S3) Repeat steps (S1) and (S2) until no modal components of the load rule can be obtained; at this time for g , the original signal That is decomposed into: ; (S4) decomposes the signal from (S3) Put it into the CNN-LSTM model for prediction to get the second prediction result; (4) The prediction results of LSSVR and CEEMDAN-CNN-LSTM model are combined using grey correlation analysis to obtain the final prediction results. The details are as follows: First, the prediction results of the similar day model are recorded as ; The day-ahead model prediction result is recorded as ; The actual photovoltaic power on the day to be predicted is recorded as , the deviation between the two prediction results and the true value is recorded as ,but: ; in, is the resolution coefficient; The correlation coefficient matrix between the models is: ; in, is the correlation coefficient matrix, for deviation; is the minimum deviation value; is the maximum deviation value; The correlation coefficient matrix is ​​normalized, and the outputs of the two prediction models are weighted combined according to the dynamic correlation coefficient weight to obtain the hybrid model prediction result. The formula is as follows: ; Among them, P is the final predicted value, For the LSSVR model i Correlation coefficient of predicted value; The first i predicted values; For the CNN-LSTM model i Correlation coefficient of predicted value; is the first i predicted value.

2. A photovoltaic power prediction method considering historical similar days and combination weights according to claim 1, characterized in that: In step (1), the meteorological characteristics include global horizontal ultraviolet irradiance, ambient temperature, rainfall, and wind direction; the fuzzy C-means clustering method formula is as follows: ; ; The data set is , that is, the photovoltaic daily power time series; For the j Power data for the day; is the sample membership; For the fuzzy factor m The size of sample membership under the size of ; n is the number of samples, i.e. the number of days; is the cluster center; m is the fuzzy factor.

Citation Information

Patent Citations

  • Neural network photovoltaic power generation output prediction method based on grey correlation analysis

    CN104978611A

  • LSTM network power generation multi-step prediction method based on correlation analysis

    CN111832818A

  • Bearing fault signal noise reduction method based on minimum mean square empirical mode decomposition

    CN112504679A

  • Photovoltaic power prediction method based on Kmeans-VMD-WT-LSTM method

    CN115423145A

  • Wind power ultra-short-term integrated prediction method considering time-space characteristics

    CN118296375A