Physical mechanism-guided time-domain convolutional neural network precipitation prediction method and system

By introducing physical mechanisms and Copula functions into the time-domain convolutional neural network to calculate the joint distribution of meteorological and hydrological data, the problems of low generalization ability and large prediction errors of traditional precipitation prediction models are solved, and more accurate precipitation predictions are achieved.

CN118133896BActive Publication Date: 2024-09-10HUAZHONG UNIV OF SCI & TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410275006.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-11
Publication Date
2024-09-10
Estimated Expiration
2044-03-11

AI Technical Summary

Technical Problem

The traditional precipitation prediction deep learning model has unclear physical mechanism, low generalization ability, difficulty in fitting extreme points, large prediction data errors, and difficulty in making accurate predictions.

Method used

The time-domain convolutional neural network (TCN) is used and physical mechanisms are introduced to calculate the joint distribution of meteorological and hydrological data through the Copula function, and a deep learning model driven by both physical knowledge and data is constructed to enhance the generalization ability and prediction accuracy of the model.

Benefits of technology

It improves the generalization ability and prediction accuracy of the model, can predict precipitation extreme points more accurately, and improves the accuracy and adaptability of prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118133896B
    Figure CN118133896B
Patent Text Reader

Abstract

The present invention belongs to the technical field related to precipitation prediction, and discloses a physical mechanism-guided time-domain convolutional neural network precipitation prediction method and system, the method comprising: using multiple types of Copula functions to respectively calculate the Euclidean distance of the joint distribution of historical meteorological and hydrological data, and using the Copula function corresponding to the joint distribution with the smallest Euclidean distance as the target Copula function; using the target Copula function to calculate the joint distribution value of historical meteorological and hydrological data; using the historical meteorological and hydrological data and the corresponding joint distribution value as input, and using the historical precipitation data as output to train the time-domain convolutional neural network to obtain the physical mechanism-guided time-domain convolutional neural network precipitation prediction model; using the historical meteorological and hydrological data of the preset number of days before the precipitation to be predicted as input into the physical mechanism-guided time-domain convolutional neural network precipitation prediction model to obtain the precipitation to be predicted. This application improves the generalization ability of the deep learning prediction model and improves the prediction accuracy of precipitation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field related to precipitation prediction, and more specifically, relates to a physical mechanism-guided time-domain convolutional neural network precipitation prediction method and system. Background Art

[0002] In recent years, under the dual influence of global warming and human activities, the frequency and intensity of extreme climate events have increased year by year, among which precipitation events are particularly significant. Precipitation is not only a key component of atmospheric circulation, but also the main driving force for natural disasters such as floods and droughts. The frequent occurrence of extreme precipitation events and the increasing impact have caused serious harm to social and economic development and human production and life. With the vigorous development of science and technology such as big data and artificial intelligence, different types of data such as hydrology and meteorology continue to grow. Deep learning technology has strong data processing capabilities, learning capabilities, and pattern recognition capabilities. It can capture nonlinear complex relationships between data and plays an important role in the field of hydrology and water resources. Therefore, the use of deep learning technology and the integration of meteorological and hydrological data to accurately predict precipitation is of great strategic significance for improving the flood prevention and disaster reduction capabilities of the basin and ensuring the water security of the basin. At present, the physical mechanism of the traditional precipitation prediction deep learning model is unclear, the generalization ability is low, it is difficult to fit the extreme points, the prediction data error is large, and it is difficult to make accurate predictions. Summary of the invention

[0003] In response to the above defects or improvement needs of the prior art, the present invention provides a physical mechanism-guided time-domain convolutional neural network precipitation prediction method and system. This application improves the generalization ability of the deep learning prediction model, can accurately simulate the extreme points of precipitation, and improves the prediction accuracy of precipitation.

