Offshore wind power data quality improvement and feature extraction method and system
Through three cleaning and data completion methods, the problems of large errors and non-universality in offshore wind power data preprocessing are solved. The extracted typical wind power scenarios have higher representativeness and practical application value, and are suitable for the planning and design of new power systems.
Patent Information
- Application Number
- CN202410615716.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2024-08-30
AI Technical Summary
Existing technologies have problems with large errors and incompatibility in offshore wind power data preprocessing and feature extraction. In particular, the accuracy of wind turbine status diagnosis models that rely on SCADA data is difficult to meet, and disturbance data and bad data affect prediction accuracy. .
Use three cleaning and data completion methods, including the first cleaning based on pre-established rules, the second and third cleanings with DBSCAN and the two-way four-section method to clean out abnormal data; then perform data completion based on the Sigmoid curve, using GMM-Kmeans Method to extract typical wind power output scenarios.
It effectively improves the quality and universality of wind power data, cleans abnormal data, and completes data, making the extracted typical wind power scenarios more representative and of practical application value, and suitable for new power system planning and design.
Smart Images

Figure CN118568411A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of new power system planning and design, and in particular to a method and system for improving offshore wind power data quality and extracting features. Background Art
[0002] After half a century of development, wind power has gradually become the third largest energy source after thermal power and hydropower. According to data released by the Global Wind Energy Association and the Wind Energy Committee of the China Renewable Energy Association, by the end of 2016, the cumulative installed capacity of wind turbines in the world had reached 906GW; in 2022, the global offshore wind power installed capacity will increase by 8.8GW, with an annual growth rate of about 15.7%, and the cumulative installed capacity will be about 64.3GW. In 2022, the new installed capacity of offshore wind power in other countries except China will be about 4.4GW, accounting for about 46% of the global market share. China's new offshore wind power installed capacity accounts for about 54% of the global market share, and continues to lead the development of offshore wind power in the world. The efficiency of offshore wind power is 20-40% higher than that of onshore wind power, with the advantages of high utilization hours and no land occupation. Integrating offshore wind power into the power grid is a key measure to reduce carbon emissions. For new power systems with wind power access, if the power grid is to be planned and designed, the processing of wind power data is essential, and accurate and complete wind power data is a prerequisite for planning and design. Most of the wind power data in actual projects come from the SCADA (Supervisory Control And Data Acquisition) system. The application of the SCADA system in the power system has been very mature. As one of the most important subsystems of the energy management system (EMS system), it has the advantages of complete information, improved efficiency, correct grasp of system operation status, accelerated decision-making, and the ability to help quickly diagnose system faults. On this basis, the SCADA system has been widely used in wind power systems. At present, the SCADA system is mandatory for each unit to be installed as a safety measure.
[0003] Although data cleaning is a prerequisite for the entire research framework, there are few studies on SCADA data preprocessing. The wind turbine status diagnosis model uses the predicted value as a reference benchmark, and the predicted value is obtained through the normal behavior model of the wind turbine. Therefore, in order to improve the accuracy of the reference benchmark, it is necessary to screen the data collected during the normal operation of the wind turbine from the SCADA data. However, SCADA data lacks detailed labels. The data screening method in the prior art is mainly based on SCADA warning records and fault records. This is based on the premise that the SCADA warning system and fault diagnosis have extremely high accuracy, which is difficult to meet in actual situations. In addition, disturbance data and bad data will also affect the accuracy of the prediction, which cannot be eliminated based on actual experience. After obtaining the cleaned wind power data, how to extract the characteristics of offshore wind power is crucial. At present, the existing technology includes scenario reduction algorithms based on the entropy principle and K-means clustering method to reduce the scenarios of future wind power output and maintain the statistical characteristics of the original data. There are also studies that propose affine algorithms to solve the uncertainty in wind power to improve the reliability of ESS (energy storage system) configuration. Some scholars use particle swarm optimization and back propagation neural network to predict wind power, and the predicted data is used for the optimal configuration of ESS. Some studies have established uncertainty models for wind power, and used Monte Carlo simulation to sample according to wind speed to construct a complete hourly scenario. Many studies have extracted typical wind power scenarios through clustering. Some studies have proposed a set clustering and Markov chain to aggregate wind power data. Some studies have used K-means clustering method to aggregate wind power and obtain typical wind power.
[0004] However, most of the above-mentioned studies on the planning of new power systems extract wind characteristics through prediction methods. They do not maintain the statistical characteristics of the original wind power data. Therefore, there may be large errors in predicting future scenarios and they are not universal and general. Summary of the invention
[0005] In view of the above problems, the object of the present invention is to provide a method and system for improving the quality of offshore wind power data and extracting features with small errors and universality.
[0006] To achieve the above objectives, the present invention adopts the following technical solutions: In a first aspect, a method for improving the quality of offshore wind power data and extracting features is provided, comprising:
[0007] Collect SCADA data of the offshore wind farm to be tested, and obtain wind speed-power data in the SCADA data;
[0008] The acquired wind speed-power data were cleaned three times;
[0009] Based on the Sigmoid curve, the wind speed-power data after three cleanings were completed;
[0010] The GMM-Kmeans method is used to extract the typical wind power output scenarios of the offshore wind farm to be tested based on the wind speed-power data after data completion.
[0011] Furthermore, the obtained wind speed-power data is cleaned three times, including:
[0012] According to the pre-established rules, the acquired wind speed-power data is initially cleaned;
[0013] The DBSCAN method was used to perform a secondary cleaning on the wind speed-power data after the initial cleaning;
[0014] The wind speed-power data after the second cleaning were cleaned three times using the two-way quartering method.
[0015] Furthermore, the pre-established rules include:
[0016] When the wind speed and power in the wind speed-power data are less than 0, the wind speed-power data is cleared;
[0017] When the wind speed in the wind speed-power data is less than the cut-in wind speed and there is power, the wind speed-power data is cleared;
[0018] When the wind speed in the wind speed-power data is greater than the cut-out wind speed and there is power, the wind speed-power data is cleared;
[0019] When the power in the wind speed-power data is greater than 1.2 times the rated power, the wind speed-power data is cleared;
[0020] Set the interval to clear the wind speed-power data where the wind speed changes but the power remains unchanged.
[0021] Furthermore, the two-way quartering method is used to perform three cleanings on the wind speed-power data after the second cleaning, including:
[0022] Arrange the wind speed-power data after the secondary cleaning in order of magnitude to obtain an arranged wind speed-power data sequence;
[0023] The bidirectional quartering method is used to divide the arranged wind speed-power data series into four parts on average;
[0024] Determine the interquartile range of the wind speed-power data series divided equally into four parts;
[0025] Based on the Whisker upper and lower limits, the range of outliers in the SCADA data series is determined according to the determined interquartile range;
[0026] When the data in the wind speed-power data sequence exceeds the determined abnormal value range, it is considered abnormal data and is deleted.
[0027] Furthermore, the bidirectional quartering method is used to evenly divide the arranged wind speed-power data sequence into four parts, and the amount of data contained in each part satisfies the following formula:
[0028]
[0029]
[0030] Among them, U1, U2, and U3 are the values of the first, second, and third quartiles respectively; x is the data sequence, which has been arranged in ascending order; n is the length of the collected data sequence, k = 0, 1, 2, ...; x k is the kth data collected.
[0031] Furthermore, the wind speed-power data after three cleanings are supplemented based on the Sigmoid curve, including:
[0032] The least square method was used to fit the sigmoid curve to the wind speed-power data after three cleanings;
[0033] Through the Sigmoid curve, the power of the cleaned wind speed-power data corresponding to the wind speed value is determined to complete the data point completion.
[0034] Furthermore, the GMM-Kmeans method is used to extract typical wind power output scenarios of the offshore wind farm to be tested based on the wind speed-power data after data completion, including:
[0035] Build and train the GMM model;
[0036] Generate wind power output curves for several days based on the trained GMM model;
[0037] The K-means method is used to extract features from the wind power output curves for several days to obtain the typical wind power output scenario of the offshore wind farm to be tested.
[0038] In a second aspect, a system for improving the quality of offshore wind power data and extracting features is provided, comprising:
[0039] A data acquisition module is used to collect SCADA data of the offshore wind farm to be tested and obtain wind speed-power data in the SCADA data;
[0040] A data cleaning module is used to clean the acquired wind speed-power data three times;
[0041] The data completion module is used to complete the wind speed-power data after three cleanings based on the Sigmoid curve;
[0042] The feature extraction module is used to extract the typical wind power output scenario of the offshore wind farm to be tested based on the wind speed-power data after data completion using the GMM-Kmeans method.
[0043] In a third aspect, a processing device is provided, comprising computer program instructions, wherein the computer program instructions, when executed by the processing device, are used to implement the steps corresponding to the above-mentioned offshore wind power data quality improvement and feature extraction method.
[0044] In a fourth aspect, a computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions, when executed by a processor, are used to implement the steps corresponding to the above-mentioned offshore wind power data quality improvement and feature extraction method.
[0045] The present invention adopts the above technical solution, which has the following advantages:
[0046] 1. Since the prior art lacks prior knowledge of the distribution law of wind turbine SCADA data, and taking into account the continuity and nonlinearity of the boundaries of wind turbine SCADA data and the universality of data cleaning methods for different samples, the present invention first screens the sea breeze data by formulating rules, and then cleans the sea breeze data by DBSCAN and bidirectional quartering. The wind power data is cleaned three times, and the cleaning effect is good. The method is universal. When cleaning other types of wind turbines, it only needs to modify the relevant parameters.
[0047] 2. According to the characteristics of wind power data, the present invention performs four-division cleaning in the two directions of wind speed and power, which can clean out most discrete abnormal points.
[0048] 3. The present invention adopts Sigmoid curve to fit wind power data according to the characteristics of wind power data, and completes the missing data according to the curve. The completion method takes the characteristics of wind power data into consideration, so that the obtained wind power data is more complete and the completed data is more in line with reality.
[0049] 4. The present invention adopts the GMM-Kmeans method to extract typical wind power output scenarios. This method retains the original probability characteristics of wind power data while expanding the sample size, making the extracted typical wind power output scenarios more practical.
[0050] 5. The present invention is more in line with actual working conditions. The source data comes from the data collected by the offshore wind turbine SCADA system. The three-time cleaning process not only ensures the cleaning of abnormal data, but also broadens the universality of the cleaning method. The typical wind power output scenario finally extracted can be used as input for planning and designing new power systems.
[0051] In summary, the present invention can be widely used in the field of new power system planning and design. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Throughout the accompanying drawings, the same reference numerals are used to represent the same components. In the accompanying drawings:
[0053] Figure 1 It is a schematic diagram of a method flow provided by an embodiment of the present invention;
[0054] Figure 2 It is a schematic diagram of the data collection structure of the SCADA system provided by one embodiment of the present invention;
[0055] Figure 3 It is a schematic diagram of the quartering method provided by one embodiment of the present invention;
[0056] Figure 4 is a schematic diagram of an ideal wind speed-power curve provided by an embodiment of the present invention;
[0057] Figure 5 This is a schematic diagram of the initial cleaning effect provided by an embodiment of the present invention;
[0058] Figure 6 It is a schematic diagram of the secondary cleaning effect provided by an embodiment of the present invention;
[0059] Figure 7 This is a schematic diagram of three cleaning effects provided by an embodiment of the present invention;
[0060] Figure 8 Schematic diagram of Sigmoid fitting effect provided by an embodiment of the present invention;
[0061] Fig. 9 is a schematic diagram of an AIC curve provided by an embodiment of the present invention;
[0062] Fig.10 is a schematic diagram of a contour coefficient curve provided by an embodiment of the present invention;
[0063] Fig.11 is a schematic diagram of a typical wind power scenario provided by an embodiment of the present invention;
[0064] Fig.12 It is a schematic diagram of the probability of a typical wind power scenario provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0065] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
[0066] It should be understood that the terms used in the text are only for the purpose of describing specific example embodiments, and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used in the text may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0067] Although the terms first, second, third, etc. can be used in the text to describe multiple elements, components, regions, layers and / or sections, these elements, components, regions, layers and / or sections should not be limited by these terms. These terms can only be used to distinguish an element, component, region, layer or section from another region, layer or section. Unless the context clearly indicates, terms such as "first", "second" and other numerical terms do not imply order or sequence when used in the text. Therefore, the first element, component, region, layer or section discussed below can be referred to as the second element, component, region, layer or section without departing from the teaching of the example embodiments.
[0068] Since most of the research on new power system planning in the prior art extracts wind features through prediction methods, they do not maintain the statistical characteristics of the original wind power data, so there may be large errors in predicting future scenarios. On the contrary, a clustering method based on massive original data can solve this problem. The present invention provides a method for improving the quality of offshore wind power data and extracting features, including: collecting SCADA data of an offshore wind farm to be tested, and obtaining wind speed-power data in the SCADA data; cleaning the acquired wind speed-power data three times; based on the Sigmoid curve, completing the wind speed-power data after three cleanings; using the GMM-Kmeans method, according to the wind speed-power data after data completion, extracting the typical wind power output scene of the offshore wind farm to be tested. The present invention extracts offshore wind power features through a Gaussian mixture model and a K-means clustering method (GMM-Kmeans), and can obtain a typical wind power scene that retains the statistical characteristics of the original wind power data. GMM-Kmeans is a clustering method based on massive original data, so the typical scenes extracted by this method are more representative. Typical wind power scenarios and corresponding probabilities will be input into the dual optimization configuration method.
[0069] Example 1
[0070] like Figure 1 As shown, this embodiment provides a method for improving the quality of offshore wind power data and extracting features, including the following steps:
[0071] 1) Collect SCADA data of the offshore wind farm to be tested, and obtain wind speed-power data in the SCADA data. Each wind speed-power data is a two-dimensional coordinate point (wind speed, power).
[0072] Specifically, the SCADA system is standard equipment for each wind turbine. SCADA can provide rich data, such as wind speed, ambient temperature, wind direction, rotation speed, position parameters, bearing temperature, oil temperature, oil pressure, power, voltage, current, action instructions, alarm codes and offline status, etc. Among the above data, wind speed and the output of the wind turbine have the most direct and close relationship. Therefore, the present invention focuses on analyzing the wind speed-power curve. The SCADA data collected by the SCADA system are mostly minute-level data.
[0073] Specifically, Figure 2 The following is a one-year SCADA data collected from an offshore wind farm. It can be seen that the abnormal SCADA data of the offshore wind farm can be roughly divided into the following categories:
[0074] ① Bottom accumulation type abnormal data. The power of this part of data fluctuates around 0, but due to reasons such as fan failure, maintenance, power sensor abnormality, etc., there is wind but no output, and negative power values will appear when internal equipment needs power supply.
[0075] ② Abnormal data of middle accumulation type. The power of this part is Figure 2 The main reasons include wind power curtailment or SCADA system sensor failure. With the large-scale grid connection of new energy, power grids with small carrying capacity can only choose to abandon power during the peak period of new energy.
[0076] ③ Irregular discrete abnormal data. This part appears in Figure 2 The main manifestation of each part is "outliers". The accumulation density of these points is obviously different from other scattered points, and the proportion of the overall abnormal data is also small. This situation mainly includes sensor failures of the SCADA system, extreme weather, and noise caused by some random factors.
[0077] 2) Perform initial cleaning of the acquired wind speed-power data according to pre-established rules.
[0078] Specifically, the pre-established rules include:
[0079] ① When the wind speed and power in the wind speed-power data are less than 0, the wind speed-power data is cleared.
[0080] ② When the wind speed in the wind speed-power data is less than the cut-in wind speed and power exists, the wind speed-power data is cleared.
[0081] ③ When the wind speed in the wind speed-power data is greater than the cut-out wind speed and power exists, the wind speed-power data is cleared.
[0082] ④ When the power in the wind speed-power data is greater than 1.2 times the rated power, the wind speed-power data is cleared.
[0083] ⑤ Set the interval to clear the wind speed-power data where the wind speed changes but the power remains unchanged.
[0084] Among the above rules, rule ① is formulated based on the principle that wind speed and power > 0. Rules ②, ③, and ④ are formulated based on the design parameters of wind turbines. Rule ⑤ is formulated for the abnormal data of central accumulation type. It should be noted that the early cleaning of the abnormal data of central accumulation type is very helpful for subsequent cleaning. Rule ⑤ cleans the data that is difficult to clean by DBSCAN method (density-based clustering method with noise) and improves the cleaning effect of bidirectional quartering method.
[0085] 3) The DBSCAN method is used to perform a secondary cleaning on the wind speed-power data after the initial cleaning.
[0086] Specifically, the DBSCAN method divides areas with sufficient density into clusters, and finds clusters of arbitrary shapes in a noisy spatial database. The method defines a cluster as the largest set of density-connected points. DBSCAN requires two parameter values, one is Eps, called the neighborhood radius, and the other is MinPts, called the minimum number of points included in the neighborhood. When using the algorithm, the values of the two parameters need to be given in advance, for example, Eps=3, MinPts=8. The present invention uses the DBSCAN method to remove some discrete data. The parameters of the DBSCAN method are obtained by trial and error, and the specific process will not be described in detail here.
[0087] 4) Use the two-way quartering method to clean the wind speed-power data after the second cleaning three times, specifically:
[0088] 4.1) Arrange the wind speed-power data after the second cleaning in order of size to obtain an arranged wind speed-power data sequence.
[0089] 4.2) Using the two-way quartering method, the arranged wind speed-power data sequence is evenly divided into four parts.
[0090] Specifically, the two-way quartile method cleans the data in the wind speed-power direction by quartile method. The quartile method is to divide a data sample sequence arranged in order of size into four parts by three data points. The amount of data contained in each part is one-fourth of the amount of data in the entire sequence, such as Figure 3 As shown, it satisfies the following formula:
[0091]
[0092]
[0093] Among them, U1, U2, and U3 are the values of the first, second, and third quartiles respectively; x is the data sequence, which has been arranged in ascending order; n is the length of the collected data sequence, k = 0, 1, 2, ...; x k is the kth data collected.
[0094] 4.3) Determine the interquartile range Q of the wind speed-power data series divided into four parts:
[0095] Q=U3-U1 (3)
[0096] 4.4) Based on the Whisker upper and lower limits, according to the determined interquartile range Q, the range of outliers in the SCADA data series is determined as:
[0097] [W1,W2]=[U1-1.5Q,U2+1.5Q] (4)
[0098] Among them, W1 and W2 are the lower limit and upper limit of Whisker respectively.
[0099] 4.5) When the data in the wind speed-power data sequence exceeds the determined abnormal value range, it is considered abnormal data and is deleted.
[0100] 5) Based on the Sigmoid curve, the wind speed-power data after three cleanings are completed.
[0101] Specifically, Figure 4 As shown in the figure, it is the wind speed-power curve under ideal conditions. It can be found through observation that the curve is very similar to the Sigmoid curve. The Sigmoid formula is:
[0102]
[0103] Among them, a, b, c, and d are coefficients contained in the Sigmoid function, all of which are constants.
[0104] Therefore, the specific process of this step is:
[0105] 5.1) The least square method was used to fit the sigmoid curve to the wind speed-power data after three cleanings.
[0106] 5.2) Use the Sigmoid curve to determine the power of the wind speed value corresponding to the cleaned wind speed-power data to complete the data point completion.
[0107] 6) Using the GMM-Kmeans method, based on the wind speed-power data after data completion, the typical wind power output scenario of the offshore wind farm to be tested is extracted, specifically:
[0108] 6.1) Build and train the GMM model (Gaussian mixture model):
[0109] 6.1.1) Construct the GMM model and generate the wind power output curve for 10,000 days.
[0110] Specifically, the GMM model is a linear combination of multiple normal distribution functions used to accurately quantify things. The GMM model is:
[0111]
[0112] Among them, x is the input data in the GMM model; θ is the model parameter; H is the number of sub-models in the GMM model; α h is the weight of each sub-model; is the normal distribution function of the h-th sub-model; θ h is the parameter of the hth sub-model. The number of sub-models H of the GMM model needs to be given before fitting.
[0113] 6.1.2) According to the AIC criterion, select the model parameters of the GMM model:
[0114] AIC=2m-2ln(l) (7)
[0115] Among them, m is the number of model parameters and L is the likelihood function.
[0116] Specifically, when selecting the best model from a set of available models, the model with the smallest AIC is usually selected. When there is a large difference between the two models, the difference is mainly reflected in the likelihood function term. When the likelihood function difference is not significant, the first term of the above formula (7), that is, the model complexity, comes into play, so the model with fewer parameters is a better choice. Generally speaking, when the model complexity increases (the number of clusters k of the model increases), the likelihood function L will also increase, thereby reducing the AIC. However, when k is too large, the likelihood function growth rate slows down, resulting in an increase in AIC. An overly complex model is prone to overfitting. The goal is to select the model with the smallest AIC. AIC not only improves the model fit (maximum likelihood), but also introduces a penalty term to reduce the model parameters as much as possible, which helps to reduce the possibility of overfitting.
[0117] 6.1.3) Input the completed wind speed-power data into the constructed GMM model, train the constructed GMM model, and obtain a trained GMM model of wind power output.
[0118] 6.2) Generate 10,000-day wind power output curves based on the trained GMM model, expand the sample size, and retain the original probability characteristics of wind power data.
[0119] 6.3) The K-means method is used to extract features from the 10,000-day wind power output curve to obtain the typical wind power output scenario of the offshore wind farm to be tested.
[0120] Specifically, the number of clusters in the K-means method is selected according to the silhouette coefficient S j :
[0121]
[0122] Among them, S j is the silhouette coefficient of the jth sample; a j is the average Euclidean distance from the jth sample to all points in its class; b j is the average Euclidean distance from the jth sample to all points in other classes.
[0123] The offshore wind power data quality improvement and feature extraction method of the present invention is described in detail below through specific embodiments:
[0124] The SCADA data used in the present invention is as follows: Figure 2As shown in the figure, the data comes from the real SCADA operation data of an offshore wind farm group for one year. There are four main dimensions of information, namely timestamp, wind speed, power and rotor speed. The wind turbine parameter description lists the rotor diameter, rated power and rotor speed range of each wind turbine. This data set is collected from the actual production process of the wind turbine and is a typical result of the operation of the wind turbine under actual working conditions. Therefore, the original data of each wind turbine contains a large number of abnormal data points. This data set is compatible with the abnormal data detection application scenario of the wind turbine SCADA system. The wind turbine has a rotor diameter of 100.5m, a rated power of 2000kW, a cut-in wind speed of 3m / s, a cut-out wind speed of 22m / s, and a rotor speed range of 5.5-19r / min. The original data is the real data collected by the SCADA system at intervals of 10 minutes in 2019. It can be observed that there are three types of abnormal points in the data: bottom accumulation type abnormal points, middle accumulation type abnormal points and irregular discrete points.
[0125] According to the pre-defined rules, the wind power data is initially cleaned. The cleaning effect is as follows: Figure 5 As shown, it can be seen that most of the bottom accumulation type anomaly points and the middle accumulation type anomaly points whose power does not change with wind speed are eliminated.
[0126] The DBSCAN method is used to perform secondary cleaning on the wind power data after the initial cleaning. The DBSCAN parameter selection is: Eps = 3MinPts = 8. The cleaning effect is as follows Figure 6 As shown, it can be seen that some discrete outlier points with low stacking density are removed.
[0127] The wind power data after the second cleaning was cleaned three times using the two-way quartering method. The cleaning effect is as follows: Figure 7 As shown, it can be seen that most of the discrete outliers and outliers that are close to normal data and difficult to distinguish are screened out.
[0128] After the above cleaning, a total of 13% of the total data volume was screened out of the outliers. Based on the Sigmoid curve, the removed data points were supplemented to obtain a complete one-year offshore wind power data set. The fitting effect of the Sigmoid curve is shown in the figure below: Figure 8 As shown, it can be seen that the fitting curve covers most of the data points and the fitting effect is good.
[0129] The wind power data after data completion is input into the pre-built GMM model, and the model parameters of the GMM model are determined according to the AIC criterion. The AIC image is shown in Fig. 9 According to the AIC criterion, the minimum AIC value corresponds to a GMM model parameter of 9. The 10,000-day wind power output curve is generated by the trained GMM model.
[0130] The K-means method is used to extract features from the 10,000-day wind power output curve. The parameters of the K-means method are selected according to the silhouette coefficient. The silhouette coefficient curve is as follows: Fig.10 According to the definition of silhouette coefficient, the larger the silhouette coefficient, the better the clustering effect. The number of clusters of the K-means method is selected as 15, and 15 typical wind power output scenarios are generated as follows Fig.11 As shown in the figure, the probability corresponding to each typical wind power output scenario is as follows Fig.12 As shown, Fig.11 It can be seen from the figure that the extracted wind power output scenarios have their own unique distribution patterns, and the typical wind power curves of each typical wind power output scenario are marked according to the cluster center; Fig.12 It can be seen from the figure that the probability corresponding to each typical wind power scenario.
[0131] Example 2
[0132] This embodiment provides an offshore wind power data quality improvement and feature extraction system, including:
[0133] The data acquisition module is used to collect the SCADA data of the offshore wind farm to be tested and obtain the wind speed-power data in the SCADA data.
[0134] The data cleaning module is used to clean the acquired wind speed-power data three times.
[0135] The data completion module is used to complete the wind speed-power data after three cleanings based on the Sigmoid curve.
[0136] The feature extraction module is used to extract the typical wind power output scenario of the offshore wind farm to be tested based on the wind speed-power data after data completion using the GMM-Kmeans method.
[0137] In a preferred embodiment, the data cleaning module includes:
[0138] According to the pre-established rules, the acquired wind speed-power data is initially cleaned.
[0139] The DBSCAN method is used to perform secondary cleaning on the wind speed-power data after the initial cleaning.
[0140] The wind speed-power data after the second cleaning were cleaned three times using the two-way quartering method.
[0141] The system provided in this embodiment is used to execute the above-mentioned method embodiments. Please refer to the above-mentioned embodiments for specific processes and detailed contents, which will not be repeated here.
[0142] Example 3
[0143] This embodiment provides a processing device corresponding to the offshore wind power data quality improvement and feature extraction method provided in Example 1. The processing device can be applicable to a client processing device, such as a mobile phone, a laptop computer, a tablet computer, a desktop computer, etc., to execute the method of Example 1.
[0144] The processing device includes a processor, a memory, a communication interface and a bus, and the processor, the memory and the communication interface are connected through the bus to complete mutual communication. The memory stores a computer program that can be run on the processing device, and the processing device executes the offshore wind power data quality improvement and feature extraction method provided in this embodiment 1 when running the computer program.
[0145] In some implementations, the memory may be a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory.
[0146] In some other implementations, the processor may be a central processing unit (CPU), a digital signal processor (DSP), or other general-purpose processors of various types, which are not limited herein.
[0147] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0148] Those skilled in the art will understand that the structure of the above-mentioned computing device is only a partial structure related to the solution of the present invention, and does not constitute a limitation on the computing device to which the solution of the present invention is applied. The specific computing device may include more or fewer components, or combine certain components, or have a different arrangement of components.
[0149] Example 4
[0150] This embodiment provides a computer program product corresponding to the offshore wind power data quality improvement and feature extraction method provided in Example 1. The computer program product may include a computer-readable storage medium on which computer-readable program instructions for executing the offshore wind power data quality improvement and feature extraction method described in Example 1 are loaded.
[0151] Computer readable storage media can be tangible devices that hold and store instructions used by instruction execution devices. Computer readable storage media can be, for example, but not limited to, electronic storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any combination thereof.
[0152] The above embodiment provides a computer-readable storage medium, whose implementation principle and technical effect are similar to those of the above method embodiment, and will not be repeated here.
[0153] 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.
[0154] 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.
[0155] 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 in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0156] The above embodiments are only used to illustrate the present invention, wherein the structure, connection mode and manufacturing process of each component may be changed. Any equivalent transformations and improvements based on the technical solution of the present invention should not be excluded from the protection scope of the present invention.
Claims
1. A method for improving the quality of offshore wind power data and extracting features, characterized in that: include: Collect SCADA data of the offshore wind farm to be tested, and obtain wind speed-power data in the SCADA data; The acquired wind speed-power data were cleaned three times; Based on the Sigmoid curve, the wind speed-power data after three cleanings were completed; The GMM-Kmeans method is used to extract the typical wind power output scenarios of the offshore wind farm to be tested based on the wind speed-power data after data completion.
2. A method for improving the quality of offshore wind power data and extracting features as claimed in claim 1, characterized in that: The obtained wind speed-power data is cleaned three times, including: According to the pre-established rules, the acquired wind speed-power data is initially cleaned; The DBSCAN method was used to perform a secondary cleaning on the wind speed-power data after the initial cleaning; The wind speed-power data after the second cleaning were cleaned three times using the two-way quartering method.
3. A method for improving the quality of offshore wind power data and extracting features as claimed in claim 2, characterized in that: The pre-established rules include: When the wind speed and power in the wind speed-power data are less than 0, the wind speed-power data is cleared; When the wind speed in the wind speed-power data is less than the cut-in wind speed and there is power, the wind speed-power data is cleared; When the wind speed in the wind speed-power data is greater than the cut-out wind speed and there is power, the wind speed-power data is cleared; When the power in the wind speed-power data is greater than 1.2 times the rated power, the wind speed-power data is cleared; Set the interval to clear the wind speed-power data where the wind speed changes but the power remains unchanged.
4. A method for improving the quality of offshore wind power data and extracting features as claimed in claim 2, characterized in that: The two-way quartering method is used to clean the wind speed-power data after the second cleaning three times, including: Arrange the wind speed-power data after the secondary cleaning in order of magnitude to obtain an arranged wind speed-power data sequence; The bidirectional quartering method is used to divide the arranged wind speed-power data series into four parts on average; Determine the interquartile range of the wind speed-power data series divided equally into four parts; Based on the Whisker upper and lower limits, the range of outliers in the SCADA data series is determined according to the determined interquartile range; When the data in the wind speed-power data sequence exceeds the determined abnormal value range, it is considered abnormal data and is deleted.
5. The offshore wind power data quality improvement and feature extraction method according to claim 4, characterized in that: The bidirectional quartering method is used to divide the arranged wind speed-power data sequence into four parts on average, and the amount of data contained in each part satisfies the following formula: Among them, U1, U2, and U3 are the values of the first, second, and third quartiles respectively; x is the data sequence, which has been arranged in ascending order; n is the length of the collected data sequence, k = 0, 1, 2, ...; x k is the kth data collected.
6. The offshore wind power data quality improvement and feature extraction method according to claim 1, characterized in that: The wind speed-power data after three cleanings are supplemented based on the Sigmoid curve, including: The least square method was used to fit the sigmoid curve to the wind speed-power data after three cleanings; Through the Sigmoid curve, the power of the cleaned wind speed-power data corresponding to the wind speed value is determined to complete the data point completion.
7. The offshore wind power data quality improvement and feature extraction method according to claim 1, characterized in that: The GMM-Kmeans method is used to extract typical wind power output scenarios of the offshore wind farm to be tested based on the wind speed-power data after data completion, including: Build and train the GMM model; Generate wind power output curves for several days based on the trained GMM model; The K-means method is used to extract features from the wind power output curves for several days to obtain the typical wind power output scenario of the offshore wind farm to be tested.
8. An offshore wind power data quality improvement and feature extraction system, characterized in that: include: A data acquisition module is used to collect SCADA data of the offshore wind farm to be tested and obtain wind speed-power data in the SCADA data; A data cleaning module is used to clean the acquired wind speed-power data three times; The data completion module is used to complete the wind speed-power data after three cleanings based on the Sigmoid curve; The feature extraction module is used to extract the typical wind power output scenario of the offshore wind farm to be tested based on the wind speed-power data after data completion using the GMM-Kmeans method.
9. A processing device, characterized in that: It comprises computer program instructions, wherein when the computer program instructions are executed by a processing device, they are used to implement the steps corresponding to the offshore wind power data quality improvement and feature extraction method described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, wherein the computer program instructions, when executed by a processor, are used to implement steps corresponding to the offshore wind power data quality improvement and feature extraction method according to any one of claims 1 to 7.
Citation Information
Cited By
Fan wind power data cleaning method
CN119377568A
