A wind power prediction method and system based on LSTM-CNN joint model

The LSTM-CNN joint model extracts the spatio-temporal characteristics of wind turbines, solves the spatio-temporal correlation problem of power prediction of multiple wind turbines in wind farms, and achieves accurate prediction of wind turbine power at different locations and stable power scheduling.

CN114006411BActive Publication Date: 2024-10-18CENT SOUTH UNIV
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111145417.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-28
Publication Date
2024-10-18
Estimated Expiration
2041-09-28

AI Technical Summary

Technical Problem

There is a spatio-temporal correlation problem in the power prediction of multiple wind turbines in a wind farm, which is difficult to effectively solve with existing technology, resulting in increased difficulty in wind farm control and reduced performance.

Method used

A wind power power prediction method based on the LSTM-CNN joint model is used to extract time-dependent features through the long short-term memory network and convert them into image form, combined with the convolutional neural network to extract spatial correlation features, and use a unified loss function for end-to-end matching End-to-end training to achieve accurate prediction of the power of multiple wind turbines.

Benefits of technology

It improves the prediction accuracy of the power of wind turbines at different locations, achieves more accurate power scheduling, and ensures the stable grid-connected operation of wind farms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114006411B_ABST
    Figure CN114006411B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a wind power prediction method and system based on the LSTM‑CNN joint model, the method comprising: inputting the power data of N wind turbines into N LSTMs to obtain N first time-related output values; inputting the N first time-related output values ​​into a two-dimensional matrix after preset processing, the two-dimensional matrix structure matching the position information of the wind turbine in the wind farm; extracting and processing the spatial correlation data in the two-dimensional matrix in the CNN model to obtain a one-dimensional model output value as the wind power prediction result of the N wind turbines. The model trained by this method can extract high-level spatiotemporal features from the historical power data of the wind turbine, thereby achieving the purpose of simultaneously predicting the power of wind turbines at different locations. Based on the work done in this study, the power of wind turbines under different wind conditions can be predicted more accurately, thereby achieving more accurate power scheduling, and finally achieving the purpose of stable grid connection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wind speed prediction in wind farms, and more specifically to a wind power prediction method based on an LSTM-CNN joint model based on combined prediction theory. Background Art

[0002] Wind energy is a renewable and clean energy. In the context of the current global energy crisis and environmental crisis, wind power generation has received widespread attention and promotion.

[0003] Due to the randomness and uncertainty of wind energy itself, wind turbines cannot output stably, which increases the difficulty of controlling wind farms. In large wind farms, wind turbines at different locations in the wind farm capture different winds. The use of existing scheduling schemes (average allocation method and proportional allocation method) will lead to performance degradation or even instability, so it is necessary to predict the power of each wind turbine.

[0004] Most current research focuses on multiple wind turbines with strong correlation and uses a large amount of sharable information to simultaneously predict wind power at multiple locations. Therefore, there is an urgent need for a technical solution to solve the problem of power prediction of multiple wind turbines in a wind farm by addressing the spatiotemporal correlation between multiple wind turbines. Summary of the invention

[0005] In view of this, the present invention provides a wind power prediction method and system based on the LSTM-CNN joint model to solve the technical problem of accurately predicting the power of multiple wind turbines in a wind farm.

[0006] A wind power prediction method based on LSTM-CNN joint model, comprising:

[0007] Input the power data of N wind turbines into N LSTMs to obtain N first-time associated output values;

[0008] The N first time-related output values ​​are input into a two-dimensional matrix after being processed in a preset manner, wherein the two-dimensional matrix structure matches the position information of the wind turbine in the wind farm;

[0009] The spatial correlation data in the two-dimensional matrix is ​​extracted and processed by the CNN model to obtain a one-dimensional model output value as a wind power prediction result of N wind turbines.

[0010] Preferably, the method further comprises: obtaining an input data set of the model:

[0011] Arranging the power measurement data of the multiple wind turbine groups in a preset time sequence to obtain a first array;

[0012] The first array is processed with a preset sliding window length and step size to obtain N groups of input data sets.

[0013] Preferably, extracting the spatial correlation data in the two-dimensional matrix in the CNN model and processing the data are specifically implemented as follows:

[0014] The convolution kernel of the CNN model captures spatial features in a two-dimensional matrix;

[0015] Extracting and calculating the spatial features in multiple convolutional pooling layer structures;

[0016] The one-dimensional model output value is obtained in the output layer.

[0017] Preferably, the method further comprises:

[0018] Use time-based back-propagation algorithm to train repeatedly;

[0019] The mean square error (MSE) is used as the loss function for model training.

[0020] Preferably, the repeated training using the time-based back propagation algorithm is specifically implemented as follows:

[0021] The output layer of CNN starts, passes through the entire CNN model through time back propagation, and then enters the LSTM model;

[0022] Run through the LSTM model to the input layer of the LSTM.

[0023] The loss function is specifically implemented as follows:

[0024]

[0025] In the formula, L is the loss function, N is the total number of samples, and Y p are the predicted value and the true value respectively.

[0026] Preferably, the excitation function of the convolutional layer of the CNN model is ReLu.

[0027] A wind power prediction system based on LSTM-CNN joint model, comprising:

[0028] The time-correlation data processing module inputs the power data of N wind turbines into N LSTMs to achieve N first-time-correlated output values;

[0029] The N first time-related output values ​​are input into a two-dimensional matrix after being processed in a preset manner, wherein the two-dimensional matrix structure matches the position information of the wind turbine in the wind farm;

[0030] The spatial correlation data processing module extracts and processes the spatial correlation data in the two-dimensional matrix using the CNN model to obtain a one-dimensional model output value as a wind power prediction result for N wind turbines.

[0031] A storage medium stores a computer program, wherein the computer program implements the above method.

[0032] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the above method when executing the computer program.

[0033] It can be seen from the above technical solutions that the embodiment of the present invention is a wind power prediction method and system based on the LSTM-CNN joint model. The method is a joint model composed of a long short-term memory network and a convolutional neural network, and is trained end-to-end by a unified loss function. The trained model can extract high-level spatiotemporal features from the historical power data of the wind turbine, so as to achieve the purpose of simultaneously predicting the power of wind turbines at different locations. Based on the work done in this study, the power of wind turbines under different wind conditions can be predicted more accurately, thereby achieving more accurate power scheduling and finally achieving the purpose of stable grid connection. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0035] Figure 1 A flow chart of a wind power prediction method based on an LSTM-CNN joint model disclosed in an embodiment of the present invention;

[0036] Figure 2a A logical schematic diagram of a long short-term memory network in a wind power prediction method based on an LSTM-CNN joint model disclosed in an embodiment of the present invention;

[0037] Figure 2b A flow chart of obtaining an input data set of a model in a wind power prediction method based on an LSTM-CNN joint model disclosed in an embodiment of the present invention;

[0038] Figure 2c A schematic diagram of processing an LSTM input data set in a wind power prediction method based on an LSTM-CNN joint model disclosed in an embodiment of the present invention;

[0039] Figure 3A flowchart of a process of processing an input data set by a CNN model in a wind power prediction method based on an LSTM-CNN joint model disclosed in an embodiment of the present invention;

[0040] Figure 4 A schematic diagram of an LSTM-CNN joint model in a wind power prediction method based on an LSTM-CNN joint model disclosed in an embodiment of the present invention;

[0041] Figure 5 A schematic diagram of the structure of a wind power prediction system based on an LSTM-CNN joint model disclosed in an embodiment of the present invention;

[0042] Figure 6 A logical schematic diagram of an LSTM-CNN joint model of a wind power prediction system based on an LSTM-CNN joint model disclosed in an embodiment of the present invention;

[0043] Figure 7 A schematic diagram of the storage medium structure disclosed in an embodiment of the present invention;

[0044] Figure 8 The present invention is a schematic diagram of a computer device structure disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0046] The embodiment of the present invention discloses a wind power prediction method and system based on an LSTM-CNN joint model, so as to solve the technical problem of accurately predicting the power of multiple wind turbines in a wind farm.