[0004] To achieve the above-mentioned purpose, according to one aspect of the present invention, a physical mechanism guided time-domain convolutional neural network precipitation prediction method is provided, comprising: S1: acquiring historical meteorological and hydrological data and historical precipitation data; S2: using multiple types of Copula functions to respectively calculate the Euclidean distance of the joint distribution of historical meteorological and hydrological data, and taking the Copula function corresponding to the joint distribution with the smallest Euclidean distance as the target Copula function; S3: using the target Copula function to construct the joint distribution of the historical meteorological and hydrological data, and calculating the joint distribution value of the historical meteorological and hydrological data; S4: using the historical meteorological and hydrological data and the corresponding joint distribution value as input, and using the historical precipitation data as output to train the time-domain convolutional neural network (TCN) to obtain a physical mechanism guided time-domain convolutional neural network precipitation prediction model (PHY-TCN); S5: using the historical meteorological and hydrological data of a preset number of days before the precipitation to be predicted as input into the physical mechanism guided time-domain convolutional neural network precipitation prediction model to obtain the precipitation to be predicted.

[0005] Preferably, the types of the Copula function include Clayton Copula, Gumbel Copula and Frank Copula. The joint distribution of meteorological and hydrological data calculated using multiple types of Copula functions is:

[0006] Clayton Copula:

[0007]

[0008] Gumbel Copula:

[0009]

[0010] Frank Copula:

[0011]

[0012] Among them, u1,u2,,u n is a random variable composed of historical meteorological and hydrological data, and θ is a Copula function.

[0013] Preferably, the calculation formula of the Euclidean distance OLS is:

[0014]

[0015] Among them, F enp is the empirical frequency value, and C is the joint distribution value calculated using various types of Copula functions.

[0016] Preferably, the meteorological and hydrological data include runoff data, air temperature data and relative humidity data.

[0017] Preferably, step S1 further includes segmenting the historical meteorological and hydrological data in time series to obtain multiple groups of data sequences, and binding each group of data sequences and the historical precipitation data of the immediately preceding preset days as data pairs to obtain a data set. Preferably, step S4 specifically includes: using some data pairs and corresponding joint distribution values ​​in the data set as training sets, and using another part of the data pairs and their corresponding joint distribution values ​​as validation sets; during the training process, using the data sequences and corresponding joint distribution values ​​in the data pairs as inputs, and using the historical precipitation data of the immediately preceding preset days as outputs to train the time-domain convolutional neural network.

[0018] The second aspect of the present application provides a physical mechanism-guided time-domain convolutional neural network precipitation prediction system, including: an acquisition module: used to acquire historical meteorological and hydrological data and historical precipitation data; a first calculation module: used to use multiple types of Copula functions to respectively calculate the Euclidean distance of the joint distribution of historical meteorological and hydrological data, and use the Copula function corresponding to the joint distribution with the smallest Euclidean distance as the target Copula function; a second calculation module: used to use the target Copula function to construct the joint distribution of the historical meteorological and hydrological data, and calculate the joint distribution value of the historical meteorological and hydrological data; a training module: used to use the historical meteorological and hydrological data and the corresponding joint distribution value as input, and use the historical precipitation data as output to train the time-domain convolutional neural network to obtain a physical mechanism-guided time-domain convolutional neural network precipitation prediction model; a prediction module: used to input the historical meteorological and hydrological data of a preset number of days before the precipitation to be predicted into the physical mechanism-guided time-domain convolutional neural network precipitation prediction model to obtain the precipitation to be predicted.

[0019] In general, compared with the prior art, the above technical solution conceived by the present invention, the physical mechanism guided time domain convolutional neural network precipitation prediction method and system provided by the present invention mainly have the following beneficial effects:

[0020] 1. This application incorporates the joint distribution of input variables on the basis of the original TCN model, realizes the addition of physical distribution to the traditional TCN model, and constructs a deep learning precipitation prediction model driven by both physical knowledge and data. The joint distribution characterizes the correlation and distribution law of the input variables, which is conducive to the model to effectively capture the distribution law and long-term dependency between precipitation and hydrological and meteorological elements, enhance the generalization ability of the model, improve the prediction accuracy of the model, and more accurately predict the precipitation extreme points.

