Wind power prediction method and system based on weather sample enhancement generation

Through the enhanced generation method based on weather samples, the conditional generation adversarial network and residual network models are used to solve the sparse sample problem in wind power power prediction, improve the prediction accuracy and adaptability, and be suitable for wind farm clusters in different regions.

CN118589470APending Publication Date: 2024-09-03CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +2
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410521842.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-28
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing wind power power prediction methods suffer from overfitting under sparse sample conditions, which affects the generalization ability and prediction performance of the model. Especially when the distribution range of wind farm clusters expands, differences in geographical conditions and weather conditions increase model learning costs and training. Difficulty.

Method used

A method based on enhanced generation of weather samples is adopted, using a pre-trained conditional generative adversarial network model to enhance weather samples, and predicting wind power power through a residual network model to generate generated samples with specific characteristics to improve prediction accuracy.

Benefits of technology

It reduces the training difficulty of the statistical model, improves the accuracy and generalization ability of wind power power prediction, has a small amount of calculation, and is suitable for wind farm clusters in different regions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118589470A
    Figure CN118589470A
Patent Text Reader

Abstract

The invention discloses a wind power prediction method and system based on weather sample enhancement generation, and belongs to the technical field of wind power prediction. The method comprises the following steps: acquiring a weather sample of a wind power plant cluster; using a pre-trained conditional generative adversarial network model to enhance the weather sample, learning data features of the weather sample, and generating a generated sample with specific features; and inputting the weather sample and the generated sample into a pre-trained residual network model, and predicting the wind power of the wind power plant cluster. The wind power of the wind power plant cluster is predicted through the generative adversarial network model and the residual network model, the calculation amount is small, and the prediction precision is high.
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 power prediction, and more specifically, to a wind power prediction method and system based on weather sample enhanced generation. Background Art

[0002] As an important component of clean energy, wind energy plays a vital role in the transformation of the global energy structure. With the proposal of the "dual carbon" goal and the advancement of science and technology, the installed capacity of wind power continues to increase, and the proportion of wind power in the power grid has also increased year by year. However, wind power generation is always affected by meteorological factors such as wind speed and wind direction, and is highly volatile, random and uncertain. Large-scale wind power grid connection will significantly affect the stability of the power grid. Wind power forecasting can give future wind power output in advance, which is a key link for the power system to adjust the dispatching strategy in advance, optimize the energy mix, and effectively reduce system risks.

[0003] The low output process of wind power refers to the actual output of wind power in a period of time far lower than the rated output due to low wind speed or extreme weather. Sudden and long-lasting low output processes may cause insufficient power supply capacity of the power grid, posing severe challenges to the safe and stable operation of the power system. At present, the mainstream wind power prediction method is statistical method. This type of method establishes the mapping relationship between explanatory variables (such as numerical weather forecasts, historical power, meteorological observation data, etc.) and explained variables (wind power) through statistical models or machine learning (artificial intelligence) models. The statistical method is a data-driven method, and its model parameters usually require a large amount of historical data for estimation or training. When the training samples are insufficient, the model cannot learn enough data information, and serious overfitting will occur, affecting the generalization ability and prediction performance of the model. This sample is called a sparse sample. The low output process of wind power is a typical sparse sample.

[0004] As the distribution range of wind farm clusters expands, there will be significant differences in geographical conditions, weather conditions, and installed capacity between different regions. The huge amount of data, high-dimensional data features, and complex spatiotemporal relationships will also increase the learning cost and training difficulty of the model. Summary of the invention

[0005] In view of the above problems, the present invention proposes a wind power prediction method based on weather sample enhanced generation, comprising:

[0006] Get weather samples for wind farm clusters;

[0007] Using a pre-trained conditional generative adversarial network model, the weather samples are enhanced, and data features of the weather samples are learned to generate generated samples with specific features;

[0008] The weather samples and the generated samples are input into a pre-trained residual network model to predict the wind power of the wind farm cluster.

[0009] Optionally, obtain weather samples for the wind farm cluster, including:

[0010] Acquire the weather data sample of the wind farm cluster, select the node data of each node of the grid-type NWP in the weather data sample, normalize the node data of each node, arrange the node data of each node after the normalization according to the original two-dimensional spatial position of the node to obtain three two-dimensional matrices, map the three two-dimensional matrices to the three RGB channels of the picture respectively, generate a two-dimensional weather forecast field map at each moment, and combine the two-dimensional weather forecast field map at each moment with the output process label in the corresponding weather data sample to form a weather sample.

[0011] Optionally, after obtaining the weather data sample of the wind farm cluster, determining the type of the weather data sample;

[0012] The types of weather data samples include: low-output process sample types and non-low-output process sample types;

[0013] The calculation formula for determining the type of the weather data sample is as follows:

[0014]

[0015] Among them, y is the sample label of the weather data sample at time t, L is the low output process, N is the non-low output process, P(t) is the total power of the wind farm cluster at time t, and C is the total installed capacity of the wind farm cluster.

[0016] Optional, node data, including: 2m pressure, 2m temperature and 100m wind speed data of each node.

[0017] Optionally, the original conditional generative adversarial network is trained to obtain a conditional generative adversarial network model, and during the training process, the sample labels of the weather samples are used as training constraints;

[0018] The output process label of the low output process sample type or the non-low output process sample type is used as the sample label.

[0019] Optionally, the objective function of the conditional generative adversarial network model is as follows:

[0020]

[0021] Where D and G are the discriminator and generator respectively, V(D,G) is the objective function, z is the Gaussian white noise vector, x is the real sample, y is the sample label, G(z,y) is the sample generated by the generator corresponding to the sample label y, D(x,y) is the output of the discriminator, which means the probability that the data x is the real data under the condition of given label y, P(x) is the distribution of the real sample, P(z) is the distribution of the generated sample, E x~p(x) [.] is the expected value of sampling x from P(x), E z~p(z) [.] is the expected value calculated by sampling z from P(z).

[0022] On the other hand, the present invention also proposes a wind power prediction system based on weather sample enhanced generation, comprising:

[0023] A collection unit, used to obtain weather samples of the wind farm cluster;

[0024] An enhanced sample unit, used to enhance the weather sample using a pre-trained conditional generative adversarial network model, learn data features of the weather sample, and generate a generated sample with specific features;

[0025] The prediction unit is used to input the weather samples and the generated samples into a pre-trained residual network model to predict the wind power of the wind farm cluster.

[0026] Optionally, obtain weather samples for the wind farm cluster, including:

[0027] Acquire the weather data sample of the wind farm cluster, select the node data of each node of the grid-type NWP in the weather data sample, normalize the node data of each node, arrange the node data of each node after the normalization according to the original two-dimensional spatial position of the node to obtain three two-dimensional matrices, map the three two-dimensional matrices into three RGB channels of the image, generate a two-dimensional weather forecast field map at each moment, and combine the two-dimensional weather forecast field map at each moment with the output process label in the corresponding weather data sample to form a weather sample.

[0028] Optionally, after obtaining the weather data sample of the wind farm cluster, determining the type of the weather data sample;

[0029] The types of weather data samples include: low-output process sample types and non-low-output process sample types;

[0030] The calculation formula for determining the type of the weather data sample is as follows:

[0031]

[0032] Among them, y is the sample label of the weather data sample at time t, L is the low output process, N is the non-low output process, P(t) is the total power of the wind farm cluster at time t, and C is the total installed capacity of the wind farm cluster.

[0033] Optional, node data, including: 2m pressure, 2m temperature and 100m wind speed data of each node.

[0034] Optionally, the original conditional generative adversarial network is trained to obtain a conditional generative adversarial network model, and during the training process, the sample labels of the weather samples are used as training constraints;

[0035] The output process label of the low output process sample type or the non-low output process sample type is used as the sample label.

[0036] Optionally, the objective function of the conditional generative adversarial network model is as follows:

[0037]

[0038] Where D and G are the discriminator and generator respectively, V(D,G) is the objective function, z is the Gaussian white noise vector, x is the real sample, y is the sample label, G(z,y) is the sample generated by the generator corresponding to the sample label y, D(x,y) is the output of the discriminator, which means the probability that the data x is the real data under the condition of given label y, P(x) is the distribution of the real sample, P(z) is the distribution of the generated sample, E x~p(x) [.] is the expected value of sampling x from P(x), E z~p(z) [.] is the expected value calculated by sampling z from P(z).

