Prediction method and device for missing wind measurement data
By preprocessing the wind measurement data and training the neural network model, combined with the Markov model, the problem of low interpolation accuracy of the wind measurement data in the existing technology is solved, and higher data accuracy and economic benefits are achieved.
Patent Information
- Application Number
- CN201910092396.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-01-30
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2039-01-30
AI Technical Summary
Existing wind measurement data interpolation methods have low prediction accuracy and large errors for missing data in wind farms, and cannot meet the requirements of economic benefits.
By preprocessing the wind measurement data, convert it into a data sequence with the first time interval, and use the data without missing parts and the mesoscale data of the same period to train the neural network model, predict the missing parts of the data, and combine it with the Markov model for weighting Averaging, improves data accuracy.
It significantly improves the data accuracy of missing parts of wind measurement data, meets the data integrity requirements in the wind farm design process, and improves economic benefits.
Smart Images

Figure CN111507495B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wind power, and more specifically, to a method and device for predicting missing wind measurement data. Background Art
[0002] The quality of wind data from wind farm towers directly affects the results of wind energy resource assessment, and further affects the economic benefits of the entire wind farm after it is put into operation. Therefore, interpolation of missing or missing wind data from wind towers plays an important role in the design process of the entire wind farm. The existing processing methods include same-tower interpolation and different-tower interpolation. For data whose completeness still does not meet the requirements after same-tower interpolation and different-tower interpolation, the currently used methods include mesoscale interpolation or FillGaps method. Mesoscale interpolation requires converting data with small time intervals (for example, 10-minute data) into data with large time intervals (for example, hourly data). Although the FillGaps method can obtain 10-minute data, the prediction accuracy is not high and the error is large. Summary of the invention
[0003] An exemplary embodiment of the present invention is to provide a method and device for predicting missing wind measurement data, so as to improve the prediction accuracy of the missing wind measurement data.
[0004] According to an exemplary embodiment of the present invention, a method for predicting missing wind measurement data is provided, comprising: preprocessing input wind measurement data, and converting the preprocessed wind measurement data into a wind measurement data sequence with a first time interval, training a preset data prediction model using a data sequence of a non-missing portion in the wind measurement data sequence and contemporaneous mesoscale data corresponding to the non-missing portion, based on the trained data prediction model, calculating a data sequence of the missing portion of the wind measurement data sequence according to contemporaneous mesoscale data corresponding to the data of the missing portion, and based on the trained data prediction model, calculating data of the missing portion of the wind measurement data according to data of the non-missing portion in the preprocessed wind measurement data and a data sequence of the missing portion of the wind measurement data sequence.
[0005] Optionally, the step of preprocessing the input wind measurement data may include: screening and clearing abnormal data from the input wind measurement data.
[0006] Optionally, after the step of preprocessing the input wind measurement data, the method further comprises: supplementing missing time tags for missing parts of the preprocessed wind measurement data.
[0007] Optionally, before the step of using the data sequence of the non-missing part in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing part to train the preset data prediction model, the method also includes: respectively calculating the correlation between each set of mesoscale data in the multiple sets of mesoscale data and the wind measurement data; and selecting at least one set of mesoscale data from the multiple sets of mesoscale data for training the preset data prediction model based on the calculated correlation.
[0008] Optionally, the step of training a preset data prediction model using the data sequence of the non-missing part in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing part may include: dividing the data sequence of the non-missing part in the wind measurement data sequence into training data and test data; using the contemporaneous mesoscale data corresponding to the training data and the training data as the input data set and output data set for training, respectively, and using the input data set and the output data set to train the neural network model in the preset data prediction model; using the test data and the contemporaneous mesoscale data corresponding to the test data to test the trained data prediction model; when the test fails, updating the preset data prediction model according to the user's input, training the neural network model in the updated data prediction model, and testing the trained data prediction model, until the training passes the test and ends.
[0009] Optionally, the neural network model is a support vector regression model, wherein the step of using the input data set and the output data set to train the neural network model in the preset data prediction model may include: normalizing the data in the input data set and the output data set; selecting the optimal penalty parameter and the optimal kernel function parameter for regression through cross-validation; and training the neural network model using the optimal penalty parameter and the optimal kernel function parameter.
[0010] Optionally, the step of calculating the data of the missing part of the wind measurement data may include: updating the preprocessed wind measurement data according to the data sequence of the missing part of the wind measurement data sequence; generating a discretized variable value list at each time point for the data of the non-missing part, and generating a percentile value at each time point for each variable value, and determining the state of each variable value at each time point according to the percentile value; determining a state transition probability matrix according to the state of each variable value in the data of the non-missing part at each time point; for each variable value in the data of the missing part, at each time point, sequentially according to the determined prediction reference state and the state transition probability matrix, calculate the state of the current time point in the data of the missing part, wherein the state of the moment of the non-missing part closest to the missing part is determined as the prediction reference state; predicting the data at the current time point according to the calculated state at the current time point, wherein before the step of calculating the state of the current time point in the data of the missing part at each time point, sequentially according to the determined prediction reference state and the state transition probability matrix for each variable value in the data of the missing part, the method may also include: determining a time point for the data of the missing part at every second time interval, wherein the second time interval is smaller than the first time interval.
[0011] Optionally, the step of verifying the trained data prediction model using verification data and contemporaneous mesoscale data corresponding to the verification data may include: based on the trained data prediction model, calculating prediction data corresponding to the verification data according to contemporaneous mesoscale data corresponding to the verification data; comparing the verification data and the prediction data, and verifying the trained data prediction model based on the comparison result.
[0012] Optionally, the data prediction model includes at least a neural network model and a Markov prediction model, wherein the step of training the preset data prediction model using the data sequence of the non-missing part in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing part may include: training the neural network model in the preset data prediction model using the data sequence of the non-missing part in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing part, wherein based on the trained data prediction model, the step of calculating the data sequence of the missing part of the wind measurement data sequence according to the contemporaneous mesoscale data corresponding to the data of the missing part may include: based on the trained neural network model in the data prediction model, calculating the data sequence of the missing part of the wind measurement data sequence according to the contemporaneous mesoscale data corresponding to the data of the missing part, wherein based on the trained data prediction model, the step of calculating the data of the missing part of the wind measurement data according to the data of the non-missing part in the preprocessed wind measurement data and the data sequence of the missing part of the wind measurement data sequence may include: based on the Markov prediction model in the trained data prediction model, calculating the data of the missing part of the wind measurement data according to the data of the non-missing part in the preprocessed wind measurement data and the data sequence of the missing part of the wind measurement data sequence.
[0013] Optionally, the step of calculating the data of the missing part of the wind measurement data may include: when calculating the data of the moment having both the first time interval and the second time interval, weighted averaging the data of the moment calculated by the neural network model and the data of the corresponding moment calculated by the Markov prediction model, and taking the average value obtained by the weighted average as the data of the moment; acquiring a state corresponding to the average value obtained by the weighted average, and updating the prediction reference state according to the acquired state.
[0014] According to an exemplary embodiment of the present invention, a prediction device for missing wind measurement data is provided, comprising: a data processing module, configured to preprocess input wind measurement data, and convert the preprocessed wind measurement data into a wind measurement data sequence with a first time interval, wherein the wind measurement data includes data of a missing part and data of a non-missing part, and the wind measurement data sequence includes a data sequence of a missing part and a data sequence of a non-missing part; a model training module, configured to train a preset data prediction model using a data sequence of a non-missing part in the wind measurement data sequence and contemporaneous mesoscale data corresponding to the non-missing part; a first calculation module, configured to calculate a data sequence of a missing part of the wind measurement data sequence based on the trained data prediction model and the contemporaneous mesoscale data corresponding to the missing part; and a second calculation module, configured to calculate the data of the missing part of the wind measurement data based on the trained data prediction model and the data sequence of the missing part of the preprocessed wind measurement data.
[0015] Optionally, the data processing module may be configured to: perform abnormal data screening and clearing processing on the input wind measurement data.
[0016] Optionally, the device further comprises: a label supplement module configured to supplement missing time labels for missing parts of the preprocessed wind measurement data.
[0017] Optionally, the device also includes: a correlation calculation module, configured to respectively calculate the correlation between each set of mesoscale data in the multiple sets of mesoscale data and the wind measurement data; and a data selection module, configured to select at least one set of mesoscale data from the multiple sets of mesoscale data for training a preset data prediction model based on the calculated correlation.
[0018] Optionally, the model training module can be configured as follows: dividing the data sequence of the non-missing part in the wind measurement data sequence into training data and test data; using the contemporary mesoscale data corresponding to the training data and the training data as the input data set and output data set for training respectively, and using the input data set and the output data set to train the neural network model in the preset data prediction model; using the test data and the contemporary mesoscale data corresponding to the test data to test the trained data prediction model; when the test fails, updating the preset data prediction model according to the user's input, training the neural network model in the updated data prediction model, and testing the trained data prediction model, until the training is terminated when the test passes.
[0019] Optionally, the neural network model is a support vector regression model, wherein the model training module is configured to: normalize the data in the input data set and the output data set; select the optimal penalty parameter and the optimal kernel function parameter for regression through cross-validation; and train the neural network model using the optimal penalty parameter and the optimal kernel function parameter.
[0020] Optionally, the second calculation module can be configured to: update the preprocessed wind measurement data according to the data sequence of the missing part of the wind measurement data sequence; generate a discretized variable value list at each time point for the data of the non-missing part, and generate a percentile value at each time point for each variable value, and determine the state of each variable value at each time point according to the percentile value; determine the state transition probability matrix according to the state of each variable value in the data of the non-missing part at each time point; for each variable value in the data of the missing part, calculate the state of the current time point in the data of the missing part according to the determined prediction reference state and the state transition probability matrix at each time point, wherein the state of the non-missing part at the time point closest to the missing part is determined as the prediction reference state; predict the data at the current time point based on the calculated state at the current time point, wherein the device may also include: a time determination module, configured to determine a time point for the data of the missing part at every second time interval, wherein the second time interval is smaller than the first time interval.
[0021] Optionally, the model training module can be configured to: based on the trained data prediction model, calculate the prediction data corresponding to the test data according to the contemporaneous mesoscale data corresponding to the test data; compare the test data and the prediction data, and test the trained data prediction model according to the comparison result.
[0022] Optionally, the data prediction model includes at least a neural network model and a Markov prediction model, wherein the model training module is configured to use the data sequence of the non-missing part in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing part to train the neural network model in the preset data prediction model, wherein the first calculation module is configured to calculate the data sequence of the missing part of the wind measurement data sequence based on the trained neural network model in the data prediction model according to the contemporaneous mesoscale data corresponding to the data of the missing part, wherein the second calculation module is configured to calculate the data of the missing part of the wind measurement data based on the Markov prediction model in the trained data prediction model according to the data of the non-missing part in the preprocessed wind measurement data and the data sequence of the missing part of the wind measurement data sequence.
[0023] Optionally, the second calculation module can be configured as follows: when calculating the data of a moment having both a first time interval and a second time interval while the missing part is present, weighted averaging the data of the moment calculated by the neural network model and the data of the corresponding moment calculated by the Markov prediction model, and using the average value obtained by the weighted average as the data of the moment; obtaining a state corresponding to the average value obtained by the weighted average, and updating the predicted reference state according to the obtained state.
[0024] According to an exemplary embodiment of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed, the steps of the method for predicting missing wind measurement data according to the present invention are implemented.
[0025] According to an exemplary embodiment of the present invention, a computing device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method for predicting missing wind measurement data according to the present invention are implemented.
[0026] According to an exemplary embodiment of the present invention, a method and device for predicting missing wind measurement data preprocesses the input wind measurement data and converts the preprocessed wind measurement data into a wind measurement data sequence with a first time interval, uses the data sequence of the non-missing part in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing part to train a preset data prediction model, based on the trained data prediction model, calculates the data sequence of the missing part of the wind measurement data sequence according to the contemporaneous mesoscale data corresponding to the data of the missing part, and based on the trained data prediction model, calculates the data of the missing part of the wind measurement data according to the data of the non-missing part in the preprocessed wind measurement data and the data sequence of the missing part of the wind measurement data sequence, thereby improving the accuracy of the data of the missing part of the wind measurement data. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The above and other objects and features of the exemplary embodiments of the present invention will become more apparent through the following description in conjunction with the accompanying drawings which exemplarily illustrate the embodiments, in which:
[0028] Figure 1 A flow chart showing a method for predicting missing wind measurement data according to an exemplary embodiment of the present invention;
[0029] Figure 2 A support vector regression (SVR) model architecture diagram according to an exemplary embodiment of the present invention is shown;
[0030] Figure 3 A block diagram showing a prediction apparatus for missing wind measurement data according to an exemplary embodiment of the present invention; and
[0031] Figure 4 A schematic diagram illustrating a computing device according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0032] Reference will now be made in detail to exemplary embodiments of the present invention, examples of which are shown in the accompanying drawings, wherein like reference numerals refer to like parts throughout. The embodiments will be described below with reference to the drawings in order to explain the present invention.
[0033] Figure 1 A flow chart showing a method for predicting missing wind measurement data according to an exemplary embodiment of the present invention.
[0034] Reference Figure 1 In step S101, the input wind measurement data is preprocessed, and the preprocessed wind measurement data is converted into a wind measurement data sequence with a first time interval.
[0035] In an exemplary embodiment of the present invention, the wind measurement data may include data of missing parts and data of non-missing parts, and the wind measurement data sequence may include data sequences of missing parts and data sequences of non-missing parts. For example, the wind measurement data may be data from January to December, wherein if the data of March and July are missing, the data of March and July are data of the missing parts of the wind measurement data, and the remaining data (data of January, February, April-June, August-December) are data of the non-missing parts of the wind measurement data. The first time interval can be set according to user needs, for example, the first time interval can be an integer number of hours such as 1 hour, 2 hours, 3 hours, or a non-integer number of hours (such as 40 minutes, 50 minutes, 80 minutes, etc.). According to an embodiment of the present application, the first time interval may be a time interval with a larger scale. In the following embodiments, 1 hour is used as an example of the first time interval for explanation, but those skilled in the art should understand that this is only an example and does not limit the scope of the first time interval.
[0036] In an exemplary embodiment of the present invention, when preprocessing the input wind measurement data, the input wind measurement data can be screened and cleared for abnormal data. For example, in the process of preprocessing the wind measurement data Y, the following operations can be performed: identifying data out of range, wherein data such as wind speed greater than 50m / s, wind speed less than 0m / s, temperature lower than -45°C, temperature higher than 50°C, air pressure lower than 60kPa, air pressure higher than 120kPa, etc. are all data out of the normal range. These data are all abnormal data and can be screened out and cleared.
[0037] In an exemplary embodiment of the present invention, after preprocessing the input wind measurement data, the missing time tags can be supplemented for the missing parts of the preprocessed wind measurement data. For example, if the data from 5:00 to 7:00 on May 1 is missing, the time tags from 5:00 to 7:00 can be supplemented with 5:00, 5:10, 5:20, 5:30, 5:40, 5:50, 6:00, 6:10, 6:20, 6:30, 6:40, 6:50, 7:00, so as to calculate the data at these time points in the subsequent process.
[0038] In an exemplary embodiment of the present invention, after preprocessing the input wind measurement data, the preprocessed wind measurement data is converted into a wind measurement data sequence with a first time interval. For example, if the first time interval is determined to be 1 hour, the above cleaned wind measurement data is converted into hourly data (i.e., a wind measurement data sequence with a time interval of 1 hour), so as to facilitate subsequent calculations.
[0039] In step S102, a preset data prediction model is trained using a data sequence of a non-missing portion in a wind measurement data sequence and contemporaneous mesoscale data corresponding to the non-missing portion.
[0040] In meteorology, the weather system from 2km to 2000km is called a mesoscale system, and the data generated by the mesoscale meteorological model corresponding to the mesoscale system is called mesoscale data. Mesoscale data may include at least one of wind speed, temperature, wind direction, humidity, etc. In an exemplary embodiment of the present invention, the mesoscale data corresponding to the non-missing part may be one or more sets of mesoscale data of the same period. For example, a set of mesoscale data may be measured at each of the multiple positions in the selected mesoscale data measurement area.
[0041] In an exemplary embodiment of the present invention, before using the data sequence of the non-missing part in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing part to train the preset data prediction model, the correlation between each set of mesoscale data in the multiple sets of mesoscale data and the wind measurement data can be calculated respectively; according to the calculated correlation, at least one set of mesoscale data is selected from the multiple sets of mesoscale data for training the preset data prediction model. For example, mesoscale data with a correlation exceeding 0.45 from the multiple sets of mesoscale data are selected for training the preset data prediction model, or mesoscale data with the largest correlation from the multiple sets of mesoscale data are selected for training the preset data prediction model.
[0042] In an exemplary embodiment of the present invention, before using the data sequence of the non-missing part in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing part to train the preset data prediction model, for example, when the first time interval is set to 1 hour, and the above cleaned wind measurement data has been converted into hourly data (that is, a wind measurement data sequence with a time interval of 1 hour), the hourly data of the wind measurement data can be used as the data set Y1; extract n contemporaneous mesoscale data MERRA data sequences X1, X2, ..., Xn (for example, wind speed, temperature, etc.) at the location of the wind measurement data Y; extract the wind speed data Y2' at some moments (generally not more than 25% of the total data sequence) in Y1 as the test data of the data prediction model, and the data sequence Y1' at the remaining moments as the training data of the data prediction model; extract the MERRA data sets X11', X21', ..., Xn1' at the moments corresponding to the data sequence Y1'; extract the MERRA data sets X12', X22', ..., Xn2' at the moments corresponding to the data sequence Y2', so as to prepare data for the training of the data prediction model.
[0043] In an exemplary embodiment of the present invention, when using the data sequence of the non-missing part in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing part to train the preset data prediction model, the data sequence of the non-missing part in the wind measurement data sequence can be first divided into training data and test data, and then the contemporaneous mesoscale data corresponding to the training data and the training data are used as the input data set and output data set for training, respectively, and the input data set and the output data set are used to train the neural network model in the preset data prediction model. Thereafter, the trained data prediction model is tested using the test data and the contemporaneous mesoscale data corresponding to the test data. When the test fails, the preset data prediction model is updated according to the user's input, the neural network model in the updated data prediction model is trained, and the trained data prediction model is tested, until the training is terminated when the test passes.
[0044] In an exemplary embodiment of the present invention, the neural network model may be any type of neural network model, and preferably, the neural network model may be a support vector regression (SVR) model. Figure 2 The architecture of the SVR according to an exemplary embodiment of the present invention is shown. Figure 2 As shown in the figure, SVR uses the principle of structural risk minimization through nonlinear mapping to map data samples in low-dimensional space and linearly inseparable to high-dimensional space, making the sample data linearly separable and placing it in high-dimensional space for classification and prediction. Since the SVR algorithm can effectively avoid local extreme value problems and seek the optimal value between model complexity and learning ability when sample information is limited, it has good generalization ability.
[0045] When using SVR, when using the input data set and the output data set to train the neural network model in the preset data prediction model, the data in the input data set and the output data set can be normalized first, and then the optimal penalty parameter and the optimal kernel function parameter of the regression are selected through cross-validation, and finally the optimal penalty parameter and the optimal kernel function parameter are used to train the neural network model.
[0046] When normalizing the data in the input dataset and the output dataset, the normalization mapping that can be used Where x, y∈R n ,x min =min(x),x max = max(x). After normalization, the data in the input and output data sets can be normalized to the range of [0,1].
[0047] When selecting the best penalty parameter and the best kernel function parameter of regression by cross validation, the range of the penalty parameter c and the kernel function parameter g can be selected respectively at first, and then the penalty parameter c and the kernel function parameter g when the classification accuracy is the highest are determined as the best penalty parameter and the best kernel function parameter respectively by using the K-CV method. When multiple groups of penalty parameters c and kernel function parameters g that meet the conditions are obtained, the group of penalty parameters c and the kernel function parameters g with the smallest penalty parameter c are selected as the final best penalty parameter and the best kernel function parameter. If the smallest penalty parameter c that matches at this time has multiple groups of kernel function parameters g, the first group of penalty parameters c and the kernel function parameters g are selected as the best penalty parameter and the best kernel function parameter. Wherein, the best parameters of regression can be realized by, for example, SVMcgForRegress.m in MATLAB.
[0048] When the trained data prediction model is tested using the test data and the mesoscale data corresponding to the test data of the same period, the prediction data corresponding to the test data can be calculated based on the trained data prediction model according to the mesoscale data corresponding to the test data of the same period, and then the test data and the prediction data can be compared, and the trained data prediction model can be tested according to the comparison result. For example, at least one of the mean, correlation coefficient, root mean square error, mean absolute error, etc. of the test data and the prediction data can be compared. If the value obtained by the comparison reaches a preset threshold, it means that the data prediction model has passed the test. If the value obtained by the comparison cannot reach the preset threshold, it means that the data prediction model has not passed the test, and the data prediction model can be rebuilt by adding input parameters (such as terrain parameters, wind direction parameters of mesoscale data) or replacing the data prediction model. For example, taking the wind speed in the wind measurement data as an example, if the difference of 0.1m / s between the mean of the wind speed in the test data (10.6m / s) and the mean of the wind speed in the prediction data (10.5m / s) is less than the preset value of 0.15m / s, it means that the data prediction model has passed the test. If the difference of 0.2m / s between the mean of the wind speed in the test data (10.7m / s) and the mean of the wind speed in the prediction data (10.5m / s) is greater than the preset value of 0.15m / s, it means that the data prediction model has not passed the test. When the data prediction model has not passed the test, if the terrain parameters are not included in the data prediction model, the terrain parameters are added to the data prediction model to improve the prediction effect of the data prediction model so that the data prediction model passes the test.
[0049] In an exemplary embodiment of the present invention, the data prediction model may include a neural network model. The neural network model may be used to predict a data sequence having a missing portion of a first time interval. When the data prediction model includes a neural network model, when the data sequence of the non-missing portion in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing portion are used to train the preset data prediction model, the data sequence of the non-missing portion in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing portion may be used to train the neural network model in the preset data prediction model.
[0050] In step S103, based on the trained data prediction model, the data sequence of the missing part of the wind measurement data sequence is calculated according to the contemporaneous mesoscale data corresponding to the missing part of the data.
[0051] In an exemplary embodiment of the present invention, the data prediction model may include at least a neural network model and a Markov prediction model. The neural network model may be used to predict a data sequence with a missing portion of a first time interval, and the Markov prediction model may be used to predict a data sequence with a missing portion of a second time interval. When the data prediction model includes a neural network model and a Markov prediction model, when the data sequence of the missing portion of the wind measurement data sequence is calculated based on the trained data prediction model according to the contemporaneous mesoscale data corresponding to the data of the missing portion, the data sequence of the missing portion of the wind measurement data sequence may be calculated based on the neural network model in the trained data prediction model according to the contemporaneous mesoscale data corresponding to the data of the missing portion. For example, the contemporaneous mesoscale data corresponding to the data of the missing portion is input into the neural network model, and the neural network model calculates and outputs the data sequence of the missing portion of the wind measurement data sequence (for example, the data sequence of the missing portion of the wind measurement data sequence with a time interval of 1 hour).
[0052] For example, when the data on May 3 is missing in the wind measurement data, the mesoscale data on May 3 can be input into the neural network model to calculate the data sequence of May 3 (i.e., the data sequence of 0:00, 1:00, 2:00, 3:00, 4:00, 5:00, 6:00, 7:00, 8:00, 9:00, 10:00, 11:00, 12:00, 13:00, 14:00, 15:00, 16:00, 17:00, 18:00, 19:00, 20:00, 21:00, 22:00, and 23:00).
[0053] After the data sequence of the missing part of the wind measurement data sequence is calculated in step S103, in step S104, based on the trained data prediction model, the data of the missing part of the wind measurement data is calculated according to the data of the non-missing part in the preprocessed wind measurement data and the calculated data sequence of the missing part of the wind measurement data sequence.
[0054] In an exemplary embodiment of the present invention, when calculating the data of the missing part of the wind measurement data, the preprocessed wind measurement data can be updated first according to the data sequence of the missing part of the wind measurement data sequence, and then a discretized variable value list at each time point is generated for the data of the non-missing part, and a percentile value at each time point is generated for each variable value (wherein the percentile value refers to the percentage of the number of samples below the specified sample value in the sample population to the total number of samples), and the state of each variable value at each time point is determined according to the percentile value (for example, the speed of wind speed, the temperature, etc.). Then, the state transition probability matrix is determined according to the state of each variable value in the data of the non-missing part at each time point, and finally, for each variable value in the data of the missing part, the state of the current time point in the data of the missing part is calculated according to the determined prediction reference state and the state transition probability matrix at each time point; the data at the current time point is predicted according to the calculated state at the current time point. Among them, the state of the non-missing part at the time point closest to the missing part can be determined as the prediction reference state. Among them, before determining the state of each variable value at each time point, each state can be defined in advance.
[0055] In an exemplary embodiment of the present invention, before the step of calculating the state of the current moment in the data of the missing part according to the state of the previous moment and the state transition probability matrix for each moment in the data of the missing part, the method may also include: determining a moment for the data of the missing part at every second time interval, wherein the second time interval is less than the first time interval. The second time interval can be set according to user needs, for example, the second time interval can be 10 minutes, 15 minutes, 20 minutes, etc. According to an embodiment of the present application, the second time interval can be a time interval with a smaller scale. In the following embodiments, 10 minutes is used as an example of the second time interval for explanation, but those skilled in the art should understand that this is only an example and does not limit the scope of the second time interval.
[0056] When the data prediction model includes a neural network model and a Markov prediction model, when calculating the data of the missing part of the wind measurement data based on the trained data prediction model according to the data of the non-missing part of the preprocessed wind measurement data and the data sequence of the missing part of the wind measurement data sequence, the data of the missing part of the wind measurement data can be calculated based on the Markov prediction model in the trained data prediction model according to the data of the non-missing part of the preprocessed wind measurement data and the data sequence of the missing part of the wind measurement data sequence. For example, the data of the non-missing part of the preprocessed wind measurement data and the data sequence of the missing part of the wind measurement data sequence are input into the Markov prediction model, and the Markov prediction model calculates and outputs the data of the missing part of the wind measurement data sequence (for example, the data of the missing part of the wind measurement data sequence with a time interval of 10 minutes).
[0057] In an exemplary embodiment of the present invention, when calculating the data of the missing part of the wind measurement data, when calculating the data of the moment with the first time interval and the second time interval of the missing part, the data of the moment calculated by the neural network model and the data of the corresponding moment calculated by the Markov prediction model can be weighted averaged, and the average value obtained by the weighted average is used as the data of the moment, thereby improving the accuracy of the prediction result. In addition, a state corresponding to the average value obtained by the weighted average can be obtained, and the prediction reference state can be updated according to the obtained state. For example, when calculating the data of the missing part at the hour (for example, the wind speed data at 1:00), the data of the hour calculated by the neural network model and the data of the corresponding moment calculated by the Markov prediction model can be weighted averaged, and the average value obtained by the weighted average is used as the data of the hour (for example, the wind speed data at 1:00), and then the prediction reference state can be updated to the obtained state corresponding to the average value obtained by the weighted average.
[0058] For example, when the wind speed data from 12:30 to 14:30 on May 1 is missing in the wind measurement data, the Markov prediction model can be used to first obtain the wind speed state (for example, no wind, soft wind, light wind, breeze, gentle wind, strong wind, gale, violent wind, etc.) corresponding to the last wind speed data before 12:30 (for example, the wind speed data at 12:20), and then the acquired state is determined as the prediction reference state. Thereafter, the wind speed states at 12:30, 12:40, 12:50 and 13:00 are calculated based on the prediction reference state and the state transition probability matrix, and the wind speed data at 12:30, 12:40, 12:50 and 13:00 are predicted respectively based on the calculated wind speed states at 12:30, 12:40, 12:50 and 13:00. The wind speed data at 13:00 in the data at the hour calculated by the neural network model is obtained, and the wind speed data at 13:00 in the data at the hour calculated by the neural network model and the wind speed data at 13:00 calculated by the Markov prediction model are weighted averaged, and the weighted average is determined as the wind speed data at 13:00. After the wind speed data at 13:00 is determined, the wind speed state corresponding to the wind speed data at 13:00 is obtained, and the prediction reference state is updated to the wind speed state corresponding to the wind speed data at 13:00, for example, a breeze.
[0059] Afterwards, the wind speed states at 13:10, 13:20, 13:30, 13:40, 13:50 and 14:00 are calculated according to the updated prediction reference state and the state transition probability matrix, and the wind speed data at 13:10, 13:20, 13:30, 13:40, 13:50 and 14:00 are predicted respectively according to the calculated wind speed states at 13:10, 13:20, 13:30, 13:40, 13:50 and 14:00. The wind speed data at 14:00 is obtained from the data at the hour calculated by the neural network model before, and the wind speed data at 14:00 in the data at the hour calculated by the neural network model and the wind speed data at 14:00 calculated by the Markov prediction model are weighted averaged, and the weighted average is determined as the wind speed data at 14:00. After the wind speed data at 14:00 is determined, the wind speed state corresponding to the wind speed data at 14:00 is acquired, and the prediction reference state is updated to the wind speed state corresponding to the wind speed data at 14:00, for example, light wind.
[0060] Afterwards, the wind speed states at 14:10, 14:20 and 14:30 are calculated based on the updated forecast reference state and the state transition probability matrix, and the wind speed data at 14:10, 14:20 and 14:30 are predicted respectively based on the calculated wind speed states at 14:10, 14:20 and 14:30.
[0061] According to the method for predicting missing wind measurement data of an exemplary embodiment of the present invention, the input wind measurement data is preprocessed and the preprocessed wind measurement data is converted into a wind measurement data sequence with a first time interval, and a preset data prediction model is trained using a data sequence of a non-missing portion in the wind measurement data sequence and contemporaneous mesoscale data corresponding to the non-missing portion, and based on the trained data prediction model, a data sequence of the missing portion of the wind measurement data sequence is calculated according to the contemporaneous mesoscale data corresponding to the data of the missing portion, and based on the trained data prediction model, data of the missing portion of the wind measurement data is calculated according to data of the non-missing portion in the preprocessed wind measurement data and the data sequence of the missing portion of the wind measurement data sequence, thereby improving the accuracy of the data of the missing portion of the wind measurement data.
[0062] The above has been combined Figure 1 and Figure 2 A method for predicting missing wind measurement data according to an exemplary embodiment of the present invention is described. Figure 3 A prediction device for missing wind measurement data and its modules according to an exemplary embodiment of the present invention are described.
[0063] Figure 3 A prediction apparatus for missing wind measurement data according to an exemplary embodiment of the present invention is shown.
[0064] Reference Figure 3 The prediction device for missing wind measurement data includes a data processing module 31, a model training module 32, a first calculation module 33 and a second calculation module 34.
[0065] The data processing module 31 is configured to pre-process the input wind measurement data and convert the pre-processed wind measurement data into a wind measurement data sequence with a first time interval.
[0066] In an exemplary embodiment of the present invention, the wind measurement data may include data of missing parts and data of non-missing parts, and the wind measurement data sequence may include a data sequence of missing parts and a data sequence of non-missing parts. The first time interval can be set according to user needs. For example, the first time interval can be an integer number of hours such as 1 hour, 2 hours, 3 hours, or a non-integer number of hours (such as 40 minutes, 50 minutes, 80 minutes, etc.). According to an embodiment of the present application, the first time interval can be a time interval with a larger scale. In the following embodiments, 1 hour is used as an example of the first time interval for explanation, but those skilled in the art should understand that this is only an example and does not limit the scope of the first time interval.
[0067] In an exemplary embodiment of the present invention, the data processing module 31 may be configured to perform abnormal data screening and clearing processing on the input wind measurement data.
[0068] In an exemplary embodiment of the present invention, the apparatus may further include: a label supplement module configured to supplement missing time labels for missing parts of the pre-processed wind measurement data.
[0069] In an exemplary embodiment of the present invention, after preprocessing the input wind measurement data, the preprocessed wind measurement data is converted into a wind measurement data sequence with a first time interval through the data processing module 31. For example, if the first time interval is determined to be 1 hour, the above cleaned wind measurement data is converted into hourly data (i.e., a wind measurement data sequence with a time interval of 1 hour) through the data processing module 31, so as to facilitate subsequent calculations.
[0070] The model training module 32 is configured to train a preset data prediction model using the data sequence of the non-missing part in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing part.
[0071] In an exemplary embodiment of the present invention, the contemporaneous mesoscale data corresponding to the non-missing portion may be one or more sets of contemporaneous mesoscale data. For example, a set of mesoscale data may be obtained by measuring each of a plurality of positions in a selected mesoscale data measurement area.
[0072] In an exemplary embodiment of the present invention, the device may further include: a correlation calculation module configured to respectively calculate the correlation between each set of mesoscale data in the multiple sets of mesoscale data and the wind measurement data; and a data selection module configured to select at least one set of mesoscale data from the multiple sets of mesoscale data for training the preset data prediction model according to the calculated correlation. In this way, before using the data sequence of the non-missing part in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing part to train the preset data prediction model, the mesoscale data used for training the preset data prediction model can be determined.
[0073] In an exemplary embodiment of the present invention, the model training module 32 can be configured to: divide the data sequence of the non-missing part in the wind measurement data sequence into training data and test data; use the contemporary mesoscale data corresponding to the training data and the training data as the input data set and output data set of the training respectively, and use the input data set and the output data set to train the neural network model in the preset data prediction model; use the test data and the contemporary mesoscale data corresponding to the test data to test the trained data prediction model; when the test fails, update the preset data prediction model according to the user's input, train the neural network model in the updated data prediction model, and test the trained data prediction model, until the training is terminated when the test passes.
[0074] In an exemplary embodiment of the present invention, the neural network model can be any type of neural network model, preferably, the neural network model can be SVR. When SVR is adopted, the model training module 32 can be configured to: normalize the data in the input data set and the output data set; select the best penalty parameter and the best kernel function parameter of the regression through cross-validation; and train the neural network model using the best penalty parameter and the best kernel function parameter.
[0075] In an exemplary embodiment of the present invention, the model training module 32 can be configured to: based on the trained data prediction model, calculate the prediction data corresponding to the test data according to the contemporaneous mesoscale data corresponding to the test data; compare the test data and the prediction data, and test the trained data prediction model according to the comparison result.
[0076] In an exemplary embodiment of the present invention, the data prediction model may include a neural network model. The neural network model may be used to predict a data sequence having a missing portion of a first time interval. When the data prediction model includes a neural network model, the model training module 32 may be configured to train the neural network model in the preset data prediction model using a data sequence of a non-missing portion in the wind measurement data sequence and contemporaneous mesoscale data corresponding to the non-missing portion.
[0077] The first calculation module 33 is configured to calculate the data sequence of the missing part of the wind measurement data sequence based on the trained data prediction model and the contemporaneous mesoscale data corresponding to the data of the missing part.
[0078] In an exemplary embodiment of the present invention, the data prediction model may include at least a neural network model and a Markov prediction model. The neural network model may be used to predict a data sequence with a missing portion of a first time interval, and the Markov prediction model may be used to predict a data sequence with a missing portion of a second time interval. When the data prediction model includes a neural network model and a Markov prediction model, the first calculation module 33 may be configured to calculate the data sequence of the missing portion of the wind measurement data sequence based on the neural network model in the trained data prediction model and the contemporaneous mesoscale data corresponding to the data of the missing portion.
[0079] The second calculation module 34 is configured to calculate the data of the missing part of the wind measurement data based on the trained data prediction model, according to the data of the non-missing part in the preprocessed wind measurement data and the calculated data sequence of the missing part of the wind measurement data sequence.
[0080] In an exemplary embodiment of the present invention, the second calculation module 34 may be configured to: update the preprocessed wind measurement data according to the data sequence of the missing part of the wind measurement data sequence; generate a discretized variable value list at each time point for the data of the non-missing part, and generate a percentile value at each time point for each variable value, and determine the state of each variable value at each time point according to the percentile value; determine the state transition probability matrix according to the state of each variable value in the data of the non-missing part at each time point; for each variable value in the data of the missing part, calculate the state of the current time in the data of the missing part according to the determined prediction reference state and the state transition probability matrix at each time point; predict the data at the current time point according to the calculated state at the current time point. Among them, the state of the moment of the non-missing part closest to the missing part can be determined as the prediction reference state. Among them, the device may also include: a state definition module, which is configured to pre-define each state before determining the state of each variable value at each time point.
[0081] In an exemplary embodiment of the present invention, the device may further include: a moment determination module, configured to determine a moment for the missing part of the data at a second time interval, wherein the second time interval is smaller than the first time interval, and the second time interval may be set according to user needs. According to an embodiment of the present application, the second time interval may be a time interval with a smaller scale. In the following embodiments, 10 minutes is used as an example of the second time interval for explanation, but those skilled in the art should understand that this is only an example and does not limit the scope of the second time interval.
[0082] When the data prediction model includes a neural network model and a Markov prediction model, the second calculation module 34 can be configured to calculate the data of the missing part of the wind measurement data based on the Markov prediction model in the trained data prediction model, according to the data of the non-missing part in the preprocessed wind measurement data and the data sequence of the missing part of the wind measurement data sequence.
[0083] The second calculation module 34 can be configured as follows: when calculating the missing part of the data at the moment with the first time interval and the second time interval, the data of the moment calculated by the neural network model and the data of the corresponding moment calculated by the Markov prediction model are weighted averaged, and the average value obtained by the weighted average is used as the data at the moment; the state corresponding to the average value obtained by the weighted average is obtained, and the predicted reference state is updated according to the obtained state. For example, when calculating the wind speed data at 1:00 of the missing part, the wind speed data at 1:00 calculated by the neural network model and the wind speed data at 1:00 calculated by the Markov prediction model can be weighted averaged, and the average value obtained by the weighted average is used as the wind speed data at 1:00, and then the wind speed state at 1:00 corresponding to the wind speed data at 1:00 can be obtained, and the predicted reference state is updated to the obtained wind speed state at 1:00.
[0084] According to the prediction device for missing wind measurement data of an exemplary embodiment of the present invention, the input wind measurement data is preprocessed by the data processing module 31, and the preprocessed wind measurement data is converted into a wind measurement data sequence with a first time interval, and the preset data prediction model is trained by the model training module 32 using the data sequence of the non-missing part in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing part, and the first calculation module 33 calculates the data sequence of the missing part of the wind measurement data sequence based on the trained data prediction model and the contemporaneous mesoscale data corresponding to the data of the missing part, and the second calculation module 34 calculates the data of the missing part of the wind measurement data based on the trained data prediction model and the data of the non-missing part in the preprocessed wind measurement data and the data sequence of the missing part of the wind measurement data sequence, thereby improving the accuracy of the data of the missing part of the wind measurement data.
[0085] In addition, according to an exemplary embodiment of the present invention, a computer-readable storage medium is also provided, on which a computer program is stored, and when the program is executed, the steps of the method for predicting missing wind measurement data according to the present invention are implemented.
[0086] As an example, when the program is executed, the following steps can be implemented: preprocessing the input wind measurement data, and converting the preprocessed wind measurement data into a wind measurement data sequence with a first time interval, using the data sequence of the non-missing part in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing part to train a preset data prediction model, based on the trained data prediction model, calculating the data sequence of the missing part of the wind measurement data sequence according to the contemporaneous mesoscale data corresponding to the data of the missing part, based on the trained data prediction model, calculating the data of the missing part of the wind measurement data according to the data of the non-missing part in the preprocessed wind measurement data and the data sequence of the missing part of the wind measurement data sequence.
[0087] The above has been combined Figure 3 A prediction device for missing wind measurement data according to an exemplary embodiment of the present invention is described. Figure 4 A computing device according to an exemplary embodiment of the present invention is described.
[0088] Figure 4 A schematic diagram illustrating a computing device according to an exemplary embodiment of the present invention.
[0089] Reference Figure 4 The computing device 4 according to an exemplary embodiment of the present invention comprises a memory 41, a processor 42 and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for predicting missing wind measurement data according to the present invention when executing the computer program.
[0090] As an example, the processor may be configured to execute a program including the steps of a method for predicting missing wind measurement data: preprocessing the input wind measurement data and converting the preprocessed wind measurement data into a wind measurement data sequence having a first time interval, training a preset data prediction model using the data sequence of the non-missing part in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing part, calculating the data sequence of the missing part of the wind measurement data sequence based on the trained data prediction model according to the contemporaneous mesoscale data corresponding to the data of the missing part, and calculating the data of the missing part of the wind measurement data based on the trained data prediction model according to the data of the non-missing part in the preprocessed wind measurement data and the data sequence of the missing part of the wind measurement data sequence.
[0091] The above has been referred to Figures 1 to 3 A method and apparatus for predicting missing wind data according to an exemplary embodiment of the present invention are described. However, it should be understood that: Figure 3 The prediction device for missing wind measurement data and its modules shown in the figure may be configured as software, hardware, firmware or any combination of the above items to perform specific functions, respectively. Figure 4 The computing device shown in is not limited to including the components shown above, but some components may be added or deleted as needed, and the above components may also be combined.
[0092] According to an exemplary embodiment of the present invention, a method and device for predicting missing wind measurement data preprocesses the input wind measurement data and converts the preprocessed wind measurement data into a wind measurement data sequence with a first time interval, uses the data sequence of the non-missing part in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing part to train a preset data prediction model, based on the trained data prediction model, calculates the data sequence of the missing part of the wind measurement data sequence according to the contemporaneous mesoscale data corresponding to the data of the missing part, and based on the trained data prediction model, calculates the data of the missing part of the wind measurement data according to the data of the non-missing part in the preprocessed wind measurement data and the data sequence of the missing part of the wind measurement data sequence, thereby improving the accuracy of the data of the missing part of the wind measurement data.
[0093] While the invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the claims.
Claims
1. A method for predicting missing wind measurement data, comprising: Preprocessing the input wind measurement data, and converting the preprocessed wind measurement data into a wind measurement data sequence with a first time interval, wherein the wind measurement data includes data of a missing portion and data of a non-missing portion, and the wind measurement data sequence includes a data sequence of the missing portion and a data sequence of the non-missing portion; The preset data prediction model is trained using the data sequence of the non-missing part in the wind measurement data sequence and the corresponding mesoscale data of the same period; Based on the trained data prediction model, the data sequence of the missing part of the wind measurement data sequence is calculated according to the mesoscale data of the same period corresponding to the data of the missing part; Based on the trained data prediction model, the data of the missing part of the wind measurement data is calculated according to the data of the non-missing part in the preprocessed wind measurement data and the data sequence of the missing part of the wind measurement data sequence, Among them, the data prediction model includes at least a neural network model and a Markov prediction model. The step of training a preset data prediction model using the data sequence of the non-missing part in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing part includes: The neural network model in the preset data prediction model is trained using the data sequence of the non-missing part in the wind measurement data sequence and the corresponding mesoscale data of the same period. The step of calculating the missing data sequence of the wind measurement data sequence based on the trained data prediction model and the corresponding mesoscale data of the same period and obtaining the missing data sequence comprises: Based on the trained neural network model in the data prediction model, the data sequence of the missing part of the wind measurement data sequence is calculated according to the mesoscale data of the same period corresponding to the missing part of the data, The step of calculating the data of the missing part of the wind measurement data based on the trained data prediction model and the data sequence of the missing part of the wind measurement data sequence after preprocessing comprises: Based on the Markov prediction model in the trained data prediction model, the data of the missing part of the wind measurement data is calculated according to the data of the non-missing part in the preprocessed wind measurement data and the data sequence of the missing part of the wind measurement data sequence, wherein the step of calculating the data of the missing part of the wind measurement data comprises: when calculating the missing part and having the data of the moment of the first time interval and the second time interval at the same time, weighted averaging the data of the moment calculated by the neural network model and the data of the corresponding moment calculated by the Markov prediction model, and taking the average value obtained by the weighted averaging as the data of the moment; A state corresponding to the average value obtained by weighted averaging is obtained, and the predicted reference state is updated according to the obtained state.
2. The prediction method according to claim 1, wherein: The steps for preprocessing the input wind measurement data include: The input wind measurement data is screened and cleared for abnormal data.
3. The prediction method according to claim 1, wherein: After the step of preprocessing the input wind measurement data, the method further comprises: The missing time labels are supplemented for the missing parts of the preprocessed wind measurement data.
4. The prediction method according to claim 1, wherein: Before the step of training a preset data prediction model using the data sequence of the non-missing part in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing part, the method further includes: Calculate the correlation between each set of mesoscale data and wind measurement data in multiple sets of mesoscale data respectively; According to the calculated correlation, at least one set of mesoscale data is selected from the multiple sets of mesoscale data for training a preset data prediction model.
5. The prediction method according to claim 1, wherein: The steps of training a preset data prediction model using the data sequence of the non-missing part in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing part include: The data sequence of the non-missing part in the wind measurement data sequence is divided into training data and test data; The mesoscale data corresponding to the training data and the training data of the same period are used as the input data set and the output data set of the training respectively, and the input data set and the output data set are used to train the neural network model in the preset data prediction model; Use the test data and the corresponding mesoscale data of the same period to test the trained data prediction model; When the test fails, the preset data prediction model is updated according to the user's input, the neural network model in the updated data prediction model is trained, and the trained data prediction model is tested until the training is terminated when the test passes.
6. The prediction method according to claim 5, wherein: The neural network model is a support vector regression model. The step of using the input data set and the output data set to train the neural network model in the preset data prediction model includes: Normalize the data in the input data set and the output data set; Select the best penalty parameter and the best kernel function parameter for regression through cross-validation; The neural network model is trained using the optimal penalty parameter and the optimal kernel function parameter.
7. The prediction method according to claim 1, wherein: Based on the Markov prediction model in the trained data prediction model, the step of calculating the data of the missing part of the wind measurement data according to the data of the non-missing part in the preprocessed wind measurement data and the data sequence of the missing part of the wind measurement data sequence includes: updating the preprocessed wind measurement data according to the data sequence of the missing part of the wind measurement data sequence; Generate a discretized variable value list at each time point for the data without missing parts, and generate the percentile value at each time point for each variable value, and determine the state of each variable value at each time point according to the percentile value; Determine the state transition probability matrix according to the state of each variable value in the data without missing parts at each moment; For each variable value in the missing part of the data, at each moment, the state of the missing part of the data at the current moment is calculated in turn according to the determined prediction reference state and the state transition probability matrix, wherein the state of the non-missing part at the moment closest to the missing part is determined as the prediction reference state; Predict the current data based on the calculated current state. Wherein, before the step of calculating the state of the missing part of the data at the current moment according to the determined prediction reference state and the state transition probability matrix at each moment for each variable value in the missing part of the data, the method further includes: A time is determined for the missing portion of data at every second time interval, wherein the second time interval is smaller than the first time interval.
8. The prediction method according to claim 5, wherein: The steps of testing the trained data prediction model using the test data and the corresponding contemporaneous mesoscale data of the test data include: Based on the trained data prediction model, the prediction data corresponding to the test data is calculated according to the mesoscale data corresponding to the test data in the same period; The test data and the predicted data are compared, and the trained data prediction model is tested based on the comparison results.
9. A prediction device for missing wind measurement data, comprising: A data processing module is configured to preprocess the input wind measurement data and convert the preprocessed wind measurement data into a wind measurement data sequence with a first time interval, wherein the wind measurement data includes data of a missing part and data of a non-missing part, and the wind measurement data sequence includes a data sequence of the missing part and a data sequence of the non-missing part; A model training module is configured to train a preset data prediction model using a data sequence of a non-missing portion in a wind measurement data sequence and contemporaneous mesoscale data corresponding to the non-missing portion; A first calculation module is configured to calculate the missing part of the wind measurement data sequence based on the trained data prediction model and the corresponding mesoscale data of the same period; and The second calculation module is configured to calculate the data of the missing part of the wind measurement data based on the trained data prediction model and the data sequence of the missing part of the wind measurement data sequence after preprocessing, Among them, the data prediction model includes at least a neural network model and a Markov prediction model. The model training module is configured to train the neural network model in the preset data prediction model using the data sequence of the non-missing part in the wind measurement data sequence and the contemporaneous mesoscale data corresponding to the non-missing part. The first calculation module is configured to calculate the missing part of the wind measurement data sequence based on the neural network model in the trained data prediction model and the corresponding mesoscale data of the same period. The second calculation module is configured to calculate the data of the missing part of the wind measurement data based on the Markov prediction model in the trained data prediction model, according to the data of the non-missing part in the preprocessed wind measurement data and the data sequence of the missing part of the wind measurement data sequence, Wherein, the second computing module is configured as follows: When calculating the missing part of the data at the moment with the first time interval and the second time interval, weighted average the data at the moment calculated by the neural network model and the data at the corresponding moment calculated by the Markov prediction model, and use the average value obtained by the weighted average as the data at the moment; A state corresponding to the average value obtained by weighted averaging is obtained, and the predicted reference state is updated according to the obtained state.
10. The prediction device according to claim 9, wherein: The data processing module is configured as follows: The input wind measurement data is screened and cleared for abnormal data.
11. The prediction device according to claim 9, wherein: The device also includes: The label supplement module is configured to supplement the missing time labels for the missing parts of the preprocessed wind measurement data.
12. The prediction device according to claim 9, wherein: The device also includes: A correlation calculation module is configured to respectively calculate the correlation between each set of mesoscale data in the plurality of sets of mesoscale data and the wind measurement data; and The data selection module is configured to select at least one set of mesoscale data from multiple sets of mesoscale data for training a preset data prediction model based on the calculated correlation.
13. The prediction device according to claim 9, wherein: The model training module is configured as follows: The data sequence of the non-missing part in the wind measurement data sequence is divided into training data and test data; The mesoscale data corresponding to the training data and the training data of the same period are used as the input data set and the output data set of the training respectively, and the input data set and the output data set are used to train the neural network model in the preset data prediction model; Use the test data and the corresponding mesoscale data of the same period to test the trained data prediction model; When the test fails, the preset data prediction model is updated according to the user's input, the neural network model in the updated data prediction model is trained, and the trained data prediction model is tested until the training is terminated when the test passes.
14. The prediction device according to claim 13, wherein: The neural network model is a support vector regression model. Among them, the model training module is configured as: Normalize the data in the input data set and the output data set; Select the best penalty parameter and the best kernel function parameter for regression through cross-validation; The neural network model is trained using the optimal penalty parameter and the optimal kernel function parameter.
15. The prediction device according to claim 13, wherein: The model training module is configured as follows: Based on the trained data prediction model, the prediction data corresponding to the test data is calculated according to the mesoscale data corresponding to the test data in the same period; The test data and the predicted data are compared, and the trained data prediction model is tested based on the comparison results.
16. The prediction device according to claim 9, wherein: The second computing module is configured as follows: updating the preprocessed wind measurement data according to the data sequence of the missing part of the wind measurement data sequence; Generate a discretized variable value list at each time point for the data without missing parts, and generate the percentile value at each time point for each variable value, and determine the state of each variable value at each time point according to the percentile value; Determine the state transition probability matrix according to the state of each variable value in the data without missing parts at each moment; For each variable value in the missing part of the data, at each moment, the state of the missing part of the data at the current moment is calculated in turn according to the determined prediction reference state and the state transition probability matrix, wherein the state of the non-missing part at the moment closest to the missing part is determined as the prediction reference state; Predict the current data based on the calculated current state. Wherein, the device further comprises: The time determination module is configured to determine a time for the missing portion of data at a second time interval, wherein the second time interval is smaller than the first time interval.
17. A computer-readable storage medium having a computer program stored thereon, wherein: When the program is executed, the steps of the prediction method according to any one of claims 1 to 8 are implemented.
18. A computing device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the prediction method according to any one of claims 1 to 8 are implemented.