[0021] 2. This application obtains the target Copula function by calculating the Euclidean distance. The target Copula function is used to calculate the joint distribution value between the data, which is flexible and can adapt to linear and nonlinear correlation structures. The Copula function models the marginal distribution and correlation structure of the data separately, which can better handle the correlation between multiple variables without being affected by the marginal distribution, and is well adapted to the characteristics of different data sets, thereby improving the adaptability and accuracy of the model. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a flow chart of a time-domain convolutional neural network precipitation prediction method guided by a physical mechanism according to an embodiment of the present invention;

[0023] Figure 2 is a joint distribution diagram of an embodiment of the present invention;

[0024] Figure 3 is a data distribution diagram of the joint distribution value calculated by the embodiment of the present invention;

[0025] Figure 4 is a trend graph of the joint distribution value data calculated by the embodiment of the present invention;

[0026] Figure 5 is a structural diagram of a PHY-TCN model constructed in an embodiment of the present invention;

[0027] Figure 6 It is a comparison chart of the predicted values ​​of the PHY-TCN model and the TCN model according to an embodiment of the present invention. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0029] The present invention provides a physical mechanism-guided time-domain convolutional neural network precipitation prediction method. Aiming at the problems of unclear physical mechanism, low generalization ability, difficulty in fitting extreme points, etc. in the research of traditional precipitation prediction deep learning models, the present invention adjusts the input structure of the time-domain convolutional neural network, integrates the joint distribution between input variables on the basis of the original input, adds physical distribution to the traditional time-domain convolutional neural network, constructs a physical knowledge and data dual-driven deep learning precipitation prediction model, enhances the generalization ability of the model, and improves the prediction accuracy of the model. Figure 1 As shown, it specifically includes the following steps S1 to S5.

[0030] S1: Obtain historical meteorological and hydrological data as well as historical precipitation data.

[0031] Collect meteorological and hydrological data related to precipitation, such as runoff data, temperature data, relative humidity data, etc., as well as corresponding historical precipitation data.

[0032] A further preferred solution also includes segmenting the historical meteorological and hydrological data in time series to obtain multiple groups of data sequences, and binding each group of data sequences and the historical precipitation data of the immediately adjacent future preset days as a data pair to obtain a data set.

[0033] For example, taking the Huayuankou Rainfall Station in the Yellow River Basin as an example, we can obtain daily data from January 1969 to December 2018. We can divide it into monthly scales, bind the meteorological and hydrological data of this month with the precipitation data of the first five days of the next month as data pairs, and obtain multiple groups of data pairs to form a data set.

[0034] S2: Use multiple types of Copula functions to calculate the Euclidean distance of the joint distribution of historical meteorological and hydrological data respectively, and take the Copula function corresponding to the joint distribution with the smallest Euclidean distance as the target Copula function.

[0035] In a further preferred embodiment, the types of the Copula functions include Clayton Copula, Gumbel Copula and Frank Copula, and the joint distribution C(u1,u2,…,u n )for:

[0036] Clayton Copula:

[0037]

[0038] Gumbel Copula:

[0039]

[0040] Frank Copula:

[0041]

[0042] Among them, u1,u2,…,u n is a random variable composed of historical meteorological and hydrological data, and θ is a Copula function.

[0043] The calculation formula of the Euclidean distance OLS is:

[0044]

[0045] Among them, F enp is the empirical frequency value, and C is the joint distribution calculated using various types of Copula functions.

[0046] If the meteorological and hydrological data include runoff data, temperature data and relative humidity data, then n=3. The optimal joint distribution is selected based on the shortest Euclidean distance. In this embodiment, it can be seen from Table 1 that the minimum Euclidean distance of the Gumbel-Copula function is 0.0427. Therefore, the optimal joint distribution function among runoff, temperature and relative humidity is the Gumbel-Copula function, and the parameter θ is 2.3662. The joint distribution expression among runoff, temperature and relative humidity is as shown in Formula 5, and its joint distribution diagram is as follows: Figure 2 As shown: the Copula function corresponding to the joint distribution with the smallest Euclidean distance is used as the target Copula function.