[0047] The power of a wind turbine is closely related to the wind conditions at its location, and the distribution of wind in a wind farm varies due to factors such as wake effect, time delay, and random wind direction. Therefore, the winds faced by each wind turbine influence each other in time and space. In time, there is a certain correlation between the wind at the same spatial point and its historical state, namely, time correlation; in space, the winds at different spatial locations at the same time point can also influence each other, namely, space correlation. Of course, there may be certain connections between the winds at different times and spaces, and these factors are collectively referred to as space-time correlation. Affected by the wind, there is also space-time correlation between the power of multiple wind turbines.

[0048] In recent years, deep learning methods have developed rapidly and are the latest developments in artificial intelligence technology. They are also widely used in wind energy forecasting. Compared with traditional shallow machine learning methods, deep learning has better performance in feature extraction and model generalization. Convolutional neural networks are a hot technology that performs well in processing data with image structures. In a wind farm, the data of all wind turbines can be processed into image-like inputs based on their locations.

[0049] At the same time, as a variant of RNN, the long short-term memory network (LSTM) inherits the excellent performance of RNN in dealing with time series problems, and overcomes the problems of gradient vanishing and gradient explosion that are prone to occur when RNN faces long time series problems, and can better capture the time dependency in each wind turbine power sequence.

[0050] Figure 1 A wind power prediction method based on the LSTM-CNN joint model is shown, including:

[0051] S11: Input the power data of N wind turbines into N LSTMs to obtain N first-time associated output values;

[0052] refer to Figure 2a The logical diagram of the long short-term memory network is shown below:

[0053] The LSTM (long-short term memory) network is a three-layer model (including input layer, hidden layer and output layer), but the hidden layer is improved. The hidden layer of LSTM consists of a storage unit (cell) and three computing components (forget gate, input gate, output gate).

[0054] Forget gate (denoted as f t ) is composed of the output h at the previous moment t-1 and the current input x t Together, the forget gate chooses to discard or retain its value:

[0055] f t =σ g (W f x t +U f h t-1 +b f ) (1)