[0039] In yet another aspect, the present invention further provides a computing device, comprising: one or more processors;

[0040] a processor for executing one or more programs;

[0041] When the one or more programs are executed by the one or more processors, the above-described method is implemented.

[0042] In yet another aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed, the method described above is implemented.

[0043] Compared with the prior art, the present invention has the following beneficial effects:

[0044] The present invention proposes a method for predicting wind power based on enhanced generation of weather samples, comprising: obtaining weather samples of a wind farm cluster; using a pre-trained conditional generative adversarial network model to enhance the weather samples, and learning the data features of the weather samples to generate generated samples with specific features; inputting the weather samples and the generated samples into a pre-trained residual network model to predict the wind power of the wind farm cluster. The present invention predicts the wind power of a wind farm cluster by generating an adversarial network model and a residual network model, with low computational complexity and high prediction accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 is a flow chart of the method of the present invention;

[0046] Figure 2 It is a schematic diagram of the process of an embodiment of the present invention;

[0047] Figure 3 It is a meteorological forecast field diagram of two output processes at 16 different times of the embodiment of the present invention;

[0048] Figure 4 This is a structural diagram of CGAN according to an embodiment of the present invention;

[0049] Figure 5 is a basic structure diagram of a residual block according to an embodiment of the present invention;

[0050] Figure 6 A schematic diagram showing a comparison between a real graph and a generated graph of a low-output process according to an embodiment of the present invention;

[0051] Figure 7 This is a schematic diagram of the Resnet prediction effect of an embodiment of the present invention;

[0052] Figure 8 This is a schematic diagram of the CGAN-Resnet prediction effect of an embodiment of the present invention;

[0053] Fig. 9 It is a structural diagram of the system of the present invention. DETAILED DESCRIPTION

[0054] Now, exemplary embodiments of the present invention are described with reference to the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. These embodiments are provided to disclose the present invention in detail and completely and to fully convey the scope of the present invention to those skilled in the art. The terms used in the exemplary embodiments shown in the accompanying drawings are not intended to limit the present invention. In the accompanying drawings, the same units / elements are marked with the same reference numerals.

[0055] Unless otherwise specified, the terms (including technical terms) used herein have the commonly understood meanings to those skilled in the art. In addition, it is understood that the terms defined in commonly used dictionaries should be understood to have the same meanings as those in the context of the relevant fields, and should not be understood as idealized or overly formal meanings.

[0056] Embodiment 1:

[0057] Step 1: Obtain weather samples of the wind farm cluster;

[0058] Step 2: Use a pre-trained conditional generative adversarial network model to enhance the weather sample, learn the data features of the weather sample, and generate a generated sample with specific features (the specific feature is a high similarity with the weather sample);

[0059] Step 3: Input the weather samples and the generated samples into a pre-trained residual network model to predict the wind power of the wind farm cluster.

[0060] Among them, obtaining weather samples of wind farm clusters includes:

[0061] Acquire the weather data sample of the wind farm cluster, select the node data of each node of the grid-type NWP in the weather data sample, normalize the node data of each node, arrange the node data of each node after the normalization according to the original two-dimensional spatial position of the node to obtain three two-dimensional matrices, map the three two-dimensional matrices to the three RGB channels of the picture respectively, generate a two-dimensional weather forecast field map at each moment, and combine the two-dimensional weather forecast field map at each moment with the output process label in the corresponding weather data sample to form a weather sample.

[0062] wherein, after obtaining the weather data sample of the wind farm cluster, determining the type of the weather data sample;

[0063] The types of weather data samples include: low-output process sample types and non-low-output process sample types;

[0064] The calculation formula for determining the type of the weather data sample is as follows:

[0065]

[0066] Among them, y is the sample label of the weather data sample at time t, L is the low output process, N is the non-low output process, P(t) is the total power of the wind farm cluster at time t, and C is the total installed capacity of the wind farm cluster.

[0067] The node data includes: 2m pressure, 2m temperature and 100m wind speed data of each node.

