A Parallel Computing Method for Ultra-Large River Network Flood Forecasting

By dividing the super-large river network into multiple sub-regions and implementing parallel calculations, the problem of inefficient calculation efficiency in flood forecasting in traditional serial computing methods is solved, efficient flood forecasting calculation is achieved, real-time forecasting needs are met, and the accuracy of forecast results is ensured.

CN119625928BActive Publication Date: 2025-06-17水利部信息中心(水利部水文水资源监测预报中心)
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411762757.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-03
Publication Date
2025-06-17
Estimated Expiration
2044-12-03

AI Technical Summary

Technical Problem

Traditional serial computing methods are inefficient and time-consuming when dealing with flood forecasts for super-large river networks, making it difficult to meet the needs of real-time flood forecasts and decision support.

Method used

The parallel calculation method is used to divide the super-large river network into multiple sub-regions, and the hydrodynamic continuous equation and hydrodynamic momentum equation are constructed in each sub-region for discrete calculation. Build a parallel computing framework, assign computing tasks to multiple computing nodes, and balance the data calculation complexity of each node through the allocation of computational complexity indicators.

Benefits of technology

The calculation rate of flood forecast is significantly improved, the calculation time is reduced, the requirements of real-time flood forecasting are met, and the continuity and coordination of water flow movement are ensured through boundary data correction processing and synchronization mechanisms, ensuring the accuracy of flood forecast results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119625928B_ABST
    Figure CN119625928B_ABST
Patent Text Reader

Abstract

The present invention discloses a parallel computing method for flood forecasting in a super-large river network, comprising the following steps: dividing the sub-region boundaries within the study area with reference to the abrupt change points of the terrain slope and the confluence points of the tributaries to ensure that there are complete water flow outlets within the sub-regions; constructing the hydrodynamic continuity equation and the hydrodynamic momentum equation for each sub-region, and performing discretization to calculate the water depth h and the flow velocity u of each spatial node within the sub-region; building a parallel computing framework and inputting the discretized hydrodynamic continuity equation and hydrodynamic momentum equation into each computing node of the parallel computing framework; after each computing node calculates the water depth and the flow velocity of the spatial nodes, the water depth and the flow velocity are accumulated to calculate the flood forecasting data of the main river channel within the study area. By dividing the super-large river network into multiple sub-regions and implementing parallel computing, the present invention greatly reduces the computing duration of flood forecasting, effectively meets the urgent needs of real-time flood forecasting, and wins more valuable time for flood control and disaster reduction decision-making.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of flood forecasting, and particularly to a parallel computing method for flood forecasting of super-large river networks. Background Art

[0002] Flood forecasting of super-large river networks is crucial for flood control and disaster reduction. However, due to the large scale of the river network, complex water flow movement, and huge amount of data, traditional serial computing methods face problems such as low computing efficiency and excessive time consumption when dealing with flood forecasting of super-large river networks, and it is difficult to meet the needs of real-time flood forecasting and decision support. Therefore, it is necessary to propose an efficient parallel computing method for flood forecasting of super-large river networks. Summary of the Invention

[0003] Aiming at the above deficiencies of the prior art, the present invention provides a parallel computing method for flood forecasting of super-large river networks, which significantly improves the computing rate of flood forecasting and ensures the accuracy of the forecasting results.

[0004] The technical solution adopted by the present invention to achieve the above invention purpose is as follows:

[0005] Provide a parallel computing method for flood forecasting of super-large river networks, which includes the following steps:

[0006] S1: Determine the research area of flood forecasting according to the distribution of the river network, divide the sub-region boundaries with reference to the terrain slope mutation points and the confluence points of tributaries within the research area, and ensure that there are complete water flow outlets within the sub-regions;

[0007] S2: Construct the hydrodynamic continuity equation and the hydrodynamic momentum equation for each sub-region, and perform discretization. Use the discretized hydrodynamic continuity equation and hydrodynamic momentum equation to calculate the water depth h and flow velocity u of each spatial node within the sub-region;