[0056] Input gate (by i t and g t The network input information is processed by the sigmoid activation function and the tanh activation function to determine what information will be stored in the cell:

[0057] i t =σ g (W i x t +U i h t-1 +b i ) (2)

[0058] o t =σ g (W o x t +U o h t-1 +b o ) (3)

[0059] After obtaining the information of the forget gate and the input gate, the state of the storage unit cell is also changed, and the output gate is changed through the current state c of the cell. t and processed input information o t To determine the output of the module unit, the specific calculation is as follows:

[0060] g t =σ c (W g x t +U g h t-1 +b g ) (4)

[0061] c t =f t ⊙c t-1 +i t ⊙g t (5)

[0062] h t =o t ⊙σ c (c t ) (6)

[0063] Among them, x t represents the input vector of LSTM, h t represents the output vector of LSTM, c t Represents the state vector of the cell, W * and U * is the weight of the model, b * is the bias of the model, σ g and σ c They represent the sigmoid activation function and the tanh activation function respectively. The operator ⊙ represents the Hadamard product operation. Initially, c0 and h0 are both 0.

[0064] Convolutional neural network: It is composed of input layer, output layer and multiple hidden layers, among which the hidden layers generally include convolution layer, pooling layer and fully connected layer. Figure 2 shows the structure of a convolutional neural network, among which, the convolution layer: In the convolutional neural network, the convolution layer is the core part, which is composed of multiple convolution kernels. The essence of the convolution kernel is a weight matrix. The convolution layer obtains different features of the input data by scanning all feature surfaces of the previous layer through the convolution kernel. This operation is also called convolution operation. After each convolution kernel completes an operation, it will generate a feature surface. By using multiple convolution kernels, multiple layers of features are obtained. The first convolution layer obtains low-level features such as edges and corners by performing convolution operations with the input. As the number of layers increases, the level of the obtained features also increases. The convolution operation process can be expressed as:

[0065]

[0066] in, represents the jth feature map of the lth layer obtained by convolution operation; g is the activation function; M represents the set of input feature maps; W ij is the weight matrix representing the convolution kernel; the symbol “*” indicates the convolution operation; is the i-th feature surface of the l-1th layer; b j is the bias matrix.

[0067] Pooling layer: In CNN, convolutional layers are usually followed by pooling layers, and high-level features in the input are gradually obtained through such a repeated structure. The pooling layer reduces the number of parameters and redundant features by reducing the resolution of the feature surface, and retains useful information in the process. In general, the process can be expressed as follows:

[0068]

[0069] Where f is the downsampling function. Commonly used methods are maximum pooling and mean pooling. As the name suggests, maximum pooling takes the point with the largest median in the local area, and mean pooling takes the average of the medians in the local area.

[0070] Fully connected layer: After multiple convolution-pooling layer structures, there is one or more fully connected layers. Similar to multi-layer perceptron (MLP), each neuron in the fully connected layer is fully connected to all neurons in the previous layer. The fully connected layer integrates the features extracted by the previous hidden layer.

[0071] As a temporal model, LSTM can effectively extract the time dependency in data; it can perform well in predictions of multiple time scales; and it can be trained through a time-based back propagation algorithm. CNN's ability to process two-dimensional image input can meet the needs of simultaneous power prediction for multiple wind turbines.

[0072] refer to Figure 2b , showing the steps to obtain the input dataset for the model:

[0073] S21: Arranging the power measurement data of the multiple wind turbine groups in a preset time sequence to obtain a first array;

[0074] Assume X i =[x i1 , x i2 , x i3 , …, x i(n-1) , x in ] is the power measurement data of the i-th wind turbine arranged in chronological order

[0075] S22: Processing the first array with a preset sliding window length and step size to obtain N groups of input data sets.

[0076] Reference Figure 2c , schematic diagram of processing the input data set:

[0077] Take α as the length of the sliding window, the step size of the sliding window is 1, and the sliding window is i Slide up to obtain the input data of dimension 1×α to form a data set. Based on the sliding window length α, take S i1 =[x i1 , x i2 , x i3 , …, x iα ] as the first data in the input data set, take S i2 =[x i2 , x i3 , x i4 , …, x i(α+1) ] as the second data, and so on, n processed wind turbine power data can be obtained as the input set.

[0078] It should be noted that the Y of each fan i =[x i(α+1) , x i(α+2) , x i(α+3) , ..., x in ] and merge the values ​​at each moment to get a one-dimensional array Y p =[x 1(α+1) , x 2(α+1) , x 3(α+1) , …, xn(α+1) ] is used as the true value to verify the model output.

[0079] S12: the first time-related output value is input into a two-dimensional matrix after being processed in a preset manner, wherein the two-dimensional matrix structure matches the position information of the wind turbine in the wind farm;

[0080] Specifically, the processed one-dimensional power data of n wind turbines are input into n separate LSTM models, each LSTM model is set as a β layer, and each LSTM model outputs a value. After integration and processing, these n output values ​​are merged and processed. According to the spatial distribution of the wind turbines, the corresponding output values ​​are placed in a two-dimensional matrix W. p so that its position in the matrix corresponds to its position in the wind farm.

[0081] S13: extracting and processing the spatial correlation data in the two-dimensional matrix using the CNN model to obtain a one-dimensional model output value as a wind power prediction result for the N wind turbines.

[0082] Reference Figure 3 , which shows the processing of the input data set by the CNN model, including:

[0083] S31: The convolution kernel of the CNN model captures spatial features in a two-dimensional matrix;

[0084] Use CNN to extract the information stored in the matrix W p Starting from the input layer of the CNN, the matrix W p The spatial features in will be captured by the convolution kernel to obtain a new feature map

[0085] S32: extracting and calculating the spatial features in multiple convolutional pooling layer structures;

[0086] Through multiple convolution-pooling layer structures, CNN will gradually extract the spatial information in the spatial power matrix

[0087] S33: Obtain a one-dimensional model output value in the output layer.

[0088] The output layer outputs a one-dimensional vector as the actual output of the model.

[0089] It should be noted that, in the present invention, the excitation function of the convolutional layer of the CNN model is ReLu, which is an unsaturated nonlinear function that can accelerate the convergence speed during training, solve the problem of gradient explosion / gradient vanishing, and significantly improve the performance of CNN.

[0090] In this embodiment, the time features in the input data set are first extracted, and the obtained time features are processed into a two-dimensional image form according to the distribution of each wind turbine in space. Then, in the second stage, the existing spatial correlation is extracted, thereby realizing power prediction based on spatiotemporal correlation.

[0091] In this embodiment, the time-based back propagation algorithm is used for repeated training to form an optimized model. Figure 4 Figure 2 shows a schematic diagram of repeated training using a time-based back-propagation algorithm:

[0092] S41: Starting from the output layer of CNN, it passes through the entire CNN model through time back propagation and is then passed into the LSTM model;

[0093] S42: Run through the LSTM model to the input layer of LSTM.

[0094] The parameters of the model are iteratively updated according to the error difference, and the optimal value is finally learned. In this process, the parameters of the entire model are supervised by gradient-based training methods, and the learned time and space information are integrated to achieve the purpose of power prediction using spatiotemporal correlation.

[0095] The mean square error (MSE) is used as the loss function for model training.

[0096] The mean squared error (MSE) is selected as the loss function for model training, which is defined as follows:

[0097]

[0098] In the formula, L is the loss function, N is the total number of samples, and Y p are the predicted value and the true value respectively.

[0099] Figure 5 A wind power prediction system based on the LSTM-CNN joint model is shown, comprising:

[0100] The time correlation data processing module 51 inputs the power data of N wind turbines into N LSTMs to obtain N first time correlation output values;

[0101] The N first time-related output values ​​are input into a two-dimensional matrix after being processed in a preset manner, wherein the two-dimensional matrix structure matches the position information of the wind turbine in the wind farm;

[0102] The spatial correlation data processing module 52 extracts and processes the spatial correlation data in the two-dimensional matrix using the CNN model to obtain a one-dimensional model output value as a wind power prediction result for the N wind turbines.

[0103] More specifically, refer to Figure 6 The following is a logical diagram of the LSTM-CNN joint model, but it is not limited to this logical structure:

[0104] LSTM stage: LSTM extracts the temporal correlation in the data. Specifically, the processed one-dimensional power data of n wind turbines are input into n separate LSTM models, each LSTM model is set as a β layer, and each LSTM model outputs a value. After integration and processing, these n output values ​​are merged and processed. According to the spatial distribution of the wind turbines, the corresponding output values ​​are placed in a two-dimensional matrix W. p so that its position in the matrix corresponds to its position in the wind farm.

[0105] CNN stage: CNN will be used to extract the data stored in the matrix W p Starting from the input layer of the CNN, the matrix W p The spatial features in will be captured by the convolution kernel to obtain a new feature map. After multiple convolution-pooling layer structures, CNN will gradually extract the spatial information in the spatial power matrix and output a one-dimensional vector in the output layer as the actual output of the model.

[0106] Figure 7 A storage medium is shown, which stores a computer program, wherein the computer program implements Figure 1-4 The method shown.

[0107] Figure 8 A computer device comprises a memory and a processor, wherein the memory stores a computer program and the processor executes the computer program to implement Figure 1-4 The method shown.

[0108] The beneficial effects of the present invention are:

[0109] 1) Aiming at the power prediction problem of multiple wind turbines with strong correlation, since there is a large amount of valuable information that can be shared between multiple prediction tasks, following the information sharing mechanism of multi-task learning (MTL), the embodiment of the present invention proposes a new problem of simultaneous power prediction of multiple wind turbines, and describes it as a spatiotemporal sequence prediction task, which is solved by using spatiotemporal correlation, and has the advanced nature of the solution.

