Wind speed generation method, system, device and medium based on terrain data constraints
By extracting shallow and deep features from low-resolution feature maps of the wind field, integrating and utilizing terrain constraint data for optimization, the problem of insufficient spatial correlation in wind speed data is solved, and the accuracy of the wind field image resolution and wind speed is significantly improved.
Patent Information
- Application Number
- CN202410192963.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-21
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-02-21
AI Technical Summary
Existing super-resolution technology cannot effectively obtain spatial correlation when processing wind speed data, resulting in low resolution of the generated wind field images and insufficient wind speed accuracy.
By extracting the shallow and deep features of low-resolution wind field feature maps, fusion generates high-resolution reconstructed features, and optimizes them using key terrain constraint data to generate high-resolution wind field feature maps, ultimately obtaining higher wind speed accuracy.
The resolution of wind field images and the accuracy of wind speed are improved, especially in complex terrain areas. Compared with traditional methods, the accuracy rate is increased by more than 41%.
Smart Images

Figure CN118135361B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image vision technology, and in particular to a method, system, device and medium for generating wind speed based on terrain data constraints. Background Art
[0002] Super-resolution technology refers to the technology of improving the spatial resolution of low-resolution images through algorithm processing. Its principle is based on the statistical characteristics between samples, and by learning the mapping relationship between low-resolution images and their corresponding high-resolution images, a high-resolution image can be generated by inputting a low-resolution image. It is mainly used in the fields of image processing and computer vision, and can be used to enhance the clarity and details of images, and improve the recognizability and usability of images.
[0003] In the super-resolution algorithm, the typical model representative is Enhanced Super Resolution Generative Adversarial Networks (ESRGAN). The core of ESRGAN is Generative Adversarial Network (GAN), which consists of two main parts: Generator and Discriminator. The generator usually consists of multiple convolutional layers and deconvolutional layers, through which the features and structures of the image are learned. Its goal is to generate high-resolution images that are close enough to the real images. The generator improves its performance by minimizing the gap between the generated image and the real image (usually using a pixel-level loss function). The task of the discriminator is to judge whether the generated high-resolution image is similar to the real high-resolution image. It accepts two inputs: the image generated by the generator and the real high-resolution image, and tries to distinguish them. The goal of the discriminator is to make the image generated by the generator as close to the real image as possible, and it improves its performance by maximizing the recognition of these differences. The training process of ESRGAN is a competitive process. During training, the generator and the discriminator compete with each other and continuously improve their performance. It uses a perceptual loss function which takes into account the perceptual features of the image to make the generated image closer to the real image. This helps to avoid distortion in the generated image.
[0004] Although existing super-resolution technologies such as ESRGAN have shown good results in improving the resolution of natural images, they have some obvious defects when processing wind speed super-resolution (downscaling). For example, there are obvious differences in data characteristics between wind speed data and natural images. Natural images usually contain complex textures, structures and colors, while wind speed is constrained by physical conditions and conforms to the laws of fluid dynamics. Especially under the influence of complex terrain, it is difficult to reproduce the accuracy of wind speed.
[0005] Wind speed data is constrained by physical conditions and has spatial correlation. The upstream wind speed will have a significant impact on the downstream wind speed. For example, the high wind speed brought by the upstream strong weather system will definitely be transmitted to the downstream, making the downstream wind speed larger. Since the spatial correlation cannot be well obtained, it is impossible to give higher influence weights to spatially related areas, resulting in low resolution of the generated wind field image, which leads to low accuracy of the generated wind speed. Summary of the invention
[0006] The purpose of the present invention is to provide a wind speed generation method, system, device and medium based on terrain data constraints, so as to solve the problem that the prior art cannot obtain spatial correlation well and cannot give spatially related areas a higher influence weight, resulting in low resolution of the generated wind field image, thereby causing low accuracy of the generated wind speed.
[0007] To achieve the above object, the present invention provides the following solutions:
[0008] A method for generating wind speed based on terrain data constraints, comprising:
[0009] Extracting shallow features of the wind field from the low-resolution feature map of the wind field;
[0010] Extracting deep features of the wind field according to the shallow features of the wind field, and further fusing the extracted deep features of the wind field and the shallow features of the wind field to obtain fused features;
[0011] Extracting high-resolution reconstruction features of the wind field according to the fusion features;
[0012] Optimizing the high-resolution reconstruction features of the wind farm according to the terrain constraint key data to generate a high-resolution feature map of the wind farm;
[0013] Generating the wind speed of the current wind field according to the high-resolution characteristic map of the wind field;
[0014] The high resolution is a resolution higher than a preset threshold, and the low resolution is a resolution lower than the preset threshold.
[0015] Optionally, extracting shallow features of the wind field from the low-resolution feature map of the wind field, which also includes:
[0016] A low-resolution characteristic map of the wind field is obtained.
[0017] Optionally, the shallow feature extraction module is a 3*3 convolutional layer.
[0018] Optionally, the deep feature extraction module includes: 6 residual modules and 1 convolutional layer;
[0019] Each of the residual modules is an encoder with a 6-layer multi-head self-attention mechanism;
[0020] The shallow features of the wind field are sequentially passed through the six residual modules and the one convolutional layer to output the deep features of the wind field; the deep features of the wind field are fused with the shallow features of the wind field to output the fused features.
[0021] Optionally, the wind field high-resolution reconstruction feature is:
[0022] W SR =F SR (W 1,0 +W DF );
[0023] Among them, W SR is the high-resolution reconstruction feature of the wind field, F SR is the high-resolution reconstruction function, W 1,0 is the shallow layer characteristic of the wind field, W DF It is the deep characteristic of the wind field.
[0024] Optionally, the wind farm high-resolution reconstruction features are optimized according to the terrain constraint key data to generate a wind farm high-resolution feature map, specifically including:
[0025] Using the formula W dem =F UNet (W SR ,T origin ), optimizing the high-resolution reconstruction features of the wind field according to the key data of terrain constraints, and generating a high-resolution feature map of the wind field;
[0026] Among them, W SR For high-resolution reconstruction of wind field features, T origin is the key data of terrain constraints, F UNet is the terrain guidance module, W dem It is a high-resolution characteristic map of the wind field.
[0027] Optionally, the wind farm high-resolution reconstruction feature is optimized according to the terrain constraint key data to generate a wind farm high-resolution feature map, and then the method further includes: optimizing the wind farm high-resolution reconstruction feature according to the terrain constraint key data to generate a terrain elevation feature;
[0028] The terrain elevation characteristics are: T autoencoder =F UNet (W SR ,T origin );
[0029] Among them, W SR For high-resolution reconstruction of wind field features, T origin is the key data of terrain constraints, FUNet is the terrain guidance module, T autoencoder It is a terrain elevation feature.
[0030] A wind speed generation system based on terrain data constraints, comprising: a shallow feature extraction module, a deep feature extraction module, a high-resolution reconstruction module, a terrain guidance module and a wind speed generation module;
[0031] The shallow feature extraction module is connected to the deep feature extraction module, and is used to extract the shallow features of the wind field from the low-resolution feature map of the wind field, and transmit the shallow features of the wind field to the deep feature extraction module;
[0032] The deep feature extraction module is connected to the high-resolution reconstruction module, and is used to extract the deep features of the wind field according to the shallow features of the wind field, further fuse the extracted deep features of the wind field and the shallow features of the wind field, and transmit the fused features obtained after fusion to the high-resolution reconstruction module;
[0033] The high-resolution reconstruction module is connected to the terrain guidance module, and is used to extract the high-resolution reconstruction features of the wind field according to the fusion features, and transmit the high-resolution reconstruction features of the wind field to the terrain guidance module;
[0034] The terrain guidance module is used to optimize the high-resolution reconstruction features of the wind farm according to the terrain constraint key data to generate a high-resolution feature map of the wind farm;
[0035] The wind speed generating module is used to generate the wind speed of the current wind field according to the wind field high-resolution characteristic map;
[0036] The high resolution is a resolution higher than a preset threshold, and the low resolution is a resolution lower than the preset threshold.
[0037] An electronic device comprises a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the wind speed generation method based on terrain data constraints as described above.
[0038] A computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the wind speed generation method based on terrain data constraints as described above.
[0039] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0040] The wind speed generation method, system, device and medium based on terrain data constraint provided by the present invention extracts the shallow features of the wind field from the low-resolution feature map of the wind field; extracts the deep features of the wind field according to the shallow features of the wind field, and further fuses the extracted deep features of the wind field and the shallow features of the wind field to obtain the fusion features; extracts the high-resolution reconstruction features of the wind field according to the fusion features; optimizes the high-resolution reconstruction features of the wind field according to the terrain constraint key data to generate the high-resolution feature map of the wind field; and then generates the wind speed of the current wind field according to the low-resolution feature map of the wind field. Due to the introduction of the terrain constraint key data, the spatial correlation can be well obtained, and the spatial related areas are given a higher influence weight, so that the resolution of the generated wind field image is higher, and the accuracy of the generated wind speed of the current wind field is further improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0042] Figure 1 A flow chart of a method for generating wind speed based on terrain data constraints provided by the present invention;
[0043] Figure 2 A schematic diagram of a terrain data constrained wind speed super-resolution optimization algorithm in the present invention;
[0044] Figure 3 It is a wind field diagram based on the traditional bilinear interpolation algorithm in the prior art;
[0045] Figure 4 A high-resolution wind field map determined by the terrain-constrained super-resolution model of the present invention;
[0046] Figure 5 It is a high-resolution characteristic map of the wind field in the present invention.
[0047] Explanation of symbols:
[0048] Shallow feature extraction module—1, deep feature extraction module—2, high-resolution reconstruction module—3, terrain guidance module—4. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] The purpose of the present invention is to provide a wind speed generation method, system, equipment and medium based on terrain data constraints. By introducing key terrain constraint data, the spatial correlation can be well obtained, and a higher influence weight can be given to spatially related areas, so that the generated wind field image has a higher resolution, further improving the accuracy of the generated wind speed.
[0051] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0052] Embodiment 1
[0053] like Figure 1-Figure 2 As shown, the wind speed generation method based on terrain data constraints provided by the present invention includes:
[0054] Step 101: extracting wind field shallow features from a wind field low-resolution feature map.
[0055] Step 102: extracting deep features of the wind field according to shallow features of the wind field, and further fusing the extracted deep features of the wind field and shallow features of the wind field to obtain fused features. The shallow features mainly contain low-frequency information, while the deep features focus on restoring lost high-frequency information.
[0056] Step 103: extracting high-resolution reconstruction features of the wind field based on the fused features.
[0057] Step 104 , optimizing the high-resolution reconstruction features of the wind farm according to the terrain constraint key data, and generating a high-resolution feature map of the wind farm.
[0058] Step 105: Generate the wind speed of the current wind field according to the high-resolution characteristic map of the wind field.
[0059] The high resolution is a resolution higher than a preset threshold, and the low resolution is a resolution lower than a preset threshold.
[0060] Furthermore, before step 101, the process also includes: obtaining a low-resolution feature map of the wind field.
[0061] Specifically, the ERA5-Land reanalysis data of 0.1° in the center of Europe is obtained as the label data set of the high-resolution feature map of the wind field, and the reanalysis data of 1° is generated by sparsely sampling it by 10 times as the feature data set of the low-resolution feature map of the wind field. The above method of obtaining the feature data set of the low-resolution feature map of the wind field is only an embodiment, and the feature data set of the low-resolution feature map of the wind field can also be obtained by other methods, and the present invention includes but is not limited to the above method.
[0062] Furthermore, the shallow feature extraction module 1 is a 3*3 convolutional layer. The shallow features are extracted through a 3*3 convolutional layer, and the convolutional layer is optimized and stable, and can better extract the shallow features.
[0063] Specifically, the shallow characteristics of the wind field are: W 1,0 =F SF (W LQ ).
[0064] Among them, W 1,0 is the shallow layer characteristic of the wind field, F SF is the shallow feature extraction function, W LQ It is a low-resolution feature dataset of wind fields.
[0065] Furthermore, the deep feature extraction module 2 includes: 6 residual modules and 1 convolutional layer.
[0066] Each residual module is an encoder with a 6-layer multi-head self-attention mechanism.
[0067] The shallow features of the wind field are sequentially passed through 6 residual modules and 1 convolutional layer to output the deep features of the wind field. The deep features of the wind field are fused with the shallow features of the wind field to output the fused features. Specifically, the encoders of the 6 multi-head self-attention mechanisms are superimposed with a convolutional layer, and the output of the convolutional layer is fused with the shallow features of the wind field to form a residual structure.
[0068] Specifically, the deep characteristics of the wind field are: W i,j =F MSA (W i,j-1 ),i=1,2...6,j=1,2,...6.
[0069] And, W i,0 =F CONV (W i-1,6 )+W i-1,0 ,i=2,3...7,W DF =F CONV (W 7,0 ).
[0070] Among them, W i,j is the deep feature of the wind field, i is the residual module, j is the multi-head self-attention mechanism layer, FMSA is a multi-head self-attention mechanism, F CONV is a 3*3 convolutional layer, W DF It is the deep characteristic of the wind field.
[0071] Furthermore, the high-resolution reconstruction characteristics of the wind field are: W SR =F SR (W 1,0 +W DF ).
[0072] Among them, W SR is the high-resolution reconstruction feature of the wind field, F SR is the high-resolution reconstruction function, W 1,0 is the shallow layer characteristic of the wind field, W DF It is the deep characteristic of the wind field.
[0073] Furthermore, the high-resolution reconstruction features of the wind farm are optimized according to the key data of terrain constraints to generate a high-resolution feature map of the wind farm, including:
[0074] Using the formula W dem =F UNet (W SR ,T origin ), optimizing the high-resolution reconstruction features of the wind field according to the key data of terrain constraints, and generating a high-resolution feature map of the wind field;
[0075] Among them, W SR For high-resolution reconstruction of wind field features, T origin is the key data of terrain constraints, F UNet is the terrain guidance module, W dem It is a high-resolution characteristic map of the wind field.
[0076] Furthermore, the high-resolution reconstruction features of the wind farm are optimized according to the key data of terrain constraints to generate a high-resolution feature map of the wind farm, and then the following are included:
[0077] The high-resolution reconstruction features of the wind farm are optimized based on the key data of terrain constraints to generate terrain elevation features;
[0078] The terrain elevation characteristics are: T autoencoder =F UNet (W SR ,T origin );
[0079] Among them, W SR For high-resolution reconstruction of wind field features, T origin is the key data of terrain constraints, F UNet is the terrain guidance module, T autoencoder It is a terrain elevation feature.
[0080] Specifically, using the loss function Loss = MAE (W dem ,W HQ )+MAE(T autoencoder ,T origin ), optimize the high-resolution reconstruction features of the wind field according to the key data of terrain constraints, and generate a high-resolution feature map of the wind field.
[0081] Among them, Loss is the loss function, MAE(W dem ,W HQ ) is the mean absolute error between the terrain constraint key data and the wind field high-resolution characteristic map; MAE(T autoencoder ,T origin ) is the mean absolute error of the optimized high-resolution reconstruction features of the wind field and the optimized terrain elevation features.
[0082] Loss is the sum of the two mean absolute errors, which is used as the optimization direction of the terrain-constrained super-resolution model. The parameters of the entire model are continuously updated through back propagation to optimize the model until the model tends to reach a stable output final model.
[0083] Furthermore, terrain elevation data is extracted from the General Bathymetric Chart of the Oceans (GEBCO) and interpolated to 0.1° to obtain terrain constraint key data. In the terrain guidance module 4, the terrain elevation is autoencoded and the spatial structure information of the wind field is optimized.
[0084] like Figure 3-Figure 5 As shown, the wind speed super-resolution optimization algorithm guided by terrain constraint key data has higher spatial structure recognition than the traditional bilinear interpolation algorithm, and can more accurately depict the spatial structure of the wind field, especially in areas with complex terrain, greatly improving the structural similarity and spatial accuracy of wind speed reconstruction. Through statistical testing of one year's wind speed data, the average absolute error of the traditional bilinear interpolation algorithm relative to the true value (wind speed data of the wind field high-resolution characteristic map) is 0.41m / s, while the average absolute error of the wind speed generation method based on terrain data constraints in this application relative to the true value is 0.25m / s. The wind speed generation method based on terrain data constraints in this application improves the accuracy of wind speed reconstruction by more than 41% compared with the traditional bilinear interpolation algorithm.
[0085] Embodiment 2
[0086] like Figure 2 As shown, the wind speed generation system based on terrain data constraints provided by the present invention includes: a shallow feature extraction module 1, a deep feature extraction module 2, a high-resolution reconstruction module 3, a terrain guidance module 4 and a wind speed generation module.
[0087] The shallow feature extraction module 1 is connected to the deep feature extraction module 2 and is used to extract the shallow features of the wind field from the low-resolution feature map of the wind field, and transmit the shallow features of the wind field to the deep feature extraction module 2.
[0088] The deep feature extraction module 2 is connected to the high-resolution reconstruction module 3 and is used to extract the deep features of the wind field according to the shallow features of the wind field, further fuse the extracted deep features of the wind field and the shallow features of the wind field, and transmit the fused features obtained after fusion to the high-resolution reconstruction module 3. The shallow features mainly contain low-frequency information, while the deep features focus on restoring the lost high-frequency information. The two are combined and transmitted to the high-resolution reconstruction module 3 through jump connections.
[0089] The high-resolution reconstruction module 3 is connected to the terrain guidance module 4 and is used to extract the high-resolution reconstruction features of the wind field according to the fusion features, and transmit the high-resolution reconstruction features of the wind field to the terrain guidance module 4.
[0090] The terrain guidance module 4 is used to optimize the high-resolution reconstruction features of the wind farm according to the terrain constraint key data, and generate a high-resolution feature map of the wind farm.
[0091] The wind speed generation module is used to generate the wind speed of the current wind field according to the high-resolution characteristic map of the wind field.
[0092] The high resolution is a resolution higher than a preset threshold, and the low resolution is a resolution lower than the preset threshold.
[0093] Embodiment 3
[0094] An electronic device provided by the present invention includes a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute a wind speed generation method based on terrain data constraints.
[0095] Embodiment 4
[0096] The present invention provides a computer-readable storage medium storing a computer program, which implements a wind speed generation method based on terrain data constraints when the computer program is executed by a processor.
[0097] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0098] The principles, methods and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core ideas of the present invention. At the same time, for those skilled in the art, according to the ideas of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A method for generating wind speed based on terrain data constraints, characterized in that: include: Extracting shallow features of the wind field from the low-resolution feature map of the wind field; Extracting deep features of the wind field according to the shallow features of the wind field, and further fusing the extracted deep features of the wind field and the shallow features of the wind field to obtain fused features; Extracting high-resolution reconstruction features of the wind field according to the fusion features; Optimizing the high-resolution reconstruction features of the wind farm according to the terrain constraint key data to generate a high-resolution feature map of the wind farm; Generating the wind speed of the current wind field according to the high-resolution characteristic map of the wind field; The high resolution is a resolution higher than a preset threshold, and the low resolution is a resolution lower than the preset threshold; The terrain constraint key data is the data extracted from the ocean relief map and interpolated to 0.1°; Using the loss function Loss = MAE (W dem ,W SR )+MAE(T autoencoder ,T origin ), optimizing the high-resolution reconstruction features of the wind field according to the key data of terrain constraints, and generating a high-resolution feature map of the wind field; Among them, W dem is the high-resolution characteristic map of the wind field, W SR For high-resolution reconstruction of wind field features, T autoencoder is the terrain elevation feature, T origin Constrain key data for terrain; Among them, Loss is the loss function, MAE(W dem ,W SR ) is the mean absolute error between the high-resolution feature map of the wind field and the high-resolution reconstruction feature of the wind field; MAE(T autoencoder ,T origin ) is the mean absolute error of terrain elevation features and terrain constraint key data; Loss is the sum of two mean absolute errors, which is used as the optimization direction of the terrain-constrained super-resolution model and is continuously updated through back propagation.
2. The method for generating wind speed based on terrain data constraints according to claim 1, characterized in that: Extract the shallow features of the wind field from the low-resolution feature map of the wind field, which previously also included: A low-resolution characteristic map of the wind field is obtained.
3. The method for generating wind speed based on terrain data constraints according to claim 1, characterized in that: Shallow features are extracted through a 3*3 convolutional layer.
4. The method for generating wind speed based on terrain data constraints according to claim 1, characterized in that: The shallow features of the wind field are sequentially passed through 6 residual modules and 1 convolutional layer to output the deep features of the wind field; Each of the residual modules is an encoder with a 6-layer multi-head self-attention mechanism; The deep features of the wind field are fused with the shallow features of the wind field, and the fused features are output.
5. The method for generating wind speed based on terrain data constraints according to claim 1, characterized in that: The wind field high-resolution reconstruction features are: W SR =F SR (W 1,0 +W DF ); Among them, W SR is the high-resolution reconstruction feature of the wind field, F SR is the high-resolution reconstruction function, W 1,0 is the shallow layer characteristic of the wind field, W DF It is the deep characteristic of the wind field.
6. The method for generating wind speed based on terrain data constraints according to claim 5, characterized in that: The high-resolution reconstruction features of the wind farm are optimized according to the terrain constraint key data to generate a high-resolution feature map of the wind farm, which specifically includes the following formula: The high-resolution characteristic map of the wind field is: dem ,T autoencoder =F UNet (W SR ,T origin ); Among them, W SR For high-resolution reconstruction of wind field features, T origin is the key data of terrain constraints, W dem is the high-resolution characteristic map of the wind field, T autoencoder is the terrain elevation feature, F UNet It is the terrain guidance module; In the terrain guidance module, the terrain elevation is autoencoded and the spatial structure information of the wind field is optimized.
7. A wind speed generation system based on terrain data constraints, characterized in that: The method for generating wind speed based on terrain data constraints according to any one of claims 1 to 6 is adopted, and the wind speed generating system based on terrain data constraints comprises: a shallow feature extraction module, a deep feature extraction module, a high-resolution reconstruction module, a terrain guidance module and a wind speed generating module; The shallow feature extraction module is connected to the deep feature extraction module, and is used to extract the shallow features of the wind field from the low-resolution feature map of the wind field, and transmit the shallow features of the wind field to the deep feature extraction module; The deep feature extraction module is connected to the high-resolution reconstruction module, and is used to extract the deep features of the wind field according to the shallow features of the wind field, further fuse the extracted deep features of the wind field and the shallow features of the wind field, and transmit the fused features obtained after fusion to the high-resolution reconstruction module; The high-resolution reconstruction module is connected to the terrain guidance module and is used to extract the high-resolution reconstruction features of the wind field according to the fusion features, and transmit the high-resolution reconstruction features of the wind field to the terrain guidance module; The terrain guidance module is used to optimize the high-resolution reconstruction features of the wind farm according to the terrain constraint key data to generate a high-resolution feature map of the wind farm; The wind speed generating module is used to generate the wind speed of the current wind field according to the wind field high-resolution characteristic map; The high resolution is a resolution higher than a preset threshold, and the low resolution is a resolution lower than the preset threshold; The terrain constraint key data is the data extracted from the ocean relief map and interpolated to 0.1°; Using the loss function Loss = MAE (W dem ,W SR )+MAE(T autoencoder ,T origin ), optimizing the high-resolution reconstruction features of the wind field according to the key data of terrain constraints, and generating a high-resolution feature map of the wind field; Among them, W dem is the high-resolution characteristic map of the wind field, W SR For high-resolution reconstruction of wind field features, T autoencoder is the terrain elevation feature, T origin Constrain key data for terrain; Among them, Loss is the loss function, MAE(W dem ,W SR ) is the mean absolute error between the high-resolution feature map of the wind field and the high-resolution reconstruction feature of the wind field; MAE(T autoencoder ,T origin ) is the mean absolute error of terrain elevation features and terrain constraint key data; Loss is the sum of two mean absolute errors, which is used as the optimization direction of the terrain-constrained super-resolution model and is continuously updated through back propagation.
8. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the wind speed generation method based on terrain data constraints as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer program is stored therein, and when the computer program is executed by a processor, the method for generating wind speed based on terrain data constraints as described in any one of claims 1 to 6 is implemented.