[0047]

[0048]

[0049] Table 1

[0050] S3: Use the target Copula function to construct the joint distribution of the historical meteorological and hydrological data, and calculate the joint distribution value of the historical meteorological and hydrological data. According to the target Copula function expression, the joint distribution value of runoff, temperature, and relative humidity at each time point is calculated. The data trend and data distribution diagram of the joint distribution value of runoff, temperature, and relative humidity are as follows: Figure 3 , Figure 4 shown.

[0051] S4: Using the historical meteorological and hydrological data and the corresponding joint distribution values ​​as input and the historical precipitation data as output, a time-domain convolutional neural network (TCN) is trained to obtain a physical mechanism-guided time-domain convolutional neural network precipitation prediction model (PHY-TCN).

[0052] The calculated joint distribution value is embedded into TCN in a data enhancement manner to construct a precipitation prediction model of PHY-TCN. The data enhancement is to adjust the input of the PHY-TCN model on the basis of the original TCN input and add the calculated joint distribution value to the input. The PHY-TCN model structure is as follows: Figure 5 shown.

[0053] Specifically, some data pairs and corresponding joint distribution values ​​in the data set are used as training sets, and another part of the data pairs are used as validation sets; for example, the ratio of training set to validation set can be 4:1.

[0054] During the training process, the data sequence in the data pair is used as input, and the historical precipitation data of the next preset days in the future is used as output to train the time domain convolutional neural network. The first 80% of the data is used as training data to train the PHY-TCN model, and the last 20% of the data is used as verification data to verify the effect of the PHY-TCN model. The data from January 1969 to December 2008 is used as training data to train the PHY-TCN model, and the data from January 2009 to December 2018 is used as verification data to verify the prediction effect of the PHY-TCN model. The results are as follows: Figure 6 The model evaluation indicators are shown in Table 2. Compared with the PHY-TCN and TCN models, the model performance of PHY-TCN is improved by 3.82% and 6.04% in the training set and validation set, respectively. This shows that the embedding of physical mechanisms improves the generalization ability of the model and makes the prediction accuracy more accurate.

[0055]

[0056] Table 2

[0057] S5: Inputting the historical meteorological and hydrological data of the preset days before the precipitation to be predicted into the time-domain convolutional neural network precipitation prediction model guided by the physical mechanism to obtain the precipitation to be predicted.

[0058] On the other hand, the present application provides a physical mechanism-guided time-domain convolutional neural network precipitation prediction system, comprising:

[0059] Acquisition module: the above step S1 may be executed to acquire historical meteorological and hydrological data and historical precipitation data;

[0060] The first calculation module: can execute the above step S2, for using multiple types of Copula functions to respectively calculate the Euclidean distance of the joint distribution of historical meteorological and hydrological data, and use the Copula function corresponding to the joint distribution with the smallest Euclidean distance as the target Copula function;

[0061] The second calculation module: can execute the above step S3, for constructing the joint distribution of the historical meteorological and hydrological data using the target Copula function, and calculating the joint distribution value of the historical meteorological and hydrological data;

[0062] Training module: The above step S4 may be executed to train the time-domain convolutional neural network with the historical meteorological and hydrological data and the corresponding joint distribution value as input and the historical precipitation data as output to obtain a time-domain convolutional neural network precipitation prediction model guided by a physical mechanism;

[0063] Prediction module: The above step S5 can be executed to input the historical meteorological and hydrological data of the preset number of days before the precipitation to be predicted into the time-domain convolutional neural network precipitation prediction model guided by the physical mechanism to obtain the precipitation to be predicted.