[0110] 2) For the first time, the joint model of LSTM and CNN is used for power prediction of multiple wind turbines. At the bottom of the model, LSTM extracts the time dependency in the historical power data of each wind turbine and processes the extracted time features into the form of an image. On this basis, CNN is used to extract the spatial correlation between wind turbines in different locations. In this way, the interaction between the wind in the wind farm and the spatiotemporal wind dynamics in the joint model improves the accuracy of power prediction for wind turbines.

[0111] In summary:

[0112] The embodiment of the present invention is a wind power prediction method and system based on the LSTM-CNN joint model. The embodiment of the present invention is a wind power prediction method and system based on the LSTM-CNN joint model. The method is a joint model composed of a long short-term memory network and a convolutional neural network, and is trained end-to-end by a unified loss function. The trained model can extract high-level spatiotemporal features from the historical power data of the wind turbine, so as to achieve the purpose of simultaneously predicting the power of wind turbines in different locations. Based on the work done in this study, the power of wind turbines under different wind conditions can be predicted more accurately, thereby achieving more accurate power scheduling, and finally achieving the purpose of stable grid connection.

[0113] It should be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0114] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0115] Those skilled in the art will appreciate that any of many different processes and technologies may be used to represent information, messages and signals. For example, the messages and information mentioned in the above description may be represented as voltage, current, electromagnetic waves, magnetic fields or magnetic particles, light fields or any combination thereof.