[0068] The original conditional generative adversarial network is trained to obtain a conditional generative adversarial network model, and the sample labels of weather samples are used as training constraints during the training process;

[0069] The output process label of the low output process sample type or the non-low output process sample type is used as the sample label.

[0070] Among them, the objective function of the conditional generation adversarial network model is as follows:

[0071]

[0072] Where D and G are the discriminator and generator respectively, V(D,G) is the objective function, z is the Gaussian white noise vector, x is the real sample, y is the sample label, G(z,y) is the sample generated by the generator corresponding to the sample label y, D(x,y) is the output of the discriminator, which means the probability that the data x is the real data under the condition of given label y, P(x) is the distribution of the real sample, P(z) is the distribution of the generated sample, E x~p(x) [.] is the expected value of sampling x from P(x), E z~p(z) [.] is the expected value calculated by sampling z from P(z).

[0073] The present invention will be further described below in conjunction with embodiments:

[0074] Specific steps, principles as follows Figure 2 As shown, including the following:

[0075] (1) Generation of two-dimensional weather forecast map:

[0076] The data samples are divided into low-output process and non-low-output process according to the output situation. When the total cluster power P(t) at time t is less than 0.1 times the total installed capacity C of the cluster, the sample is defined as a low-output process sample, otherwise it is defined as a non-low-output process sample. The calculation formula is shown in formula (1).

[0077]

[0078] Where y represents the label of the sample at time t, L represents the low-output process, and N represents the non-low-output process.

[0079] The 2m pressure, 2m temperature and 100m wind speed data of each node of the grid-type NWP are selected, normalized respectively, and arranged according to the original two-dimensional spatial position of the node to obtain three two-dimensional matrices. The above matrices are mapped to the three RGB channels of the image to generate a two-dimensional weather forecast field map at each moment. Figure 3It is a two-dimensional meteorological forecast field map of low output and non-low output processes at 16 different moments. The two-dimensional meteorological forecast field map and its corresponding output process label together constitute a group of weather samples.

[0080] (2) Data expansion based on conditional generative adversarial networks:

[0081] The conditional generative adversarial network (CGAN) is an improvement on the generative adversarial network. It consists of a generator G and a discriminator D. The model structure is as follows: Figure 4 , the two-dimensional weather forecast map and sample labels are input into the CGAN model for training. The sample labels are the constraints of model training, which can help the model generate more realistic sample images. The generator takes sample labels and random noise as input, and its purpose is to generate fake samples close to real samples, making it difficult for the discriminator to distinguish. The discriminator takes real samples, generated samples and sample labels as input, and its purpose is to distinguish real samples from generated samples.

[0082] Its objective function is composed of the generator and the discriminator, and the calculation formula is as shown in formula (2).

[0083]

[0084] Where D and G are the discriminator and generator respectively, V(D,G) is the objective function, z is the Gaussian white noise vector, x is the real sample, y is the sample label, G(z,y) is the sample generated by the generator corresponding to the sample label y, D(x,y) is the output of the discriminator, which means the probability that the data x is the real data under the condition of given label y, P(x) is the distribution of the real sample, P(z) is the distribution of the generated sample, E x~p(x) [.] is the expected value of sampling x from P(x), E z~p(z) [.] is the expected value calculated by sampling z from P(z).

[0085] (3) Wind power prediction based on residual network:

[0086] The characteristic of the residual network (resdual network, Resnet) is the introduction of residual blocks, which perform cross-layer connections outside the main path and add the main signal to the branch signal to transfer information. This cross-layer connection allows the gradient to propagate directly backward along the path, reducing the cumulative error of the gradient when multiplying between multiple layers, allowing the network to be trained at a deeper level and achieve better model performance. The basic structure of the residual block is as follows Figure 5 , Figure 5In it, a is the input of the residual block, which is mapped to the feature F(a) through two hidden layers, and the output H(a) of the residual block is obtained by cross-layer connection and addition. The calculation formula of H(a) is shown in formula (3).

[0087] H(a)=F(a)+a (13)

[0088] The chain derivative rule is used to calculate the back propagation gradient of the residual network. The calculation formula is as follows:

[0089]

