A wind power data intelligent repair method and device
Through multi-dimensional data repair methods, including feature selection, variable screening and model selection modules, the problem of missing data recovery in wind power data is solved, complete and accurate repair of wind power data is achieved, and it is suitable for data repair with different degrees of missingness.
Patent Information
- Application Number
- CN202311637647.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-01
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-12-01
AI Technical Summary
Existing technologies cannot completely restore missing data in wind power data, especially in high-dimensional, long-term spans and diverse missing patterns, where data interpolation by a single method is not feasible.
A multi-dimensional data repair method is adopted, including feature selection, variable screening and model selection modules. Feature extraction and model selection are performed on the data set to be repaired through the three dimensions of feature parameters, time series and spatial distribution, and the model with the highest score is used to identify missing values. Estimation and filling, combined with loss functions for model training and optimization.
It achieves complete and accurate repair of wind power data, reduces redundant data, and selects different models for multi-angle repair based on the degree of missing data to ensure the integrity and accuracy of the data.
Smart Images

Figure CN117807378B_ABST
Abstract
Description
Technical Field
[0001] One or more embodiments of the present specification relate to the field of wind power generation technology, and in particular, to a method and device for intelligently repairing wind power data. Background Art
[0002] Since wind farms (especially offshore wind farms) are located in remote areas and are difficult to maintain manually, the remote monitoring and control data system (SCADA) can remotely obtain wind turbine operating status data, which is the guarantee for the healthy operation of wind farms. However, the SCADA system is often affected by various factors such as sensor failure and network congestion, resulting in data loss.
[0003] For missing data, existing technologies propose to use methods such as K-nearest neighbor algorithm (KNN), multiple interpolation and maximum likelihood to repair and compensate. However, the above methods cannot completely restore wind power data because incomplete SCADA data sets have high dimensions, long time spans and diverse missing patterns. It is not feasible to use a single method to interpolate missing data. Summary of the invention
[0004] One or more embodiments of the present specification describe a method and device for intelligently repairing wind power data, which can accurately and completely restore missing data from multiple dimensions according to the missing situation.
[0005] In a first aspect, an embodiment of this specification provides a method for intelligently repairing wind power data, including:
[0006] Obtain wind power collection data and form a data set to be repaired;
[0007] Inputting the data set to be repaired into the first data repair model, and outputting the repaired data set;
[0008] Wherein, the first data repair model includes a feature selection module, a variable screening module, a model selection module, and an output module;
[0009] The feature selection module is used to extract features from the dataset to be repaired from three dimensions: feature parameters, time series, and spatial distribution, so as to obtain a first feature parameter dataset, a first time series dataset, and a first spatial distribution dataset;
[0010] The variable screening module is used to screen out the second characteristic parameter data set, the second time series data set, and the second spatial distribution data set that are most relevant to the dimension of the data to be repaired from the first characteristic parameter data set, the first time series data set, and the first spatial distribution data set;
[0011] The model selection module is configured with a feature parameter model pool, a time series model pool, and a spatial distribution model pool, and is used to output the feature parameter model, time series model, and spatial distribution model with the highest score from the feature parameter model pool, the time series model pool, and the spatial distribution model pool based on the model score selection table;
[0012] The output module is used to input the second characteristic parameter data set into the characteristic parameter model to obtain the missing estimated value of the characteristic parameter, input the second time series data set into the time series model to obtain the missing estimated value of the time series, and input the second spatial distribution data set into the spatial distribution model to obtain the missing estimated value of the spatial distribution; then, fill the missing estimated value of the characteristic parameter, the missing estimated value of the time series, and the missing estimated value of the spatial distribution into the data set to be repaired, and output the repaired data set;
[0013] The first and second characteristic parameter data sets are data sets of target characteristic parameters at a target time point;
[0014] The first and second time series data sets are data sets of target feature parameters at target time points;
[0015] The first and second spatial distribution data sets are data sets of target characteristic parameters of the target unit at a target time point.
[0016] In some embodiments, the feature selection module is used to extract features from the dataset to be repaired from three dimensions: feature parameters, time series, and spatial distribution, to obtain a first feature parameter dataset, a first time series dataset, and a first spatial distribution dataset, including:
[0017] By configuring the feature parameter relationship table in the feature selection module, data of other feature parameters at the target time point that exceed the correlation coefficient threshold of the target feature parameter at the target time point are screened out from the data set to be repaired, and an initial feature parameter data set is formed;
[0018] Inputting the initial feature parameter data set into a first feature parameter estimation model configured in the feature selection module, and outputting a first feature parameter data set;
[0019] By configuring the time series relationship table in the feature selection module, data of target parameters at other time points that exceed the correlation coefficient threshold of the target parameters at the target time point are screened out from the data set to be repaired, and an initial time series data set is formed;
[0020] Inputting the initial time series data set into a first time series estimation model configured in a feature selection module, and outputting a first time series data set;
[0021] By configuring the spatial distribution relationship table in the feature selection module, the target parameter data of other target units at the target time point that exceeds the correlation coefficient threshold of the target parameter of the target unit at the target time point are screened out from the data set to be repaired, and an initial spatial distribution data set is formed;
[0022] The initial spatial distribution data set is input into a first spatial distribution estimation model configured in a feature selection module, and a first spatial distribution data set is output.
[0023] In some embodiments, the characteristic parameter relationship table is obtained based on a covariance analysis algorithm, which stores the correlation coefficients of each characteristic parameter with other characteristic parameters at each time point; the time series relationship table is obtained based on a partial autocorrelation coefficient analysis algorithm, which stores the partial autocorrelation coefficients of each characteristic parameter at each time point relative to the same characteristic parameter at other time points; the spatial distribution relationship table is obtained based on a Manhattan distance algorithm, which is used to store the correlation coefficients between each characteristic parameter in each unit at each time point and the same characteristic parameter in other units at the same time point.
[0024] In some embodiments, the first feature parameter estimation model or the first time series estimation model or the first spatial distribution estimation model is one of a linear regression model, a support vector machine, and a neural network.
[0025] In some embodiments, the variable screening module is used to screen out the second characteristic parameter data set, the second time series data set, and the second spatial distribution data set that are most relevant to the dimension of the data to be repaired from the first characteristic parameter data set, the first time series data set, and the first spatial distribution data set, including:
[0026] For each data to be repaired in the repair data set, the variable screening module performs correlation calculation based on the first characteristic parameter data set, the first time series data set, and the first spatial distribution data set using the MIC variable screening algorithm from three dimensions: characteristic parameter, time series, and spatial distribution;
[0027] Keep the data corresponding to the dimension with the highest correlation;
[0028] Repeat the above process, perform the above screening on all the data to be repaired, and form a second characteristic parameter data set, a second time series data set, and a second spatial distribution data set based on the dimensions of all the retained data.
[0029] In some embodiments, the model selection module is configured with a feature parameter model pool, a time series model pool, and a spatial distribution model pool, and is used to output the feature parameter model, time series model, and spatial distribution model with the highest score from the feature parameter model pool, the time series model pool, and the spatial distribution model pool based on the model score selection table, including:
[0030] Scoring the models of the feature parameter model pool according to the second feature parameter data set, and obtaining a first model score selection table including the average score of each model under all feature parameters; scoring the models of the time series model pool according to the second time series data set, and obtaining a second model score selection table including the average score of each model under all feature parameters; scoring the models of the spatial distribution model pool according to the second spatial distribution data set, and obtaining a third model score selection table including the average score of each model under all feature parameters;
[0031] Based on the first model score selection table, the feature parameter model with the highest score is selected from the feature parameter model pool. Based on the second model score selection table, the time series model with the highest score is selected from the time series model pool. Based on the third model score table, the spatial distribution model with the highest score is selected from the spatial distribution model pool.
[0032] In some embodiments, the first data repair model is trained by the following process:
[0033] Obtain complete historical wind power data and process missing data on some of them to obtain a historical wind power data set to be repaired;
[0034] Inputting the historical wind power data set to be repaired into the first data repair model for training, the feature selection module is configured with a feature parameter relationship table, a time series relationship table, a spatial distribution relationship table, a first feature parameter estimation model, a first time series estimation model, and a first spatial distribution model;
[0035] During the training process, the data of other characteristic parameters at the target time point that exceed the correlation coefficient threshold of the target characteristic parameters at the target time point are screened out from the historical wind power to be repaired data set through the characteristic parameter relationship table, and an initial characteristic parameter data set is formed; the initial characteristic parameter data set is input into the first characteristic parameter estimation model, and the first characteristic parameter data set is output;
[0036] Through the time series relationship table, data of target parameters at other time points that exceed the correlation coefficient threshold of the target parameters at the target time point are screened out from the historical wind power to be repaired data set, and an initial time series data set is formed; the initial time series data set is input into the first time series estimation model, and the first time series data set is output;
[0037] Through the spatial distribution relationship table, the target parameter data of other target units at the target time point that exceed the correlation coefficient threshold of the target parameter of the target unit at the target time point are screened out from the historical wind power to be repaired data set, and an initial spatial distribution data set is formed;
[0038] Inputting the initial spatial distribution data set into a first spatial distribution estimation model, and outputting a first spatial distribution data set;
[0039] For each data to be repaired in the historical wind power to be repaired data set, the variable screening module is used to perform correlation calculation based on the first characteristic parameter data set, the first time series data set, and the first spatial distribution data set from three dimensions: characteristic parameters, time series, and spatial distribution;
[0040] Keep the data corresponding to the dimension with the highest correlation;
[0041] Repeat the above process, perform the above screening on all the data to be repaired, and form a second characteristic parameter data set, a second time series data set, and a second spatial distribution data set based on the dimensions of all the retained data;
[0042] The model selection module is configured with a feature parameter model pool, a time series model pool, and a spatial distribution model pool;
[0043] Scoring the models of the feature parameter model pool according to the second feature parameter data set, and obtaining a first model score selection table including the average score of each model under all feature parameters; scoring the models of the time series model pool according to the second time series data set, and obtaining a second model score selection table including the average score of each model under all feature parameters; scoring the models of the spatial distribution model pool according to the second spatial distribution data set, and obtaining a third model score selection table including the average score of each model under all feature parameters;
[0044] Based on the first model score selection table, the feature parameter model with the highest score is selected from the feature parameter model pool; based on the second model score selection table, the time series model with the highest score is selected from the time series model pool; based on the third model score table, the spatial distribution model with the highest score is selected from the spatial distribution model pool;
[0045] Inputting the second characteristic parameter data set into the characteristic parameter model to obtain the missing estimated value of the characteristic parameter, inputting the second time series data set into the time series model to obtain the missing estimated value of the time series, and inputting the second spatial distribution data set into the spatial distribution model to obtain the missing estimated value of the spatial distribution;
[0046] The loss function is used to predict and judge the missing estimated values output by the above model and the true values of the historical wind power data. When the convergence condition is not met, the above training process is repeated until the convergence condition is met. When the convergence condition is met, the training of the first data repair model is completed.
[0047] In some embodiments, after the data set to be repaired is formed, the method further includes: determining whether the data in the data set to be repaired is completely missing or partially missing;
[0048] If part of it is missing, the data to be repaired is input into the first data repair model, and the repaired data set is output;
[0049] If it is completely missing, the data to be repaired is input into the second data repair model and the repaired data set is output.
[0050] In some embodiments, inputting the data to be repaired into the second data repair model and outputting a repaired data set includes:
[0051] Extract features of the dataset to be repaired from three dimensions: feature parameters, time series, and spatial distribution, to form feature parameter dataset 1, time series dataset 1, and spatial distribution dataset 1;
[0052] The second data repair model is configured with a hybrid LSTM model, a hybrid matching model, a vertical matching model and a horizontal matching model; the feature parameter data set 1 is input into the hybrid LSTM model, the hybrid matching model, the vertical matching model and the horizontal matching model respectively, and the feature parameter data set 2 under the corresponding model is obtained; the time series data set 1 is input into the hybrid LSTM model, the hybrid matching model, the vertical matching model and the horizontal matching model respectively, and the time series data set 2 under the corresponding model is obtained; the spatial distribution data set 1 is input into the hybrid LSTM model, the hybrid matching model, the vertical matching model and the horizontal matching model respectively, and the spatial distribution data set 2 under the corresponding model is obtained;
[0053] Based on the feature parameter data set 2, the time series data set 2, and the spatial distribution data set 2, the Markov distance algorithm is used to calculate the distance between any two dimensions of each feature parameter in the three dimensions, and one of the feature parameters of the two dimensions with the minimum distance is determined as the estimated value;
[0054] Fill all estimated values into the dataset to be repaired to form the repaired dataset.
[0055] In a second aspect, the embodiments of this specification provide a wind power data intelligent repair device, including:
[0056] An acquisition module is used to acquire wind power collection data and form a data set to be repaired;
[0057] A first repair module, used for inputting a data set to be repaired into a first data repair model and outputting a repaired data set;
[0058] Wherein, the first data repair model includes a feature selection module, a variable screening module, a model selection module, and an output module;
[0059] The feature selection module is used to extract features from the dataset to be repaired from three dimensions: feature parameters, time series, and spatial distribution, so as to obtain a first feature parameter dataset, a first time series dataset, and a first spatial distribution dataset;
[0060] The variable screening module is used to screen out the second characteristic parameter data set, the second time series data set, and the second spatial distribution data set that are most relevant to the dimension of the data to be repaired from the first characteristic parameter data set, the first time series data set, and the first spatial distribution data set;
[0061] The model selection module is configured with a feature parameter model pool, a time series model pool, and a spatial distribution model pool, and is used to output the feature parameter model, time series model, and spatial distribution model with the highest score from the feature parameter model pool, the time series model pool, and the spatial distribution model pool based on the model score selection table;
[0062] The output module is used to input the second characteristic parameter data set into the characteristic parameter model to obtain the missing estimated value of the characteristic parameter, input the second time series data set into the time series model to obtain the missing estimated value of the time series, and input the second spatial distribution data set into the spatial distribution model to obtain the missing estimated value of the spatial distribution; then, fill the missing estimated value of the characteristic parameter, the missing estimated value of the time series, and the missing estimated value of the spatial distribution into the data set to be repaired, and output the repaired data set;
[0063] The first and second characteristic parameter data sets are data sets of target characteristic parameters at a target time point;
[0064] The first and second time series data sets are data sets of target feature parameters at target time points;
[0065] The first and second spatial distribution data sets are data sets of target characteristic parameters of the target unit at a target time point.
[0066] The beneficial effects brought by the technical solutions provided by some embodiments of this specification include at least:
[0067] In one or more embodiments of the present specification, the method of the embodiment of the present specification uses the first data repair model to repair part of the missing wind power data. During the repair process, preliminary estimates are made from three dimensions: characteristic parameters, time series, and spatial distribution. Then, the model with the highest score under the corresponding dimension is selected from the model pool, and the final estimated value is output using the model, that is, the wind power data repair is completed; further, a variable screening algorithm is introduced during the preliminary estimation to obtain the preliminary estimated value most relevant to the dimension of the data to be repaired, which can reduce redundant data at this step; further, the second data repair model is used to repair all the missing wind power data. During the repair process, preliminary data source matching is performed from characteristic parameters, time series, and spatial distribution. Then, multiple models of the second data repair model are used to match data sources from multiple angles, and the optimal estimated value is selected based on the distance algorithm for repairing wind power data. The embodiments of the present specification select different models for data repair according to the degree of missingness, and perform complete and accurate repair from multiple dimensions. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] In order to more clearly illustrate the technical solutions in the embodiments of this specification, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0069] Figure 1 A flow chart of a wind power data intelligent repair method provided in an embodiment of this specification;
[0070] Figure 2 for Figure 1 Flow chart of step 104;
[0071] Figure 3 A flow chart of another wind power data intelligent repair method provided in an embodiment of this specification;
[0072] Figure 4 for Figure 3 Flow chart of step 304 in FIG. DETAILED DESCRIPTION
[0073] The technical solutions in the embodiments of this specification will be described clearly and completely below in conjunction with the drawings in the embodiments of this specification.
[0074] The terms "first", "second", "third", etc. in the description and claims of this specification and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0075] The embodiments of this specification propose an intelligent repair solution for wind power data, which can completely and accurately repair wind power data from three aspects: characteristics, time series and spatial distribution.
[0076] like Figure 1 , a wind power data intelligent repair method according to an embodiment of the present specification includes:
[0077] Step 102, acquiring wind power collection data and forming a data set to be repaired;
[0078] Step 104, inputting the data set to be repaired into the first data repair model, and outputting the repaired data set;
[0079] Wherein, the first data repair model includes a feature selection module, a variable screening module, a model selection module, and an output module;
[0080] The feature selection module is used to extract features from the dataset to be repaired from three dimensions: feature parameters, time series, and spatial distribution, so as to obtain a first feature parameter dataset, a first time series dataset, and a first spatial distribution dataset;
[0081] The variable screening module is used to screen out the second characteristic parameter data set, the second time series data set, and the second spatial distribution data set that are most relevant to the dimension of the data to be repaired from the first characteristic parameter data set, the first time series data set, and the first spatial distribution data set;
[0082] The model selection module is configured with a feature parameter model pool, a time series model pool, and a spatial distribution model pool, and is used to output the feature parameter model, time series model, and spatial distribution model with the highest score from the feature parameter model pool, the time series model pool, and the spatial distribution model pool based on the model score selection table;
[0083] The output module is used to input the second characteristic parameter data set into the characteristic parameter model to obtain the missing estimated value of the characteristic parameter, input the second time series data set into the time series model to obtain the missing estimated value of the time series, and input the second spatial distribution data set into the spatial distribution model to obtain the missing estimated value of the spatial distribution; then, fill the missing estimated value of the characteristic parameter, the missing estimated value of the time series, and the missing estimated value of the spatial distribution into the data set to be repaired, and output the repaired data set;
[0084] The first and second characteristic parameter data sets are data sets of target characteristic parameters at a target time point; the first and second time series data sets are data sets of target characteristic parameters at a target time point; the first and second spatial distribution data sets are data sets of target characteristic parameters of a target unit at a target time point.
[0085] The method of the embodiment of this specification is executed on the control end, which can obtain relevant data on the wind turbine from the SCADA system or through the industrial gateway, and then perform the repair process of step 104 on the collected data. The control end is set at the control terminal device.
[0086] The first data repair model of the embodiment of this specification is mainly used to repair the situation where some data in wind power data is missing. First, the feature selection module is used to extract features from three dimensions respectively to obtain a data set under each dimension; then the variable screening module is used to screen out the second feature parameter data set, the second time series data set, and the second spatial distribution data set that are most relevant to the dimension of the data to be repaired from the first feature parameter data set, the first time series data set, and the first spatial distribution data set; then the model selection module is used to select the model with the highest score based on the model score selection table; finally, the second feature parameter data set, the second time series data set, and the second spatial distribution data set are input into the model under the corresponding dimension, and the repaired data set is output.
[0087] Next, each step will be described in detail.
[0088] In step 102, the wind power collection data is data obtained from a SCADA system or from a wind turbine generator set through an industrial gateway.
[0089] The forming of the data set to be repaired includes: merging the wind power collection data with the blank template file to obtain the data set to be repaired including all characteristic parameters at all time points.
[0090] Due to the large variety of data, it is necessary to standardize the data. For example, the Z-score or Min-Max standardization method can be used to standardize the data.
[0091] In step 104, the data set to be repaired is input into the first data repair model, and the repaired data set (such as Figure 2 ),include:
[0092] Step 1041, the feature selection module is used to extract features from the dataset to be repaired from three dimensions: feature parameters, time series, and spatial distribution, so as to obtain a first feature parameter dataset, a first time series dataset, and a first spatial distribution dataset; specifically, it includes:
[0093] First dimension selection:
[0094] By configuring the feature parameter relationship table in the feature selection module, data of other feature parameters at the target time point that exceed the correlation coefficient threshold of the target feature parameter at the target time point are screened out from the data set to be repaired, and an initial feature parameter data set is formed;
[0095] Inputting the initial feature parameter data set into a first feature parameter estimation model configured in the feature selection module, and outputting a first feature parameter data set;
[0096] Wherein, the characteristic parameter relationship table is obtained based on the covariance analysis algorithm, which stores the correlation coefficients of each characteristic parameter and other characteristic parameters at each time point. The characteristic parameter relationship table is calculated based on a data set with a complete number of characteristic parameters. Generally, the complete number is 68 characteristic parameters (such as wind speed, power, current, etc.). First, a correlation analysis is performed on the 68 characteristics to find the connection between these characteristic parameters. Then the characteristic parameter relationship table is obtained. The correlation coefficient threshold can be set to 0.9 or 0.95 or other values.
[0097] Specifically, for time point t and current feature parameter i, find a set F of other feature parameters whose correlation coefficient with feature parameter i exceeds the threshold. In set F, collect the true values of all feature parameters at the current time point t to form a set X tF , that is, the initial feature parameter data set.
[0098] Select one from the linear regression model, support vector machine, and neural network as the first feature parameter estimation model f(·), and set X tF The characteristic value in is used as input and calculated through the model to obtain the estimated value of the characteristic dimension i at the current time point t
[0099] Second dimension selection:
[0100] By configuring the time series relationship table in the feature selection module, data of target parameters at other time points that exceed the correlation coefficient threshold of the target parameters at the target time point are screened out from the data set to be repaired, and an initial time series data set is formed;
[0101] Inputting the initial time series data set into a first time series estimation model configured in a feature selection module, and outputting a first time series data set;
[0102] Wherein, the time series relationship table is obtained based on the partial autocorrelation coefficient analysis algorithm, which stores the partial autocorrelation coefficient of each characteristic parameter at each time point relative to the same characteristic parameter at other time points. The relationship strength of a certain characteristic parameter at a certain time point relative to the previous time point can be obtained by the partial autocorrelation coefficient analysis algorithm. The correlation coefficient threshold can be set to 0.9 or 0.95 or other values.
[0103] Specifically, for time point t and current feature dimension i, find a set T of other time points whose relationship strength with feature parameter i exceeds the correlation coefficient threshold. In set T, collect the true value set X corresponding to the current feature dimension i time in set T. Ti , which is the initial time series dataset.
[0104] Select one of the linear regression model, support vector machine, and neural network as the first time series estimation model f(·), and set X Ti The characteristic value in is used as input and the model is used to calculate the estimated value of the characteristic parameter i at the current time point t.
[0105] Third dimension selection:
[0106] By configuring the spatial distribution relationship table in the feature selection module, the target parameter data of other target units at the target time point that exceeds the correlation coefficient threshold of the target parameter of the target unit at the target time point are screened out from the data set to be repaired, and an initial spatial distribution data set is formed;
[0107] The initial spatial distribution data set is input into a first spatial distribution estimation model configured in a feature selection module, and a first spatial distribution data set is output.
[0108] The spatial distribution relationship table is obtained based on the Manhattan distance algorithm, which is used to store the correlation coefficient between each characteristic parameter in each unit at each time point and the same characteristic parameter in other units at the same time point. Manhattan distance is used to measure the similarity between sequence data. According to the Manhattan distance sorting from small to large, for each characteristic parameter of each unit ID, the data of the characteristic parameter corresponding to the unit ID closest to it can be quickly found in the spatial position. The correlation coefficient threshold can be set to 0.9 or 0.95 or other values.
[0109] Specifically, for time point t and current feature dimension i, current unit number j, find a set W of other unit numbers whose similarity with feature parameter i at time t exceeds the correlation coefficient threshold. In set W, collect the corresponding true value set in the set W of units with current feature dimension i that are highly similar to unit j at time point t. That is, the initial spatial distribution dataset.
[0110] Select one of the linear regression model, support vector machine, and neural network as the first spatial distribution estimation model f(·), and set The characteristic value in is used as input, and the model is used to calculate the estimated value of the characteristic parameter i of unit j at the current time point t.
[0111] The feature selection process in the above three dimensions can be implemented in parallel.
[0112] Step 1043, the variable screening module is used to screen out the second characteristic parameter data set, the second time series data set, and the second spatial distribution data set that are most relevant to the dimension of the data to be repaired from the first characteristic parameter data set, the first time series data set, and the first spatial distribution data set; specifically including:
[0113] Step A1, for each data to be repaired in the repair data set, the variable screening module performs correlation calculation based on the first characteristic parameter data set, the first time series data set, and the first spatial distribution data set using the MIC variable screening algorithm from three dimensions: characteristic parameter, time series, and spatial distribution;
[0114] Step A2, retain the data corresponding to the dimension with the highest correlation;
[0115] Step A3, repeat the above process, perform the above screening on all the data to be repaired, and form a second characteristic parameter data set, a second time series data set, and a second spatial distribution data set according to the dimensions of all the retained data.
[0116] The MIC (Maximal information coefficient) variable screening algorithm is used to measure the correlation (linear or nonlinear relationship) between two feature variables. The main idea is: if there is a correlation between two variables, then the mutual information and regularization of the two variables can be calculated based on the approximate probability density distribution grid of the two variables in the scatter plot grid of the two variables, and the value can be used to measure the correlation between the two variables. Its discrete variable form is:
[0117]
[0118] Where I(X, Y) is the mutual information value between variables X and Y; a and b are the number of partitions in the x and y directions, which is essentially a grid distribution; B is a variable, and the size of B is set to the power of 0.6 of the data volume.
[0119] The MIC variable screening algorithm is used to screen which dimension of data is most suitable for estimating the data to be repaired.
[0120] Step 1045, the model selection module is configured with a feature parameter model pool, a time series model pool, and a spatial distribution model pool, and is used to output the feature parameter model, time series model, and spatial distribution model with the highest score from the feature parameter model pool, the time series model pool, and the spatial distribution model pool based on the model score selection table; specifically including:
[0121] Step B1, score the models of the feature parameter model pool according to the second feature parameter data set to obtain a first model score selection table including the average score of each model under all feature parameters; score the models of the time series model pool according to the second time series data set to obtain a second model score selection table including the average score of each model under all feature parameters; score the models of the spatial distribution model pool according to the second spatial distribution data set to obtain a third model score selection table including the average score of each model under all feature parameters;
[0122] Wherein, the feature parameter model pool includes a multiple linear regression (MLR) model, a multilayer perceptron (MLP) model, a multivariate adaptive regression spline (MARS) model, and a Gaussian process (GP) model. The time series model pool includes an autoregressive model (AR) model, an autoregressive moving average model (ARIMA) model, a long short-term memory neural network (LSTM) model, a neighbor linear interpolation model, a statistic interpolation (mode, median, mean) model, a nearest-neighbor interpolation model, a linear interpolation model, a polynomial interpolation model, and an integrated model (neighbor linear + polynomial interpolation, neighbor mode, neighbor median). The spatial distribution model pool includes a multiple linear regression (MLR) model, a multilayer perceptron (MLP) model, and a multivariate adaptive regression spline (MARS) model.
[0123] Taking the second feature parameter dataset as an example, the second feature parameter dataset has N sub-datasets, each of which contains D feature parameters, and there are M candidate models. The number of N depends on the number of missing data. If feature selection Calculate an estimate and effective scores if Then S nmd =0.
[0124] Calculate the average score for each model.
[0125]
[0126] For each feature, d=1,..,D, select the best model
[0127]
[0128] The average scores are used to form the first model score selection table. The second and third model score selection tables are obtained by referring to the above process.
[0129] Step B2, based on the first model score selection table, select the feature parameter model with the highest score from the feature parameter model pool, based on the second model score selection table, select the time series model with the highest score from the time series model pool, and based on the third model score table, select the spatial distribution model with the highest score from the spatial distribution model pool.
[0130] Step 1047, the output module is used to input the second characteristic parameter data set into the characteristic parameter model to obtain the missing estimated values of the characteristic parameters, input the second time series data set into the time series model to obtain the missing estimated values of the time series, and input the second spatial distribution data set into the spatial distribution model to obtain the missing estimated values of the spatial distribution; then, the missing estimated values of the characteristic parameters, the missing estimated values of the time series, and the missing estimated values of the spatial distribution are filled into the data set to be repaired, and the repaired data set is output.
[0131] The second characteristic parameter data set, the second time series data set, and the second spatial distribution data set are respectively restored using models of corresponding dimensions. The output data is smoothed at the time level, and after decoding and discretization adjustment, the repaired data set is obtained.
[0132] Before using the repair method of the above embodiment of this specification, the first data repair model needs to be pre-trained based on historical data, and the training process is as follows:
[0133] Step 201, obtaining complete historical wind power data and performing missing processing on some of the data to obtain a historical wind power data set to be repaired;
[0134] A variety of missing data sets can be constructed, such as missing all characteristic parameters of a data row; or missing some characteristic parameters of a data row. After deleting some data manually or by machine, the data set includes multiple variables (features) except time and unit ID, and the deleted data exists in the form of vacancies.
[0135] For example, in order to simulate the continuous missing of multiple rows in the real data set, the missing data in the simulated data set is also generated by the method of continuous multiple row deletion. The specific generation steps are as follows: first, for each complete sub-data set (including data at all time points), find the data segment of the longest time slice with continuous non-missing data as the sub-data set; for each sub-data set, at 1 / 6, 2 / 6, 3 / 6, 4 / 6, 5 / 6, for each feature parameter, continuously delete 1000 rows of data to form the missing data of the sub-data set, and each sub-data set contains 5000 missing data.
[0136] The forming of the data set to be repaired includes: merging the wind power collection data with the blank template file to obtain the data set to be repaired including all characteristic parameters at all time points.
[0137] Due to the large variety of data, it is necessary to standardize the data. For example, the Z-score or Min-Max standardization method can be used to standardize the data.
[0138] Step 203, inputting the historical wind power to-be-repaired data set into the first data repair model for training, wherein the feature selection module is configured with a feature parameter relationship table, a time series relationship table, a spatial distribution relationship table, a first feature parameter estimation model, a first time series estimation model, and a first spatial distribution model;
[0139] During training:
[0140] I. Feature selection steps:
[0141] Through the characteristic parameter relationship table, data of other characteristic parameters at the target time point that exceed the correlation coefficient threshold of the target characteristic parameter at the target time point are screened out from the historical wind power to be repaired data set, and an initial characteristic parameter data set is formed; the initial characteristic parameter data set is input into the first characteristic parameter estimation model, and the first characteristic parameter data set is output;
[0142] Through the time series relationship table, data of target parameters at other time points that exceed the correlation coefficient threshold of the target parameters at the target time point are screened out from the historical wind power to be repaired data set, and an initial time series data set is formed; the initial time series data set is input into the first time series estimation model, and the first time series data set is output;
[0143] Through the spatial distribution relationship table, the target parameter data of other target units at the target time point that exceed the correlation coefficient threshold of the target parameter of the target unit at the target time point are screened out from the historical wind power to be repaired data set, and an initial spatial distribution data set is formed;
[0144] Inputting the initial spatial distribution data set into a first spatial distribution estimation model, and outputting a first spatial distribution data set;
[0145] II Variable screening steps:
[0146] For each data to be repaired in the historical wind power to be repaired data set, the variable screening module is used to perform correlation calculation based on the first characteristic parameter data set, the first time series data set, and the first spatial distribution data set from three dimensions: characteristic parameters, time series, and spatial distribution;
[0147] Keep the data corresponding to the dimension with the highest correlation;
[0148] Repeat the above process, perform the above screening on all the data to be repaired, and form a second characteristic parameter data set, a second time series data set, and a second spatial distribution data set based on the dimensions of all the retained data;
[0149] III. Model selection steps:
[0150] The model selection module is configured with a feature parameter model pool, a time series model pool, and a spatial distribution model pool;
[0151] Scoring the models of the feature parameter model pool according to the second feature parameter data set, and obtaining a first model score selection table including the average score of each model under all feature parameters; scoring the models of the time series model pool according to the second time series data set, and obtaining a second model score selection table including the average score of each model under all feature parameters; scoring the models of the spatial distribution model pool according to the second spatial distribution data set, and obtaining a third model score selection table including the average score of each model under all feature parameters;
[0152] Based on the first model score selection table, the feature parameter model with the highest score is selected from the feature parameter model pool; based on the second model score selection table, the time series model with the highest score is selected from the time series model pool; based on the third model score table, the spatial distribution model with the highest score is selected from the spatial distribution model pool;
[0153] IV output steps:
[0154] Inputting the second characteristic parameter data set into the characteristic parameter model to obtain missing estimates of the characteristic parameters, inputting the second time series data set into the time series model to obtain missing estimates of the time series, and inputting the second spatial distribution data set into the spatial distribution model to obtain missing estimates of the spatial distribution;
[0155] V convergence judgment steps:
[0156] The loss function is used to predict and judge the missing estimated value output by the above model and the true value of the historical wind power data. When the convergence condition is not met, the above training process is repeated until the convergence condition is met. When the convergence condition is met, the training of the first data repair model is completed. The loss function can be a distance loss function, which is used to calculate the degree of similarity between the true value and the predicted value. When the difference between the two approaches 0, it is considered that the convergence condition is met; or when the number of iterations is reached, it is considered that the convergence condition is met.
[0157] like Figure 3 The embodiment of this specification also provides a method for intelligent repair of wind power data, the method comprising:
[0158] Step 302, acquiring wind power collection data and forming a data set to be repaired;
[0159] Step 304, determine whether the data in the data set to be repaired is completely missing or partially missing. If it is partially missing, input the data to be repaired into the first data repair model and output the repaired data set; if it is completely missing, input the data to be repaired into the second data repair model and output the repaired data set.
[0160] Figure 3 Examples and Figure 1 The difference between the examples is that it is necessary to determine the data missing situation, and then use different data repair models to repair the data based on the missing situation. Step 302 can refer to step 102, and the repair process of the first data repair model in step 304 can refer to step 104. Other different contents will be described in detail below.
[0161] The process of determining whether the data in the data set to be repaired is completely missing or partially missing is as follows: by identifying the number of characteristic parameters of the missing data, it is determined whether the missing situation is completely missing or partially missing. Generally, the collected wind power data contains 300,000 to 400,000 data, among which thousands of consecutive rows of data involve all characteristic parameter data missing, which is considered to be completely missing. If some rows of characteristic parameter data are missing, it is considered to be partially missing.
[0162] like Figure 4 In step 304, the data to be repaired is input into the second data repair model, and the repaired data set is output, including:
[0163] Step 3041, extracting features from the dataset to be repaired from three dimensions: feature parameters, time series, and spatial distribution, to form feature parameter dataset 1, time series dataset 1, and spatial distribution dataset 1;
[0164] Although the correlation between features with completely missing data and other features cannot be calculated, a larger matching data source is still required, and the corresponding features need to be extracted from three dimensions to form a data set.
[0165] Step 3043, the second data repair model is configured with a hybrid LSTM model, a hybrid matching model, a vertical matching model and a horizontal matching model; the feature parameter data set 1 is input into the hybrid LSTM model, the hybrid matching model, the vertical matching model and the horizontal matching model respectively, to obtain a feature parameter data set 2 under the corresponding model, the time series data set 1 is input into the hybrid LSTM model, the hybrid matching model, the vertical matching model and the horizontal matching model respectively, to obtain a time series data set 2 under the corresponding model, the spatial distribution data set 1 is input into the hybrid LSTM model, the hybrid matching model, the vertical matching model and the horizontal matching model respectively, to obtain a spatial distribution data set 2 under the corresponding model;
[0166] The vertical matching model refers to the distance optimization based on the WPC (power curve) data in the matching data source and the missing points of the WPC (power curve) data, and its goal is to find the matching power. The hybrid matching model uses the WPC data of the missing points, the measurement data and the WPC data in the matching data source to optimize the distance of different factors and find the matching power. The hybrid LSTM model uses the obtained matching data set as the hybrid matching model training set LSTM to further fill in the missing data point results. The horizontal matching model matches the WPC information of the missing points with the WPC information of the matching data source.
[0167] Step 3045, based on the second feature parameter data set, the second time series data set, and the second spatial distribution data set, the distance between any two dimensions of each feature parameter in the three dimensions is calculated using the Markov distance algorithm, and one of the feature parameters of the two dimensions with the minimum distance is determined as an estimated value;
[0168] Multiple matching is performed using Markov distance. For np-dimensional sample sets X = (x1, x2...x n ), x i , x j ∈R P , p refers to the number of feature parameters, and the distance between samples of two different dimensions (for example, feature parameters and time series dimension, or feature parameters and spatial distribution dimension, or time series dimension and spatial distribution dimension) is as follows:
[0169]
[0170] where ∑ -1 is the sample covariance matrix and T denotes transposition.
[0171] Then find the sample that is most similar to it in terms of Markov distance, and use a similar process to use the multiple matching model to obtain the most similar samples in the two dimensions, and use the characteristic parameters in one dimension as the estimated value.
[0172] Step 3047, fill all estimated values into the data set to be repaired to form a repaired data set.
[0173] All estimated values are smoothed at the time level, and after decoding and discretization adjustment, the repaired data set is obtained.
[0174] Before the method of the embodiment of this specification is put into use, the first and second data repair models need to be pre-trained. The training process of the first data repair model is as follows: Figure 1 The training process in the example. The training process of the second data repair model is as follows:
[0175] Step 401, obtaining complete historical wind power data and performing missing processing on part of the data and all of the data to obtain a historical wind power data set to be repaired with part of the data missing and all of the data missing;
[0176] For example, all characteristic parameters of a data row are missing; or some characteristic parameters of a data row are missing. After some data are deleted manually or by machine, the data set includes multiple variables (features) except time and unit ID, and the deleted data exists in the form of vacancies.
[0177] For example, in order to simulate the continuous missing of multiple rows in the real data set, the missing data in the simulated data set is also generated by the method of continuous multiple row deletion. The specific generation steps are as follows: first, for each complete sub-data set (including data at all time points), find the data segment of the longest time slice with continuous non-missing data as the sub-data set; for each sub-data set, at 1 / 6, 2 / 6, 3 / 6, 4 / 6, 5 / 6, for each feature parameter, continuously delete 1000 rows of data to form the missing data of the sub-data set, and each sub-data set contains 5000 missing data.
[0178] The forming of the data set to be repaired includes: merging the wind power collection data with the blank template file to obtain the data set to be repaired including all characteristic parameters at all time points.
[0179] Due to the large variety of data, it is necessary to standardize the data. For example, the Z-score or Min-Max standardization method can be used to standardize the data.
[0180] Step 403, inputting the historical wind power to-be-repaired data set into the second data repair model for training;
[0181] I. Feature selection steps:
[0182] Extract features of the dataset to be repaired from three dimensions: feature parameters, time series, and spatial distribution, to form feature parameter dataset 1, time series dataset 1, and spatial distribution dataset 1;
[0183] II Multiple matching steps:
[0184] The second data repair model is configured with a hybrid LSTM model, a hybrid matching model, a vertical matching model and a horizontal matching model; the feature parameter data set 1 is input into the hybrid LSTM model, the hybrid matching model, the vertical matching model and the horizontal matching model respectively, and the feature parameter data set 2 under the corresponding model is obtained; the time series data set 1 is input into the hybrid LSTM model, the hybrid matching model, the vertical matching model and the horizontal matching model respectively, and the time series data set 2 under the corresponding model is obtained; the spatial distribution data set 1 is input into the hybrid LSTM model, the hybrid matching model, the vertical matching model and the horizontal matching model respectively, and the spatial distribution data set 2 under the corresponding model is obtained;
[0185] III Output step: Based on feature parameter data set 2, time series data set 2, and spatial distribution data set 2, the Markov distance algorithm is used to calculate the distance between any two dimensions of each feature parameter in the three dimensions, and one of the feature parameters of the two dimensions with the minimum distance is determined as the estimated value;
[0186] IV convergence judgment steps:
[0187] The loss function is used to predict and judge the estimated value output by the above model and the true value of the historical wind power data. When the convergence condition is not met, the above training process is repeated until the convergence condition is met. When the convergence condition is met, the training of the first data repair model is completed. The loss function can be a distance loss function, which is used to calculate the degree of similarity between the true value and the predicted value. When the difference between the two approaches 0, it is considered that the convergence condition is met; or when the number of iterations is reached, it is considered that the convergence condition is met.
[0188] The embodiment of this specification also provides a wind power data intelligent repair device, which includes an acquisition module and a first repair module, wherein:
[0189] An acquisition module is used to acquire wind power collection data and form a data set to be repaired;
[0190] A first repair module, used for inputting a data set to be repaired into a first data repair model and outputting a repaired data set;
[0191] Wherein, the first data repair model includes a feature selection module, a variable screening module, a model selection module, and an output module;
[0192] The feature selection module is used to extract features from the dataset to be repaired from three dimensions: feature parameters, time series, and spatial distribution, so as to obtain a first feature parameter dataset, a first time series dataset, and a first spatial distribution dataset;
[0193] The variable screening module is used to screen out the second characteristic parameter data set, the second time series data set, and the second spatial distribution data set that are most relevant to the dimension of the data to be repaired from the first characteristic parameter data set, the first time series data set, and the first spatial distribution data set;
[0194] The model selection module is configured with a feature parameter model pool, a time series model pool, and a spatial distribution model pool, and is used to output the feature parameter model, time series model, and spatial distribution model with the highest score from the feature parameter model pool, the time series model pool, and the spatial distribution model pool based on the model score selection table;
[0195] The output module is used to input the second characteristic parameter data set into the characteristic parameter model to obtain the missing estimated value of the characteristic parameter, input the second time series data set into the time series model to obtain the missing estimated value of the time series, and input the second spatial distribution data set into the spatial distribution model to obtain the missing estimated value of the spatial distribution; then, fill the missing estimated value of the characteristic parameter, the missing estimated value of the time series, and the missing estimated value of the spatial distribution into the data set to be repaired, and output the repaired data set;
[0196] The first and second characteristic parameter data sets are data sets of target characteristic parameters at a target time point;
[0197] The first and second time series data sets are data sets of target feature parameters at target time points;
[0198] The first and second spatial distribution data sets are data sets of target characteristic parameters of the target unit at a target time point.
[0199] The embodiment of this specification also provides another wind power data intelligent repair device, which includes an acquisition module, a judgment module, a first repair module, and a second repair module. The difference between this device and the aforementioned example device lies in the judgment module and the second repair module.
[0200] The judgment module is used to judge whether the data in the data set to be repaired is completely missing or partially missing. If it is partially missing, the data to be repaired is input into the first data repair model of the first repair module, and the repaired data set is output; if it is completely missing, the data to be repaired is input into the second data repair model of the second repair module, and the repaired data set is output.
[0201] The second repair module is used to input the data to be repaired into the second data repair model of the second repair module and output a repaired data set; specifically,
[0202] Extract features of the dataset to be repaired from three dimensions: feature parameters, time series, and spatial distribution, to form feature parameter dataset 1, time series dataset 1, and spatial distribution dataset 1;
[0203] The second data repair model is configured with a hybrid LSTM model, a hybrid matching model, a vertical matching model and a horizontal matching model; the feature parameter data set 1 is input into the hybrid LSTM model, the hybrid matching model, the vertical matching model and the horizontal matching model respectively, and the feature parameter data set 2 under the corresponding model is obtained; the time series data set 1 is input into the hybrid LSTM model, the hybrid matching model, the vertical matching model and the horizontal matching model respectively, and the time series data set 2 under the corresponding model is obtained; the spatial distribution data set 1 is input into the hybrid LSTM model, the hybrid matching model, the vertical matching model and the horizontal matching model respectively, and the spatial distribution data set 2 under the corresponding model is obtained;
[0204] Based on the feature parameter data set 2, the time series data set 2, and the spatial distribution data set 2, the Markov distance algorithm is used to calculate the distance between any two dimensions of each feature parameter in the three dimensions, and one of the feature parameters of the two dimensions with the minimum distance is determined as the estimated value;
[0205] Fill all estimated values into the dataset to be repaired to form the repaired dataset.
[0206] There are many cases of missing data in offshore wind farm SCADA, including missing data in some feature dimensions, missing data in entire rows, and even missing entire rows of data for a long time. Moreover, these data include not only floating point data, but also Boolean and enumeration data. The statistical learning algorithm framework proposed in the embodiment of this specification performs data analysis, feature extraction, model training, model selection and data recovery on the data from three different perspectives: feature dimension, time series and spatial distribution.
[0207] The embodiments described above are merely preferred embodiments of this specification and are not intended to limit the scope of this specification. Without departing from the design spirit of this specification, various modifications and improvements made to the technical solutions of this specification by ordinary technicians in this field should fall within the scope of protection determined by the claims of this specification.
Claims
1. A method for intelligent repair of wind power data, characterized in that: include: Obtain wind power collection data and form a data set to be repaired; Inputting the data set to be repaired into the first data repair model, and outputting the repaired data set; Wherein, the first data repair model includes a feature selection module, a variable screening module, a model selection module, and an output module; The feature selection module is used to extract features from the dataset to be repaired from three dimensions: feature parameters, time series, and spatial distribution, so as to obtain a first feature parameter dataset, a first time series dataset, and a first spatial distribution dataset; The variable screening module is used to screen out the second characteristic parameter data set, the second time series data set, and the second spatial distribution data set that are most relevant to the dimension of the data to be repaired from the first characteristic parameter data set, the first time series data set, and the first spatial distribution data set; The model selection module is configured with a feature parameter model pool, a time series model pool, and a spatial distribution model pool, and is used to output the feature parameter model, time series model, and spatial distribution model with the highest score from the feature parameter model pool, the time series model pool, and the spatial distribution model pool based on the model score selection table; including: Scoring the models of the feature parameter model pool according to the second feature parameter data set, and obtaining a first model score selection table including the average score of each model under all feature parameters; scoring the models of the time series model pool according to the second time series data set, and obtaining a second model score selection table including the average score of each model under all feature parameters; scoring the models of the spatial distribution model pool according to the second spatial distribution data set, and obtaining a third model score selection table including the average score of each model under all feature parameters; Based on the first model score selection table, the feature parameter model with the highest score is selected from the feature parameter model pool; based on the second model score selection table, the time series model with the highest score is selected from the time series model pool; based on the third model score table, the spatial distribution model with the highest score is selected from the spatial distribution model pool; The output module is used to input the second characteristic parameter data set into the characteristic parameter model to obtain the missing estimated value of the characteristic parameter, input the second time series data set into the time series model to obtain the missing estimated value of the time series, and input the second spatial distribution data set into the spatial distribution model to obtain the missing estimated value of the spatial distribution; then, fill the missing estimated value of the characteristic parameter, the missing estimated value of the time series, and the missing estimated value of the spatial distribution into the data set to be repaired, and output the repaired data set; The first and second characteristic parameter data sets are data sets of target characteristic parameters at a target time point; The first and second time series data sets are data sets of target feature parameters at target time points; The first and second spatial distribution data sets are data sets of target characteristic parameters of the target unit at a target time point.
2. The method according to claim 1, characterized in that The feature selection module is used to extract features from the dataset to be repaired from three dimensions: feature parameters, time series, and spatial distribution, so as to obtain a first feature parameter dataset, a first time series dataset, and a first spatial distribution dataset, including: By configuring the feature parameter relationship table in the feature selection module, data of other feature parameters at the target time point that exceed the correlation coefficient threshold of the target feature parameter at the target time point are screened out from the data set to be repaired, and an initial feature parameter data set is formed; Inputting the initial feature parameter data set into a first feature parameter estimation model configured in the feature selection module, and outputting a first feature parameter data set; By configuring the time series relationship table in the feature selection module, data of target parameters at other time points that exceed the correlation coefficient threshold of the target parameters at the target time point are screened out from the data set to be repaired, and an initial time series data set is formed; Inputting the initial time series data set into a first time series estimation model configured in a feature selection module, and outputting a first time series data set; By configuring the spatial distribution relationship table in the feature selection module, the target parameter data of other target units at the target time point that exceeds the correlation coefficient threshold of the target parameter of the target unit at the target time point are screened out from the data set to be repaired, and an initial spatial distribution data set is formed; The initial spatial distribution data set is input into a first spatial distribution estimation model configured in a feature selection module, and a first spatial distribution data set is output.
3. The method according to claim 2, characterized in that The characteristic parameter relationship table is obtained based on the covariance analysis algorithm, and stores the correlation coefficients of each characteristic parameter with other characteristic parameters at each time point; the time series relationship table is obtained based on the partial autocorrelation coefficient analysis algorithm, and stores the partial autocorrelation coefficients of each characteristic parameter at each time point relative to the same characteristic parameter at other time points; the spatial distribution relationship table is obtained based on the Manhattan distance algorithm, and is used to store the correlation coefficients between each characteristic parameter in each unit at each time point and the same characteristic parameter in other units at the same time point.
4. The method according to claim 2, characterized in that: The first characteristic parameter estimation model or the first time series estimation model or the first spatial distribution estimation model is one of a linear regression model, a support vector machine, and a neural network.
5. The method according to claim 1, characterized in that The variable screening module is used to screen out the second characteristic parameter data set, the second time series data set, and the second spatial distribution data set that are most relevant to the dimension of the data to be repaired from the first characteristic parameter data set, the first time series data set, and the first spatial distribution data set, including: For each data to be repaired in the repair data set, the variable screening module performs correlation calculation based on the first characteristic parameter data set, the first time series data set, and the first spatial distribution data set using the MIC variable screening algorithm from three dimensions: characteristic parameter, time series, and spatial distribution; Keep the data corresponding to the dimension with the highest correlation; Repeat the above process, perform the above screening on all the data to be repaired, and form a second characteristic parameter data set, a second time series data set, and a second spatial distribution data set based on the dimensions of all the retained data.
6. The method according to claim 1, characterized in that The first data repair model is trained through the following process: Obtain complete historical wind power data and process missing data on some of them to obtain a historical wind power data set to be repaired; Inputting the historical wind power data set to be repaired into the first data repair model for training, the feature selection module is configured with a feature parameter relationship table, a time series relationship table, a spatial distribution relationship table, a first feature parameter estimation model, a first time series estimation model, and a first spatial distribution model; During the training process, the data of other characteristic parameters at the target time point that exceed the correlation coefficient threshold of the target characteristic parameters at the target time point are screened out from the historical wind power to be repaired data set through the characteristic parameter relationship table, and an initial characteristic parameter data set is formed; the initial characteristic parameter data set is input into the first characteristic parameter estimation model, and the first characteristic parameter data set is output; Through the time series relationship table, data of target parameters at other time points that exceed the correlation coefficient threshold of the target parameters at the target time point are screened out from the historical wind power to be repaired data set, and an initial time series data set is formed; the initial time series data set is input into the first time series estimation model, and the first time series data set is output; Through the spatial distribution relationship table, the target parameter data of other target units at the target time point that exceed the correlation coefficient threshold of the target parameter of the target unit at the target time point are screened out from the historical wind power to be repaired data set, and an initial spatial distribution data set is formed; Inputting the initial spatial distribution data set into a first spatial distribution estimation model, and outputting a first spatial distribution data set; For each data to be repaired in the historical wind power to be repaired data set, the variable screening module is used to perform correlation calculation based on the first characteristic parameter data set, the first time series data set, and the first spatial distribution data set from three dimensions: characteristic parameters, time series, and spatial distribution; Keep the data corresponding to the dimension with the highest correlation; Repeat the above process, perform the above screening on all the data to be repaired, and form a second characteristic parameter data set, a second time series data set, and a second spatial distribution data set based on the dimensions of all the retained data; The model selection module is configured with a feature parameter model pool, a time series model pool, and a spatial distribution model pool; Scoring the models of the feature parameter model pool according to the second feature parameter data set, and obtaining a first model score selection table including the average score of each model under all feature parameters; scoring the models of the time series model pool according to the second time series data set, and obtaining a second model score selection table including the average score of each model under all feature parameters; scoring the models of the spatial distribution model pool according to the second spatial distribution data set, and obtaining a third model score selection table including the average score of each model under all feature parameters; Based on the first model score selection table, the feature parameter model with the highest score is selected from the feature parameter model pool; based on the second model score selection table, the time series model with the highest score is selected from the time series model pool; based on the third model score table, the spatial distribution model with the highest score is selected from the spatial distribution model pool; Inputting the second characteristic parameter data set into the characteristic parameter model to obtain the missing estimated value of the characteristic parameter, inputting the second time series data set into the time series model to obtain the missing estimated value of the time series, and inputting the second spatial distribution data set into the spatial distribution model to obtain the missing estimated value of the spatial distribution; The loss function is used to predict and judge the missing estimated values output by the above model and the true values of the historical wind power data. When the convergence condition is not met, the above training process is repeated until the convergence condition is met. When the convergence condition is met, the training of the first data repair model is completed.
7. The method according to claim 1, characterized in that After the data set to be repaired is formed, the method further includes: determining whether the data in the data set to be repaired is completely missing or partially missing; If part of it is missing, the data to be repaired is input into the first data repair model, and the repaired data set is output; If it is completely missing, the data to be repaired is input into the second data repair model and the repaired data set is output.
8. The method according to claim 7, characterized in that The data to be repaired is input into the second data repair model, and a repaired data set is output, including: Extract features of the dataset to be repaired from three dimensions: feature parameters, time series, and spatial distribution, to form feature parameter dataset 1, time series dataset 1, and spatial distribution dataset 1; The second data repair model is configured with a hybrid LSTM model, a hybrid matching model, a vertical matching model and a horizontal matching model; the feature parameter data set 1 is input into the hybrid LSTM model, the hybrid matching model, the vertical matching model and the horizontal matching model respectively, and the feature parameter data set 2 under the corresponding model is obtained; the time series data set 1 is input into the hybrid LSTM model, the hybrid matching model, the vertical matching model and the horizontal matching model respectively, and the time series data set 2 under the corresponding model is obtained; the spatial distribution data set 1 is input into the hybrid LSTM model, the hybrid matching model, the vertical matching model and the horizontal matching model respectively, and the spatial distribution data set 2 under the corresponding model is obtained; Based on the feature parameter data set 2, the time series data set 2, and the spatial distribution data set 2, the Markov distance algorithm is used to calculate the distance between any two dimensions of each feature parameter in the three dimensions, and one of the feature parameters of the two dimensions with the minimum distance is determined as the estimated value; Fill all estimated values into the dataset to be repaired to form the repaired dataset.
9. A wind power data intelligent repair device, characterized in that: include: An acquisition module is used to acquire wind power collection data and form a data set to be repaired; A first repair module, used for inputting a data set to be repaired into a first data repair model and outputting a repaired data set; Wherein, the first data repair model includes a feature selection module, a variable screening module, a model selection module, and an output module; The feature selection module is used to extract features from the dataset to be repaired from three dimensions: feature parameters, time series, and spatial distribution, so as to obtain a first feature parameter dataset, a first time series dataset, and a first spatial distribution dataset; The variable screening module is used to screen out the second characteristic parameter data set, the second time series data set, and the second spatial distribution data set that are most relevant to the dimension of the data to be repaired from the first characteristic parameter data set, the first time series data set, and the first spatial distribution data set; The model selection module is configured with a feature parameter model pool, a time series model pool, and a spatial distribution model pool, and is used to output the feature parameter model, time series model, and spatial distribution model with the highest score from the feature parameter model pool, the time series model pool, and the spatial distribution model pool based on the model score selection table; including: Scoring the models of the feature parameter model pool according to the second feature parameter data set, and obtaining a first model score selection table including the average score of each model under all feature parameters; scoring the models of the time series model pool according to the second time series data set, and obtaining a second model score selection table including the average score of each model under all feature parameters; scoring the models of the spatial distribution model pool according to the second spatial distribution data set, and obtaining a third model score selection table including the average score of each model under all feature parameters; Based on the first model score selection table, the feature parameter model with the highest score is selected from the feature parameter model pool; based on the second model score selection table, the time series model with the highest score is selected from the time series model pool; based on the third model score table, the spatial distribution model with the highest score is selected from the spatial distribution model pool; The output module is used to input the second characteristic parameter data set into the characteristic parameter model to obtain the missing estimated value of the characteristic parameter, input the second time series data set into the time series model to obtain the missing estimated value of the time series, and input the second spatial distribution data set into the spatial distribution model to obtain the missing estimated value of the spatial distribution; then, fill the missing estimated value of the characteristic parameter, the missing estimated value of the time series, and the missing estimated value of the spatial distribution into the data set to be repaired, and output the repaired data set; The first and second characteristic parameter data sets are data sets of target characteristic parameters at a target time point; The first and second time series data sets are data sets of target feature parameters at target time points; The first and second spatial distribution data sets are data sets of target characteristic parameters of the target unit at a target time point.
Citation Information
Patent Citations
Model training method and device, point cloud missing completion method and device, equipment and medium
CN113850916A
Method and system for repairing historical output missing data of wind power plant
CN117076878A