[0064] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A time-domain convolutional neural network precipitation prediction method guided by physical mechanism, It is characterized in that include: S1: Obtain historical meteorological and hydrological data and historical precipitation data; S2: Use various types of Copula functions to calculate the Euclidean distance of the joint distribution of historical meteorological and hydrological data, and take the Copula function corresponding to the joint distribution with the smallest Euclidean distance as the target Copula function; S3: constructing the joint distribution of the historical meteorological and hydrological data using the target Copula function, and calculating the joint distribution value of the historical meteorological and hydrological data; S4: using the historical meteorological and hydrological data and the corresponding joint distribution values ​​as input and the historical precipitation data as output to train the time-domain convolutional neural network to obtain a physical mechanism-guided time-domain convolutional neural network precipitation prediction model; S5: taking the historical meteorological and hydrological data of the preset number of days before the precipitation to be predicted as input, and inputting it into the time-domain convolutional neural network precipitation prediction model guided by the physical mechanism, to obtain the precipitation to be predicted; The calculation formula of the Euclidean distance OLS is: Among them, F enp is the empirical frequency value, and C is the joint distribution value calculated using various types of Copula functions.

2. The physical mechanism-guided time-domain convolutional neural network precipitation prediction method according to claim 1, It is characterized in that The types of Copula functions include Clayton Copula, Gumbel Copula and Frank Copula. The joint distribution of meteorological and hydrological data calculated using various types of Copula functions is: Clayton Copula: Gumbel Copula: Frank Copula: Among them, u 1 ,u 2 ,,u n is a random variable composed of historical meteorological and hydrological data, and θ is a Copula function.

3. The physical mechanism-guided time-domain convolutional neural network precipitation prediction method according to claim 1, It is characterized in that The meteorological and hydrological data include runoff data, temperature data and relative humidity data.

4. The physical mechanism-guided time-domain convolutional neural network precipitation prediction method according to claim 1 or 3, It is characterized in that Step S1 also includes segmenting the historical meteorological and hydrological data in time series to obtain multiple groups of data sequences, and binding each group of data sequences and the historical precipitation data of the immediately adjacent future preset days as a data pair to obtain a data set.

5. The physical mechanism-guided time-domain convolutional neural network precipitation prediction method according to claim 4, It is characterized in that Step S4 is specifically as follows: Use some data pairs and their corresponding joint distribution values ​​in the data set as training sets, and use another part of the data pairs and their corresponding joint distribution values ​​as validation sets; During the training process, the data sequence and the corresponding joint distribution value in the data pair are taken as input, and the historical precipitation data of the immediately future preset days are taken as output to train the time domain convolutional neural network.

6. A physical mechanism-guided time-domain convolutional neural network precipitation prediction system, It is characterized in that include: Acquisition module: used to obtain historical meteorological and hydrological data and historical precipitation data; The first calculation module is used to use multiple types of Copula functions to respectively calculate the Euclidean distance of the joint distribution of historical meteorological and hydrological data, and take the Copula function corresponding to the joint distribution with the smallest Euclidean distance as the target Copula function; The second calculation module is used to construct the joint distribution of the historical meteorological and hydrological data using the target Copula function, and calculate the joint distribution value of the historical meteorological and hydrological data; Training module: used to train the time-domain convolutional neural network with the historical meteorological and hydrological data and the corresponding joint distribution value as input and the historical precipitation data as output to obtain a time-domain convolutional neural network precipitation prediction model guided by the physical mechanism; Prediction module: used to input the historical meteorological and hydrological data of the preset number of days before the precipitation to be predicted into the time-domain convolutional neural network precipitation prediction model guided by the physical mechanism to obtain the precipitation to be predicted; The calculation formula of the Euclidean distance OLS is: Among them, F enp is the empirical frequency value, and C is the joint distribution value calculated using various types of Copula functions.

Citation Information

Patent Citations

  • Precipitation interval prediction method based on time convolutional network

    CN115495991A

  • Flood risk prediction method and system and electronic equipment

    CN116663719A

  • Comprehensive energy system load uncertainty prediction method based on model migration

    CN117195723A

  • Spatio-temporal probabilistic forecasting of wind power output

    WO2021051035A1