Wind power prediction method and device based on transition section extraction
By identifying the transition period through the sliding time window and using the generative adversarial network to supplement the data, combined with the light gradient booster model, the problem of poor transition weather prediction is solved and high-accuracy wind power power prediction is achieved.
Patent Information
- Application Number
- CN202410935499.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-08-27
AI Technical Summary
Existing wind power power prediction technology is difficult to accurately predict during turning weather, especially due to the small amount of data and sudden nature of the turning period, which results in poor prediction results and the inability to effectively train the model.
A density-based clustering method is used to detect abnormal data, a sliding time window is used to identify the turning period, and the turning period data is supplemented by generating an adversarial network, and a light gradient boosting machine model is used for prediction, and different predictions are used for turning and non-turning periods Method, the prediction results are combined for correction.
It improves the prediction effect during the turning period, reduces the error, and improves the accuracy of wind power power prediction. Especially under turning weather conditions, an accuracy rate of 85.827% is achieved.
Smart Images

Figure CN118554444A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wind power prediction, and in particular to a wind power prediction method and device based on turning section extraction. Background Art
[0002] The extensive use of fossil energy has led to an increasing number of climate problems, while renewable energy has the advantages of environmental protection and sustainability and has gradually attracted people's attention. Wind energy, a renewable energy source, is widely used due to its continuous power generation potential, abundant resources, and little influence from geographical location. Wind power forecasting can reasonably arrange power generation plans and ensure stable operation of the power grid.
[0003] At present, wind power prediction technology is becoming mature, and it is mainly divided into point prediction, interval prediction, and probability prediction. Point prediction mainly relies on machine learning methods; interval prediction mainly uses confidence interval methods; probability prediction mainly relies on kernel density estimation methods. Research on predictions under normal weather has made rapid progress, but due to the uncertainty of weather conditions, mutations will occur; when turning weather occurs, the wind speed will suddenly increase or decrease in a short period of time, resulting in large fluctuations in power changes, reducing the prediction effect of wind power. Therefore, special considerations need to be given to turning weather. Most of the existing studies are aimed at analyzing climbing events, and the revolving door algorithm and its improved algorithm are often used to identify climbing events. However, climbing events last longer than turning weather and the power changes are relatively slow. Therefore, the extraction of the turning period cannot be fully applied to the extraction of climbing events. On the other hand, due to the suddenness of turning weather, the extracted turning period data has a small amount of data and cannot be used to train the prediction model well. Summary of the invention
[0004] The purpose of the present invention is to improve the prediction effect of the transition period, and to provide a wind power prediction method and device based on the extraction of the transition period.
[0005] In a first aspect, the present invention provides a wind power prediction method based on turning section extraction, comprising the following steps: 1) Divide the actual collected data into training sets and test sets in chronological order, and select data within a certain period of time as training sets and test sets; 2) Process outliers in the training set and test set; The wind speed-power sequence in the actual collected data is extracted and detected using a density-based clustering method with noise; the number of data points around each point is detected, and the wind speed-power data is divided into normal data and abnormal data according to the number of data points. If it is identified as abnormal data, the wind speed value of the point is modified to the wind speed mean. The wind speed mean is calculated as follows: (1) W t is the wind speed value at time t, n is the number of samples, W mean is the mean of the actual wind speed series, W i is the wind speed value at time i; 3) The data in the training set and the test set are divided into turning period data using a fixed sliding time window. Both the training set and the test set are divided into turning period data and non-turning period data; The method of dividing the turning period is as follows: The wind speed sequence is extracted from the data after outlier processing, and a sliding time window with a fixed length is set to detect the wind speed sequence to identify the turning period; The sliding time window moves backward one data point each time, and detects the difference in wind speed between the first and last data in each window. If the difference in wind speed between the first and last data is greater than a certain threshold, the time period in the window is considered to be a turning period, otherwise it is considered to be a non-turning period. The difference in wind speed between the first and last data is: e=| S start -S end | (2) S start is the wind speed value of the first data point in the time window, S end is the wind speed value of the last data point in the time window; 4) For the non-turning period prediction of the test set, the first prediction model is first trained using the non-turning period data in the training set to obtain the information gain of each input feature; Information gain is used as the basis for inputting recursive feature eliminator to perform feature selection and obtain the optimal input feature combination; Extract the optimal feature combination in the non-turning period data of the test set, and pass the optimal feature combination as input data to the first prediction model trained with the non-turning period data of the training set for prediction; 5) For the prediction of the turning period of the test set, the turning period data of the training set is first expanded using the generative adversarial network. That is, the turning period data of the training set is passed as input to the generative adversarial network. The generator in the generative adversarial network generates new data according to the dimension of the input data. The discriminator identifies the real input data and the data generated by the generator. In continuous iterations, the generator generates data distribution that gradually approaches the real input data, and finally fits the input data to generate similar data to supplement the turning period. Then, the second prediction model is trained using the expanded training set transition period data, and the test set transition period is predicted; 6) Combine the prediction results of the turning period and non-turning period of the test set predicted by different methods to obtain the prediction results of the entire period of the test set; 7) Correct the prediction results: When the wind turbine reaches the rated power, it will not increase. When the wind speed does not reach the cut-in wind speed, the wind turbine will not generate electricity. This part of the predicted power is modified and the accuracy C is used. R As an evaluation indicator for modifying the predicted power: (3) n is the number of samples, P Pi is the actual power at time i, P Mi is the predicted power at time i, C i is the startup capacity at time i.
[0006] In a second aspect, the present invention provides a wind power prediction device based on turning section extraction, comprising: The data set collection and division module is used to: divide the actual collected data into training sets and test sets in chronological order, and select data within a certain period of time as training sets and test sets; The abnormal data detection and processing module is used to: extract the wind speed-power sequence from the actual collected data and use the density-based clustering method with noise for detection; detect the number of data points around each point, and divide the wind speed-power data into normal data and abnormal data according to the number of data points. If it is identified as abnormal data, the wind speed value of the point is modified to the wind speed mean. The wind speed mean is calculated as follows: (1) W t is the wind speed value at time t, n is the number of samples, W mean is the mean of the actual wind speed series, W i is the wind speed value at time i; The turning period identification module is used to: divide the data in the training set and the test set into turning periods using a fixed sliding time window, and both the training set and the test set are divided into turning period data and non-turning period data; The method of dividing the turning period is as follows: The wind speed sequence is extracted from the data after outlier processing, and a sliding time window with a fixed length is set to detect the wind speed sequence to identify the turning period; The sliding time window moves backward one data point each time, and detects the difference in wind speed between the first and last data in each window. If the difference in wind speed between the first and last data is greater than a certain threshold, the time period in the window is considered to be a turning period, otherwise it is considered to be a non-turning period. The difference in wind speed between the first and last data is: e=| S start -S end | (2) S start is the wind speed value of the first data point in the time window, Send is the wind speed value of the last data point in the time window; A model prediction module, comprising a first model prediction module and a second model prediction module; The first model prediction module is used to predict the non-turning period of the test set. When training the first prediction model, the light gradient boosting machine model is first trained using the non-turning period data in the training set to obtain the information gain of each input feature; Information gain is used as the basis for inputting recursive feature eliminator to perform feature selection and obtain the optimal input feature combination; Extract the optimal feature combination in the non-turning period data of the test set, and pass the optimal feature combination as input data to the light gradient boosting machine model trained with the non-turning period data of the training set for prediction; The second model prediction module is used to predict the turning period of the test set. When training the second prediction model, the turning period data of the training set is first expanded using the generative adversarial network, that is, the turning period data of the training set is passed as input to the generative adversarial network, and the generator in the generative adversarial network generates new data according to the dimension of the input data. The discriminator identifies the real input data and the data generated by the generator. In continuous iterations, the generator generates data distribution that gradually approaches the real input data, and finally fits the input data to generate similar data to supplement the turning period. Then use the expanded training set transition period data to train the light gradient boosting machine model and predict the transition period of the test set; The prediction result combination module is used to combine the prediction results of the turning period and the non-turning period of the test set predicted by different models to obtain the prediction results of the entire period of the test set; A prediction result correction module, used to correct the prediction result of the prediction result combination module; The correction method is: When the wind turbine reaches the rated power, it will not increase. When the wind speed does not reach the cut-in wind speed, the wind turbine will not generate electricity. This part of the predicted power is modified and the accuracy C is used. R As an evaluation indicator for modifying the predicted power: (3) n is the number of samples, P Pi is the actual power at time i, P Mi is the predicted power at time i, C i is the startup capacity at time i.
[0007] In a third aspect, the present invention provides a computer device, comprising: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors execute the wind power prediction method based on turning segment extraction as described above.
[0008] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements a wind power prediction method based on turning segment extraction as described above.
[0009] Compared with the prior art, the present invention has outstanding substantive features and significant progress, specifically: 1. The present invention uses a fixed sliding time window to identify the wind speed sequence and extract the turning period data; uses a generative adversarial network to supplement the turning period data, effectively improving the prediction effect of the turning period, using different methods for prediction of the turning period and the non-turning period to reduce errors, and merges the prediction results to obtain the final accurate prediction results of all time periods.
[0010] 2. Considering that the transition period often occurs in a relatively short period of time and the power changes suddenly in a short period of time, the present invention sets the time window to a fixed length and does not increase the length of the time window, thereby preventing misjudgment of the transition period.
[0011] 3. Considering that detecting the difference between the first and last data in a fixed time window may not successfully detect the type of data in the window, the present invention sets the time window movement mode to move one data point backward at a time to prevent the turning period in the time window from being missed. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 These are the implementation steps of the method of the present invention.
[0013] Figure 2 This is the method for extracting the transition period in the present invention.
[0014] Figure 3 This is the data set division and prediction method in the present invention.
[0015] Figure 4 This is the wind power prediction result during the transition period of the present invention in the example. DETAILED DESCRIPTION
[0016] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0017] This embodiment proposes a wind power prediction method based on turning segment extraction, the process is as follows: Figure 1As shown, the following steps are included: 101: Divide the actual collected data into training sets and test sets in chronological order, and select data within a certain period of time as training sets and test sets; In this example, the wind energy prediction data set provided by KDD Cup is selected for testing. There are 245 days of collected data with a sampling interval of 10 minutes. The first 242 days of data are selected as the training set in chronological order, and the remaining data are used as the test set. 102: Due to factors such as wind turbine failure, the collected data may contain missing values and abnormal values. Therefore, it is necessary to process the abnormal data and extract the wind speed-power sequence from the actual collected data. The density-based clustering method with noise is used for detection. The number of data points around each point is detected, and the wind speed-power data is divided into normal data and abnormal data according to the number of data points. If it is identified as abnormal data, the wind speed value of the point is modified to the wind speed mean. The wind speed mean is calculated as follows: (1) W t is the wind speed value at time t, n is the number of samples, W mean is the mean of the actual wind speed series, W i is the wind speed value at time i; In this example, the collected wind speed-power data is extracted separately, outlier detection is performed on it, and the wind speed-power sequence after outlier processing replaces the original data; 103: Extract the wind speed sequence from the data processed in step 102, set a sliding time window of fixed length to detect the wind speed sequence, and identify the turning period; the sliding time window moves backward one data point each time, such as Figure 2 As shown, the wind speed difference between the first and last data in each window is detected. If the wind speed difference between the first and last data is greater than a certain threshold δ, the time period in the window is considered to be a turning period, otherwise it is considered to be a non-turning period. The wind speed difference between the first and last data is: e=| S start -S end | (2) S start is the wind speed value of the first data point in the time window, S end is the wind speed value of the last data point in the time window; In this example, the sliding time window is set to 30 minutes. Since the sampling interval is 10 minutes, the sliding time window actually detects three data points each time, and δ is set to 2, that is, if the difference in the first wind speed in the time window is greater than 2 m / s, the time period is considered to be in the turning period; 104: Divide the training set and the test set into turning period data using the method in step 103, and both the training set and the test set are divided into turning period data and non-turning period data; In this example, the data corresponding to the turning period of the training set is extracted separately, and the remaining data is the non-turning period data. The same processing is performed on the test set; 105: For the non-turning period prediction of the test set obtained in step 104, first use the non-turning period data in the training set to train the light gradient boosting machine model to obtain the information gain of each input feature; use the information gain as a basis to input the recursive feature eliminator for feature selection to obtain the optimal input feature combination; extract the optimal feature combination in the non-turning period data of the test set, and pass the optimal feature combination as input data to the light gradient boosting machine model trained with the non-turning period data of the training set for prediction; In this example, there are 8 feature inputs. When there are 2 features left in the non-turning period data of the training set, feature selection is stopped, and the features corresponding to the non-turning period data of the test set are extracted and input into the light gradient boosting model for prediction; 106: For the prediction of the turning period of the test set, the model cannot be trained well due to the small amount of data in the turning period. That is, the turning period data of the training set is passed as input to the generative adversarial network. The generator in the generative adversarial network generates new data according to the dimension of the input data. The discriminator identifies the real input data and the data generated by the generator. In the continuous iteration, the data distribution generated by the generator will gradually approach the real input data, and finally fit the input data to generate similar data to supplement the turning period. In this example, the generative adversarial network is iterated 30 times, and 200 new data are generated based on the turning point data of the training set for supplementation; 107: Use the training set transition period data expanded in step 106 to train the light gradient boosting machine model, and predict the transition period of the test set; 108: Combine the prediction results of the turning period and non-turning period of the test set predicted by different methods to obtain the prediction results of the entire period of the test set, such as Figure 3 As shown; 109: Correct the prediction results. The output power of the wind turbine is proportional to the wind speed. However, the output power of the wind turbine will not increase after reaching the rated power. When the wind speed does not reach the cut-in wind speed, the wind turbine will not generate electricity. Therefore, this part of the predicted power is modified, and the accuracy is set as the evaluation index: (3) n is the number of samples, P Pi is the actual power at time i, P Mi is the predicted power at time i, C iis the startup capacity at time i.
[0018] In this example, the rated power is reached when the wind speed is greater than 11 m / s, and no power is generated when the wind speed is less than 2 m / s. This part of the predicted value is corrected to a constant value. The prediction results are as follows: Figure 4 As shown, the actual output power is the black solid line, the predicted power is the black dotted line, and the wind power prediction accuracy based on the turning section extraction is 85.827%. The use of this example method can improve the prediction effect of wind turbines in turning weather, which has practical significance.
[0019] Based on the same inventive concept, the embodiment of the present application also provides a wind power prediction device based on turning segment extraction. The implementation scheme for solving the problem provided by the wind power prediction device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more embodiments of the wind power prediction device based on turning segment extraction provided below can refer to the limitations of the method above, and will not be repeated here.
[0020] In an exemplary embodiment, a wind power prediction device based on turning segment extraction is provided, comprising: The data set collection and division module is used to: divide the actual collected data into training sets and test sets in chronological order, and select data within a certain period of time as training sets and test sets; The abnormal data detection and processing module is used to: extract the wind speed-power sequence from the actual collected data and detect it using a density-based clustering method with noise; if it is identified as abnormal data, the wind speed value of the point is modified to the wind speed mean; The turning period identification module is used to: divide the data in the training set and the test set into turning periods using a fixed sliding time window, and both the training set and the test set are divided into turning period data and non-turning period data; A model prediction module, comprising a first model prediction module and a second model prediction module; The first model prediction module is used to predict the non-turning period of the test set; The second model prediction module is used to predict the turning point period of the test set; The prediction result combination module is used to combine the prediction results of the turning period and the non-turning period of the test set predicted by different models to obtain the prediction results of the entire period of the test set; The prediction result correction module is used to correct the prediction result of the prediction result combination module.
[0021] Each module in the above system can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module above.
[0022] In an exemplary embodiment, a computer device is provided, which may be a terminal. The computer device further includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, the steps of the wind power prediction method based on the extraction of the turning section are implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0023] Those skilled in the art will appreciate that the structure of the above-mentioned computer device is only a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components, or combine certain components, or have a different arrangement of components.
[0024] In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of a wind power prediction method based on turning segment extraction are implemented.
[0025] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0026] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0027] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A wind power prediction method based on turning segment extraction, characterized in that: The following steps are involved: 1) Divide the actual collected data into training sets and test sets in chronological order, and select data within a certain period of time as training sets and test sets; 2) Process outliers in the training set and test set; The wind speed-power sequence in the actual collected data is extracted and detected using a density-based clustering method with noise; the number of data points around each point is detected, and the wind speed-power data is divided into normal data and abnormal data according to the number of data points. If it is identified as abnormal data, the wind speed value of the point is modified to the wind speed mean. The wind speed mean is calculated as follows: (1) W t is the wind speed value at time t, n is the number of samples, W mean is the mean of the actual wind speed series, W i is the wind speed value at time i; 3) The data in the training set and the test set are divided into turning period data using a fixed sliding time window. Both the training set and the test set are divided into turning period data and non-turning period data; The method of dividing the turning period is as follows: The wind speed sequence is extracted from the data after outlier processing, and a sliding time window with a fixed length is set to detect the wind speed sequence to identify the turning period; The sliding time window moves backward one data point each time, and detects the difference in wind speed between the first and last data in each window. If the difference in wind speed between the first and last data is greater than a certain threshold, the time period in the window is considered to be a turning period, otherwise it is considered to be a non-turning period. The difference in wind speed between the first and last data is: e=| S start -S end | (2) S start is the wind speed value of the first data point in the time window, S end is the wind speed value of the last data point in the time window; 4) For the non-turning period prediction of the test set, the first prediction model is first trained using the non-turning period data in the training set to obtain the information gain of each input feature; Information gain is used as the basis for inputting recursive feature eliminator to perform feature selection and obtain the optimal input feature combination; Extract the optimal feature combination in the non-turning period data of the test set, and pass the optimal feature combination as input data to the first prediction model trained with the non-turning period data of the training set for prediction; 5) For the prediction of the turning period of the test set, the turning period data of the training set is first expanded using the generative adversarial network. That is, the turning period data of the training set is passed as input to the generative adversarial network. The generator in the generative adversarial network generates new data according to the dimension of the input data. The discriminator identifies the real input data and the data generated by the generator. In continuous iterations, the generator generates data distribution that gradually approaches the real input data, and finally fits the input data to generate similar data to supplement the turning period. Then, the second prediction model is trained using the expanded training set transition period data, and the test set transition period is predicted; 6) Combine the prediction results of the turning period and non-turning period of the test set predicted by different methods to obtain the prediction results of the entire period of the test set; 7) Correct the prediction results: When the wind turbine reaches the rated power, it will not increase. When the wind speed does not reach the cut-in wind speed, the wind turbine will not generate electricity. This part of the predicted power is modified and the accuracy C is used. R As an evaluation indicator for modifying the predicted power: (3) n is the number of samples, P Pi is the actual power at time i, P Mi is the predicted power at time i, C i is the startup capacity at time i.
2. The wind power prediction method based on turning segment extraction according to claim 1 is characterized in that: The first prediction model and the second prediction model are both light gradient boosting machine models.
3. A wind power prediction device based on turning section extraction, characterized in that: include: The data set collection and division module is used to: divide the actual collected data into training sets and test sets in chronological order, and select data within a certain period of time as training sets and test sets; The abnormal data detection and processing module is used to: extract the wind speed-power sequence from the actual collected data and use the density-based clustering method with noise for detection; detect the number of data points around each point, and divide the wind speed-power data into normal data and abnormal data according to the number of data points. If it is identified as abnormal data, the wind speed value of the point is modified to the wind speed mean. The wind speed mean is calculated as follows: (1) W t is the wind speed value at time t, n is the number of samples, W mean is the mean of the actual wind speed series, W i is the wind speed value at time i; The turning period identification module is used to: divide the data in the training set and the test set into turning periods using a fixed sliding time window, and both the training set and the test set are divided into turning period data and non-turning period data; The method of dividing the turning period is as follows: The wind speed sequence is extracted from the data after outlier processing, and a sliding time window with a fixed length is set to detect the wind speed sequence to identify the turning period; The sliding time window moves backward one data point each time, and detects the difference in wind speed between the first and last data in each window. If the difference in wind speed between the first and last data is greater than a certain threshold, the time period in the window is considered to be a turning period, otherwise it is considered to be a non-turning period. The difference in wind speed between the first and last data is: e=| S start -S end | (2) S start is the wind speed value of the first data point in the time window, S end is the wind speed value of the last data point in the time window; A model prediction module, comprising a first model prediction module and a second model prediction module; The first model prediction module is used to predict the non-turning period of the test set. When training the first prediction model, the light gradient boosting machine model is first trained using the non-turning period data in the training set to obtain the information gain of each input feature; Information gain is used as the basis for inputting recursive feature eliminator to perform feature selection and obtain the optimal input feature combination; Extract the optimal feature combination in the non-turning period data of the test set, and pass the optimal feature combination as input data to the light gradient boosting machine model trained with the non-turning period data of the training set for prediction; The second model prediction module is used to predict the turning period of the test set. When training the second prediction model, the turning period data of the training set is first expanded using the generative adversarial network, that is, the turning period data of the training set is passed as input to the generative adversarial network, and the generator in the generative adversarial network generates new data according to the dimension of the input data. The discriminator identifies the real input data and the data generated by the generator. In continuous iterations, the generator generates data distribution that gradually approaches the real input data, and finally fits the input data to generate similar data to supplement the turning period. Then use the expanded training set transition period data to train the light gradient boosting machine model and predict the transition period of the test set; The prediction result combination module is used to combine the prediction results of the turning period and the non-turning period of the test set predicted by different models to obtain the prediction results of the entire period of the test set; A prediction result correction module, used to correct the prediction result of the prediction result combination module; The correction method is: When the wind turbine reaches the rated power, it will not increase. When the wind speed does not reach the cut-in wind speed, the wind turbine will not generate electricity. This part of the predicted power is modified and the accuracy C is used. R As an evaluation indicator for modifying the predicted power: (3) n is the number of samples, P Pi is the actual power at time i, P Mi is the predicted power at time i, C i is the startup capacity at time i.
4. The wind power prediction device based on turning segment extraction according to claim 3 is characterized in that: The first prediction model and the second prediction model are both light gradient boosting machine models.
5. A computer device, characterized in that: include: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors execute the wind power prediction method based on turning segment extraction as described in claim 1 or 2.
6. A computer-readable storage medium storing a computer program, characterized in that: When the program is executed by a processor, a wind power prediction method based on turning segment extraction as described in claim 1 or 2 is implemented.