[0090] In the formula, J is the loss function of the residual network, F is the residual function, and L is the number of network layers. On the right side of the equation, due to It always exists, which can effectively alleviate the gradient disappearance and gradient explosion, and help build models with more layers.

[0091] Resnet can effectively extract and learn the complex high-dimensional spatiotemporal features of the two-dimensional weather forecast field. The model takes the weather samples after data expansion as input and predicts its output process label.

[0092] The two-dimensional weather forecast field in the present invention retains the spatial position relationship of the nodes, which can help the model understand the output differences and meteorological differences in different regions, and improve the final prediction accuracy.

[0093] In the present invention, CGAN generates samples with labels as constraints, which improves the reliability of generated samples, and reduces the training difficulty of the statistical model and increases the generalization ability through data expansion.

[0094] Resnet in the present invention has good learning ability for two-dimensional complex meteorological features, can capture the differences in data between different regions, and learn the nonlinear spatiotemporal relationship of two-dimensional nodes.

[0095] A case analysis was conducted using the province's wind power data from 2021 to 2022. The data from 2021 was selected as the training set and the data from 2022 was selected as the test set. The time resolution of the grid-type NWP was 15 minutes and the spatial resolution was 0.1°. Through statistical analysis, low-output process samples accounted for approximately 20% of the total, and the data samples were seriously unbalanced.

[0096] The commonly used evaluation indicators Accuracy Acc and CSI are selected as the prediction evaluation indicators. The calculation formula is as follows:

[0097]

[0098]

[0099] Where, T Pis the number of samples correctly predicted as positive, T N is the number of samples correctly predicted as negative class, F P is the number of samples incorrectly predicted as positive, F N is the number of samples that are incorrectly predicted as negative. Low-output processes are positive samples, and non-low-output processes are negative samples.

[0100] Use the CGAN network to generate data samples of low-output processes, and compare the real pictures and generated pictures. Figure 6 ,It can be seen that the generated images have many similarities with the real images.

[0101] To verify Resnet's ability to handle complex features, it is compared with common models, artificial neural network (ANN) and linear regression (LR), without sample enhancement. The prediction results are shown in Table 1. It can be seen that Resnet has the best prediction effect and LR has the worst prediction effect. Compared with the other two models, Resnet's accuracy has increased by an average of 1.025%, and its key success index has increased by an average of 1.25%. Because Resnet can build models with more layers through the residual block structure and better mine the deep relationship of high-dimensional features, it is superior to shallow neural networks and machine learning models.

[0102] Table 1

[0103] LR ANN Resnet Accuracy / % 87.02 88.67 88.87 Key success index / % 53.54 54.46 55.25

[0104] To further analyze the role of sample enhancement, the prediction results of Resnet before and after CGAN sample enhancement are compared, and the repeat-Resnet model is introduced for comparison. This model repeats the real low-output process samples multiple times to make its sample size the same as that of the enhanced Resnet. Table 2 shows the comparison of prediction results after data enhancement. Figure 8 and Fig. 9 The following are the prediction effect diagrams of Resnet before and after data enhancement. It can be seen that regardless of whether data enhancement is performed, CGAN-Resnet (the model of the present invention) has the best prediction effect, followed by the original Resnet, and repeat-Resnet is the worst. Compared with the original Resnet, the key success index of CGAN-Resnet has increased by 2.6%, which is a significant improvement. Figure 7 and Figure 8It can also be seen that after data enhancement, many low-efficiency processes are correctly classified. In contrast, although repeat-Resnet has sample expansion, the expansion is invalid repeated samples, and the data sparsity problem has not been fundamentally solved, resulting in a 1.31% decrease in accuracy and a 3.06% decrease in the key success index compared to the original Resnet.

[0105] Table 2

[0106] Repeat-Resnet CGAN-Resnet Accuracy / % 87.56 89.16 Key success index / % 52.19 57.85

[0107] Embodiment 2:

[0108] The present invention also proposes a wind power prediction system 200 based on weather sample enhancement generation, such as Fig. 9 As shown, including:

[0109] A collection unit 201 is used to obtain weather samples of a wind farm cluster;