[0116] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0117] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0118] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the embodiments of the present invention. Therefore, the embodiments of the present invention will not be limited to the embodiments shown herein, but rather to the widest range consistent with the principles and novel features disclosed herein.

Claims

1. A wind power prediction method based on LSTM-CNN joint model, characterized in that: include: Input the power data of N wind turbines into N LSTMs to obtain N first-time associated output values; After the N first time-related output values ​​are preset, each first time-related output value is input into a two-dimensional matrix according to the spatial distribution of the N wind turbines to form a spatial power matrix, wherein the two-dimensional matrix structure matches the position information of the wind turbine in the wind farm; The spatial correlation data in the two-dimensional matrix is ​​extracted and processed by the CNN model to obtain the spatial information in the spatial power matrix, and then the one-dimensional model output value is obtained as the wind power prediction result of N wind turbines.

2. The wind power prediction method based on the LSTM-CNN joint model as claimed in claim 1, characterized in that: Also includes: Get the input dataset of the model: Arranging the power measurement data of the multiple wind turbine groups in a preset time sequence to obtain a first array; The first array is processed with a preset sliding window length and step size to obtain N groups of input data sets.

3. The wind power prediction method based on the LSTM-CNN joint model as claimed in claim 1, characterized in that: The specific implementation of extracting the spatial correlation data in the two-dimensional matrix and processing it using the CNN model is as follows: The convolution kernel of the CNN model captures spatial features in a two-dimensional matrix; Extracting and calculating the spatial features in multiple convolutional pooling layer structures; The one-dimensional model output value is obtained in the output layer.

4. The wind power prediction method based on the LSTM-CNN joint model according to any one of claims 1 to 3, characterized in that: Also includes: Iterate training using a time-based back-propagation algorithm; The mean square error (MSE) is used as the loss function for model training.

5. The wind power prediction method based on the LSTM-CNN joint model as claimed in claim 4 is characterized in that: The specific implementation of repeated training using the time-based back-propagation algorithm is as follows: The output layer of CNN starts, passes through the entire CNN model through time back propagation, and then enters the LSTM model; Run through the LSTM model to the input layer of the LSTM.

6. The wind power prediction method based on the LSTM-CNN joint model according to any one of claim 4, characterized in that: The loss function is specifically implemented as: In the formula, L is the loss function, N is the total number of samples, and Y p are the predicted value and the true value respectively.

7. The wind power prediction method based on the LSTM-CNN joint model according to any one of claims 1 to 3, characterized in that: The excitation function of the convolutional layer of the CNN model is ReLu.

8. A wind power prediction system based on LSTM-CNN joint model, comprising: The time-correlation data processing module inputs the power data of N wind turbines into N LSTMs to achieve N first-time-correlated output values; After the N first time-related output values ​​are preset, each first time-related output value is input into a two-dimensional matrix according to the spatial distribution of the N wind turbines to form a spatial power matrix, wherein the two-dimensional matrix structure matches the position information of the wind turbine in the wind farm; The spatial correlation data processing module extracts and processes the spatial correlation data in the two-dimensional matrix using the CNN model to obtain the spatial information in the spatial power matrix, and then obtains the one-dimensional model output value as the wind power prediction result of N wind turbines.

9. A storage medium, characterized in that: A computer program is stored, wherein the computer program implements the method described in claims 1-7.

10. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the method according to claims 1 to 7 when executing the computer program.

Citation Information

Patent Citations

  • LSTM-Attention network-based wind power grid control method

    CN109802430A