[0008] S3: Build a parallel computing framework, input the discretized hydrodynamic continuity equation and hydrodynamic momentum equation into each computing node of the parallel computing framework; calculate the computing complexity index within each sub-region, allocate computing nodes according to the computing complexity index, make the data computing complexity of each computing node balanced, and input the water depth and flow velocity data collected by the spatial nodes into the computing nodes;

[0009] S4: After each computing node calculates the water depth and flow velocity of the spatial nodes, screen out the maximum values of the water depth and flow velocity of each computing node Based on the number N of sub-regions within the research area, accumulate the water depth and flow velocity, and calculate the flood forecasting data of the main river channel within the research area;

[0010]

[0011] Among them, H is the water depth of the main stream of the river in flood forecasting, and U is the flow velocity of the main stream of the river in flood forecasting.

[0012] Furthermore, step S1 includes:

[0013] S11: Determine the research area for flood forecasting according to the distribution of the river network, obtain the confluence points of all tributaries within the research area, and calculate the water flow convergence coefficient C of each confluence point p ;

[0014]

[0015] Among them, p is the number of the confluence point, j is the river channel number related to the confluence point, J is the number of river channels related to the confluence point, Q j is the flow rate of river channel j, L j is the length of river channel j, and D is the distance from the confluence point to the river outlet;

[0016] S12: Set the threshold C of the water flow convergence coefficient 阈值 , and calculate the significance coefficient X of the water flow convergence coefficient p ;

[0017]

[0018] S13: Compare the significance coefficient X p with the significance coefficient threshold X0; if X p ≥X0, then determine that the confluence point p is used as the boundary division point; if X p <X0, then determine that the confluence point p cannot be used as the boundary division point, and the confluence point p;

[0019] S14: Mark all the terrain slope mutation points within the research area, and take the midpoint between two adjacent boundary division points along the main stream direction of the river as the boundary starting point of the sub-region; draw a perpendicular line to the main stream of the river between two adjacent boundary division points, and take the terrain slope mutation points between two adjacent perpendicular lines as the boundary end point of the sub-region;

[0020] S15: Connect the corresponding boundary starting points and boundary end points along both sides of the main stream of the river to form the boundary line of the sub-region, and the area between two adjacent boundary lines is used as the sub-region, and the boundary division points within the sub-region are used as the water flow outlets of the sub-region.

[0021] Furthermore, step S2 includes:

[0022] S21: Construct the hydrodynamic continuity equation for each sub-region;

[0023]

[0024] Among them, h is the water depth of the tributary in the sub-region, t is the time for monitoring the water depth of the tributary, u is the flow velocity at the water depth h, x is the position of the water depth monitoring point of the tributary from the confluence outlet, and q is the inflow of the tributary;

[0025] S22: Construct the hydrodynamic momentum equation for each sub-region;

[0026]

[0027] Among them, g is the acceleration of gravity, C is the Chezy coefficient, and R is the hydraulic radius;

[0028] S23: Discretize the hydrodynamic continuity equation, and set the spatial step Δx and the time step Δt;

[0029]

[0030] Among them, i is the spatial node number on the tributary in the sub-region, w is the time step number for monitoring the water depth, is the water depth monitored at the i-th spatial node and the w-th time step, is the flow velocity monitored at the i-th spatial node and the spatial node-th time step;

[0031] S24: Discretize the hydrodynamic momentum equation;

[0032]

[0033] S25: Calculate the Chezy coefficient C; n is the roughness coefficient of the water flow;

[0034] S26: Substitute the Chezy coefficient C into the discretized hydrodynamic continuity equation and hydrodynamic momentum equation, and calculate the water depth h and flow velocity u of each spatial node in the sub-region;

[0035] S27: Correct the boundary data between adjacent sub-regions;

[0036]

[0037] Among them, i' and i are the spatial nodes on the boundary line between two adjacent sub-regions respectively, are the corrected water depth and flow velocity of the spatial node i, and α and β are the boundary correction coefficients of the water depth and flow velocity respectively.

[0038] Furthermore, step S3 includes:

[0039] S31: Build a parallel computing framework. The parallel computing framework contains n computing nodes, and the number of computing nodes is equal to the number N of sub-regions. Input the discretized hydrodynamic continuity equation and hydrodynamic momentum equation into each computing node of the parallel computing framework;

[0040] S32: Calculate the computational complexity index F within the sub-region based on the number I of spatial nodes set within the sub-region and the number W of time steps set within one data monitoring period. n ;

[0041]

[0042] Among them, γ1 and γ2 are respectively the influence weights of water depth and flow velocity calculations on computational complexity, and γ1 + γ2 = 1;

[0043] S33: Calculate the total computational complexity index within the research region and calculate the ideal computational complexity index for each computational node

[0044] S34: Calculate the computational complexity index for each sub-region within the research region, and sort the computational complexity indices from smallest to largest to obtain the computational complexity index sequence (F1, F2, …, F N );

[0045] S35: Compare the magnitudes of F1 and F0;

[0046] If F1 ≤ F0, directly input the water depth and flow velocity data within each sub-region into the corresponding computational node and execute step S4;

[0047] If F1 > F0, execute step S36;

[0048] S36: Traverse the first computational complexity index F1 and the Nth computational complexity index F N in sequence according to the computational complexity index sequence (F1, F2, …, F N , and allocate some of the spatial nodes within the sub-region corresponding to the first computational complexity index F1 to the computational node corresponding to the computational complexity index F N , then return to step S34; the spatial nodes allocated to the computational node corresponding to the computational complexity index F N are the spatial nodes where the current water depth or flow velocity is the minimum within the sub-region;

[0049] S37: Until all the computational complexity indices within the computational complexity index sequence satisfy being less than or equal to F0, then input the water depth and flow velocity data within each sub-region into the corresponding computational node and execute step S4.

[0050] The beneficial effects of the present invention are as follows: By dividing the super-large river network into multiple sub-regions and implementing parallel computing, the present invention significantly reduces the computing time of flood forecasting, effectively meets the urgent needs of real-time flood forecasting, and wins more valuable time for flood control and disaster reduction decision-making. The present invention also introduces boundary data correction processing and a synchronization mechanism to ensure the continuity and coordination of water flow movement between sub-regions, thereby strongly ensuring the accuracy of the flood forecasting results of the entire super-large river network. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 It is a flowchart of the parallel computing method for flood forecasting of a super-large river network. DETAILED DESCRIPTION OF THE INVENTION

[0052] The following describes the specific implementation manners of the present invention to facilitate those skilled in the art of the present technology to understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation manners. For those of ordinary skill in the art of the present technology, as long as various changes are within the spirit and scope of the present invention defined and determined by the appended claims, these changes are obvious, and all inventions and creations using the concept of the present invention are within the scope of protection.

[0053] As Figure 1 shown, a parallel computing method for flood forecasting of a super-large river network includes the following steps:

[0054] S1: Determine the research area for flood forecasting according to the distribution of the river network, and demarcate the sub-region boundaries within the research area with reference to the terrain slope mutation points and the confluence points of tributaries to ensure that there are complete water flow outlets within the sub-regions;

[0055] Step S1 includes:

[0056] S11: Determine the research area for flood forecasting according to the distribution of the river network, obtain the confluence points of all tributaries within the research area, and calculate the water flow convergence coefficient C p ;

[0057]

[0058] where p is the number of the confluence point, j is the river channel number related to the confluence point, J is the number of river channels related to the confluence point, Q j is the flow rate of river channel j, L j is the length of river channel j, and D is the distance from the confluence point to the river channel outlet;

[0059] S12: Set the threshold C 阈值 of the water flow convergence coefficient, and calculate the significance coefficient X p of the water flow convergence coefficient;

[0060]

[0061] S13: Compare the significance coefficient X p with the significance coefficient threshold X0; if X p ≥ X0, then determine that the confluence point p is used as the boundary division point; if X p < X0, then determine that the confluence point p cannot be used as the boundary division point, and the confluence point p;

[0062] S14: Mark all the terrain slope mutation points in the research area, and take the midpoint between two adjacent boundary division points along the main stream direction of the river as the boundary starting point of the sub-region; draw a perpendicular line to the main stream of the river between two adjacent boundary division points, and take the terrain slope mutation points between two adjacent perpendicular lines as the boundary end point of the sub-region;

[0063] S15: Connect the corresponding boundary starting points and boundary end points along both sides of the main stream of the river to form the boundary line of the sub-region, and the area between two adjacent boundary lines is used as the sub-region, and the boundary division point in the sub-region is used as the water flow outlet of the sub-region.

[0064] S2: Construct the hydrodynamic continuity equation and hydrodynamic momentum equation for each sub-region, and perform discretization, and use the discretized hydrodynamic continuity equation and hydrodynamic momentum equation to calculate the water depth h and flow velocity u of each spatial node in the sub-region.

[0065] Step S2 specifically includes:

[0066] S21: Construct the hydrodynamic continuity equation for each sub-region;

[0067]

[0068] where h is the water depth of the tributary in the sub-region, t is the time for monitoring the water depth of the tributary, u is the flow velocity at the water depth h, x is the position of the water depth monitoring point of the tributary from the water flow outlet, and q is the inflow of the tributary;

[0069] S22: Construct the hydrodynamic momentum equation for each sub-region;

[0070]

[0071] where g is the acceleration due to gravity, C is the Chezy coefficient, and R is the hydraulic radius;

[0072] S23: Discretize the hydrodynamic continuity equation, and set the spatial step size Δx and the time step size Δt;

[0073]

[0074] where i is the spatial node number on the tributary in the sub-region, and w is the time step number for monitoring the water depth, The water depth monitored at the $i$-th spatial node and the $w$-th time step The flow velocity monitored at the $i$-th spatial node and the $i$-th spatial node's time step

[0075] S24: Discretize the hydrodynamic momentum equation

[0076]

[0077] S25: Calculate the Chezy coefficient $C$ $n$ is the roughness coefficient of the water flow

[0078] S26: Substitute the Chezy coefficient $C$ into the discretized hydrodynamic continuity equation and hydrodynamic momentum equation to calculate the water depth $h$ and flow velocity $u$ at each spatial node within the sub-region

[0079] S27: During the calculation process, there is water flow interaction between sub-regions, that is, the transfer of boundary data is crucial. Correct the boundary data between adjacent sub-regions

[0080]

[0081] where $i'$ and $i$ are the spatial nodes on the boundary line between two adjacent sub-regions respectively are the corrected water depth and flow velocity at the spatial node $i$, and $\alpha$ and $\beta$ are the boundary correction coefficients for water depth and flow velocity respectively

[0082] S3: Build a parallel computing framework, input the discretized hydrodynamic continuity equation and hydrodynamic momentum equation into each computing node of the parallel computing framework; calculate the computational complexity index within each sub-region, and allocate computing nodes according to the computational complexity index to balance the data computational complexity of each computing node. Based on the computational complexity for reasonable allocation, it avoids the simple average allocation strategy

[0083] Step S3 specifically includes:

[0084] S31: Build a parallel computing framework. The parallel computing framework contains $n$ computing nodes, and the number of computing nodes is equal to the number $N$ of sub-regions. Input the discretized hydrodynamic continuity equation and hydrodynamic momentum equation into each computing node of the parallel computing framework

[0085] S32: Calculate the computational complexity index $F$ within the sub-region according to the number $I$ of spatial nodes set within the sub-region and the number $W$ of time steps set within a data monitoring period n ;

[0086]

[0087] Among them, γ1 and γ2 are the influence weights of water depth and flow velocity calculations on the computational complexity respectively, γ1 + γ2 = 1, and generally γ1 = 0.5, γ2 = 0.5;

[0088] S33: Calculate the total computational complexity index within the study area and calculate the ideal computational complexity index for each computing node

[0089] S34: Calculate the computational complexity index for each sub-region within the study area, and sort the computational complexity indices from approximately small to large to obtain a computational complexity index sequence (F1, F2, …, F N );

[0090] S35: Compare the magnitudes of F1 and F0;

[0091] If F1 ≤ F0, directly input the water depth and flow velocity data within each sub-region into the corresponding computing node, and execute step S4;

[0092] If F1 > F0, execute step S36;

[0093] S36: Traverse the first computational complexity index F1 and the Nth computational complexity index F N in sequence according to the computational complexity index sequence (F1, F2, …, F N ), and allocate some spatial nodes within the sub-region corresponding to the first computational complexity index F1 to the computing node corresponding to the computational complexity index F N , then return to step S34. The spatial nodes allocated to the computing node corresponding to the computational complexity index F N are the spatial nodes where the current water depth or flow velocity is the minimum within the sub-region;

[0094] S37: Until all computational complexity indices within the computational complexity index sequence satisfy being less than or equal to F0, then input the water depth and flow velocity data within each sub-region into the corresponding computing node, and execute step S4.

[0095] S4: After each computing node calculates the water depth and flow velocity of the spatial nodes, screen out the maximum values of the water depth and flow velocity for each computing node Based on the number N of sub-regions within the study area, accumulate the water depth and flow velocity, and calculate the flood forecast data for the main river channel within the study area;

[0096]

[0097] Among them, H is the water depth of the main river channel for flood forecasting, and U is the flow velocity of the main river channel for flood forecasting.

[0098] By dividing the super-large river network into multiple sub-regions and implementing parallel computing, the present invention significantly reduces the computing time of flood forecasting, effectively meets the urgent needs of real-time flood forecasting, and wins more valuable time for flood control and disaster reduction decision-making. The boundary data correction processing and synchronization mechanism are also introduced to ensure the continuity and coordination of water flow movement between sub-regions, thereby strongly ensuring the accuracy of the flood forecasting results of the entire super-large river network.

Claims

1. A parallel computing method for flood forecasting in a super-large river network, characterized in that: The following steps are involved: S1: Determine the study area for flood forecasting based on the distribution of the river network, and divide the sub-area boundaries within the study area based on the sudden change points of terrain slope and the confluence points of tributaries to ensure that there are complete water confluence outlets in the sub-areas; S2: construct the hydrodynamic continuity equation and hydrodynamic momentum equation of each sub-region, and discretize them. Use the discretized hydrodynamic continuity equation and hydrodynamic momentum equation to calculate the water depth h and flow velocity u of each spatial node in the sub-region; S3: Build a parallel computing framework, input the discretized hydrodynamic continuity equation and hydrodynamic momentum equation into each computing node of the parallel computing framework; calculate the computational complexity index in each sub-area, allocate computing nodes according to the computational complexity index, balance the data computational complexity of each computing node, and input the water depth and flow velocity data collected by the spatial node into the computing node; S4: After each computing node calculates the water depth and flow velocity of the spatial node, the maximum value of the water depth and flow velocity of each computing node is screened out Based on the number of sub-areas N in the study area, the water depth and flow velocity are accumulated to calculate the flood forecast data of the mainstream river in the study area; Among them, H is the water depth of the mainstream of the river in the flood forecast, and U is the flow velocity of the mainstream of the river in the flood forecast.

2. The parallel computing method for flood forecasting of a super-large river network according to claim 1 is characterized in that: The step S1 comprises: S11: Determine the study area for flood forecasting based on the distribution of the river network, obtain the confluence points of all tributaries in the study area, and calculate the water flow convergence coefficient C at each confluence point p ; Where p is the number of the confluence point, j is the number of the river channel associated with the confluence point, J is the number of the river channels associated with the confluence point, and Q j is the flow rate of river j, L j is the length of river channel j, D is the distance from the confluence point to the river outlet; S12: Set the threshold C of the water flow convergence coefficient 阈值 , calculate the significance coefficient X of the water flow convergence coefficient p ; S13: Compare the significance coefficient X p with the significance coefficient threshold X0; if X p ≥ X0, then determine that the confluence point p is used as the boundary division point; if X p < X0, then determine that the confluence point p cannot be used as the boundary division point, and the confluence point p; S14: Mark all the sudden changes in terrain slope in the study area, and take the midpoint between two adjacent boundary dividing points along the river mainstream as the boundary starting point of the sub-area; draw a vertical line along the river mainstream along two adjacent boundary dividing points, and take the sudden changes in terrain slope between the two adjacent vertical lines as the boundary end point of the sub-area; S15: Connect the corresponding boundary starting points and boundary end points along the two sides of the river mainstream to form the boundary line of the sub-region, the area between two adjacent boundary lines is used as the sub-region, and the boundary dividing point within the sub-region is used as the water flow confluence outlet of the sub-region.

3. The parallel computing method for flood forecasting of a super-large river network according to claim 2 is characterized in that: The step S2 comprises: S21: construct the hydrodynamic continuity equation for each sub-region; Where h is the water depth of the tributary in the sub-area, t is the time for monitoring the water depth of the tributary, u is the flow velocity at the water depth h, x is the distance between the water depth monitoring point of the tributary and the water flow confluence outlet, and q is the inflow of the tributary; S22: construct the hydrodynamic momentum equation for each sub-region; Among them, g is the acceleration of gravity, C is the Xie Cai coefficient, and R is the hydraulic radius; S23: discretize the hydrodynamic continuity equation and set the spatial step Δx and the time step Δt; Among them, i is the spatial node number of the tributary in the sub-area, w is the time step number of the monitored water depth, is the water depth monitored at the i-th spatial node and the w-th time step, is the flow velocity monitored at the i-th spatial node and the w-th time step; S24: Discretize the hydrodynamic momentum equation; S25: Calculate Xiecai coefficient C; n is the roughness coefficient of water flow; S26: Substitute the Xie Cai coefficient C into the discretized hydrodynamic continuity equation and hydrodynamic momentum equation to calculate the water depth h and flow velocity u of each spatial node in the sub-area; S27: correcting the boundary data between adjacent sub-regions; Among them, i′ and i are spatial nodes on the boundary line of two adjacent sub-regions, is the corrected water depth and flow velocity of spatial node i, α and β are the boundary correction coefficients of water depth and flow velocity respectively.

4. The parallel computing method for flood forecasting of a super-large river network according to claim 3 is characterized in that: The step S3 comprises: S31: building a parallel computing framework, the parallel computing framework includes n computing nodes, the number of computing nodes is equal to the number of sub-regions N, and the discretized hydrodynamic continuity equation and hydrodynamic momentum equation are input into each computing node of the parallel computing framework; S32: Calculate the computational complexity index F in the sub-region according to the number of spatial nodes I set in the sub-region and the number of time steps W set in a data monitoring cycle. n ; Among them, γ1 and γ2 are the influence weights of water depth and flow velocity calculation on the computational complexity, γ1+γ2=1; S33: Calculate the total computational complexity index in the study area And calculate the ideal computational complexity index for each computing node S34: Calculate the computational complexity index of each sub-region in the study area, and sort the computational complexity indexes from the largest to the smallest, to obtain a computational complexity index sequence (F1, F2, ..., F N ); S35: compare the size of F1 and F0; If F1≤F0, the water depth and flow velocity data in each sub-area are directly input into the corresponding calculation node, and step S4 is executed; If F1>F0, execute step S36; S36: According to the computational complexity index sequence (F1, F2, ..., F N ) traverses the first computational complexity index F1 and the Nth computational complexity index F N , assign some of the spatial nodes in the sub-region corresponding to the first computational complexity index F1 to the computational complexity index F N In the corresponding computing node, return to step S34; assign the computational complexity index F N The spatial node in the corresponding calculation node is the spatial node where the current water depth or flow velocity is the minimum value in the sub-area; S37: until all computational complexity indicators in the computational complexity indicator sequence are less than or equal to F0, then the water depth and flow velocity data in each sub-area are input into the corresponding computing node, and step S4 is executed.

Citation Information

Patent Citations

  • Unmanned ship automatic cruise calculation system and method for storage capacities of reservoirs

    CN110118547A

  • Flood prevention consultation monitoring device and method based on Internet of Things

    CN113380005A