[0110] The enhanced sample unit 202 is used to enhance the weather sample using a pre-trained conditional generative adversarial network model, learn data features of the weather sample, and generate a generated sample with specific features;

[0111] The prediction unit 203 is used to input the weather samples and the generated samples into a pre-trained residual network model to predict the wind power of the wind farm cluster.

[0112] Among them, obtaining weather samples of wind farm clusters includes:

[0113] Acquire the weather data sample of the wind farm cluster, select the node data of each node of the grid-type NWP in the weather data sample, normalize the node data of each node, arrange the node data of each node after the normalization according to the original two-dimensional spatial position of the node to obtain three two-dimensional matrices, map the three two-dimensional matrices into three RGB channels of the image, generate a two-dimensional weather forecast field map at each moment, and combine the two-dimensional weather forecast field map at each moment with the output process label in the corresponding weather data sample to form a weather sample.

[0114] wherein, after obtaining the weather data sample of the wind farm cluster, determining the type of the weather data sample;

[0115] The types of weather data samples include: low-output process sample types and non-low-output process sample types;

[0116] The calculation formula for determining the type of the weather data sample is as follows:

[0117]

[0118] Among them, y is the sample label of the weather data sample at time t, L is the low output process, N is the non-low output process, P(t) is the total power of the wind farm cluster at time t, and C is the total installed capacity of the wind farm cluster.

[0119] The node data includes: 2m pressure, 2m temperature and 100m wind speed data of each node.

[0120] The original conditional generative adversarial network is trained to obtain a conditional generative adversarial network model, and the sample labels of weather samples are used as training constraints during the training process;

[0121] The output process label of the low output process sample type or the non-low output process sample type is used as the sample label.

[0122] Among them, the objective function of the conditional generation adversarial network model is as follows:

[0123]

[0124] Where D and G are the discriminator and generator respectively, V(D,G) is the objective function, z is the Gaussian white noise vector, x is the real sample, y is the sample label, G(z,y) is the sample generated by the generator corresponding to the sample label y, D(x,y) is the output of the discriminator, which means the probability that the data x is the real data under the condition of given label y, P(x) is the distribution of the real sample, P(z) is the distribution of the generated sample, E x~p(x) [.] is the expected value of sampling x from p(x), E z~p(z) [.] is the expected value calculated by sampling z from P(z).

[0125] The present invention predicts the wind power of a wind farm cluster by generating an adversarial network model and a residual network model, with small calculation amount and high prediction accuracy.

[0126] Embodiment 3:

[0127] Based on the same inventive concept, the present invention also provides a computer device, which includes a processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions in the computer storage medium to implement the corresponding method flow or corresponding functions, so as to implement the steps of the method in the above embodiment.

[0128] Embodiment 4:

[0129] Based on the same inventive concept, the present invention also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It is understandable that the computer-readable storage medium here can include both a built-in storage medium in a computer device and an extended storage medium supported by the computer device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by a processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the steps of the method in the above embodiment.

[0130] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The schemes in the embodiments of the present invention may be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.

[0131] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0132] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0133] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0134] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0135] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A wind power prediction method based on weather sample enhancement generation, characterized in that: include: Get weather samples for wind farm clusters; Using a pre-trained conditional generative adversarial network model, the weather samples are enhanced, and data features of the weather samples are learned to generate generated samples with specific features; The weather samples and the generated samples are input into a pre-trained residual network model to predict the wind power of the wind farm cluster.

2. The wind power prediction method according to claim 1, characterized in that: The step of obtaining the weather sample of the wind farm cluster includes: Acquire the weather data sample of the wind farm cluster, select the node data of each node of the grid-type NWP in the weather data sample, normalize the node data of each node, arrange the node data of each node after the normalization according to the original two-dimensional spatial position of the node to obtain three two-dimensional matrices, map the three two-dimensional matrices to the three RGB channels of the picture respectively, generate a two-dimensional weather forecast field map at each moment, and combine the two-dimensional weather forecast field map at each moment with the output process label in the corresponding weather data sample to form a weather sample.

