CN114444767A - A regional wind speed prediction method based on data fusion and convolution long and short time series analysis network model - Google Patents
A regional wind speed prediction method based on data fusion and convolution long and short time series analysis network model Download PDFInfo
- Publication number
- CN114444767A CN114444767A CN202111571208.5A CN202111571208A CN114444767A CN 114444767 A CN114444767 A CN 114444767A CN 202111571208 A CN202111571208 A CN 202111571208A CN 114444767 A CN114444767 A CN 114444767A
- Authority
- CN
- China
- Prior art keywords
- wind speed
- data
- grid
- time
- target area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000004927 fusion Effects 0.000 title claims abstract description 73
- 238000000034 method Methods 0.000 title claims abstract description 70
- 238000012731 temporal analysis Methods 0.000 title claims description 32
- 238000000700 time series analysis Methods 0.000 title claims description 32
- 238000012549 training Methods 0.000 claims description 13
- 238000005096 rolling process Methods 0.000 claims description 2
- 238000013461 design Methods 0.000 abstract description 4
- 238000012545 processing Methods 0.000 abstract description 3
- 238000012300 Sequence Analysis Methods 0.000 abstract description 2
- 230000036039 immunity Effects 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 27
- 238000010586 diagram Methods 0.000 description 6
- 238000013528 artificial neural network Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 241000207199 Citrus Species 0.000 description 2
- 235000020971 citrus fruits Nutrition 0.000 description 2
- 238000012417 linear regression Methods 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000011217 control strategy Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 238000000611 regression analysis Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Strategic Management (AREA)
- Human Resources & Organizations (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Computation (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Marketing (AREA)
- Biophysics (AREA)
- General Business, Economics & Management (AREA)
- Biomedical Technology (AREA)
- Molecular Biology (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Tourism & Hospitality (AREA)
- Game Theory and Decision Science (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Entrepreneurship & Innovation (AREA)
- Development Economics (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- Primary Health Care (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种基于数据融合和卷积长短时序分析网络模型的区域风速预测方法,属于风速预测技术领域。The invention relates to a regional wind speed prediction method based on data fusion and convolution long and short time series analysis network models, and belongs to the technical field of wind speed prediction.
背景技术Background technique
大风天气会对柑橘生产产生极大影响,当风速到达一定程度时,会使柑橘的产量减产,为了使果农们提前做好措施应对大风天气,需要预测出大风天气。Strong winds will have a great impact on citrus production. When the wind speed reaches a certain level, the production of citrus will be reduced. In order to enable fruit farmers to take measures to deal with strong winds in advance, it is necessary to predict strong winds.
现有风速预测常会涉及NCEP、气象站点数据,NCEP是由美国环境预报中心和美国大气研究中心联合推出的气象领域数据,其数据向全世界免费提供使用,其中包括风速,湿度等数据,因其数据更新及时、免费等因素被广泛应用于气象预测方面。Existing wind speed forecasts often involve NCEP and meteorological station data. NCEP is meteorological data jointly launched by the US Center for Environmental Prediction and the US Center for Atmospheric Research. Its data is freely available to the world, including wind speed, humidity and other data. Factors such as timely and free data update are widely used in meteorological forecasting.
但是现有技术关于风速的预测方式中,没有一个完整、高效的系统测量方式,并且在实际的风速预测过程中,预测结果准确率不高。However, in the existing wind speed prediction methods, there is no complete and efficient system measurement method, and in the actual wind speed prediction process, the accuracy of the prediction results is not high.
发明内容SUMMARY OF THE INVENTION
本发明所要解决的技术问题是提供一种基于数据融合和卷积长短时序分析网络模型的区域风速预测方法,采用全新模型结构和控制策略,能够高效、准确实现风速预测。The technical problem to be solved by the present invention is to provide a regional wind speed prediction method based on data fusion and convolution long and short time series analysis network model, which adopts a new model structure and control strategy, and can efficiently and accurately realize wind speed prediction.
本发明为了解决上述技术问题采用以下技术方案:本发明设计了一种基于数据融合和卷积长短时序分析网络模型的区域风速预测方法,用于实现对目标区域的风速预测,包括如下步骤:In order to solve the above technical problems, the present invention adopts the following technical solutions: the present invention designs a regional wind speed prediction method based on data fusion and convolution long and short time series analysis network model, for realizing the wind speed prediction of the target area, including the following steps:
步骤A.基于自当前时间向历史时间方向的预设数量各时间的当前采集时长范围,获得目标区域分别对应当前采集时长范围中各时间的NCEP风速网格数据,以及获得目标区域中各气象站观测点分别对应当前采集时长范围中各时间的实测风速数据,然后进入步骤B;Step A. Based on the current collection duration range of the preset number of each time from the current time to the historical time direction, obtain the NCEP wind speed grid data corresponding to each time in the current collection duration range in the target area, and obtain each weather station in the target area. The observation points correspond to the measured wind speed data at each time in the current collection time range, and then enter step B;
步骤B.根据目标区域分别对应当前采集时长范围中各时间的NCEP风速网格数据,结合预设大于该NCEP风速网格数据中网格分辨率的高网格分辨率,获得目标区域高网格分辨率下各网格分别对应当前采集时长范围中各时间的第一风速数据;Step B. According to the target area corresponding to the NCEP wind speed grid data of each time in the current collection time range, in combination with the high grid resolution preset greater than the grid resolution in the NCEP wind speed grid data, obtain the target area high grid Under the resolution, each grid corresponds to the first wind speed data at each time in the current collection time range;
同时,根据目标区域中各气象站观测点分别对应当前采集时长范围中各时间的实测风速数据,获得目标区域高网格分辨率下各网格分别对应当前采集时长范围中各时间的第二风速数据,然后进入步骤C;At the same time, according to the measured wind speed data of each meteorological station in the target area corresponding to each time in the current collection time range, the second wind speed of each grid corresponding to each time in the current collection time range under the high grid resolution of the target area is obtained. data, and then enter step C;
步骤C.根据目标区域高网格分辨率下各网格分别对应当前采集时长范围中各时间的第一风速数据、第二风速数据,以及目标区域高网格分辨率下各网格的经纬度信息、高度信息、坡度信息、坡向信息,应用已训练好以网格所对应的第一风速数据、第二风速数据、经纬度信息、高程信息、坡度信息、坡向信息为输入,网格所对应的融合风速数据为输出的数据融合模型,获得目标区域高网格分辨率下各网格分别对应当前采集时长范围中各时间的融合风速数据,然后进入步骤D;Step C. According to the first wind speed data and the second wind speed data of each grid corresponding to each time in the current collection duration range according to the high grid resolution of the target area, and the longitude and latitude information of each grid under the high grid resolution of the target area , height information, slope information, slope aspect information, the application has been trained to input the first wind speed data, second wind speed data, longitude and latitude information, elevation information, slope information, and slope aspect information corresponding to the grid, and the grid corresponds to The fused wind speed data is the output data fusion model, and the fused wind speed data of each grid corresponding to each time in the current collection duration range under the high grid resolution of the target area are obtained, and then enter step D;
步骤D.根据目标区域高网格分辨率下各网格分别对应当前采集时长范围中各时间的融合风速数据,应用已训练好以网格所对应当前采集时长范围中各时间的融合风速数据为输入,网格对应相对当前采集时长范围的未来下一时间的风速预测数据为输出的风速预测模型,获得目标区域高网格分辨率下各网格分别对应相对当前采集时长范围的未来下一时间的风速预测数据,即实现目标区域对应相对当前采集时长范围的未来下一时间的风速预测。Step D. According to the fusion wind speed data of each grid corresponding to each time in the current collection time range under the high grid resolution of the target area, the application has trained the fusion wind speed data of each time in the current collection time range corresponding to the grid as: Input, the grid corresponds to the wind speed prediction data of the next time in the future relative to the current collection time range is the output wind speed prediction model, and each grid under the high grid resolution of the target area corresponds to the next time in the future relative to the current collection time range. The wind speed prediction data, that is, the wind speed prediction of the target area corresponding to the next time in the future relative to the current collection time range is realized.
作为本发明的一种优选技术方案:基于当前采集时长范围中各时间的融合风速数据,以及相对当前采集时长范围的未来下一时间的预测风速数据,执行步骤D滚动预测K次,即实现目标区域分别对应自当前时间的下一时间起的未来K个时间的风速预测。As a preferred technical solution of the present invention: based on the fused wind speed data at each time in the current collection time range, and the predicted wind speed data at the next time in the future relative to the current collection time range, perform step D to roll the prediction K times, that is, to achieve the goal The regions correspond to wind speed predictions for K future times from the next time of the current time, respectively.
作为本发明的一种优选技术方案:所述步骤B中,根据目标区域分别对应当前采集时长范围中各时间的NCEP风速网格数据,结合预设大于该NCEP风速网格数据中网格分辨率的高网格分辨率,应用双线性插值方法,获得目标区域高网格分辨率下各网格分别对应当前采集时长范围中各时间的第一风速数据;As a preferred technical solution of the present invention: in the step B, according to the target area, the NCEP wind speed grid data corresponding to each time in the current collection duration range respectively, combined with the preset grid resolution greater than that in the NCEP wind speed grid data The high grid resolution of the target area is applied, and the bilinear interpolation method is applied to obtain the first wind speed data of each grid corresponding to each time in the current collection time range under the high grid resolution of the target area;
同时,根据目标区域中各气象站观测点分别对应当前采集时长范围中各时间的实测风速数据,应用反距离权重插值方法,获得目标区域高网格分辨率下各网格分别对应当前采集时长范围中各时间的第二风速数据。At the same time, according to the measured wind speed data of each meteorological station in the target area corresponding to each time in the current collection time range, the inverse distance weight interpolation method is used to obtain the current collection time range corresponding to each grid under the high grid resolution of the target area. The second wind speed data at each time in .
作为本发明的一种优选技术方案:所述步骤B中,分别针对目标区域高网格分辨率下的各个网格,根据相距网格最近的n个气象站观测点分别对应当前采集时长范围中各时间的实测风速数据,应用反距离权重插值方法,获得分别对应当前采集时长范围中各时间的插值风速数据,作为该网格分别对应当前采集时长范围中各时间的第二风速数据;进而获得目标区域高网格分辨率下各网格分别对应当前采集时长范围中各时间的第二风速数据;其中,1<n≤N,N表示目标区域中气象站观测点的数量。As a preferred technical solution of the present invention: in the step B, for each grid under the high grid resolution of the target area, according to the observation points of n meteorological stations closest to the grid, corresponding to the current collection time range For the measured wind speed data at each time, the inverse distance weighted interpolation method is used to obtain the interpolated wind speed data corresponding to each time in the current collection time range, as the grid respectively corresponding to the second wind speed data of each time in the current collection time range; and then obtain Under the high grid resolution of the target area, each grid corresponds to the second wind speed data at each time in the current collection time range; where 1<n≤N, N represents the number of observation points of meteorological stations in the target area.
作为本发明的一种优选技术方案:所述步骤C中的数据融合模型,按如下步骤C1至步骤C4进行训练获得;As a preferred technical solution of the present invention: the data fusion model in the step C is obtained by training according to the following steps C1 to C4;
步骤C1.获得目标区域分别对应预设各历史时间的NCEP风速网格数据,以及获得目标区域中各气象站观测点分别对应预设各历史时间的实测风速数据,然后进入步骤C2;Step C1. Obtain the NCEP wind speed grid data corresponding to each preset historical time in the target area, and obtain the measured wind speed data of each meteorological station observation point in the target area corresponding to each preset historical time, and then enter step C2;
步骤C2.根据目标区域分别对应预设各历史时间的NCEP风速网格数据,进行双线性插值,获得目标区域中各气象站观测点分别对应预设各历史时间的第一插值风速数据;Step C2. Perform bilinear interpolation according to the NCEP wind speed grid data corresponding to each preset historical time in the target area, and obtain the first interpolated wind speed data corresponding to each preset historical time at each meteorological station observation point in the target area;
同时,根据目标区域中各气象站观测点分别对应预设各历史时间的实测风速数据,应用反距离权重插值方法,获得目标区域中各气象站观测点分别对应预设各历史时间的第二插值风速数据;At the same time, according to the measured wind speed data of each meteorological station observation point in the target area corresponding to each preset historical time, the inverse distance weight interpolation method is applied to obtain the second interpolation value of each meteorological station observation point in the target area corresponding to each preset historical time. wind speed data;
然后进入步骤C3;Then enter step C3;
步骤C3.根据目标区域中各气象站观测点分别对应预设各历史时间的实测风速数据、第一插值风速数据、第二插值风速数据,以及各气象站观测点分别对应的经纬度信息、高程信息、坡度信息、坡向信息,以气象站观测点所对应的第一插值风速数据、第二插值风速数据、经纬度信息、高程信息、坡度信息、坡向信息为输入,气象站观测点所对应的实测风速数据为输出,针对基于高斯过程回归的待训练数据融合模型进行训练,获得数据融合模型,然后进入步骤C4;Step C3. According to the actual measured wind speed data, the first interpolated wind speed data, the second interpolated wind speed data of each weather station observation point corresponding to preset historical times in the target area, and the latitude and longitude information and elevation information corresponding to the observation points of each weather station respectively , slope information, slope aspect information, take the first interpolated wind speed data, second interpolated wind speed data, longitude and latitude information, elevation information, slope information, and slope aspect information corresponding to the observation point of the meteorological station as the input, and the corresponding observation point of the meteorological station The measured wind speed data is the output, and the data fusion model to be trained based on Gaussian process regression is trained to obtain the data fusion model, and then enter step C4;
步骤C4.针对所获得的数据融合模型,定义其各输入中气象站观测点所对应的第一插值风速数据、第二插值风速数据、经纬度信息、高程信息、坡度信息、坡向信息,对应于目标区域中网格所对应的第一风速数据、第二风速数据、经纬度信息、高程信息、坡度信息、坡向信息,以及定义其输出中气象站观测点所对应的实测风速数据,对应于目标区域中网格所对应的融合风速数据,即更新获得以网格所对应的第一风速数据、第二风速数据、经纬度信息、高程信息、坡度信息、坡向信息为输入,网格所对应的融合风速数据为输出的数据融合模型。Step C4. For the obtained data fusion model, define the first interpolation wind speed data, second interpolation wind speed data, longitude and latitude information, elevation information, slope information, and slope aspect information corresponding to the observation points of the meteorological station in each input, corresponding to The first wind speed data, second wind speed data, latitude and longitude information, elevation information, slope information, and slope aspect information corresponding to the grid in the target area, as well as the measured wind speed data corresponding to the observation points of the meteorological station in the definition output, corresponding to the target The fused wind speed data corresponding to the grid in the area, that is, the updated and obtained first wind speed data, second wind speed data, latitude and longitude information, elevation information, slope information, and slope aspect information corresponding to the grid are input. The fusion wind speed data is the output data fusion model.
作为本发明的一种优选技术方案:所述步骤C2中,分别针对目标区域中的各个气象站观测点,根据相距气象站观测点最近的n个气象站观测点分别对应预设各历史时间的实测风速数据,应用反距离权重插值方法,获得分别对应预设各历史时间的插值风速数据,作为该气象站观测点分别对应预设各历史时间的第二插值风速数据;进而获得目标区域中各气象站观测点别对应预设各历史时间的第二插值风速数据;其中,1<n≤N,N表示目标区域中气象站观测点的数量。As a preferred technical solution of the present invention: in the step C2, for each meteorological station observation point in the target area, respectively, according to the n meteorological station observation points closest to the meteorological station observation point corresponding to the preset historical time For the measured wind speed data, the inverse distance weighted interpolation method is applied to obtain the interpolated wind speed data corresponding to each preset historical time, as the second interpolated wind speed data corresponding to each preset historical time for the observation point of the meteorological station; The observation points of the meteorological station correspond to the second interpolated wind speed data of each preset historical time; wherein, 1<n≤N, N represents the number of observation points of the meteorological station in the target area.
作为本发明的一种优选技术方案:所述步骤C3中,基于由常数核函数和高斯核函数所构建基于高斯过程回归的待训练数据融合模型,结合常数核函数参数constant_value=1.0、高斯核函数参数length_scale=1.0的初始化,通过训练过程中对常数核函数参数constant_value、高斯核函数参数length_scale的更新,针对待训练数据融合模型进行训练,获得数据融合模型。As a preferred technical solution of the present invention: in the step C3, based on the Gaussian process regression-based data fusion model to be trained constructed by the constant kernel function and the Gaussian kernel function, combined with the constant kernel function parameter constant_value=1.0, the Gaussian kernel function The initialization of the parameter length_scale=1.0, by updating the constant kernel function parameter constant_value and the Gaussian kernel function parameter length_scale in the training process, trains the data fusion model to be trained, and obtains the data fusion model.
作为本发明的一种优选技术方案:所述步骤D中,根据目标区域高网格分辨率下各网格分别对应当前采集时长范围中各时间的融合风速数据中的径向风数据和纬向风数据,应用已训练好以网格所对应当前采集时长范围中各时间的径向风数据为输入,网格对应相对当前采集时长范围的未来下一时间的径向风预测数据为输出的径向风速预测模型,获得目标区域高网格分辨率下各网格分别对应相对当前采集时长范围的未来下一时间的径向风速预测数据;As a preferred technical solution of the present invention: in the step D, according to the high grid resolution of the target area, each grid corresponds to the radial wind data and the latitudinal wind data in the fused wind speed data at each time in the current collection duration range. Wind data, the application has been trained to take the radial wind data at each time in the current collection time range corresponding to the grid as input, and the grid corresponding to the radial wind forecast data at the next time in the future relative to the current collection time range as the output diameter. The wind speed prediction model is used to obtain the radial wind speed prediction data of the next time in the future relative to the current collection time range corresponding to each grid under the high grid resolution of the target area;
同时,应用已训练好以网格所对应当前采集时长范围中各时间的纬向风数据为输入,网格对应未来下一时间的纬向风预测数据为输出的纬向风速预测模型,获得目标区域高网格分辨率下各网格分别对应相对当前采集时长范围的未来下一时间的纬向风速预测数据,即构成了目标区域高网格分辨率下各网格分别对应相对当前采集时长范围的未来下一时间的风速预测数据,实现对目标区域在未来下一时间的风速预测。At the same time, apply the zonal wind speed prediction model that has been trained using the zonal wind data at each time in the current collection time range corresponding to the grid as input, and the zonal wind prediction data corresponding to the grid at the next time in the future as the output to obtain the target. Each grid under high regional grid resolution corresponds to the zonal wind speed prediction data in the next time relative to the current collection time range, which constitutes the target area under high grid resolution. Each grid corresponds to the current collection time range. The wind speed prediction data of the next time in the future can be used to realize the wind speed prediction of the target area in the next time in the future.
作为本发明的一种优选技术方案:所述步骤D中的径向风速预测模型和纬向风速预测模型,均按如下步骤D1至步骤D3进行训练获得;As a preferred technical solution of the present invention: the radial wind speed prediction model and the zonal wind speed prediction model in the step D are obtained by training according to the following steps D1 to D3;
步骤D1.基于注意力机制的卷积长短时序分析网络模型,结合其中各卷积核的预设大小、以及模型的预设优化器,构建待训练风速预测模型,然后进入步骤D2;Step D1. Convolution time series analysis network model based on attention mechanism, combined with the preset size of each convolution kernel and the preset optimizer of the model, build a wind speed prediction model to be trained, and then enter step D2;
步骤D2.基于目标区域对应预设历史时长范围中各时间的NCEP风速网格数据、以及目标区域中各气象站观测点对应预设历史时长范围中各时间的实测风速数据,按步骤A到C的方法,获得目标区域高网格分辨率下各网格分别对应预设历史时长范围中各时间的融合风速数据,然后进入步骤D3;Step D2. Based on the NCEP wind speed grid data of each time in the target area corresponding to the preset historical time range and the measured wind speed data of each time in the preset historical time range corresponding to each meteorological station observation point in the target area, press steps A to C method, obtain the fusion wind speed data of each grid corresponding to each time in the preset historical duration range under the high grid resolution of the target area, and then enter step D3;
步骤D3.以目标区域高网格分辨率下各网格分别对应预设历史时长范围中各时间的融合风速数据中的对应向风速数据为输入,以目标区域高网格分辨率下各网格分别相对预设历史时长范围的下一时间的融合风速数据中的对应向风速数据为输出,结合预设损失函数,针对待训练风速预测模型进行训练,获得对应向风速预测模型。Step D3. Take the corresponding direction wind speed data in the fusion wind speed data of each grid corresponding to each time in the preset historical duration range under the high grid resolution of the target area as the input, and take each grid under the high grid resolution of the target area as the input. The corresponding direction wind speed data in the fusion wind speed data of the next time relative to the preset historical duration range is output, and combined with the preset loss function, the wind speed prediction model to be trained is trained to obtain the corresponding direction wind speed prediction model.
作为本发明的一种优选技术方案:所述步骤D3中的预设损失函数如下:As a preferred technical solution of the present invention: the preset loss function in the step D3 is as follows:
其中,表示目标区域高网格分辨率下网格i的对应向预测风速数据,yi表示目标区域高网格分辨率下网格i的对应向实测风速数据;在针对待训练风速预测模型进行训练的过程中,各次迭代中,判断所获是否大于预设阈值,是则更新待训练风速预测模型中的卷积核数目、以及参数λ和参数σ,并进入下次迭代;否则保留待训练风速预测模型中的卷积核数目、以及参数λ和参数σ,即获得对应向风速预测模型。in, Represents the corresponding predicted wind speed data of grid i in the high grid resolution of the target area, and y i represents the corresponding measured wind speed data of grid i in the high grid resolution of the target area; In the process, in each iteration, the judgment obtained Whether it is greater than the preset threshold, if yes, update the number of convolution kernels, parameters λ and σ in the wind speed prediction model to be trained, and enter the next iteration; otherwise, keep the number of convolution kernels and parameters in the wind speed prediction model to be trained λ and parameter σ, that is, to obtain the corresponding wind speed prediction model.
本发明所述一种基于数据融合和卷积长短时序分析网络模型的区域风速预测方法,采用以上技术方案与现有技术相比,具有以下技术效果:The method for forecasting regional wind speed based on data fusion and convolution long and short time series analysis network model according to the present invention adopts the above technical solution and has the following technical effects compared with the prior art:
(1)本发明所设计基于数据融合和卷积长短时序分析网络模型的区域风速预测方法,以NCEP风速网格数据与目标区域中各气象站观测点风速数据为依据,相较传统风速预测数据处理不同,对气象站观测点风速数据进行反距离权重插值,对NCEP风速网格数据进行双线性插值,并且利用基于高斯过程回归的数据融合模型,将这两个数据进行数据融合,提高风场数据分辨率和准确度;(1) The regional wind speed prediction method based on data fusion and convolution long and short time series analysis network model designed by the present invention is based on the NCEP wind speed grid data and the wind speed data of each meteorological station observation point in the target area, compared with the traditional wind speed prediction data The processing is different. Inverse distance weight interpolation is performed on the wind speed data of the observation points of the meteorological station, bilinear interpolation is performed on the NCEP wind speed grid data, and the data fusion model based on Gaussian process regression is used to fuse the two data to improve the wind speed. Field data resolution and accuracy;
(2)本发明所设计基于数据融合和卷积长短时序分析网络模型的区域风速预测方法,通过引入卷积长短时序分析神经网络,利用基于卷积长短时序分析网络的风速预测模型,实现了对目标区域内中高风速风场的长时序有效预测,相较于传统的短期风速预测方法,具有更强的抗噪性;(2) The regional wind speed prediction method based on data fusion and convolution long and short time series analysis network model designed by the present invention, by introducing the convolution long and short time series analysis neural network, and using the wind speed prediction model based on the convolution long and short time series analysis network, it is realized to The long-term effective prediction of wind fields with medium and high wind speeds in the target area has stronger noise immunity than traditional short-term wind speed prediction methods;
(3)本发明所设计基于数据融合和卷积长短时序分析网络模型的区域风速预测方法,通过引入基于MSE损失函数改进的注意力机制损失函数,提高了基于卷积长短时序分析网络的风速预测模型对于高风速风场的注意力,在不损失模型预测精度的情况下,提高了对高风速风场预测的准确度。(3) The regional wind speed prediction method based on data fusion and convolution long and short time series analysis network model designed by the present invention improves the wind speed prediction based on convolution long and short time series analysis network by introducing an improved attention mechanism loss function based on MSE loss function. The model's attention to the high wind speed wind field improves the accuracy of the high wind speed wind field prediction without losing the prediction accuracy of the model.
附图说明Description of drawings
图1是本发明所设计基于数据融合和卷积长短时序分析网络模型的区域风速预测方法的流程图;Fig. 1 is the flow chart of the regional wind speed prediction method based on data fusion and convolution long and short time series analysis network model designed by the present invention;
图2是本发明应用中目标区域的NCEP风速网格数据和气象站观测点风速数据示意图;Fig. 2 is the NCEP wind speed grid data of the target area in the application of the present invention and the schematic diagram of the wind speed data of the observation point of the meteorological station;
图3是本发明步骤A至步骤C的应用流程示意图;Fig. 3 is the application flow schematic diagram of step A to step C of the present invention;
图4a是本发明步骤B中目标区域中各气象站观测点插值前的风速示意图;Figure 4a is a schematic diagram of the wind speed before the interpolation of each meteorological station observation point in the target area in step B of the present invention;
图4b是本发明步骤B中目标区域中各气象站观测点插值后的风速示意图;4b is a schematic diagram of the wind speed after interpolation of observation points of each meteorological station in the target area in step B of the present invention;
图5a是本发明步骤B中目标区域中NCEP风速网格数据示意图;Fig. 5a is the schematic diagram of NCEP wind speed grid data in the target area in step B of the present invention;
图5b是本发明步骤B中目标区域中NCEP风速网格数据插值后的示意图;Fig. 5b is the schematic diagram after interpolation of NCEP wind speed grid data in the target area in step B of the present invention;
图6是本发明步骤C中基于高斯过程回归的数据融合模型的训练流程图;Fig. 6 is the training flow chart of the data fusion model based on Gaussian process regression in step C of the present invention;
图7是本发明步骤D中基于卷积长短时序分析分析神经网络的风速预测模型训练流程图;Fig. 7 is the wind speed prediction model training flow chart of analyzing the neural network based on convolution length and short sequence analysis in step D of the present invention;
图8是本发明实施应用中预测未来1、5、10天的风场与真实风场的对比。FIG. 8 is a comparison between the wind field predicted in the next 1, 5 and 10 days and the real wind field in the implementation and application of the present invention.
具体实施方式Detailed ways
下面结合说明书附图对本发明的具体实施方式作进一步详细的说明。The specific embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
本发明所设计一种基于数据融合和卷积长短时序分析网络模型的区域风速预测方法,用于实现对目标区域的风速预测,实际应用当中,如图1所示,具体如下步骤。The present invention designs a regional wind speed prediction method based on data fusion and convolution long and short time series analysis network model, which is used to realize the wind speed prediction of the target area. In practical application, as shown in Figure 1, the specific steps are as follows.
步骤A.基于自当前时间向历史时间方向的预设数量各时间的当前采集时长范围,获得目标区域分别对应当前采集时长范围中各时间的NCEP风速网格数据,以及获得目标区域中各气象站观测点分别对应当前采集时长范围中各时间的实测风速数据,如图3所示,然后进入步骤B。如图2所示,表示本发明所涉及NCEP风速网格数据和气象站观测点风速数据在目标区域的可视化,其中黑色三角代表气象站点在目标区域对应的位置。Step A. Based on the current collection duration range of the preset number of each time from the current time to the historical time direction, obtain the NCEP wind speed grid data corresponding to each time in the current collection duration range in the target area, and obtain each weather station in the target area. The observation points correspond to the measured wind speed data at each time in the current collection time range, as shown in Figure 3, and then go to step B. As shown in Figure 2, it shows the visualization of the NCEP wind speed grid data involved in the present invention and the wind speed data of the observation point of the meteorological station in the target area, wherein the black triangle represents the corresponding position of the meteorological station in the target area.
步骤B.如图3所示,利用python中NetCDF4模块读取步骤A所获数据,根据目标区域分别对应当前采集时长范围中各时间的NCEP风速网格数据,结合预设大于该NCEP风速网格数据中网格分辨率的高网格分辨率,应用双线性插值方法,获得目标区域高网格分辨率下各网格分别对应当前采集时长范围中各时间的第一风速数据,如图5a与图5b所示。Step B. As shown in Figure 3, utilize the NetCDF4 module in python to read the data obtained in step A, respectively correspond to the NCEP wind speed grid data of each time in the current collection duration range according to the target area, in conjunction with the preset greater than this NCEP wind speed grid The high grid resolution of the grid resolution in the data, the bilinear interpolation method is applied to obtain the first wind speed data of each grid corresponding to each time in the current collection time range under the high grid resolution of the target area, as shown in Figure 5a as shown in Figure 5b.
双线性插值,又称为双线性内插,在数学上,双线性插值是有两个变量的插值函数的线性插值扩展,其核心思想是在两个方向分别进行一次线性插值。Bilinear interpolation, also known as bilinear interpolation, in mathematics, bilinear interpolation is a linear interpolation extension of an interpolation function with two variables. The core idea is to perform linear interpolation in two directions respectively.
与此同时,根据目标区域中各气象站观测点分别对应当前采集时长范围中各时间的实测风速数据,应用反距离权重插值方法,获得目标区域高网格分辨率下各网格分别对应当前采集时长范围中各时间的第二风速数据,如图4a与图4b所示,然后进入步骤C。At the same time, according to the measured wind speed data of each meteorological station in the target area corresponding to each time in the current collection time range, the inverse distance weight interpolation method is applied to obtain the corresponding current collection of each grid under the high grid resolution of the target area. The second wind speed data at each time in the duration range is shown in FIG. 4 a and FIG. 4 b , and then step C is entered.
反距离权重插值法(Inverse Distance Weighted,IDW)是以插值点与样本点之间的距离为权重进行加权平均,其中离插值点越近的样本点赋予的权重越大。Inverse distance weighted interpolation method (Inverse Distance Weighted, IDW) uses the distance between the interpolation point and the sample point as the weight to perform a weighted average, and the sample point that is closer to the interpolation point is given a greater weight.
其中,关于目标区域高网格分辨率下各网格分别对应当前采集时长范围中各时间的第二风速数据的获得,分别针对目标区域高网格分辨率下的各个网格,根据相距网格最近的n个气象站观测点分别对应当前采集时长范围中各时间的实测风速数据,应用反距离权重插值方法,获得分别对应当前采集时长范围中各时间的插值风速数据,作为该网格分别对应当前采集时长范围中各时间的第二风速数据;进而获得目标区域高网格分辨率下各网格分别对应当前采集时长范围中各时间的第二风速数据;其中,1<n≤N,N表示目标区域中气象站观测点的数量。Among them, regarding the acquisition of the second wind speed data corresponding to each grid at each time in the current collection time range under the high grid resolution of the target area, for each grid under the high grid resolution of the target area, according to the distance between the grids The nearest n meteorological station observation points correspond to the measured wind speed data at each time in the current collection time range, and the inverse distance weight interpolation method is used to obtain the interpolated wind speed data corresponding to each time in the current collection time range, as the grid corresponding to each time. The second wind speed data at each time in the current collection time range; and then obtain the second wind speed data corresponding to each grid at each time in the current collection time range under the high grid resolution of the target area; where, 1<n≤N, N Indicates the number of weather station observation points in the target area.
步骤C.如图3所示,利用python中numpy模块,根据目标区域高网格分辨率下各网格分别对应当前采集时长范围中各时间的第一风速数据、第二风速数据,以及目标区域高网格分辨率下各网格的经纬度信息、高度信息、坡度信息、坡向信息,应用已训练好以网格所对应的第一风速数据、第二风速数据、经纬度信息、高程信息、坡度信息、坡向信息为输入,网格所对应的融合风速数据为输出的数据融合模型,获得目标区域高网格分辨率下各网格分别对应当前采集时长范围中各时间的融合风速数据,然后进入步骤D。Step C. As shown in Figure 3, using the numpy module in python, according to the high grid resolution of the target area, each grid corresponds to the first wind speed data, the second wind speed data at each time in the current collection duration range, and the target area. The longitude and latitude information, height information, slope information, and slope aspect information of each grid under high grid resolution, and the first wind speed data, second wind speed data, longitude and latitude information, elevation information, and slope corresponding to the grid have been trained. Information and aspect information are input, and the fused wind speed data corresponding to the grid is the output data fusion model, and the fused wind speed data corresponding to each grid at each time in the current collection time range under the high grid resolution of the target area are obtained, and then Go to step D.
实际应用当中,上述步骤C中的数据融合模型,如图6所示,具体按如下步骤C1至步骤C4进行训练获得。In practical applications, the data fusion model in the above step C, as shown in FIG. 6 , is specifically obtained by training according to the following steps C1 to C4.
步骤C1.获得目标区域分别对应预设各历史时间的NCEP风速网格数据,以及获得目标区域中各气象站观测点分别对应预设各历史时间的实测风速数据,然后进入步骤C2。Step C1. Obtain the NCEP wind speed grid data corresponding to each preset historical time in the target area, and obtain the measured wind speed data of each meteorological station observation point in the target area corresponding to each preset historical time, and then proceed to step C2.
步骤C2.根据目标区域分别对应预设各历史时间的NCEP风速网格数据,进行双线性插值,获得目标区域中各气象站观测点分别对应预设各历史时间的第一插值风速数据。Step C2. Perform bilinear interpolation according to the NCEP wind speed grid data corresponding to each preset historical time in the target area to obtain first interpolated wind speed data corresponding to each preset historical time at each meteorological station observation point in the target area.
同时,根据目标区域中各气象站观测点分别对应预设各历史时间的实测风速数据,应用反距离权重插值方法,获得目标区域中各气象站观测点分别对应预设各历史时间的第二插值风速数据;然后进入步骤C3。At the same time, according to the measured wind speed data of each meteorological station observation point in the target area corresponding to each preset historical time, the inverse distance weight interpolation method is applied to obtain the second interpolation value of each meteorological station observation point in the target area corresponding to each preset historical time. Wind speed data; then go to step C3.
应用中,关于目标区域中各气象站观测点分别对应预设各历史时间的第二插值风速数据的获得,具体设计分别针对目标区域中的各个气象站观测点,根据相距气象站观测点最近的n个气象站观测点分别对应预设各历史时间的实测风速数据,应用反距离权重插值方法,获得分别对应预设各历史时间的插值风速数据,作为该气象站观测点分别对应预设各历史时间的第二插值风速数据;进而获得目标区域中各气象站观测点别对应预设各历史时间的第二插值风速数据;其中,1<n≤N,N表示目标区域中气象站观测点的数量。In the application, regarding the acquisition of the second interpolated wind speed data corresponding to each preset historical time for each observation point of the meteorological station in the target area, the specific design is for each observation point of the meteorological station in the target area, according to the nearest observation point of the meteorological station. The observation points of n meteorological stations correspond to the measured wind speed data of each preset historical time respectively, and the inverse distance weight interpolation method is applied to obtain the interpolated wind speed data corresponding to each preset historical time respectively, as the observation points of the meteorological station corresponding to each preset historical time respectively. The second interpolated wind speed data of time; and then obtain the second interpolated wind speed data of each meteorological station observation point in the target area corresponding to each preset historical time; wherein, 1<n≤N, N represents the meteorological station observation point in the target area. quantity.
实际应用中,诸如每个气象站观测点处插值时不使用该气象站观测点处的实测风速数据,只使用插值半径内或最近的3个点作为插值的权重点,权重由距离决定。动态半径:半径R>=100,权重点P>=3即插值半径为100公里,100公里范围若不满足3个点,即扩大插值半径,直到满足范围内三个点。In practical applications, for example, the measured wind speed data at the observation point of each meteorological station is not used for interpolation at the observation point of the meteorological station, and only the three points within the interpolation radius or the nearest points are used as the weights of the interpolation, and the weights are determined by the distance. Dynamic radius: radius R>=100, weight point P>=3, that is, the interpolation radius is 100 kilometers. If the range of 100 kilometers does not meet 3 points, the interpolation radius is expanded until the three points within the range are satisfied.
步骤C3.根据目标区域中各气象站观测点分别对应预设各历史时间的实测风速数据、第一插值风速数据、第二插值风速数据,以及各气象站观测点分别对应的经纬度信息、高程信息、坡度信息、坡向信息,以气象站观测点所对应的第一插值风速数据、第二插值风速数据、经纬度信息、高程信息、坡度信息、坡向信息为输入,气象站观测点所对应的实测风速数据为输出,针对基于高斯过程回归的待训练数据融合模型进行训练,获得数据融合模型,然后进入步骤C4。Step C3. According to the actual measured wind speed data, the first interpolated wind speed data, the second interpolated wind speed data of each weather station observation point corresponding to preset historical times in the target area, and the latitude and longitude information and elevation information corresponding to the observation points of each weather station respectively , slope information, slope aspect information, take the first interpolated wind speed data, second interpolated wind speed data, longitude and latitude information, elevation information, slope information, and slope aspect information corresponding to the observation point of the meteorological station as the input, and the corresponding observation point of the meteorological station The measured wind speed data is the output, and the data fusion model to be trained based on the Gaussian process regression is trained to obtain the data fusion model, and then step C4 is entered.
高斯过程回归(Gaussian Process Regression,GPR)是使用高斯过程(GaussianProcess,GP)先验对数据进行回归分析的非参数模型。GPR在机器学习领域应用比较广泛,具有严格的统计学习理论基础。它在贝叶斯线性回归方法的基础上,用核函数代替贝叶斯线性回归的线性核,因此高斯过程回归在对处理高维数、小样本、非线性等复杂的问题具有很好的适应性,具有泛化能力强的特点。Gaussian Process Regression (GPR) is a nonparametric model that uses Gaussian Process (GP) priors to perform regression analysis on data. GPR is widely used in the field of machine learning and has a strict theoretical basis for statistical learning. Based on the Bayesian linear regression method, it replaces the linear kernel of the Bayesian linear regression with a kernel function, so the Gaussian process regression has a good adaptability to dealing with complex problems such as high dimensionality, small samples, and nonlinearity. It has the characteristics of strong generalization ability.
因此在实际应用当中,基于由常数核函数和高斯核函数所构建基于高斯过程回归的待训练数据融合模型,结合常数核函数参数constant_value=1.0、高斯核函数参数length_scale=1.0的初始化,通过训练过程中对常数核函数参数constant_value、高斯核函数参数length_scale的更新,针对待训练数据融合模型进行训练,获得数据融合模型。Therefore, in practical applications, based on the Gaussian process regression-based data fusion model to be trained constructed by the constant kernel function and the Gaussian kernel function, combined with the initialization of the constant kernel function parameter constant_value=1.0 and the Gaussian kernel function parameter length_scale=1.0, through the training process In the update of the constant kernel function parameter constant_value and the Gaussian kernel function parameter length_scale, the data fusion model to be trained is trained to obtain the data fusion model.
上述关于数据融合模型的训练过程中,判断训练结果的RMSE是否大于预设阈值,是则分别更新常数核函数参数constant_value和高斯核函数参数length_scale,返回继续训练;否则获得当前常数核函数参数constant_value和高斯核函数参数length_scale,输出该训练完成的基于高斯过程回归的数据融合模型。In the above training process of the data fusion model, it is judged whether the RMSE of the training result is greater than the preset threshold. If so, update the constant kernel function parameter constant_value and the Gaussian kernel function parameter length_scale respectively, and return to continue training; otherwise, obtain the current constant kernel function parameters constant_value and Gaussian kernel function parameter length_scale, output the trained data fusion model based on Gaussian process regression.
步骤C4.针对所获得的数据融合模型,定义其各输入中气象站观测点所对应的第一插值风速数据、第二插值风速数据、经纬度信息、高程信息、坡度信息、坡向信息,对应于目标区域中网格所对应的第一风速数据、第二风速数据、经纬度信息、高程信息、坡度信息、坡向信息,以及定义其输出中气象站观测点所对应的实测风速数据,对应于目标区域中网格所对应的融合风速数据,即更新获得以网格所对应的第一风速数据、第二风速数据、经纬度信息、高程信息、坡度信息、坡向信息为输入,网格所对应的融合风速数据为输出的数据融合模型。Step C4. For the obtained data fusion model, define the first interpolation wind speed data, second interpolation wind speed data, longitude and latitude information, elevation information, slope information, and slope aspect information corresponding to the observation points of the meteorological station in each input, corresponding to The first wind speed data, second wind speed data, latitude and longitude information, elevation information, slope information, and slope aspect information corresponding to the grid in the target area, as well as the measured wind speed data corresponding to the observation points of the meteorological station in the definition output, corresponding to the target The fused wind speed data corresponding to the grid in the area, that is, the updated and obtained first wind speed data, second wind speed data, latitude and longitude information, elevation information, slope information, and slope aspect information corresponding to the grid are input. The fusion wind speed data is the output data fusion model.
步骤D.根据目标区域高网格分辨率下各网格分别对应当前采集时长范围中各时间的融合风速数据,应用已训练好以网格所对应当前采集时长范围中各时间的融合风速数据为输入,网格对应相对当前采集时长范围的未来下一时间的风速预测数据为输出的风速预测模型,获得目标区域高网格分辨率下各网格分别对应相对当前采集时长范围的未来下一时间的风速预测数据,即实现目标区域对应相对当前采集时长范围的未来下一时间的风速预测。Step D. According to the fusion wind speed data of each grid corresponding to each time in the current collection time range under the high grid resolution of the target area, the application has trained the fusion wind speed data of each time in the current collection time range corresponding to the grid as: Input, the grid corresponds to the wind speed prediction data of the next time in the future relative to the current collection time range is the output wind speed prediction model, and each grid under the high grid resolution of the target area corresponds to the next time in the future relative to the current collection time range. The wind speed prediction data, that is, the wind speed prediction of the target area corresponding to the next time in the future relative to the current collection time range is realized.
基于对风关于径向风和纬向风的划分,上述步骤D在具体实际应用当中,根据目标区域高网格分辨率下各网格分别对应当前采集时长范围中各时间的融合风速数据中的径向风数据和纬向风数据,应用已训练好以网格所对应当前采集时长范围中各时间的径向风数据为输入,网格对应相对当前采集时长范围的未来下一时间的径向风预测数据为输出的径向风速预测模型,获得目标区域高网格分辨率下各网格分别对应相对当前采集时长范围的未来下一时间的径向风速预测数据。Based on the division of wind in relation to radial wind and zonal wind, in the specific practical application of the above step D, according to the high grid resolution of the target area, each grid corresponds to the fused wind speed data of each time in the current collection time range. Radial wind data and zonal wind data, the application has been trained to use the radial wind data at each time in the current collection time range corresponding to the grid as input, and the grid corresponds to the radial wind data at the next time in the future relative to the current collection time range. The wind prediction data is the output radial wind speed prediction model, and the radial wind speed prediction data corresponding to each grid at the next time in the future relative to the current collection time range under the high grid resolution of the target area are obtained.
同时,应用已训练好以网格所对应当前采集时长范围中各时间的纬向风数据为输入,网格对应未来下一时间的纬向风预测数据为输出的纬向风速预测模型,获得目标区域高网格分辨率下各网格分别对应相对当前采集时长范围的未来下一时间的纬向风速预测数据,即构成了目标区域高网格分辨率下各网格分别对应相对当前采集时长范围的未来下一时间的风速预测数据,实现对目标区域在未来下一时间的风速预测。At the same time, apply the zonal wind speed prediction model that has been trained using the zonal wind data at each time in the current collection time range corresponding to the grid as input, and the zonal wind prediction data corresponding to the grid at the next time in the future as the output to obtain the target. Each grid under high regional grid resolution corresponds to the zonal wind speed prediction data in the next time relative to the current collection time range, which constitutes the target area under high grid resolution. Each grid corresponds to the current collection time range. The wind speed prediction data of the next time in the future can be used to realize the wind speed prediction of the target area in the next time in the future.
由此进一步分析,上述步骤D中的径向风速预测模型和纬向风速预测模型,如图7所示,均按如下步骤D1至步骤D3进行训练获得。From this further analysis, the radial wind speed prediction model and the zonal wind speed prediction model in the above step D, as shown in FIG. 7 , are obtained by training according to the following steps D1 to D3.
步骤D1.基于注意力机制的卷积长短时序分析网络模型,结合其中各卷积核的预设大小诸如19×19、以及模型的预设优化器诸如Nadam优化器,构建待训练风速预测模型,然后进入步骤D2。Step D1. Convolution time series analysis network model based on attention mechanism, combined with the preset size of each convolution kernel, such as 19×19, and the preset optimizer of the model, such as the Nadam optimizer, to construct the wind speed prediction model to be trained, Then go to step D2.
并且在实际应用中,设置径向风速预测模型的隐藏层为三层,设置纬向风速预测模型的隐藏层为两层,并且径向风速预测模型和纬向风速预测模型的每层隐藏层卷积核数目为100。And in practical applications, the hidden layers of the radial wind speed prediction model are set to three layers, and the hidden layers of the zonal wind speed prediction model are set to two layers, and each hidden layer of the radial wind speed prediction model and the zonal wind speed prediction model rolls The number of cores is 100.
步骤D2.基于目标区域对应预设历史时长范围中各时间的NCEP风速网格数据、以及目标区域中各气象站观测点对应预设历史时长范围中各时间的实测风速数据,按步骤A到C的方法,获得目标区域高网格分辨率下各网格分别对应预设历史时长范围中各时间的融合风速数据,然后进入步骤D3。Step D2. Based on the NCEP wind speed grid data of each time in the target area corresponding to the preset historical time range and the measured wind speed data of each time in the preset historical time range corresponding to each meteorological station observation point in the target area, press steps A to C method to obtain the fusion wind speed data of each grid corresponding to each time in the preset historical duration range under the high grid resolution of the target area, and then proceed to step D3.
步骤D3.以目标区域高网格分辨率下各网格分别对应预设历史时长范围中各时间的融合风速数据中的对应向风速数据为输入,以目标区域高网格分辨率下各网格分别相对预设历史时长范围的下一时间的融合风速数据中的对应向风速数据为输出,结合预设损失函数,针对待训练风速预测模型进行训练,获得对应向风速预测模型。Step D3. Take the corresponding direction wind speed data in the fusion wind speed data of each grid corresponding to each time in the preset historical duration range under the high grid resolution of the target area as the input, and take each grid under the high grid resolution of the target area as the input. The corresponding direction wind speed data in the fusion wind speed data of the next time relative to the preset historical duration range is output, and combined with the preset loss function, the wind speed prediction model to be trained is trained to obtain the corresponding direction wind speed prediction model.
并且实际应用当中,上述步骤D3中的预设损失函数如下:And in practical applications, the preset loss function in the above step D3 is as follows:
其中,表示目标区域高网格分辨率下网格i的对应向预测风速数据,yi表示目标区域高网格分辨率下网格i的对应向实测风速数据;在针对待训练风速预测模型进行训练的过程中,各次迭代中,判断所获是否大于预设阈值,是则更新待训练风速预测模型中的卷积核数目、以及参数λ和参数σ,并进入下次迭代;否则保留待训练风速预测模型中的卷积核数目、以及参数λ和参数σ,即获得对应向风速预测模型。并且实际应用当中,参数λ和参数σ分别基于0.1和2初始化进行训练。in, Represents the corresponding predicted wind speed data of grid i in the high grid resolution of the target area, and y i represents the corresponding measured wind speed data of grid i in the high grid resolution of the target area; In the process, in each iteration, the judgment obtained Whether it is greater than the preset threshold, if yes, update the number of convolution kernels, parameters λ and σ in the wind speed prediction model to be trained, and enter the next iteration; otherwise, keep the number of convolution kernels and parameters in the wind speed prediction model to be trained λ and parameter σ, that is, to obtain the corresponding wind speed prediction model. And in practical applications, the parameter λ and the parameter σ are trained based on 0.1 and 2 initialization, respectively.
实际应用当中,基于当前采集时长范围中各时间的融合风速数据,以及相对当前采集时长范围的未来下一时间的预测风速数据,执行步骤D滚动预测K次,即实现目标区域分别对应自当前时间的下一时间起的未来K个时间的风速预测,即实现针对目标区域一段时间的风速预测。In practical applications, based on the fused wind speed data at each time in the current collection time range, and the predicted wind speed data at the next time in the future relative to the current collection time range, perform step D to roll the prediction K times, that is, to achieve the target area corresponding to the current time. The wind speed prediction for K times in the future from the next time, that is, to realize the wind speed prediction for the target area for a period of time.
将本发明所设计基于数据融合和卷积长短时序分析网络模型的区域风速预测方法应用于实际当中,关于对上述步骤D滚动预测K次,应用中,诸如首先使用前两天的预测风速数据得到第三天的预测风速数据,然后将前两天的的预测风速数据中第一天预测风速数据删除,将预测得到的第三天预测风速数据加入到后面,然后放入到模型中进行预测,重复以上过程,直至预测到第十二天的风预测风速数据;该模型总体预测效果如图8所示,分别展示了基于高斯过程回归的数据融合模型和基于注意力机制损失函数的卷积长短时序分析神经网络风速预测模型预测未来1、5、10天目标区域风场与真实风场的对比效果。Applying the regional wind speed prediction method based on data fusion and convolution long and short time series analysis network model designed by the present invention to practice, about rolling prediction K times for the above step D, in the application, such as first using the predicted wind speed data of the previous two days to obtain The predicted wind speed data of the third day, then delete the predicted wind speed data of the first day in the predicted wind speed data of the previous two days, add the predicted wind speed data of the third day obtained after the prediction, and then put it into the model for prediction, Repeat the above process until the wind forecast wind speed data on the twelfth day is predicted; the overall prediction effect of the model is shown in Figure 8, showing the data fusion model based on Gaussian process regression and the convolution length based on the attention mechanism loss function respectively The time series analysis neural network wind speed prediction model predicts the comparison effect of the target area wind field and the real wind field in the next 1, 5 and 10 days.
综上所示,本发明所设计基于数据融合和卷积长短时序分析网络模型的区域风速预测方法,以NCEP风速网格数据与目标区域中各气象站观测点风速数据为依据,相较传统风速预测数据处理不同,对气象站观测点风速数据进行反距离权重插值,对NCEP风速网格数据进行双线性插值,并且利用基于高斯过程回归的数据融合模型,将这两个数据进行数据融合,提高风场数据分辨率和准确度;并且通过引入卷积长短时序分析神经网络,利用基于卷积长短时序分析网络的风速预测模型,实现了对目标区域内中高风速风场的长时序有效预测,相较于传统的短期风速预测方法,具有更强的抗噪性;而且通过引入基于MSE损失函数改进的注意力机制损失函数,提高了基于卷积长短时序分析网络的风速预测模型对于高风速风场的注意力,在不损失模型预测精度的情况下,提高了对高风速风场预测的准确度。To sum up, the regional wind speed prediction method based on data fusion and convolution long and short time series analysis network model designed in the present invention is based on the NCEP wind speed grid data and the wind speed data of observation points of each meteorological station in the target area, compared with the traditional wind speed. The prediction data processing is different. Inverse distance weight interpolation is performed on the wind speed data of the observation points of the meteorological station, bilinear interpolation is performed on the NCEP wind speed grid data, and the data fusion model based on Gaussian process regression is used to fuse the two data. Improve the resolution and accuracy of wind field data; and by introducing a convolutional long and short time series analysis neural network, and using the wind speed prediction model based on the convolution long and short time series analysis network, the long-term effective prediction of the medium and high wind speed wind field in the target area is realized. Compared with the traditional short-term wind speed prediction method, it has stronger anti-noise; and by introducing the improved attention mechanism loss function based on the MSE loss function, the wind speed prediction model based on the convolutional long and short time series analysis network is improved for high wind speed wind. Field attention improves the accuracy of wind field predictions for high wind speeds without losing model prediction accuracy.
上面结合附图对本发明的实施方式作了详细说明,但是本发明并不限于上述实施方式,在本领域普通技术人员所具备的知识范围内,还可以在不脱离本发明宗旨的前提下做出各种变化。The embodiments of the present invention have been described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned embodiments, and can also be made within the scope of knowledge possessed by those of ordinary skill in the art without departing from the purpose of the present invention. Various changes.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111571208.5A CN114444767A (en) | 2021-12-21 | 2021-12-21 | A regional wind speed prediction method based on data fusion and convolution long and short time series analysis network model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111571208.5A CN114444767A (en) | 2021-12-21 | 2021-12-21 | A regional wind speed prediction method based on data fusion and convolution long and short time series analysis network model |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114444767A true CN114444767A (en) | 2022-05-06 |
Family
ID=81363720
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111571208.5A Pending CN114444767A (en) | 2021-12-21 | 2021-12-21 | A regional wind speed prediction method based on data fusion and convolution long and short time series analysis network model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114444767A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112100922A (en) * | 2020-09-16 | 2020-12-18 | 平衡机器科技(深圳)有限公司 | Wind resource prediction method based on WRF and CNN convolutional neural network |
CN112990354A (en) * | 2021-04-15 | 2021-06-18 | 中国气象局公共气象服务中心(国家预警信息发布中心) | Method and device for constructing deep convolution regression network for wind speed prediction |
-
2021
- 2021-12-21 CN CN202111571208.5A patent/CN114444767A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112100922A (en) * | 2020-09-16 | 2020-12-18 | 平衡机器科技(深圳)有限公司 | Wind resource prediction method based on WRF and CNN convolutional neural network |
CN112990354A (en) * | 2021-04-15 | 2021-06-18 | 中国气象局公共气象服务中心(国家预警信息发布中心) | Method and device for constructing deep convolution regression network for wind speed prediction |
Non-Patent Citations (2)
Title |
---|
徐遵义 等: "基于风速融合和NARX神经网络的短期风电功率预测", 现代电子技术, 1 May 2020 (2020-05-01), pages 166 - 169 * |
王雪松 等: "面向无测风区域的复杂地形风场模拟研究", 地理信息世界, no. 02, 25 April 2020 (2020-04-25) * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Yu et al. | Comparison of random forests and support vector machine for real-time radar-derived rainfall forecasting | |
CN110197218A (en) | Thunderstorm gale grade forecast classification method based on multi-source convolutional neural networks | |
CN113487066B (en) | Long-time-sequence freight volume prediction method based on multi-attribute enhanced graph convolution-Informer model | |
CN109214592A (en) | A kind of Air Quality Forecast method of the deep learning of multi-model fusion | |
CN109063908B (en) | Urban AQI prediction and spatial fine-grained AQI grade estimation method based on deep multi-task learning | |
CN117233870B (en) | A short-term precipitation ensemble forecast and downscaling method based on multiple meteorological elements | |
CN107909084B (en) | A convolution-linear regression network-based prediction method for haze concentration | |
CN107274030A (en) | Runoff Forecast method and system based on hydrology variable year border and monthly variation characteristic | |
CN112036658A (en) | Wind power real-time prediction method based on random forgetting long-term and short-term memory | |
CN115526413A (en) | A Forecasting Method of Daily Maximum Air Temperature Based on Fully Connected Neural Network | |
CN114004152A (en) | Multi-wind-field wind speed space-time prediction method based on graph convolution and recurrent neural network | |
CN113033081A (en) | Runoff simulation method and system based on SOM-BPNN model | |
CN113592132B (en) | Rainfall objective forecasting method based on numerical weather forecast and artificial intelligence | |
Zhang et al. | Reservoir inflow predicting model based on machine learning algorithm via multi‐model fusion: A case study of Jinshuitan river basin | |
CN114118565A (en) | Daily runoff forecasting method based on bidirectional long-and-short-term memory coupling model | |
CN110826810B (en) | A regional rainfall prediction method combining spatial reasoning and machine learning | |
Zhang et al. | A modular real-time tidal prediction model based on grey-GMDH neural network | |
Mar et al. | Optimum neural network architecture for precipitation prediction of Myanmar | |
Pai et al. | Long range forecast on south west monsoon rainfall using artificial neural networks based on clustering approach | |
Zhao et al. | An objective prediction model for typhoon rainstorm using particle swarm optimization: neural network ensemble | |
Ramadas et al. | Predictor selection for streamflows using a graphical modeling approach | |
CN114444767A (en) | A regional wind speed prediction method based on data fusion and convolution long and short time series analysis network model | |
CN117950082A (en) | Deep learning weather data forecasting method and device based on micro-topography | |
CN118228003A (en) | Method for predicting sub-season precipitation in Yangtze river basin by fusing middle-large scale circulation data | |
Naveen et al. | A novel weather parameters prediction scheme and their effects on crops. |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |