A method for calculating river confluence

By segmenting the river channel and using the Manning formula to calculate water exchange, the problems of inaccurate simulation and computational complexity in existing river confluence calculations are solved, achieving accurate simulation and efficient calculation of river water level and flow.

CN116432559BActive Publication Date: 2026-11-17ANHUI UNIV OF FINANCE & ECONOMICS
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310566339.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-17
Publication Date
2026-11-17
Estimated Expiration
2043-05-17

AI Technical Summary

Technical Problem

Existing methods for calculating river confluence cannot accurately simulate the water level and flow rate processes at various points in the river during confluence, and the dynamic model calculations are complex, time-consuming, and labor-intensive.

Method used

The river channel is divided into several segments and confluence or diversion nodes, and codes are set. The water exchange between adjacent micro-segments of the river channel is calculated using the Manning formula. The water flow is simulated through multi-layer circulation to realize the river channel confluence calculation.

Benefits of technology

It achieves accurate simulation of water level and flow processes at various points in the river channel, simplifies the calculation of ring-shaped river networks, and reduces computation time and memory requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116432559B_ABST
    Figure CN116432559B_ABST
Patent Text Reader

Abstract

This invention discloses a method for calculating river confluence, comprising: discretizing the extracted river network into several river segments and confluence or diversion nodes; setting primary and secondary codes for the river segments and confluence or diversion nodes; specifying start and end point boundary conditions for river segments that do not start or end at confluence or diversion nodes; calculating the water depth-cross-sectional area-hydraulic radius relationship for each cross-section; based on the water depth-cross-sectional area-hydraulic radius relationship of the cross-section, obtaining the water depth-cross-sectional area-hydraulic radius relationship at the center point of each river micro-segment and the water level-storage volume relationship of each confluence or diversion node; setting and executing a multi-layer loop, using the Manning formula to calculate the water exchange between adjacent river micro-segments, simulating the water flow movement of the entire river network, and realizing river confluence calculation. The advantages are: it has a strong physical mechanism, can simulate the water level and flow process at various points in the river during confluence; it does not become unstable and is easy to solve for ring-shaped river networks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of hydrological simulation technology in water conservancy engineering, and in particular to a method for calculating river confluence. Background Technology

[0002] River confluence calculation is an unavoidable step in runoff simulation in hydraulic engineering, and its accuracy has a significant impact on the simulation results. Currently, commonly used river confluence calculation methods include three categories: unit hydrograph method, conceptual confluence models (Mustingen method, linear reservoir method, isochronous model, lag calculation method, tank confluence model, etc.), and dynamic models (dynamic wave method, gravity wave method, diffuse wave method, and kinematic wave method).

[0003] Among these methods, the unit hydrograph method is generally used in lumped hydrological models and cannot simulate the water level and flow processes at various points in the river channel during confluence. Conceptual confluence models rely excessively on the adjustment of conceptual parameters, making it difficult to utilize real topographic information and also unable to simulate the water level and flow processes at various points in the river channel during confluence. Dynamic models possess strong physical mechanisms and can simulate the water level and flow processes at various points in the river channel during confluence, but the finite difference or finite element algorithms they employ are prone to instability, making it difficult to solve ring-shaped river networks, and requiring significant computer memory and are extremely time-consuming to compute. Summary of the Invention

[0004] The purpose of this invention is to provide a method for calculating river confluence, thereby solving the aforementioned problems existing in the prior art.

[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows:

[0006] A method for calculating river confluence includes the following steps:

[0007] S1. Determine the location of the outlet of the basin to be simulated, extract the river network above the outlet of the basin to be simulated, and discretize it into several river segments and water inflow or water outflow nodes.

[0008] S2. Set primary and secondary codes for river sections and water inflow or diversion nodes;

[0009] S3. Specify the starting point boundary conditions and the ending point boundary conditions for river segments that do not start or end at water catchment or water distribution nodes, respectively.

[0010] S4. Calculate the relationship between water depth, cross-sectional area, and hydraulic radius for each section based on the measured cross-sectional shape of the river channel.

[0011] S5. Based on the relationship between water depth, cross-sectional area, and hydraulic radius of the cross section, obtain the relationship between water depth, cross-sectional area, and hydraulic radius at the center point of each micro-segment of the river channel, as well as the relationship between water level and water storage volume at each water collection or distribution node;

[0012] S6. Set up and execute a multi-level loop, use the Manning formula to calculate the water exchange between adjacent river segments, simulate the water flow movement of the entire river network, and realize the river confluence calculation.

[0013] Preferably, step S2 specifically involves encoding each river segment along the downstream to upstream direction of the river channel, using the maximum number of river segments required for each segment to reach the outlet of the simulated basin as the primary river segment code, and the river segment number from the left bank to the right bank as the secondary river segment code; and encoding each water inflow or water diversion node using the maximum number of river segments required for each water inflow or water diversion node to reach the outlet of the simulated basin as the primary node code, and the water inflow or water diversion node number from the left bank to the right bank as the secondary node code.

[0014] Preferably, step S3 specifically involves specifying the boundary conditions for the starting point of each river segment that does not originate from a confluence or diversion node, and specifying the boundary conditions for the ending point of each river segment that does not terminate at a confluence or diversion node; the boundary condition type is a known water level boundary or a known flow boundary.

[0015] Preferably, step S5 specifically involves specifying the iteration calculation time step and the river segment differential space step, dividing each river segment into micro-segments with a length of the specified spatial step, and deriving the water depth-cross-sectional area-hydraulic radius relationship at the center point of each micro-segment from the measured cross-sectional water depth-cross-sectional area-hydraulic radius relationship using an interpolation method; calculating the initial water level of each micro-segment based on the riverbed elevation data and initial water depth data of each micro-segment; and obtaining the roughness of each micro-segment by interpolation based on the measured roughness of the river channel cross-section.

[0016] For each water catchment or distribution node, extract the micro-segments adjacent to this node and treat them as a whole. By using the riverbed elevation, water depth-cross-sectional area relationship, and micro-segment length of each micro-segment, derive the overall water level-storage volume relationship and use it as the water level-storage volume relationship of this node.

[0017] Preferably, the loop settings for each layer in step S6 specifically include the following:

[0018] S61. Set the first loop as a time loop, looping from the simulation start time to the simulation end time, with a step size of the specified time step size, traversing each time period, and the loop number is ite1; initialize the judgment conditions of each micro segment to 0; set the second loop as a river segment level loop, looping from the maximum value of the river segment level code to the minimum value, with a step size of -1, traversing the level code of the river segment, and the loop number is ite2.

[0019] S62. Set the third loop as a second-level river segment loop, looping from the minimum value of the second-level code with the first-level code ite2 to the maximum value, with a step size of 1, traversing the second-level river segment codes, with the loop number ite3; set the fourth loop as a micro-segment loop, looping from the first micro-segment upstream of the river segment with the first-level code ite2 and the second-level code ite3 to the second-to-last micro-segment downstream, with a step size of 1, traversing the micro-segments, with the loop number ite4; execute the fourth loop and the third loop in sequence, then enter the second loop;

[0020] S63. Set the third loop as a water inflow or water diversion node loop, traverse the water inflow or water diversion node with the first-level code ite2-1, loop from the minimum value of its second-level code to the maximum value, with a step size of 1 and a loop number of ite3; set the fourth loop, traverse the micro-segments adjacent to the water inflow or water diversion node with the first-level code ite2-1 and the second-level code ite3 and whose water level is greater than the theoretical water level, with a step size of 1 and a loop number of ite4; set the fifth loop, traverse the micro-segments adjacent to the water inflow or water diversion node with the first-level code ite2-1 and the second-level code ite3 and whose water level is less than the theoretical water level, with a step size of 1 and a loop number of ite5; execute the fifth loop, the fourth loop, and the third loop in sequence, and then enter the second loop;

[0021] S64. Loop until the second loop ends, then exit the second loop and enter the first loop.

[0022] S65. Loop until the first loop ends, then exit the first loop.

[0023] Preferably, the loop execution process in step S62 is as follows:

[0024] S621, Regarding the first micro-segment:

[0025] If the first micro-segment starts at a known water level boundary, the amount of water required to adjust the water level to the level specified by the boundary conditions is calculated by using the riverbed elevation of the first micro-segment, the initial water level of the time period, the water depth-cross-sectional area relationship, and the length of the micro-segment. The inflow rate is then calculated in conjunction with the time step. The water level of the first micro-segment is updated to the water level specified by the boundary conditions, and the corresponding water depth is calculated.

[0026] If the first micro-segment starts at a known flow boundary, the amount of water flowing into the first micro-segment at time ite1 is calculated using the flow rate and time step specified by the boundary conditions. This amount of water is added to the water volume stored in the first micro-segment. The water level of the first micro-segment is calculated and updated by combining the riverbed elevation, the initial water level of the time period, the relationship between water depth and cross-sectional area, and the length of the micro-segment.

[0027] If the first micro-segment starts at a water catchment or water distribution node, the water level of the first micro-segment has already been calculated using information from adjacent micro-segments at the water catchment or water distribution node;

[0028] If the water level of the first micro-segment is higher than that of the second micro-segment, the hydraulic gradient of the first micro-segment is calculated using the water levels of the first and second micro-segments, the water level when the two micro-segments are equal, and the distance between the center points of the two micro-segments. The water depth is calculated using the water level of the first micro-segment and the riverbed elevation, and the corresponding cross-sectional area and hydraulic radius are interpolated using the relationship between water depth, cross-sectional area, and hydraulic radius. The maximum outflow volume of the first micro-segment is calculated using the Manning formula, combined with the micro-segment roughness and time step. If this outflow volume is greater than that of the first micro-segment... If the water volume stored in a segment is calculated, then this water volume is modified to the water volume stored in the first micro-segment. This water volume is then deducted from the water volume stored in the first micro-segment and added to the water volume stored in the second micro-segment. The water depth and water level of the two micro-segments are calculated and updated based on the length of the two micro-segments, the relationship between water depth and cross-sectional area, and the riverbed elevation. If the water level of the first micro-segment is higher than or equal to the water level of the second micro-segment, the judgment condition of the first micro-segment is modified to 1. If the water level of the first micro-segment is lower than the water level of the second micro-segment, the judgment condition of the first micro-segment is kept at 0.

[0029] S622, For intermediate micro-segments:

[0030] If the water level of segment 4 is higher than that of segment 4+1, the hydraulic gradient of segment 4 towards segment 4+1 is calculated using the water levels of segment 4, segment 4+1, the water levels when the two segments are equal, and the distance between the center points of the two segments. The cross-sectional area and hydraulic radius are calculated using the water level of segment 4, riverbed elevation, and the relationship between water depth, cross-sectional area, and hydraulic radius. The maximum outflow volume of segment 4 is calculated using the Manning formula, combined with the segment roughness and time step. If this volume is greater than the water volume stored in segment 4, the volume is modified to the water volume stored in segment 4. This volume is then subtracted from the water volume stored in segment 4 and added to the water volume stored in segment 4+1. The water depth and water level of segments 4 and 4+1 are calculated and updated using the lengths of the two segments, the relationship between water depth and cross-sectional area, and the riverbed elevation.

[0031] If the condition for determining segment 4-1 is 0 and the water level of segment 4 is higher than that of segment 4-1, firstly, calculate the hydraulic gradient of segment 4 towards segment 4-1 using the water levels of segment 4, segment 4-1, the water levels when the two segments are equal, and the distance between the center points of the segments. Then, calculate the cross-sectional area and hydraulic radius using the water level of segment 4, riverbed elevation, and the relationship between water depth, cross-sectional area, and hydraulic radius. Finally, combine the roughness of the segment and the time step... Calculate the maximum outflow volume of segment ite4 using the Manning formula; if this volume is greater than the water volume stored within segment ite4, modify the volume to the water volume stored within segment ite4; subtract this volume from the water volume stored within segment ite4 and add it to the water volume stored in segment ite4-1; combine the lengths of the two segments, the relationship between water depth and cross-sectional area, and the riverbed elevation to calculate and update the water depth and water level of segments ite4-1 and ite4; modify the determination condition for segment ite4-1 to 1;

[0032] If the judgment condition for the (ite4-1)th micro-segment is 0 and the water level of the (ite4-1)th micro-segment is equal to or lower than the water level of the (ite4-1)th micro-segment, modify the judgment condition for the (ite4-1)th micro-segment to 1.

[0033] If the water level of the 4th micro-segment is higher than or equal to the water level of the (+1)th micro-segment, modify the judgment condition of the 4th micro-segment to 1; if the water level of the 4th micro-segment is lower than the water level of the (+1)th micro-segment, keep the judgment condition of the 4th micro-segment at 0.

[0034] S623. Repeat this process until the second-to-last micro-segment, then end and exit the fourth loop, and enter the third loop.

[0035] S624. Repeat this process until the third loop ends, then exit the third loop and enter the second loop.

[0036] Preferably, the cyclic execution process of step S63 is as follows:

[0037] S631. For a water catchment or distribution node with primary code ite2-1 and secondary code ite3, extract the water storage volume in all adjacent micro-segments. Derive the water level when all adjacent micro-segments have the same water level by interpolating the water level-water storage volume relationship of this node, assuming it to be the theoretical water level. Divide all micro-segments adjacent to this node into micro-segments with water levels greater than the theoretical water level and micro-segments with water levels less than the theoretical water level.

[0038] S632. Set a fourth loop to traverse the micro-segments that are adjacent to the water inflow or diversion node with the first-level code ite2-1 and the second-level code ite3 and whose water level is higher than the theoretical water level, with the loop number ite4; set a fifth loop to traverse the micro-segments that are adjacent to the water inflow or diversion node with the first-level code ite2-1 and the second-level code ite3 and whose water level is lower than the theoretical water level, with the loop number ite5.

[0039] If the water level of segment 4 is greater than that of segment 5, calculate the hydraulic gradient from segment 4 to segment 5 using the water levels of segment 4 and 5, the water level when the two segments are equal, and the distance between the center points of the segments. Calculate the cross-sectional area and hydraulic radius using the water level of segment 4, riverbed elevation, and the relationship between water depth, cross-sectional area, and hydraulic radius. Combine the segment roughness and time step with the Manning formula to calculate the maximum outflow volume from this segment. If this volume is greater than the water volume stored in segment 4, modify this volume to reflect the water volume stored in segment 4. Subtract this volume from the water volume stored in segment 4 and add it to the water volume stored in segment 5. Calculate and update the water depth and water level of segments 4 and 5 using the lengths of segments 4 and 5, the relationship between water depth and cross-sectional area, and the riverbed elevation.

[0040] S633. Repeat this process until the fifth loop ends, then exit the fifth loop, modify the condition for the fourth micro-segment to 1, and enter the fourth loop.

[0041] S634. Repeat this process until the fourth loop ends, then exit the fourth loop and enter the third loop.

[0042] S635. Repeat this process until the third loop ends, then exit the third loop and enter the second loop.

[0043] Preferably, the cyclic execution process of step S64 is as follows:

[0044] S641. Let the last micro-segment of river segment 1-1 be the m-th micro-segment;

[0045] If the determination condition for the (m-1)th micro-segment is 0 and the water level of the (m-1)th micro-segment is lower than that of the m-th micro-segment: calculate the hydraulic gradient of the m-th micro-segment towards the (m-1)th micro-segment using the water level of the (m-1)th micro-segment, the water level of the m-th micro-segment, the water level when the two micro-segments are equal, and the distance between the center points of the two micro-segments. Calculate the cross-sectional area and hydraulic radius of the water passage using the water level of the m-th micro-segment, riverbed elevation, and the relationship between water depth, cross-sectional area, and hydraulic radius. Combine this with the micro-segment roughness and time step using the Manning formula. The formula calculates the maximum outflow volume of this micro-segment; if this volume is greater than the water volume stored in the m-th micro-segment, then the volume is modified to the water volume stored in the m-th micro-segment; this volume is deducted from the water volume stored in the m-th micro-segment and added to the water volume stored in the (m-1)-th micro-segment; the water depth and water level of the (m-1)-th and m-th micro-segments are calculated and updated based on the lengths of the (m-1)-th and m-th micro-segments, the water depth-cross-sectional area relationship, and the riverbed elevation; the determination condition for the (m-1)-th micro-segment is modified to 1.

[0046] S642. If the m-th micro-segment terminates at a known flow boundary condition: Calculate the amount of water flowing into the m-th micro-segment at time ite1 using the known flow rate and time step, add this amount of water to the stored water volume of the m-th micro-segment, calculate and update the water depth and water level of the m-th micro-segment based on the length of the m-th micro-segment, the relationship between water depth and cross-sectional area, and the riverbed elevation; modify the determination condition of the m-th micro-segment to 1.

[0047] If the m-th micro-segment terminates at a known water level boundary condition: calculate the amount of water needed to adjust the water level to the level specified by the boundary condition using the water level, segment length, water depth-cross-sectional area relationship, and riverbed elevation of the m-th micro-segment; calculate the inflow rate in conjunction with the time step; update the water level of the m-th micro-segment to the level specified by the boundary condition; calculate the corresponding water depth; and modify the determination condition for the m-th micro-segment to 1.

[0048] S643. Repeat this process until the second loop ends, then exit the second loop and enter the first loop.

[0049] The beneficial effects of this invention are: 1. Compared with the unit hydrograph method and conceptual confluence models, this method has a strong physical mechanism and can simulate the water level and flow process at various points in the river channel during confluence; compared with dynamic models, this method is not unstable, easily solves ring-shaped river networks, requires less computer memory, and consumes less time. 2. This method is simple in principle, easy to implement, and is a relatively reasonable method for calculating river confluence. Attached Figure Description

[0050] Figure 1 This is a flowchart illustrating the method in an embodiment of the present invention;

[0051] Figure 2 This is a simplified schematic diagram of the river network in an embodiment of the present invention;

[0052] Figure 3This is a schematic diagram of the coding of river sections and water inflow or diversion nodes in an embodiment of the present invention. Detailed Implementation

[0053] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0054] like Figure 1 As shown, this embodiment provides a river confluence calculation method to solve the aforementioned problems in the prior art. The basic idea of ​​this method is to divide the river segment into several smaller segments, and then calculate the water exchange between adjacent segments using the Manning formula, thereby simulating the water flow movement of the entire river network. The method of this invention includes the following steps:

[0055] First, determine the location of the outlet of the watershed to be simulated, extract the river network above the outlet of the watershed to be simulated, and discretize it into several river segments, water catchment or water distribution nodes.

[0056] The location of the watershed outlet to be simulated is generally a hydrological or water level station. The river network upstream of the watershed outlet is obtained through actual surveys or topographic analysis. This river network is discretized into several river segments and confluence or diversion nodes. River segments are represented by unidirectional arrows (pointing downstream), confluence or diversion nodes by dots, and watershed outlets by rectangular blocks, thus simplifying the river network. For example... Figure 2 As shown.

[0057] Second: Set primary and secondary codes for river sections and water inflow or outflow nodes.

[0058] Specifically, from downstream to upstream, each river segment is coded using the maximum number of segments it must traverse to reach the basin outlet as the primary segment code (represented by Arabic numerals), and the segment numbers from the left bank to the right bank as the secondary segment code (represented by Arabic numerals). The primary and secondary segment codes are separated by a hyphen ("-"). Similarly, each confluence or diversion point is coded using the maximum number of segments it must traverse to reach the basin outlet as the primary node code (represented by Roman numerals), and the confluence or diversion point numbers from the left bank to the right bank as the secondary node code (represented by Roman numerals). The primary and secondary node codes are separated by a hyphen ("-"). For example... Figure 3 As shown.

[0059] 3. Specify the starting point boundary conditions and the ending point boundary conditions for river segments that do not start or end at water inflow or diversion nodes, respectively.

[0060] Specifically, each river segment that does not originate from a confluence or diversion point is designated (e.g., Figure 3The boundary conditions for the starting point positions of the middle river segments (6-1, 6-2, 5-1, 5-4, 3-1, 3-3, 3-4, 3-5, 2-1) specify the starting point positions for each river segment that does not terminate at a confluence or diversion node (e.g., Figure 3 Boundary conditions for the endpoint of the middle river segment 1-1); the boundary condition type can be a known water level boundary (specifying the water level at each time) or a known flow boundary (specifying the flow at each time, with positive values ​​indicating inflow into the river segment and negative values ​​indicating outflow from the river segment).

[0061] Fourth: Calculate the relationship between water depth, cross-sectional area, and hydraulic radius for each section based on the measured cross-sectional shape of the river channel.

[0062] 5. Based on the relationship between water depth, cross-sectional area, and hydraulic radius of the cross section, obtain the relationship between water depth, cross-sectional area, and hydraulic radius at the center point of each micro-segment of the river channel; and based on the relationship between water depth, cross-sectional area, and hydraulic radius of the micro-segment of the river channel, obtain the relationship between water level and water storage volume at each water collection or distribution node.

[0063] Specifically, specify the iteration calculation time step (ΔT: must be divisible by the total simulation time) and the river segment differential space step (ΔL: less than 0.5 times the shortest river segment length). Divide each river segment into micro-segments with a length equal to the specified space step (ΔL). If the river segment length L is divisible by ΔL, it is divided into L / ΔL micro-segments; otherwise, it is divided into floor(L / ΔL) ΔL micro-segments (floor represents the floor function) and a remaining micro-segment (length L-ΔL×floor(L / ΔL)).

[0064] The relationship between water depth, cross-sectional area, and hydraulic radius at the center point of each micro-segment is derived from the measured cross-sectional relationship of water depth, cross-sectional area, and hydraulic radius. The initial water level of each micro-segment is calculated based on the riverbed elevation data and initial water depth data of each micro-segment. The roughness n of each micro-segment is obtained by interpolation based on the measured roughness of the river cross-section.

[0065] For each water inflow or outflow node, extract the micro-segments adjacent to this node (i.e., the last micro-segment of each river segment flowing into this node and the first micro-segment of each river segment flowing out of this node, in order to...). Figure 3 Taking node V-I as an example, the last micro-segment of river segment 6-1 and river segment 6-2 and the first micro-segment of river segment 5-2, river segment 4-2 and river segment 5-3 should be extracted and regarded as a whole. By analyzing the riverbed elevation, water depth-cross-sectional area relationship and micro-segment length of each micro-segment, the overall water level-storage volume relationship can be derived and used as the water level-storage volume relationship of this node.

[0066] Six: Set up and execute multi-layered loops, using Manning's formula to calculate the water exchange between adjacent river segments, simulating the water flow movement of the entire river network, and realizing river confluence calculation. The specific settings for each loop layer are as follows:

[0067] 1. Set the first loop as a time loop, looping from the simulation start time to the simulation end time, with a step size of the specified time step, traversing each time period, with the loop number ite1; initialize the judgment conditions of each micro-segment to 0 (re-initialize to 0 in each time loop); set the second loop as a river segment level loop, looping from the maximum value of the river segment level code to the minimum value (i.e., 1), with a step size of -1, traversing the level code of the river segment, with the loop number ite2.

[0068] 2. Set the third loop as the second-level loop of the river segment, looping from the minimum value of the second-level code with the first-level code ite2 to the maximum value, with a step size of 1, traversing the second-level river segment codes, with the loop number ite3; set the fourth loop as the micro-segment loop, looping from the first micro-segment upstream of the river segment with the first-level code ite2 and the second-level code ite3 to the second-to-last micro-segment downstream, with a step size of 1, traversing the micro-segments, with the loop number ite4; execute the fourth loop and the third loop in sequence, and then enter the second loop.

[0069] In this step, the specific process of the loop is as follows:

[0070] (1) For the first micro-segment (i.e., the fourth micro-segment):

[0071] If the first micro-segment starts at a known water level boundary, the water volume w required to adjust the water level to the level specified by the boundary conditions is calculated using the riverbed elevation of the first micro-segment, the initial water level of the time period, the water depth-cross-sectional area relationship, and the length of the micro-segment. The inflow flow q is then calculated using the time step ΔT (i.e., w = q × ΔT). The water level of the first micro-segment is then updated to the water level specified by the boundary conditions, and the corresponding water depth is calculated.

[0072] If the first micro-segment starts at a known flow boundary, the amount of water flowing into the first micro-segment at time ite1 is calculated using the flow rate q specified by the boundary conditions and the time step ΔT (i.e., w = q × ΔT). This amount of water w is added to the water volume stored in the first micro-segment. The water level of the first micro-segment is calculated and updated by combining the riverbed elevation, the initial water level of the time period, the relationship between water depth and cross-sectional area, and the length of the micro-segment.

[0073] If the first micro-segment originates from a catchment or distribution node, then the water level of the first micro-segment has already been calculated using information from adjacent micro-segments near the catchment or distribution node.

[0074] If the water level of the first micro-segment is higher than that of the second micro-segment, the hydraulic slope of the first micro-segment is calculated using the water levels of the first and second micro-segments, the water level when the two micro-segments are equal (the water volume is the sum of the water volumes of the two micro-segments), and the distance between the center points of the two micro-segments. The water depth is calculated using the water level of the first micro-segment and the riverbed elevation, and the corresponding cross-sectional area and hydraulic radius are obtained by interpolation using the relationship between water depth, cross-sectional area, and hydraulic radius. The outflow from the first micro-segment is calculated using the Manning formula, combined with the micro-segment roughness n and the time step ΔT. The maximum water volume w is calculated. If the water volume w is greater than the water volume stored in the first micro-segment, then w is modified to the water volume stored in the first micro-segment. The water volume w is deducted from the water volume stored in the first micro-segment and added to the water volume stored in the second micro-segment. The water depth and water level of the two micro-segments are calculated and updated based on the length of the two micro-segments, the relationship between water depth and cross-sectional area, and the riverbed elevation. If the water level of the first micro-segment is higher than or equal to the water level of the second micro-segment, the judgment condition of the first micro-segment is modified to 1. If the water level of the first micro-segment is lower than the water level of the second micro-segment, the judgment condition of the first micro-segment is kept at 0.

[0075] Wherein, the hydraulic gradient slope = slope1 × β + slope2 × (1 - β), where slope1 is the slope calculated using the water levels of the first and second micro-segments and the distance between the center points of the two micro-segments, and slope2 is the slope calculated using the water levels of the first and second micro-segments, the water levels when the two micro-segments are equal, and the distance between the center points of the two micro-segments. Manning's formula is w = ΔT × area × radius. 2 / 3 ×slope 0.5 / n.

[0076] (2) For the middle micro-segment (i.e., the 4th micro-segment):

[0077] If the water level of segment 4 is higher than that of segment 4+1 (downstream), the hydraulic slope from segment 4 to segment 4+1 (downstream) is calculated using the water levels of segment 4, segment 4+1, the water level when the two segments are equal (the water volume is the sum of the water volumes of the two segments), and the distance between the center points of the two segments. The cross-sectional area (area) and hydraulic radius (r) are then calculated using the water level of segment 4, riverbed elevation, and the relationship between water depth, cross-sectional area, and hydraulic radius. The algorithm uses adius, combined with the roughness n of the micro-segment and the time step ΔT, to calculate the maximum outflow volume w of the ite4 micro-segment using the Manning formula. If this volume w is greater than the water volume stored in the ite4 micro-segment, then w is modified to the water volume stored in the ite4 micro-segment. This volume w is then subtracted from the water volume stored in the ite4 micro-segment, and w is added to the water volume stored in the ite4+1 micro-segment. The water depth and water level of the ite4 and ite4+1 micro-segments are calculated and updated by combining the lengths of the two micro-segments, the relationship between water depth and cross-sectional area, and the riverbed elevation.

[0078] Wherein, the hydraulic gradient slope = slope1 × β + slope2 × (1 - β), where slope1 is the slope calculated using the water level of segment 4, the water level of segment 4+1, and the distance between the center points of the two segments, and slope2 is the slope calculated using the water level of segment 4, the water level when the two segments are equal, and the distance between the center points of the two segments. The Manning formula is the same as above.

[0079] If the determination condition for segment 4-1 (upstream direction) is 0 and the water level of segment 4 is higher than that of segment 4-1, firstly, calculate the hydraulic slope from segment 4 to segment 4-1 (i.e., upstream direction) using the water levels of segment 4, segment 4-1, the water level when the two segments are equal (the water volume is the sum of the water volumes of the two segments), and the distance between the center points of the two segments. Then, calculate the cross-sectional area (area) and hydraulic radius (r) using the water level of segment 4, riverbed elevation, and the relationship between water depth, cross-sectional area, and hydraulic radius. The maximum outflow volume w of the ite4 micro-segment is calculated using the Manning formula, taking into account the roughness n of the micro-segment and the time step ΔT. If this volume w is greater than the water volume stored in the ite4 micro-segment, w is modified to the water volume stored in the ite4 micro-segment. This volume w is then subtracted from the water volume stored in the ite4 micro-segment, and w is added to the water volume stored in the ite4-1 micro-segment. The water depth and water level of the ite4-1 and ite4 micro-segments are calculated and updated by combining the lengths of the two micro-segments, the relationship between water depth and cross-sectional area, and the riverbed elevation. The judgment condition for the ite4-1 micro-segment is modified to 1.

[0080] Wherein, the hydraulic gradient slope = slope1 × β + slope2 × (1 - β), where slope1 is the slope calculated using the water level of segment 4, the water level of segment 4-1, and the distance between the center points of the two segments, and slope2 is the slope calculated using the water level of segment 4, the water level when the two segments are equal, and the distance between the center points of the two segments. The Manning formula is the same as above.

[0081] If the judgment condition for the (ite4-1)th micro-segment is 0 and the water level of the (ite4-1)th micro-segment is equal to or lower than the water level of the (ite4-1)th micro-segment, modify the judgment condition for the (ite4-1)th micro-segment to 1.

[0082] If the water level of segment 4 is higher than or equal to the water level of segment 4+1, modify the judgment condition of segment 4 to 1; if the water level of segment 4 is lower than the water level of segment 4+1, keep the judgment condition of segment 4 at 0.

[0083] (3) Repeat this process until the second to last micro-segment, then exit the fourth loop and enter the third loop;

[0084] (4) Repeat this process until the third loop ends, then exit the third loop and enter the second loop.

[0085] 3. Set the third loop as a water inflow or water diversion node loop, traverse the water inflow or water diversion node with the first-level code ite2-1, loop from the minimum value of its second-level code to the maximum value, with a step size of 1 and a loop number of ite3; set the fourth loop, traverse the micro-segments adjacent to the water inflow or water diversion node with the first-level code ite2-1 and the second-level code ite3 and whose water level is greater than the theoretical water level, with a step size of 1 and a loop number of ite4; set the fifth loop, traverse the micro-segments adjacent to the water inflow or water diversion node with the first-level code ite2-1 and the second-level code ite3 and whose water level is less than the theoretical water level, with a step size of 1 and a loop number of ite5; execute the fifth loop, the fourth loop, and the third loop in sequence, and then enter the second loop.

[0086] In this step, the specific process of the loop is as follows:

[0087] (1) For the water catchment or water distribution node with the first-level code ite2-1 and the second-level code ite3, extract the water storage volume in all adjacent micro segments. Through the water level-water storage volume relationship of this node, derive the water level when all adjacent micro segments have the same water level, which is assumed to be the theoretical water level. Divide all micro segments adjacent to this node into micro segments with water levels greater than the theoretical water level (sorted from high to low water level) and micro segments with water levels less than the theoretical water level (sorted from low to high water level).

[0088] (2) Set up a fourth loop to traverse the micro-segments that are adjacent to the water inflow or diversion nodes with the first-level code ite2-1 and the second-level code ite3 and whose water level is higher than the theoretical water level, with a step size of 1 and a loop number of ite4; set up a fifth loop to traverse the micro-segments that are adjacent to the water inflow or diversion nodes with the first-level code ite2-1 and the second-level code ite3 and whose water level is lower than the theoretical water level, with a step size of 1 and a loop number of ite5;

[0089] If the water level of segment 4 is greater than that of segment 5 (the water levels of each segment are updated in the fourth and fifth iterations, so this needs to be determined), the hydraulic slope from segment 4 to segment 5 is calculated using the water levels of segment 4 and 5, the water level when the two segments are equal (the water volume is the sum of the water volumes of the two segments), and the distance between the center points of the two segments. The cross-sectional area (area) and hydraulic radius are calculated using the water level of segment 4, riverbed elevation, and the relationship between water depth, cross-sectional area, and hydraulic radius. The radius (radius) is used, combined with the roughness n of the micro-segment and the time step ΔT, to calculate the maximum outflow volume w of this micro-segment using the Manning formula. If this volume w is greater than the water volume stored in the 4th micro-segment, then w is modified to the water volume stored in the 4th micro-segment. The volume w is then subtracted from the water volume stored in the 4th micro-segment, and w is added to the water volume stored in the 5th micro-segment. The water depth and water level of the 4th and 5th micro-segments are calculated and updated based on the length of the 4th and 5th micro-segments, the water depth-cross-sectional area relationship, and the riverbed elevation.

[0090] Wherein, the hydraulic gradient slope = slope1 × β + slope2 × (1 - β), where slope1 is the slope calculated using the water level of the 4th micro-segment, the water level of the 5th micro-segment, and the distance between the center points of the two micro-segments, and slope2 is the slope calculated using the water level of the 4th micro-segment, the water level when the two micro-segments are equal, and the distance between the center points of the two micro-segments. The Manning formula is the same as above.

[0091] (3) Repeat this process until the fifth loop ends, then exit the fifth loop, modify the condition of the fourth micro-segment to 1, and enter the fourth loop.

[0092] (4) Repeat this process until the fourth loop ends, then exit the fourth loop and enter the third loop.

[0093] (5) Repeat this process until the third loop ends, then exit the third loop and enter the second loop.

[0094] 4. Repeat until the second loop ends, then exit the second loop and enter the first loop.

[0095] In this step, the execution process of the loop is as follows:

[0096] (1) If the water level of the second-to-last micro-segment (set as the m-1 micro-segment) of river segment 1-1 is lower than the water level of the last micro-segment (set as the m-1 micro-segment) and the judgment condition of the m-1 micro-segment is 0; calculate the hydraulic slope from the m-1 micro-segment to the m-1 micro-segment using the water level of the m-1 micro-segment, the water level when the water levels of the two micro-segments are equal (the water volume is the sum of the water volumes of the two micro-segments), and the distance between the center points of the two micro-segments; calculate the cross-sectional area (area) of the water passage using the water level of the m-1 micro-segment, the riverbed elevation, and the relationship between water depth, cross-sectional area, and hydraulic radius. The hydraulic radius is calculated using the Manning formula, based on the roughness n and time step ΔT of the m-th micro-segment. If w is greater than the water volume stored in the m-th micro-segment, w is modified to the water volume stored in the m-th micro-segment. This w is then subtracted from the water volume stored in the m-th micro-segment and added to the water volume stored in the (m-1)-th micro-segment. The water depth and water level of the (m-1)-th and m-th micro-segments are calculated and updated based on the lengths of the (m-1)-th and m-th micro-segments, the water depth-cross-sectional area relationship, and the riverbed elevation. The determination condition for the (m-1)-th micro-segment is modified to 1.

[0097] Wherein, the hydraulic gradient slope = slope1 × β + slope2 × (1 - β), where slope1 is the slope calculated using the water level of the m-th micro-segment, the water level of the (m-1)-th micro-segment, and the distance between the center points of the two micro-segments, and slope2 is the slope calculated using the water level of the m-th micro-segment, the water level when the two micro-segments are equal, and the distance between the center points of the two micro-segments. The Manning formula is the same as above.

[0098] (2) If the m-th micro-segment terminates at the known flow boundary condition: calculate the water volume w = q × ΔT flowing into the m-th micro-segment at time ite1 using the known flow q (positive for inflow, negative for outflow) and time step. Add this water volume w to the water volume stored in the m-th micro-segment. Calculate and update the water depth and water level of the m-th micro-segment based on the length of the m-th micro-segment, the relationship between water depth and cross-sectional area, and the riverbed elevation. Modify the determination condition of the m-th micro-segment to 1.

[0099] If the m-th micro-segment terminates at a known water level boundary condition: calculate the additional water volume w (with positive or negative sign) required to adjust the water level to the level specified by the boundary condition using the water level, segment length, water depth-cross-sectional area relationship, and riverbed elevation of the m-th micro-segment; calculate the inflow flow q = w / ΔT using the time step; update the water level of the m-th micro-segment to the level specified by the boundary condition and calculate the corresponding water depth; modify the determination condition of the m-th micro-segment to 1.

[0100] (3) Repeat this process until the second loop ends, then exit the second loop and enter the first loop.

[0101] 5. Repeat this process until the first loop ends, then exit the first loop. Calibrate and verify the slope weighting coefficient β based on the simulation results of the water level or flow process at the specified station. After verification, it can be formally used for river confluence calculations.

[0102] In this embodiment, a slope weighting coefficient β is proposed. This coefficient is a calibration coefficient, which is between 0 and 1 and needs to be calibrated based on the simulation effect of the water level or flow process at the station.

[0103] By adopting the above-disclosed technical solution of this invention, the following beneficial effects are obtained:

[0104] This invention provides a method for calculating river confluence. Compared with the unit hydrograph method and conceptual confluence models, this method has a strong physical mechanism and can simulate the water level and flow processes at various points in the river during confluence. Compared with dynamic models, this method is not unstable, easily solves looped river networks, requires less computer memory, and has a shorter computation time. This method is simple in principle, easy to implement, and is a relatively reasonable method for calculating river confluence.

[0105] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method for calculating river confluence, characterized in that: Includes the following steps, S1. Determine the location of the outlet of the basin to be simulated, extract the river network above the outlet of the basin to be simulated, and discretize it into several river segments and water inflow or water outflow nodes. S2. Set primary and secondary codes for river segments and water inflow or diversion nodes; along the downstream to upstream direction of the river channel, use the maximum number of river segments that each river segment needs to pass through to reach the outlet of the simulated watershed as the primary river segment code, and use the river segment number from the left bank to the right bank of the river channel as the secondary river segment code, and encode each river segment. The maximum number of river segments that each water catchment or diversion node needs to traverse to reach the outlet of the simulated watershed is used as the first-level node code, and the sequence number of the water catchment or diversion node from the left bank to the right bank of the river is used as the second-level node code. Each water catchment or diversion node is then coded. S3. Specify the starting point boundary conditions and the ending point boundary conditions for river segments that do not start or end at water catchment or water diversion nodes, respectively; the boundary condition type is known water level boundary or known flow boundary. S4. Calculate the relationship between water depth, cross-sectional area, and hydraulic radius for each section based on the measured cross-sectional shape of the river channel. S5. Based on the water depth-cross-sectional area-hydraulic radius relationship of the cross-section, obtain the water depth-cross-sectional area-hydraulic radius relationship at the center point of each river micro-segment and the water level-storage volume relationship at each catchment or diversion node; specify the iteration calculation time step and the river segment differential spatial step size, and differentiate each river segment into micro-segments with a length of the specified spatial step size. Use interpolation methods to derive the water depth-cross-sectional area-hydraulic radius relationship at the center point of each micro-segment. The relationship between surface area and hydraulic radius is established. Based on the riverbed elevation data and initial water depth data of each micro-segment, the initial water level of each micro-segment is calculated. Based on the measured roughness of the river channel cross-section, the roughness of each micro-segment is interpolated. For each water catchment or distribution node, the micro-segments adjacent to this node are extracted and regarded as a whole. Through the riverbed elevation, water depth-cross-sectional area relationship, and micro-segment length of each micro-segment, the overall water level-storage volume relationship is derived and used as the water level-storage volume relationship of this node. S6. Set up and execute a multi-level loop, use the Manning formula to calculate the water exchange between adjacent river segments, simulate the water flow movement of the entire river network, and realize the river confluence calculation.

2. The river confluence calculation method according to claim 1, characterized in that: The specific loop settings in step S6 include the following: S61. Set the first loop as a time loop, looping from the simulation start time to the simulation end time, with a step size of the specified time step size, traversing each time period, and the loop number is ite1; initialize the judgment conditions of each micro segment to 0; set the second loop as a river segment level loop, looping from the maximum value of the river segment level code to the minimum value, with a step size of -1, traversing the level code of the river segment, and the loop number is ite2. S62. Set the third loop as a second-level river segment loop, looping from the minimum value of the second-level code with the first-level code ite2 to the maximum value, with a step size of 1, traversing the second-level river segment codes, with the loop number ite3; set the fourth loop as a micro-segment loop, looping from the first micro-segment upstream of the river segment with the first-level code ite2 and the second-level code ite3 to the second-to-last micro-segment downstream, with a step size of 1, traversing the micro-segments, with the loop number ite4; execute the fourth loop and the third loop in sequence, then enter the second loop; S63. Set the third loop as a water inflow or water diversion node loop, traverse the water inflow or water diversion node with the first-level code ite2-1, loop from the minimum value of its second-level code to the maximum value, with a step size of 1 and a loop number of ite3; set the fourth loop, traverse the micro-segments adjacent to the water inflow or water diversion node with the first-level code ite2-1 and the second-level code ite3 and whose water level is greater than the theoretical water level, with a step size of 1 and a loop number of ite4; set the fifth loop, traverse the micro-segments adjacent to the water inflow or water diversion node with the first-level code ite2-1 and the second-level code ite3 and whose water level is less than the theoretical water level, with a step size of 1 and a loop number of ite5; execute the fifth loop, the fourth loop, and the third loop in sequence, and then enter the second loop; S64. Loop until the second loop ends, then exit the second loop and enter the first loop. S65. Loop until the first loop ends, then exit the first loop.

3. The river confluence calculation method according to claim 2, characterized in that: The loop execution process in step S62 is as follows: S621, Regarding the first micro-segment: If the first micro-segment starts at a known water level boundary, the amount of water required to adjust the water level to the level specified by the boundary conditions is calculated by using the riverbed elevation of the first micro-segment, the initial water level of the time period, the water depth-cross-sectional area relationship, and the length of the micro-segment. The inflow rate is then calculated in conjunction with the time step. The water level of the first micro-segment is updated to the water level specified by the boundary conditions, and the corresponding water depth is calculated. If the first micro-segment starts at a known flow boundary, the amount of water flowing into the first micro-segment at time ite1 is calculated using the flow rate and time step specified by the boundary conditions. This amount of water is added to the water volume stored in the first micro-segment. The water level of the first micro-segment is calculated and updated by combining the riverbed elevation, the initial water level of the time period, the relationship between water depth and cross-sectional area, and the length of the micro-segment. If the first micro-segment starts at a water catchment or water distribution node, the water level of the first micro-segment has already been calculated using information from adjacent micro-segments at the water catchment or water distribution node; If the water level of the first micro-segment is higher than that of the second micro-segment, the hydraulic gradient of the first micro-segment is calculated using the water levels of the first and second micro-segments, the water level when the two micro-segments are equal, and the distance between the center points of the two micro-segments. The water depth is calculated using the water level of the first micro-segment and the riverbed elevation, and the corresponding cross-sectional area and hydraulic radius are interpolated using the relationship between water depth, cross-sectional area, and hydraulic radius. The maximum outflow volume of the first micro-segment is calculated using the Manning formula, combined with the micro-segment roughness and time step. If this outflow volume is greater than that of the first micro-segment... If the water volume stored in a segment is calculated, then this water volume is modified to the water volume stored in the first micro-segment. This water volume is then deducted from the water volume stored in the first micro-segment and added to the water volume stored in the second micro-segment. The water depth and water level of the two micro-segments are calculated and updated based on the length of the two micro-segments, the relationship between water depth and cross-sectional area, and the riverbed elevation. If the water level of the first micro-segment is higher than or equal to the water level of the second micro-segment, the judgment condition of the first micro-segment is modified to 1. If the water level of the first micro-segment is lower than the water level of the second micro-segment, the judgment condition of the first micro-segment is kept at 0. S622, For intermediate micro-segments: If the water level of segment 4 is higher than that of segment 4+1, the hydraulic gradient of segment 4 towards segment 4+1 is calculated using the water levels of segment 4, segment 4+1, the water levels when the two segments are equal, and the distance between the center points of the two segments. The cross-sectional area and hydraulic radius are calculated using the water level of segment 4, riverbed elevation, and the relationship between water depth, cross-sectional area, and hydraulic radius. The maximum outflow volume of segment 4 is calculated using the Manning formula, combined with the segment roughness and time step. If this volume is greater than the volume of water stored in segment 4, the volume is modified to the volume of water stored in segment 4. The water volume is deducted from the water volume of segment ite4 and added to the water volume of segment ite4+1. The water depth and water level of segment ite4 and segment ite4+1 are calculated and updated by combining the length of the two segments, the relationship between water depth and cross-sectional area, and the riverbed elevation. If the determination condition for segment 4-1 is 0 and the water level of segment 4 is higher than that of segment 4-1, firstly, the hydraulic gradient of segment 4 towards segment 4-1 is calculated using the water levels of segment 4, segment 4-1, the water levels when the two segments are equal, and the distance between the center points of the segments. Then, the cross-sectional area and hydraulic radius are calculated using the water level of segment 4, riverbed elevation, and the relationship between water depth, cross-sectional area, and hydraulic radius. Finally, the maximum outflow volume of segment 4 is calculated using the Manning formula, combined with the segment roughness and time step. If this volume is greater than the volume of water stored in segment 4, then this volume is modified to the volume of water stored in segment 4. The water volume is deducted from the water volume stored in the ite4 micro-segment and added to the water volume stored in the ite4-1 micro-segment. The water depth and water level of the ite4-1 micro-segment and the ite4 micro-segment are calculated and updated by combining the length of the two micro-segments, the relationship between water depth and cross-sectional area, and the riverbed elevation. The judgment condition of the ite4-1 micro-segment is modified to 1. If the judgment condition for the (ite4-1)th micro-segment is 0 and the water level of the (ite4-1)th micro-segment is equal to or lower than the water level of the (ite4-1)th micro-segment, modify the judgment condition for the (ite4-1)th micro-segment to 1. If the water level of the 4th micro-segment is higher than or equal to the water level of the (+1)th micro-segment, modify the judgment condition of the 4th micro-segment to 1; if the water level of the 4th micro-segment is lower than the water level of the (+1)th micro-segment, keep the judgment condition of the 4th micro-segment at 0. S623. Repeat this process until the second-to-last micro-segment, then end and exit the fourth loop, and enter the third loop. S624. Repeat this process until the third loop ends, then exit the third loop and enter the second loop.

4. The river confluence calculation method according to claim 2, characterized in that: The cyclic execution process of step S63 is as follows: S631. For a water catchment or distribution node with primary code ite2-1 and secondary code ite3, extract the water storage volume in all adjacent micro-segments. Derive the water level when all adjacent micro-segments have the same water level by interpolating the water level-water storage volume relationship of this node, assuming it to be the theoretical water level. Divide all micro-segments adjacent to this node into micro-segments with water levels greater than the theoretical water level and micro-segments with water levels less than the theoretical water level. S632. Set a fourth loop to traverse the micro-segments that are adjacent to the water inflow or diversion node with the first-level code ite2-1 and the second-level code ite3 and whose water level is higher than the theoretical water level, with the loop number ite4; set a fifth loop to traverse the micro-segments that are adjacent to the water inflow or diversion node with the first-level code ite2-1 and the second-level code ite3 and whose water level is lower than the theoretical water level, with the loop number ite5. If the water level of segment 4 is greater than that of segment 5, calculate the hydraulic gradient of segment 4 towards segment 5 using the water levels of segment 4, segment 5, the water levels when the two segments are equal, and the distance between the center points of the segments. Calculate the cross-sectional area and hydraulic radius of the segment using the water level of segment 4, riverbed elevation, and the relationship between water depth, cross-sectional area, and hydraulic radius. Combine this with the segment roughness and time step to calculate the maximum outflow volume of this segment using the Manning formula. If this volume is greater than the volume of water stored in segment 4, then modify this volume to reflect the volume of water stored in segment 4. The water volume is deducted from the water volume of segment 4 and added to the water volume of segment 5. The water depth and water level of segment 4 and segment 5 are calculated and updated by combining the length of segment 4 and segment 5, the water depth-cross-sectional area relationship, and the riverbed elevation. S633. Repeat this process until the fifth loop ends, then exit the fifth loop, modify the condition for the fourth micro-segment to 1, and enter the fourth loop. S634. Repeat this process until the fourth loop ends, then exit the fourth loop and enter the third loop. S635. Repeat this process until the third loop ends, then exit the third loop and enter the second loop.

5. The river confluence calculation method according to claim 2, characterized in that: The loop execution process of step S64 is as follows: S641. Let the last micro-segment of river segment 1-1 be the m-th micro-segment; If the determination condition for the (m-1)th micro-segment is 0 and the water level of the (m-1)th micro-segment is lower than that of the mth micro-segment: calculate the hydraulic gradient of the mth micro-segment towards the (m-1)th micro-segment using the water level of the (m-1)th micro-segment, the water level of the mth micro-segment, the water level when the two micro-segments are equal, and the distance between the center points of the two micro-segments. Calculate the cross-sectional area and hydraulic radius of the flow using the water level of the mth micro-segment, riverbed elevation, and the relationship between water depth, cross-sectional area, and hydraulic radius. Combine the micro-segment roughness and time step with the Manning formula to calculate the maximum outflow volume of this micro-segment. If this volume is greater than the water volume stored in the mth micro-segment, then modify this volume to the water volume stored in the mth micro-segment. The water volume is deducted from the water volume of the m-th micro-segment and added to the water volume of the (m-1)-th micro-segment. The water depth and water level of the (m-1)-th and m-th micro-segments are calculated and updated based on the length of the m-1-th and m-th micro-segments, the relationship between water depth and cross-sectional area, and the riverbed elevation. The determination condition for the m-1-th micro-segment is modified to 1. S642. If the m-th micro-segment terminates at a known flow boundary condition: Calculate the amount of water flowing into the m-th micro-segment at time ite1 using the known flow rate and time step, add this amount of water to the stored water volume of the m-th micro-segment, calculate and update the water depth and water level of the m-th micro-segment based on the length of the m-th micro-segment, the relationship between water depth and cross-sectional area, and the riverbed elevation; modify the determination condition of the m-th micro-segment to 1. If the m-th micro-segment terminates at a known water level boundary condition: calculate the amount of water needed to adjust the water level to the level specified by the boundary condition using the water level, segment length, water depth-cross-sectional area relationship, and riverbed elevation of the m-th micro-segment; calculate the inflow rate in conjunction with the time step; update the water level of the m-th micro-segment to the level specified by the boundary condition; calculate the corresponding water depth; and modify the determination condition for the m-th micro-segment to 1. S643. Repeat this process until the second loop ends, then exit the second loop and enter the first loop.

Citation Information

Patent Citations

  • River network hydrodynamic process simulation method based on branch water conservation

    CN115796075A