3. The wind power prediction method according to claim 2, characterized in that: After obtaining the weather data sample of the wind farm cluster, determining the type of the weather data sample; The types of weather data samples include: low-output process sample types and non-low-output process sample types; The calculation formula for determining the type of the weather data sample is as follows: Among them, y is the sample label of the weather data sample at time t, L is the low output process, N is the non-low output process, P(t) is the total power of the wind farm cluster at time t, and C is the total installed capacity of the wind farm cluster.

4. The wind power prediction method according to claim 2, characterized in that: The node data includes: 2m pressure, 2m temperature and 100m wind speed data of each node.

5. The wind power prediction method according to claim 1, characterized in that: The original conditional generative adversarial network is trained to obtain a conditional generative adversarial network model, and the sample labels of weather samples are used as training constraints during the training process; The output process label of the low output process sample type or the non-low output process sample type is used as the sample label.

6. The wind power prediction method according to claim 1, characterized in that: The objective function of the conditional generative adversarial network model is as follows: Where D and G are the discriminator and generator respectively, V(D,G) is the objective function, z is the Gaussian white noise vector, x is the real sample, y is the sample label, G(z,y) is the sample generated by the generator corresponding to the sample label y, D(x,y) is the output of the discriminator, which means the probability that the data x is the real data under the condition of given label y, P(x) is the distribution of the real sample, P(z) is the distribution of the generated sample, E x~p(x) [.] is the expected value of sampling x from P(x), E z~p(z) [.] is the expected value calculated by sampling z from P(z).

7. A wind power prediction system based on weather sample enhancement generation, characterized in that: include: A collection unit, used to obtain weather samples of the wind farm cluster; An enhanced sample unit, used to enhance the weather sample using a pre-trained conditional generative adversarial network model, learn data features of the weather sample, and generate a generated sample with specific features; The prediction unit is used to input the weather samples and the generated samples into a pre-trained residual network model to predict the wind power of the wind farm cluster.

8. The wind power prediction system according to claim 7, characterized in that: The step of obtaining the weather sample of the wind farm cluster includes: Acquire the weather data sample of the wind farm cluster, select the node data of each node of the grid-type NWP in the weather data sample, normalize the node data of each node, arrange the node data of each node after the normalization according to the original two-dimensional spatial position of the node to obtain three two-dimensional matrices, map the three two-dimensional matrices into three RGB channels of the image, generate a two-dimensional weather forecast field map at each moment, and combine the two-dimensional weather forecast field map at each moment with the output process label in the corresponding weather data sample to form a weather sample.

9. The wind power prediction system according to claim 8, characterized in that: After obtaining the weather data sample of the wind farm cluster, determining the type of the weather data sample; The types of weather data samples include: low-output process sample types and non-low-output process sample types; The calculation formula for determining the type of the weather data sample is as follows: Among them, y is the sample label of the weather data sample at time t, L is the low output process, N is the non-low output process, P(t) is the total power of the wind farm cluster at time t, and C is the total installed capacity of the wind farm cluster.

10. The wind power prediction system according to claim 8, characterized in that: The node data includes: 2m pressure, 2m temperature and 100m wind speed data of each node.

11. The wind power prediction system according to claim 7, characterized in that: The original conditional generative adversarial network is trained to obtain a conditional generative adversarial network model, and the sample labels of weather samples are used as training constraints during the training process; The output process label of the low output process sample type or the non-low output process sample type is used as the sample label.

12. The wind power prediction system according to claim 7, characterized in that: The objective function of the conditional generative adversarial network model is as follows: Where D and G are the discriminator and generator respectively, V(D,G) is the objective function, z is the Gaussian white noise vector, x is the real sample, y is the sample label, G(z,y) is the sample generated by the generator corresponding to the sample label y, D(x,y) is the output of the discriminator, which means the probability that the data x is the real data under the condition of given label y, P(x) is the distribution of the real sample, P(z) is the distribution of the generated sample, E x~p(x) [.] is the expected value of sampling x from P(x), E z~p(z) [.] is the expected value calculated by sampling z from P(z).

13. A computer device, characterized in that: include: one or more processors; a processor for executing one or more programs; When the one or more programs are executed by the one or more processors, the method according to any one of claims 1 to 6 is implemented.

14. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Cited By

  • Wind power low output event discrimination and power prediction model training method and device

    CN119474880A