Wind speed prediction method, device and equipment
Calculating the average wind speed of the wind farm through the water vapor value matrix and predicting the wind speed at the next moment solves the problem of low accuracy of existing wind speed prediction and improves the stability of wind farm power generation and the security of the power grid.
Patent Information
- Application Number
- CN202311540694.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-17
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-11-17
AI Technical Summary
Existing wind speed prediction methods are not very accurate and cannot effectively cope with the instability of wind farm power generation, making the impact on the power grid difficult to predict and control.
By obtaining the water vapor value matrix at the current moment and the previous moment, based on these data and the location of the wind farm, the average wind speed is calculated, and the wind speed prediction model is used to predict the wind speed at the next moment to improve the accuracy of wind speed prediction.
The water vapor value matrix reflects the movement of water vapor in the atmosphere, provides relevant information covering the entire space during the entire period, improves the accuracy of wind speed prediction, and helps wind farms take timely intervention measures to ensure the stability of power generation.
Smart Images

Figure CN117574035B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of wind power generation, and in particular to a method, device and equipment for predicting wind speed. Background Art
[0002] Wind energy, as a clean and renewable energy source, can be used to generate electricity through wind farms.
[0003] Since wind is highly intermittent and volatile, when the wind speed is high, the wind farm's power generation will be high, making the wind farm's power generation unstable and causing impacts to the power grid. Therefore, it is necessary to accurately predict future wind speeds so that timely intervention measures can be taken to ensure the stability of wind farm power generation when wind speeds may have an impact on the wind farm's power generation process.
[0004] At present, wind speed is usually predicted by combining numerical weather forecast with statistical model or actual wind speed extrapolation method. However, numerical weather forecast is mainly based on cloud cover data of visible light channel for wind speed prediction, and there is still a large error in describing wind speed changes at high time resolution, resulting in low accuracy of wind speed prediction. Summary of the invention
[0005] The present application provides a wind speed prediction method, device and equipment to solve the problem of low accuracy of current wind speed prediction.
[0006] In a first aspect, the present application provides a method for predicting wind speed, comprising:
[0007] Obtaining a water vapor value matrix at a current moment and a water vapor value matrix at a moment before the current moment, wherein the water vapor value matrix includes water vapor values corresponding to different longitudes and latitudes;
[0008] Determine the average wind speed of the wind farm to be predicted from the previous moment to the current moment based on the water vapor value matrix at the current moment, the water vapor value matrix at the previous moment and the position of the wind farm to be predicted;
[0009] The wind speed corresponding to the wind farm to be predicted at a next moment is determined based on the average wind speed corresponding to the wind farm to be predicted from the previous moment to the current moment.
[0010] In a possible implementation, determining the average wind speed of the wind farm to be predicted from the previous moment to the current moment based on the water vapor value matrix at the current moment, the water vapor value matrix at the previous moment, and the position of the wind farm to be predicted includes:
[0011] Standardizing the water vapor value matrix at the current moment and the water vapor value matrix at the previous moment respectively to obtain the standardized water vapor value matrix at the current moment and the standardized water vapor value matrix at the previous moment;
[0012] Based on the location and preset size of the wind farm to be predicted, the standardized water vapor value matrix at the previous moment is screened to obtain a reference water vapor value matrix, wherein the reference water vapor value matrix includes standardized water vapor values of multiple location points in the target area at the previous moment, and the multiple location points include the location of the wind farm to be predicted;
[0013] Based on the reference water vapor value matrix, the standardized water vapor value matrix at the current moment and the location of the wind farm to be predicted, an average wind speed of the wind farm to be predicted corresponding to the period from the previous moment to the current moment is determined.
[0014] In a possible implementation manner, determining the average wind speed of the wind farm to be predicted from the previous moment to the current moment based on the reference water vapor value matrix, the standardized water vapor value matrix at the current moment, and the location of the wind farm to be predicted includes:
[0015] Based on a preset step size and the size of the reference water vapor value matrix, slidingly traverse the standardized water vapor value matrix at the current moment to obtain a plurality of water vapor value matrix fragments;
[0016] Determine a correlation value between the reference water vapor value matrix and each of the water vapor value matrix segments, the correlation value being used to indicate a correlation between the reference water vapor value matrix and a corresponding water vapor value matrix segment;
[0017] Based on the correlation value between the reference water vapor value matrix and each of the water vapor value matrix segments, an average wind speed of the wind farm to be predicted corresponding to the previous moment to the current moment is determined.
[0018] In a possible implementation manner, for any water vapor value matrix segment among the multiple water vapor value matrix segments, a correlation value between the reference water vapor value matrix and the water vapor value matrix segment satisfies:
[0019]
[0020] Wherein, r is the correlation value between the reference water vapor value matrix and the water vapor value matrix fragment; n is the number of elements included in the reference water vapor value matrix; r i,t+1 represents the i-th element in the water vapor value matrix fragment; R t+1 represents the water vapor value matrix fragment; represents the variance of the water vapor value matrix segment; r′ o,trepresents the i-th element in the reference water vapor value matrix; R′ t represents the reference water vapor value matrix; represents the variance of the reference water vapor value matrix.
[0021] In a possible implementation manner, determining the average wind speed of the wind farm to be predicted corresponding to the previous moment to the current moment based on the correlation value between the reference water vapor value matrix and each of the water vapor value matrix segments includes:
[0022] Determining a maximum correlation value among the correlation values between the reference water vapor value matrix and each of the water vapor value matrix segments;
[0023] determining a reference position based on the target water vapor value matrix fragment corresponding to the maximum correlation value;
[0024] Based on the reference position, the position of the wind farm to be predicted and the time period from the previous moment to the current moment, an average wind speed of the wind farm to be predicted corresponding to the period from the previous moment to the current moment is determined.
[0025] In a possible implementation manner, the reference position includes a reference longitude and a reference latitude, and determining the average wind speed of the wind farm to be predicted from the previous moment to the current moment based on the reference position, the position of the wind farm to be predicted, and the time period from the previous moment to the current moment includes:
[0026] Determining a first difference between the reference longitude and the longitude of the wind farm to be predicted, and a second difference between the reference latitude and the latitude of the wind farm to be predicted;
[0027] Based on the first difference and the time period, determining the wind speed corresponding to the wind farm to be predicted in the longitude direction;
[0028] Based on the second difference and the time period, determining the wind speed corresponding to the wind farm to be predicted in the latitudinal direction;
[0029] The average wind speed includes the wind speed corresponding to the longitude direction of the wind farm to be predicted and the wind speed corresponding to the latitude direction of the wind farm to be predicted.
[0030] In a possible implementation manner, determining the wind speed corresponding to the wind farm to be predicted at the next moment based on the average wind speed corresponding to the wind farm to be predicted from the previous moment to the current moment includes:
[0031] Inputting the wind speed corresponding to the longitude direction of the wind farm to be predicted and the wind speed corresponding to the latitude direction of the wind farm to be predicted into the wind speed prediction model to obtain the wind speed corresponding to the wind farm to be predicted at the next moment;
[0032] The wind speed prediction model is obtained by training based on the wind speeds corresponding to a plurality of sample wind farms in the longitude direction and the wind speeds corresponding to the sample wind farms in the latitude direction, as well as the corresponding wind speed labels.
[0033] In a second aspect, the present application provides a wind speed prediction device, comprising:
[0034] An acquisition module, used to acquire a water vapor value matrix at a current moment and a water vapor value matrix at a moment before the current moment, wherein the water vapor value matrix includes water vapor values corresponding to different longitudes and latitudes;
[0035] A determination module, configured to determine an average wind speed of the wind farm to be predicted from the previous moment to the current moment based on the water vapor value matrix at the current moment, the water vapor value matrix at the previous moment and the position of the wind farm to be predicted;
[0036] The processing module is used to determine the wind speed corresponding to the wind farm to be predicted at the next moment based on the average wind speed corresponding to the wind farm to be predicted from the previous moment to the current moment.
[0037] In a possible implementation manner, the determining module is specifically configured to:
[0038] Standardizing the water vapor value matrix at the current moment and the water vapor value matrix at the previous moment respectively to obtain the standardized water vapor value matrix at the current moment and the standardized water vapor value matrix at the previous moment;
[0039] Based on the location and preset size of the wind farm to be predicted, the standardized water vapor value matrix at the previous moment is screened to obtain a reference water vapor value matrix, wherein the reference water vapor value matrix includes standardized water vapor values of multiple location points in the target area at the previous moment, and the multiple location points include the location of the wind farm to be predicted;
[0040] Based on the reference water vapor value matrix, the standardized water vapor value matrix at the current moment and the location of the wind farm to be predicted, an average wind speed of the wind farm to be predicted corresponding to the period from the previous moment to the current moment is determined.
[0041] In a possible implementation manner, the determining module is specifically configured to:
[0042] Based on a preset step size and the size of the reference water vapor value matrix, slidingly traverse the standardized water vapor value matrix at the current moment to obtain a plurality of water vapor value matrix fragments;
[0043] Determine a correlation value between the reference water vapor value matrix and each of the water vapor value matrix segments, the correlation value being used to indicate a correlation between the reference water vapor value matrix and a corresponding water vapor value matrix segment;
[0044] Based on the correlation value between the reference water vapor value matrix and each of the water vapor value matrix segments, an average wind speed of the wind farm to be predicted corresponding to the previous moment to the current moment is determined.
[0045] In a possible implementation manner, for any water vapor value matrix segment among the multiple water vapor value matrix segments, a correlation value between the reference water vapor value matrix and the water vapor value matrix segment satisfies:
[0046]
[0047] Wherein, r is the correlation value between the reference water vapor value matrix and the water vapor value matrix fragment; n is the number of elements included in the reference water vapor value matrix; r i,t+1 represents the i-th element in the water vapor value matrix fragment; R t+1 represents the water vapor value matrix fragment; represents the variance of the water vapor value matrix segment; r′ i,t represents the i-th element in the reference water vapor value matrix; R′ t represents the reference water vapor value matrix; represents the variance of the reference water vapor value matrix.
[0048] In a possible implementation manner, the determining module is specifically configured to:
[0049] Determining a maximum correlation value among the correlation values between the reference water vapor value matrix and each of the water vapor value matrix segments;
[0050] determining a reference position based on the target water vapor value matrix fragment corresponding to the maximum correlation value;
[0051] Based on the reference position, the position of the wind farm to be predicted and the time period from the previous moment to the current moment, an average wind speed of the wind farm to be predicted corresponding to the period from the previous moment to the current moment is determined.
[0052] In a possible implementation manner, the reference position includes a reference longitude and a reference latitude, and the determination module is specifically configured to:
[0053] Determining a first difference between the reference longitude and the longitude of the wind farm to be predicted, and a second difference between the reference latitude and the latitude of the wind farm to be predicted;
[0054] Based on the first difference and the time period, determining the wind speed corresponding to the wind farm to be predicted in the longitude direction;
[0055] Based on the second difference and the time period, determining the wind speed corresponding to the wind farm to be predicted in the latitudinal direction;
[0056] The average wind speed includes the wind speed corresponding to the longitude direction of the wind farm to be predicted and the wind speed corresponding to the latitude direction of the wind farm to be predicted.
[0057] In a possible implementation manner, the processing module is specifically used to:
[0058] Inputting the wind speed corresponding to the longitude direction of the wind farm to be predicted and the wind speed corresponding to the latitude direction of the wind farm to be predicted into the wind speed prediction model to obtain the wind speed corresponding to the wind farm to be predicted at the next moment;
[0059] The wind speed prediction model is obtained by training based on the wind speeds corresponding to a plurality of sample wind farms in the longitude direction and the wind speeds corresponding to the sample wind farms in the latitude direction, as well as the corresponding wind speed labels.
[0060] In a third aspect, the present application provides an electronic 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 program, a method for predicting wind speed as described in any one of the first aspects is implemented.
[0061] In a fourth aspect, the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the wind speed prediction method as described in any one of the first aspects is implemented.
[0062] The wind speed prediction method, device and equipment provided by the present application first obtain the water vapor value matrix at the current moment and the water vapor value matrix at the previous moment of the current moment, and the water vapor value matrix includes water vapor values corresponding to different longitudes and latitudes; then based on the water vapor value matrix at the current moment, the water vapor value matrix at the previous moment and the position of the wind farm to be predicted, determine the average wind speed corresponding to the wind farm to be predicted from the previous moment to the current moment; thereby, based on the average wind speed corresponding to the wind farm to be predicted from the previous moment to the current moment, determine the wind speed corresponding to the wind farm to be predicted at the next moment. The scheme of the embodiment of the present application, because the average wind speed corresponding to the wind farm to be predicted from the previous moment to the current moment is determined by the water vapor value matrix, the water vapor value matrix includes water vapor values corresponding to different longitudes and latitudes, and the water vapor value can reflect the movement of water vapor in the atmosphere, so that the average wind speed can be obtained more accurately, and then the wind speed corresponding to the wind farm to be predicted at the next moment is obtained based on the average wind speed. Compared with the traffic volume data of the visible light channel, the water vapor value can provide relevant information about atmospheric movement in full time and space, thereby improving the accuracy of wind speed prediction. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0064] Figure 1 A flow chart of a method for predicting wind speed provided in an embodiment of the present application;
[0065] Figure 2 A flowchart for determining the average wind speed of a wind farm to be predicted from a previous moment to a current moment provided in an embodiment of the present application;
[0066] Figure 3 A schematic diagram of a sliding traversal provided in an embodiment of the present application;
[0067] Figure 4 A flow chart for determining average wind speed based on correlation value provided in an embodiment of the present application;
[0068] Figure 5 A schematic diagram of the structure of a wind speed prediction device provided in an embodiment of the present application;
[0069] Figure 6 A schematic diagram of the physical structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0070] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0071] As a clean and renewable energy, wind energy is increasingly gaining widespread attention. With the continuous expansion of wind power grid-connected scale, wind power has become the third largest power energy source. However, wind is highly intermittent and volatile. When the wind speed is relatively high, the wind farm's power generation will be relatively large, that is, the wind power penetration power will be high, making the wind farm's power generation unstable, which will bring impacts to the power grid.
[0072] In order to ensure the safe and reliable operation of the power grid, reduce wind curtailment and power rationing, and meet the dispatching plan needs of the power sector as much as possible, it is necessary to accurately predict the future wind speed. Since the wind speed has a great impact on the power generation of wind farms, by predicting the future wind speed, it is possible to know the changes in the power generation of wind farms due to changes in wind speed, so that timely intervention measures can be taken to ensure the stability of power generation in wind farms.
[0073] At present, wind speed is usually predicted by combining numerical weather forecast with statistical model or actual wind speed extrapolation method. Numerical weather forecast data can approximately describe the trend of wind speed change in a short period, but there is still a large error in describing wind speed change at high time resolution. Although statistical model or actual power extrapolation method can improve the accuracy of ultra-short-term forecast by utilizing the real-time of measured data, the method based on statistical model and measured data extrapolation is very dependent on the timeliness of measured data. The prediction accuracy will decline as the prediction period lengthens, and it is almost impossible to provide guidance for the prediction of gusts and fluctuations, and cannot effectively serve as the basis for future wind speed changes in a short period.
[0074] In summary, the accuracy of current wind speed prediction methods is relatively low and cannot meet the needs of the wind power industry. Therefore, the embodiment of the present application provides a wind speed prediction method to improve the accuracy of wind speed prediction. The solution of the embodiment of the present application is introduced below in conjunction with the accompanying drawings.
[0075] Figure 1 A flow chart of a method for predicting wind speed provided in an embodiment of the present application, such as Figure 1 As shown, the method may include:
[0076] S11, obtaining a water vapor value matrix at the current moment and a water vapor value matrix at a moment before the current moment, wherein the water vapor value matrix includes water vapor values corresponding to different longitudes and latitudes.
[0077] The server can obtain the water vapor value matrix at the current moment and the water vapor value matrix at the previous moment from the satellite. In the embodiment of the present application, the water vapor value matrix reflects the water vapor values at different locations, and the water vapor value represents the atmospheric water content measured by the satellite. Since there is a correlation between the wind speed and the atmospheric water content, the wind speed can be predicted by obtaining the water vapor values corresponding to different longitudes and latitudes.
[0078] The water vapor value matrix at the current moment includes the water vapor values of multiple location points at the current moment, and the water vapor value matrix at the previous moment includes the water vapor values of these multiple location points at the previous moment. The water vapor value matrix at the current moment and the water vapor value matrix at the previous moment reflect the water vapor values of the same batch of location points, but the difference is that they reflect water vapor values at different moments.
[0079] In the water vapor value matrix, different rows can represent different longitudes, different columns can represent different latitudes, or different rows can represent different latitudes, and different columns can represent different longitudes. This embodiment of the present application does not limit this. Taking different rows representing different longitudes and different columns representing different latitudes as an example, an exemplary water vapor value matrix is as follows:
[0080]
[0081] In formula (1), m represents m different longitudes, n represents n different latitudes, and both m and n are positive integers. The m different longitudes are arranged from large to small or from small to large, and the n different latitudes are arranged from large to small or from small to large. The water vapor value matrix A represents the water vapor values of mn different locations, and these mn locations include the location of the wind farm to be predicted.
[0082] Take any element a in the i-th row and j-th column of the water vapor value matrix A ij For example, it represents the water vapor value of the location corresponding to the i-th longitude and the j-th latitude. If the water vapor value matrix A is the water vapor value matrix at the current moment, then the element a ij It represents the water vapor value of the location corresponding to the i-th longitude and the j-th latitude at the current moment; if the water vapor value matrix A is the water vapor value matrix of the previous moment, then the element a ij It represents the water vapor value of the location corresponding to the i-th longitude and j-th latitude at the previous moment.
[0083] S12, determining the average wind speed of the wind farm to be predicted from the previous moment to the current moment based on the water vapor value matrix at the current moment, the water vapor value matrix at the previous moment and the position of the wind farm to be predicted.
[0084] After obtaining the water vapor value matrix at the current moment and the water vapor value matrix at the previous moment, the location of the wind farm to be predicted is combined to determine the average wind speed of the wind farm to be predicted from the previous moment to the current moment. The wind farm to be predicted is the wind farm that needs wind speed prediction.
[0085] S13, determining the wind speed corresponding to the wind farm to be predicted at the next moment based on the average wind speed corresponding to the wind farm to be predicted from the previous moment to the current moment.
[0086] In one implementation, the average wind speed corresponding to the wind farm to be predicted from the previous moment to the current moment may be directly determined as the wind speed corresponding to the wind farm to be predicted at the next moment.
[0087] In one implementation, a mapping relationship between the average wind speed corresponding to the previous moment to the current moment in the historical period of the wind farm to be predicted and the wind speed corresponding to the next moment can be statistically calculated. Based on the mapping relationship and the average wind speed corresponding to the previous moment to the current moment of the wind farm to be predicted, the wind speed corresponding to the wind farm to be predicted at the next moment is determined.
[0088] Combine the following Figure 2 The process of determining mean wind speed is described.
[0089] Figure 2 The flowchart for determining the average wind speed of the wind farm to be predicted from the previous moment to the current moment provided in the embodiment of the present application is as follows: Figure 2 As shown, including:
[0090] S21, performing standardization processing on the water vapor value matrix at the current moment and the water vapor value matrix at the previous moment respectively, to obtain the standardized water vapor value matrix at the current moment and the standardized water vapor value matrix at the previous moment.
[0091] The standardization processing of the water vapor value matrix can be to calculate the mean and variance corresponding to the water vapor value matrix based on the values of each element in the water vapor value matrix, and then standardize the water vapor value matrix based on the mean and variance corresponding to the water vapor value matrix to obtain the corresponding standardized water vapor value matrix.
[0092] Taking the standardization process of the water vapor value matrix at the current moment as an example, the water vapor value matrix at the current moment is denoted as R, and the kth element in R is r k , then the kth element r′ in the standardized water vapor value matrix R′ at the current moment obtained after R is standardized k for:
[0093] r′ k =(r k -μ) / σ (2)
[0094] Among them, μ is the mean of each element in R, Indicates that the average value of each element in R is calculated;
[0095] σ is the variance of each element in R, d represents the number of elements included in R, and d is a positive integer.
[0096] S22, based on the location and preset size of the wind farm to be predicted, the standardized water vapor value matrix of the previous moment is screened to obtain a reference water vapor value matrix, the reference water vapor value matrix includes the standardized water vapor values of multiple location points in the target area at the previous moment, and the multiple location points include the location of the wind farm to be predicted.
[0097] The reference water vapor value matrix is a subset of the standardized water vapor value matrix of the previous moment, that is, each element in the reference water vapor value matrix is included in the standardized water vapor value matrix of the previous moment. The standardized water vapor value matrix of the previous moment includes the standardized water vapor value of the location of the wind farm to be predicted. Therefore, based on the location and preset size of the wind farm to be predicted, the standardized water vapor value matrix of the previous moment can be screened, and the standardized water vapor value matrix of the previous moment can be intercepted to obtain the reference water vapor value matrix. The reference water vapor value matrix includes the standardized water vapor values of multiple location points at the previous moment, wherein the multiple location points include the location of the wind farm to be predicted. The target area includes the location of the wind farm to be predicted, wherein the target area may be an area centered on the location of the wind farm to be predicted, or may not be an area centered on the location of the wind farm to be predicted.
[0098] In a possible implementation, the standardized water vapor value matrix of the previous moment is screened based on a preset size with the location of the wind farm to be predicted as the center to obtain a reference water vapor value matrix. For example, the preset time length is 10° longitude and latitude, and it can be determined that any position point in the target area satisfies the following formula (3) and formula (4):
[0099] (lonDes-5°)<=lon<=(lonDes+5°) (3)
[0100] (latDes-5°)<=lat<=(latDes+5°) (4)
[0101] Among them, lonDes is the longitude of the wind farm to be predicted, latDes is the latitude of the wind farm to be predicted; lon is the longitude of the location point in the target area, and lat is the latitude of the location point in the target area.
[0102] That is to say, for the elements in the standardized water vapor value matrix at the previous moment, only the standardized water vapor values of the position points in the target area are retained to obtain the reference water vapor value matrix.
[0103] S23, determining an average wind speed of the wind farm to be predicted from a previous moment to the current moment based on the reference water vapor value matrix, the standardized water vapor value matrix at the current moment and the location of the wind farm to be predicted.
[0104] Specifically, firstly, based on a preset step size and the size of a reference water vapor value matrix, a sliding traversal is performed on the standardized water vapor value matrix at the current moment to obtain a plurality of water vapor value matrix fragments.
[0105] The preset step size can be set as needed, for example, it can be set to 1, 2, 3 or other appropriate values. Then, based on the preset step size and the size of the reference water vapor value matrix, the standardized water vapor value matrix at the current moment can be traversed by sliding to obtain multiple water vapor value matrix fragments, and the multiple water vapor value matrix fragments all belong to the subset of the standardized water vapor value matrix at the current moment, and the size of each water vapor value matrix fragment is the same as the size of the reference water vapor value matrix.
[0106] For example, the sliding traversal process can be seen Figure 3 Introduction.
[0107] Figure 3 A schematic diagram of a sliding traversal provided in an embodiment of the present application, such as Figure 3 As shown, the standardized water vapor value matrix at the current moment is matrix 31, and the reference water vapor value matrix is matrix 32. Matrix 31 is a 7*8 matrix. Figure 3 In the figure, 1-56 represent the numbers of the elements in the matrix 32, and do not represent the specific water vapor value data. The matrix 32 is initially located in the upper left corner of the matrix 31, and the area covered by the matrix 32 in the matrix 31 is determined as a water vapor value matrix fragment 311. Then the matrix 32 is slid with a preset step size of 1, and the area covered by the matrix 32 changes, and the area covered by the matrix 32 in the matrix 31 is determined as a water vapor value matrix fragment 312. Then the matrix 32 is slid with a preset step size of 1, and the area covered by the matrix 32 changes, and the area covered by the matrix 32 in the matrix 31 is determined as a water vapor value matrix fragment 313. Continuously sliding and traversing, multiple water vapor value matrix fragments can be obtained.
[0108] After a plurality of water vapor value matrix segments are determined, a correlation value between the reference water vapor value matrix and each water vapor value matrix segment may be determined, where the correlation value is used to indicate the correlation between the reference water vapor value matrix and the corresponding water vapor value matrix segment.
[0109] For any water vapor value matrix segment among the multiple water vapor value matrix segments, the correlation value between the reference water vapor value matrix and the water vapor value matrix segment satisfies the following formula (5):
[0110]
[0111] Wherein, r is the correlation value between the reference water vapor value matrix and the water vapor value matrix fragment; n is the number of elements included in the reference water vapor value matrix; r i,t+1 represents the i-th element in the water vapor value matrix segment; R t+1 Represents a water vapor value matrix fragment; represents the variance of the water vapor value matrix segment; r′ i,t represents the i-th element in the reference water vapor value matrix; R′ t represents the reference water vapor value matrix; Represents the variance of the reference water vapor value matrix.
[0112] Based on the above formula (5), the correlation value between each water vapor value matrix segment and the reference water vapor value matrix can be obtained. Then, based on the correlation value between the reference water vapor value matrix and each water vapor value matrix segment, the average wind speed of the wind farm to be predicted from the previous moment to the current moment can be determined. Figure 4 This section introduces the process.
[0113] Figure 4 A flow chart for determining the average wind speed based on the correlation value provided in an embodiment of the present application is as follows: Figure 4 As shown, including:
[0114] S41, determining a maximum correlation value among the correlation values between the reference water vapor value matrix and each water vapor value matrix segment.
[0115] Based on the above formula (5), the correlation values between each water vapor value matrix segment and the reference water vapor value matrix have been determined, and the maximum value among these correlation values is the maximum correlation value.
[0116] S42, determining a reference position based on the target water vapor value matrix segment corresponding to the maximum correlation value.
[0117] The target water vapor value matrix segment is a water vapor value matrix segment whose correlation value with the reference water vapor value matrix is the maximum correlation value among the multiple water vapor value matrices. The target water vapor value matrix segment also includes standardized water vapor values of several different position points, and the reference position is a position point among the several different position points in the target water vapor value matrix segment. For example, the reference position can be any position point among the several different position points, or a central position point, etc.
[0118] S43, determining an average wind speed of the wind farm to be predicted from the previous moment to the current moment based on the reference position, the position of the wind farm to be predicted and the time period from the previous moment to the current moment.
[0119] The reference position includes the corresponding reference longitude and reference latitude. After obtaining the reference position, first determine the first difference between the reference longitude and the longitude of the wind farm to be predicted, and the second difference between the reference latitude and the latitude of the wind farm to be predicted. Then, based on the first difference and the time period, determine the wind speed corresponding to the longitude direction of the wind farm to be predicted; based on the second difference and the time period, determine the wind speed corresponding to the latitude direction of the wind farm to be predicted. The time period is the time period between the current moment and the previous moment. The average wind speed includes the wind speed corresponding to the longitude direction of the wind farm to be predicted and the wind speed corresponding to the latitude direction of the wind farm to be predicted. The specific calculation process can be seen in the following equations (6) and (7):
[0120] vLon=(lonx-lonDes) / T (6)
[0121] vLat=(latx-latDes) / T (7)
[0122] Wherein, vLon is the wind speed corresponding to the longitude direction of the wind farm to be predicted, lonx is the reference longitude, lonDes is the longitude of the wind farm to be predicted, T is the time period from the previous moment to the current moment, and (lonx-lonDes) represents the first difference between the reference longitude and the longitude of the wind farm to be predicted;
[0123] vLat is the wind speed corresponding to the wind farm to be predicted in the latitude direction, latx is the reference latitude, latDes is the latitude of the wind farm to be predicted, and (latx-latDes) represents the second difference between the reference latitude and the latitude of the wind farm to be predicted.
[0124] After obtaining the wind speed corresponding to the longitude direction of the wind farm to be predicted and the wind speed corresponding to the latitude direction of the wind farm to be predicted, the wind speed corresponding to the longitude direction of the wind farm to be predicted and the wind speed corresponding to the latitude direction of the wind farm to be predicted can be input into the wind speed prediction model to obtain the wind speed corresponding to the wind farm to be predicted at the next moment.
[0125] Among them, the wind speed prediction model is trained based on the wind speeds corresponding to multiple sample wind farms in the longitude direction and the wind speeds corresponding to the sample wind farms in the latitude direction, as well as the corresponding wind speed labels.
[0126] In a possible implementation, a data set within a period of time Tx can be first obtained, where Tx can be, for example, one year, two years or other durations. Tx includes multiple moments, and each moment t can obtain a corresponding water vapor value matrix based on the satellite. Then, for the water vapor value matrices of the previous moment t-1 and the current moment t, as well as the location of the wind farm to be predicted, the average wind speed of the wind farm to be predicted from moment t-1 to moment t can be obtained. Then the server also needs to obtain the wind speed WS measured at moment t, and then use the wind speed WS measured at moment t as the predicted wind speed label corresponding to the next moment. That is, the time values in the WS concentration are time-shifted according to the forecast period d, and then the processed WS is used as the label, and the average wind speed V is used as the input, and a multivariate regression fitting is performed to obtain the model fx. The relationship is abbreviated as follows:
[0127] WS(t+d)=fx(vLon,vLat) (8)
[0128] fx is the wind speed prediction model obtained by multivariate regression fitting. When the wind speed at time d in the future is to be predicted, it is only necessary to calculate the average wind speed at the current moment through the steps of the above embodiment to obtain vLon and vLat, and then bring them into the above formula (8) to obtain the predicted wind speed at the next moment in the future (i.e., time d).
[0129] The wind speed prediction method provided by the embodiment of the present application first obtains the water vapor value matrix at the current moment and the water vapor value matrix at the previous moment of the current moment, and the water vapor value matrix includes water vapor values corresponding to different longitudes and latitudes; then, based on the water vapor value matrix at the current moment, the water vapor value matrix at the previous moment and the position of the wind farm to be predicted, the average wind speed corresponding to the wind farm to be predicted from the previous moment to the current moment is determined; thus, based on the average wind speed corresponding to the wind farm to be predicted from the previous moment to the current moment, the wind speed corresponding to the wind farm to be predicted at the next moment is determined. The scheme of the embodiment of the present application, because the average wind speed corresponding to the wind farm to be predicted from the previous moment to the current moment is determined by the water vapor value matrix, the water vapor value matrix includes water vapor values corresponding to different longitudes and latitudes, and the water vapor value can reflect the movement of water vapor in the atmosphere, so that the average wind speed can be obtained more accurately, and then the wind speed corresponding to the wind farm to be predicted at the next moment is obtained based on the average wind speed. Compared with the traffic volume data of the visible light channel, the water vapor value can provide relevant information about atmospheric movement in all time periods and all spaces, thereby improving the accuracy of wind speed prediction.
[0130] The wind speed prediction device provided in the present application is described below. The wind speed prediction device described below and the wind speed prediction method described above can be referenced to each other.
[0131] Figure 5 A schematic diagram of the structure of a wind speed prediction device provided in an embodiment of the present application is shown in FIG. Figure 5As shown, the device comprises:
[0132] An acquisition module 51 is used to acquire a water vapor value matrix at a current moment and a water vapor value matrix at a moment before the current moment, wherein the water vapor value matrix includes water vapor values corresponding to different longitudes and latitudes;
[0133] A determination module 52, configured to determine an average wind speed of the wind farm to be predicted from the previous moment to the current moment based on the water vapor value matrix at the current moment, the water vapor value matrix at the previous moment and the position of the wind farm to be predicted;
[0134] The processing module 53 is used to determine the wind speed corresponding to the wind farm to be predicted at the next moment based on the average wind speed corresponding to the wind farm to be predicted from the previous moment to the current moment.
[0135] In a possible implementation manner, the determining module 52 is specifically configured to:
[0136] Standardizing the water vapor value matrix at the current moment and the water vapor value matrix at the previous moment respectively to obtain the standardized water vapor value matrix at the current moment and the standardized water vapor value matrix at the previous moment;
[0137] Based on the location and preset size of the wind farm to be predicted, the standardized water vapor value matrix at the previous moment is screened to obtain a reference water vapor value matrix, wherein the reference water vapor value matrix includes standardized water vapor values of multiple location points in the target area at the previous moment, and the multiple location points include the location of the wind farm to be predicted;
[0138] Based on the reference water vapor value matrix, the standardized water vapor value matrix at the current moment and the location of the wind farm to be predicted, an average wind speed of the wind farm to be predicted corresponding to the period from the previous moment to the current moment is determined.
[0139] In a possible implementation manner, the determining module 52 is specifically configured to:
[0140] Based on a preset step size and the size of the reference water vapor value matrix, slidingly traverse the standardized water vapor value matrix at the current moment to obtain a plurality of water vapor value matrix fragments;
[0141] Determine a correlation value between the reference water vapor value matrix and each of the water vapor value matrix segments, the correlation value being used to indicate a correlation between the reference water vapor value matrix and a corresponding water vapor value matrix segment;
[0142] Based on the correlation value between the reference water vapor value matrix and each of the water vapor value matrix segments, an average wind speed of the wind farm to be predicted corresponding to the previous moment to the current moment is determined.
[0143] In a possible implementation manner, for any water vapor value matrix segment among the multiple water vapor value matrix segments, a correlation value between the reference water vapor value matrix and the water vapor value matrix segment satisfies:
[0144]
[0145] Wherein, r is the correlation value between the reference water vapor value matrix and the water vapor value matrix fragment; n is the number of elements included in the reference water vapor value matrix; r i,t+1 represents the i-th element in the water vapor value matrix fragment; R t+1 represents the water vapor value matrix fragment; represents the variance of the water vapor value matrix segment; r′ i,t represents the i-th element in the reference water vapor value matrix; R′ t represents the reference water vapor value matrix; represents the variance of the reference water vapor value matrix.
[0146] In a possible implementation manner, the determining module 52 is specifically configured to:
[0147] Determining a maximum correlation value among the correlation values between the reference water vapor value matrix and each of the water vapor value matrix segments;
[0148] determining a reference position based on the target water vapor value matrix fragment corresponding to the maximum correlation value;
[0149] Based on the reference position, the position of the wind farm to be predicted and the time period from the previous moment to the current moment, an average wind speed of the wind farm to be predicted corresponding to the period from the previous moment to the current moment is determined.
[0150] In a possible implementation manner, the reference position includes a reference longitude and a reference latitude, and the determination module 52 is specifically configured to:
[0151] Determining a first difference between the reference longitude and the longitude of the wind farm to be predicted, and a second difference between the reference latitude and the latitude of the wind farm to be predicted;
[0152] Based on the first difference and the time period, determining the wind speed corresponding to the wind farm to be predicted in the longitude direction;
[0153] Based on the second difference and the time period, determining the wind speed corresponding to the wind farm to be predicted in the latitudinal direction;
[0154] The average wind speed includes the wind speed corresponding to the longitude direction of the wind farm to be predicted and the wind speed corresponding to the latitude direction of the wind farm to be predicted.
[0155] In a possible implementation manner, the processing module 53 is specifically configured to:
[0156] Inputting the wind speed corresponding to the longitude direction of the wind farm to be predicted and the wind speed corresponding to the latitude direction of the wind farm to be predicted into the wind speed prediction model to obtain the wind speed corresponding to the wind farm to be predicted at the next moment;
[0157] The wind speed prediction model is obtained by training based on the wind speeds corresponding to a plurality of sample wind farms in the longitude direction and the wind speeds corresponding to the sample wind farms in the latitude direction, as well as the corresponding wind speed labels.
[0158] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6 As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communication interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute a wind speed prediction method, the method comprising: obtaining a water vapor value matrix at the current moment and a water vapor value matrix at the previous moment of the current moment, the water vapor value matrix comprising water vapor values corresponding to different longitudes and latitudes; determining the average wind speed corresponding to the wind farm to be predicted from the previous moment to the current moment based on the water vapor value matrix at the current moment, the water vapor value matrix at the previous moment and the position of the wind farm to be predicted; determining the wind speed corresponding to the wind farm to be predicted at the next moment based on the average wind speed corresponding to the wind farm to be predicted from the previous moment to the current moment.
[0159] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0160] On the other hand, the present application also provides a computer program product, which includes a computer program, and the computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the wind speed prediction method provided by the above-mentioned methods, and the method includes: obtaining a water vapor value matrix at a current moment and a water vapor value matrix at a moment before the current moment, and the water vapor value matrix includes water vapor values corresponding to different longitudes and latitudes; based on the water vapor value matrix at the current moment, the water vapor value matrix at the previous moment and the position of the wind farm to be predicted, determining the average wind speed of the wind farm to be predicted from the previous moment to the current moment; based on the average wind speed of the wind farm to be predicted from the previous moment to the current moment, determining the wind speed corresponding to the wind farm to be predicted at the next moment.
[0161] On the other hand, the present application also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the wind speed prediction method provided by the above-mentioned methods, the method comprising: obtaining a water vapor value matrix at a current moment and a water vapor value matrix at a moment before the current moment, the water vapor value matrix comprising water vapor values corresponding to different longitudes and latitudes; determining the average wind speed of the wind farm to be predicted from the previous moment to the current moment based on the water vapor value matrix at the current moment, the water vapor value matrix at the previous moment and the position of the wind farm to be predicted; determining the wind speed of the wind farm to be predicted at the next moment based on the average wind speed of the wind farm to be predicted from the previous moment to the current moment.
[0162] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0163] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0164] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for predicting wind speed, characterized in that: include: Obtaining a water vapor value matrix at a current moment and a water vapor value matrix at a moment before the current moment, wherein the water vapor value matrix includes water vapor values corresponding to different longitudes and latitudes; Determine the average wind speed of the wind farm to be predicted from the previous moment to the current moment based on the water vapor value matrix at the current moment, the water vapor value matrix at the previous moment and the position of the wind farm to be predicted; Determining the wind speed corresponding to the wind farm to be predicted at a next moment based on the average wind speed corresponding to the wind farm to be predicted from the previous moment to the current moment; The determining, based on the water vapor value matrix at the current moment, the water vapor value matrix at the previous moment and the position of the wind farm to be predicted, an average wind speed of the wind farm to be predicted from the previous moment to the current moment, comprises: Standardizing the water vapor value matrix at the current moment and the water vapor value matrix at the previous moment respectively to obtain the standardized water vapor value matrix at the current moment and the standardized water vapor value matrix at the previous moment; Based on the location and preset size of the wind farm to be predicted, the standardized water vapor value matrix at the previous moment is screened to obtain a reference water vapor value matrix, wherein the reference water vapor value matrix includes standardized water vapor values of multiple location points in the target area at the previous moment, and the multiple location points include the location of the wind farm to be predicted; Determine the average wind speed of the wind farm to be predicted from the previous moment to the current moment based on the reference water vapor value matrix, the standardized water vapor value matrix at the current moment and the location of the wind farm to be predicted; The determining, based on the reference water vapor value matrix, the standardized water vapor value matrix at the current moment, and the location of the wind farm to be predicted, an average wind speed of the wind farm to be predicted from the previous moment to the current moment, comprises: Based on a preset step size and the size of the reference water vapor value matrix, slidingly traverse the standardized water vapor value matrix at the current moment to obtain a plurality of water vapor value matrix fragments; Determine a correlation value between the reference water vapor value matrix and each of the water vapor value matrix segments, the correlation value being used to indicate a correlation between the reference water vapor value matrix and a corresponding water vapor value matrix segment; Determine, based on the correlation value between the reference water vapor value matrix and each of the water vapor value matrix segments, an average wind speed of the wind farm to be predicted corresponding to the previous moment to the current moment; The determining, based on the correlation value between the reference water vapor value matrix and each of the water vapor value matrix segments, the average wind speed of the wind farm to be predicted corresponding to the previous moment to the current moment comprises: Determining a maximum correlation value among the correlation values between the reference water vapor value matrix and each of the water vapor value matrix segments; determining a reference position based on the target water vapor value matrix fragment corresponding to the maximum correlation value; Based on the reference position, the position of the wind farm to be predicted and the time period from the previous moment to the current moment, an average wind speed of the wind farm to be predicted corresponding to the period from the previous moment to the current moment is determined.
2. The method according to claim 1, characterized in that For any water vapor value matrix segment among the multiple water vapor value matrix segments, the correlation value between the reference water vapor value matrix and the water vapor value matrix segment satisfies: Wherein, r is the correlation value between the reference water vapor value matrix and the water vapor value matrix fragment; n is the number of elements included in the reference water vapor value matrix; r i,t+1 represents the i-th element in the water vapor value matrix fragment; R t+1 represents the water vapor value matrix fragment; represents the variance of the water vapor value matrix segment; r i ′ ,t represents the i-th element in the reference water vapor value matrix; R ′ t represents the reference water vapor value matrix; represents the variance of the reference water vapor value matrix.
3. The method according to claim 1, characterized in that The reference position includes a reference longitude and a reference latitude, and determining the average wind speed of the wind farm to be predicted from the previous moment to the current moment based on the reference position, the position of the wind farm to be predicted, and the time period from the previous moment to the current moment includes: Determining a first difference between the reference longitude and the longitude of the wind farm to be predicted, and a second difference between the reference latitude and the latitude of the wind farm to be predicted; Based on the first difference and the time period, determining the wind speed corresponding to the wind farm to be predicted in the longitude direction; Based on the second difference and the time period, determining the wind speed corresponding to the wind farm to be predicted in the latitudinal direction; The average wind speed includes the wind speed corresponding to the longitude direction of the wind farm to be predicted and the wind speed corresponding to the latitude direction of the wind farm to be predicted.
4. The method according to claim 3, characterized in that The determining, based on the average wind speed of the wind farm to be predicted from the previous moment to the current moment, the wind speed corresponding to the wind farm to be predicted at the next moment includes: Inputting the wind speed corresponding to the longitude direction of the wind farm to be predicted and the wind speed corresponding to the latitude direction of the wind farm to be predicted into the wind speed prediction model to obtain the wind speed corresponding to the wind farm to be predicted at the next moment; The wind speed prediction model is obtained by training based on the wind speeds corresponding to a plurality of sample wind farms in the longitude direction and the wind speeds corresponding to the sample wind farms in the latitude direction, as well as the corresponding wind speed labels.
5. A wind speed prediction device, characterized in that: include: An acquisition module, used to acquire a water vapor value matrix at a current moment and a water vapor value matrix at a moment before the current moment, wherein the water vapor value matrix includes water vapor values corresponding to different longitudes and latitudes; A determination module, configured to determine an average wind speed of the wind farm to be predicted from the previous moment to the current moment based on the water vapor value matrix at the current moment, the water vapor value matrix at the previous moment and the position of the wind farm to be predicted; A processing module, configured to determine the wind speed corresponding to the wind farm to be predicted at a next moment based on the average wind speed corresponding to the wind farm to be predicted from the previous moment to the current moment; The determination module is specifically used for: Standardizing the water vapor value matrix at the current moment and the water vapor value matrix at the previous moment respectively to obtain the standardized water vapor value matrix at the current moment and the standardized water vapor value matrix at the previous moment; Based on the location and preset size of the wind farm to be predicted, the standardized water vapor value matrix at the previous moment is screened to obtain a reference water vapor value matrix, wherein the reference water vapor value matrix includes standardized water vapor values of multiple location points in the target area at the previous moment, and the multiple location points include the location of the wind farm to be predicted; Determine the average wind speed of the wind farm to be predicted from the previous moment to the current moment based on the reference water vapor value matrix, the standardized water vapor value matrix at the current moment and the location of the wind farm to be predicted; The determination module is specifically used for: Based on a preset step size and the size of the reference water vapor value matrix, slidingly traverse the standardized water vapor value matrix at the current moment to obtain a plurality of water vapor value matrix fragments; Determine a correlation value between the reference water vapor value matrix and each of the water vapor value matrix segments, the correlation value being used to indicate a correlation between the reference water vapor value matrix and a corresponding water vapor value matrix segment; Determine, based on the correlation value between the reference water vapor value matrix and each of the water vapor value matrix segments, an average wind speed of the wind farm to be predicted corresponding to the previous moment to the current moment; The determination module is specifically used for: Determining a maximum correlation value among the correlation values between the reference water vapor value matrix and each of the water vapor value matrix segments; determining a reference position based on the target water vapor value matrix fragment corresponding to the maximum correlation value; Based on the reference position, the position of the wind farm to be predicted and the time period from the previous moment to the current moment, an average wind speed of the wind farm to be predicted corresponding to the period from the previous moment to the current moment is determined.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the wind speed prediction method according to any one of claims 1 to 4 is implemented.
7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the wind speed prediction method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Wind power plant wind speed prediction method and device and electronic equipment
CN110968929A
Wind speed prediction model training method and device, wind speed prediction method and device and electronic equipment
CN112596126A
