Simulation method, device, equipment and storage medium of drainage system

By adopting the coupling method of hydrological model, hydraulic model and data assimilation model in the urban drainage system, the problem of difficulty in realizing real-time assimilation in the existing technology is solved, the simulation authenticity and accuracy of the drainage system are improved, and the digital twin is realized.

CN118446138BActive Publication Date: 2024-10-25THREE GORGES GROUP IND DEVELOPMENT (BEIJING) CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410906391.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-10-25
Estimated Expiration
2044-07-08

AI Technical Summary

Technical Problem

It is difficult to establish a real-time hydraulic model and real-time assimilation of sensor data in the existing urban drainage system, making it impossible to achieve a true digital twin.

Method used

A coupling method including a hydrological model, a hydraulic model and a data assimilation model is used to simulate the water cycle process using hydrological monitoring data and hydraulic state data output from the hydraulic model. The data assimilation model is combined with the data assimilation model to assimilate the real hydraulic state data into the hydraulic model to improve the accuracy of water flow dynamic simulation. Authenticity.

Benefits of technology

It achieves real-time data assimilation and simulation of the urban drainage system, improves the authenticity and accuracy of the drainage system, and realizes a true digital twin.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118446138B_ABST
    Figure CN118446138B_ABST
Patent Text Reader

Abstract

The present application relates to the field of drainage engineering technology, and in particular provides a simulation method, device, equipment and storage medium for a drainage system. The simulation method for the drainage system is applied to a drainage simulation system, and the drainage simulation system includes a hydrological model, a hydraulic model and a data assimilation model; the method includes: using the hydrological model to simulate the water cycle process based on the hydrological monitoring data and the hydraulic state data output by the hydraulic model to obtain the hydrological state data; using the hydraulic model to simulate the water flow dynamics based on the hydraulic monitoring data, the hydrological state data output by the hydrological model and the assimilation data transmitted by the data assimilation model to obtain the hydraulic state data; using the data assimilation model to perform data assimilation based on the real hydraulic state data and the hydraulic state data output by the hydraulic model to obtain the assimilated data. The scheme of the present application improves the authenticity of the drainage simulation system and realizes a true digital twin.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of drainage engineering, and in particular to a simulation method, device, equipment and storage medium for a drainage system. Background Art

[0002] With the rapid urbanization process and the increase in the frequency and magnitude of extreme rainfall events caused by climate change, the load on urban drainage systems has increased, thereby increasing the risk of waterlogging and combined sewer overflow. Real-time simulation of urban drainage systems is a reliable means to improve the performance of drainage systems.

[0003] In the related art, the model of the urban drainage system is mainly an improvement on the existing model, for example, an improvement based on the storm water management model (SWMM) and / or an improvement based on the Matlab method.

[0004] Among the above-mentioned related technologies, both the existing models and the improved models find it difficult to establish a real-time hydraulic model for the entire urban drainage system and real-time assimilation of sensor data, making it difficult to achieve a true digital twin. Summary of the invention

[0005] In order to solve the above technical problems, the present application provides a simulation method, device, equipment and storage medium for a drainage system, which realizes real-time data assimilation and real-time simulation, and achieves a true digital twin.

[0006] In a first aspect, the present application provides a method for simulating a drainage system, which is applied to a drainage simulation system, wherein the drainage simulation system includes a hydrological model, a hydraulic model and a data assimilation model, wherein the hydrological model and the hydraulic model have a coupling relationship, and the hydraulic model and the data assimilation model have a coupling relationship; the method includes: using the hydrological model to simulate the water cycle process based on hydrological monitoring data and hydraulic state data output by the hydraulic model to obtain hydrological state data; using the hydraulic model to simulate water flow dynamics based on hydraulic monitoring data, hydrological state data output by the hydrological model and assimilated data transmitted by the data assimilation model to obtain hydraulic state data; using the data assimilation model to perform data assimilation based on real hydraulic state data and hydraulic state data output by the hydraulic model to obtain assimilated data.

[0007] In a second aspect, the present application provides a simulation device for a drainage system, which is configured in a drainage simulation system, and the drainage simulation system includes a hydrological model, a hydraulic model and a data assimilation model, and the hydrological model and the hydraulic model have a coupling relationship, and the hydraulic model and the data assimilation model have a coupling relationship; the device includes: a hydrological data simulation module, which is used to use the hydrological model to simulate the water cycle process based on hydrological monitoring data and hydraulic state data output by the hydraulic model to obtain hydrological state data; a hydraulic data simulation module, which is used to use the hydraulic model based on hydraulic monitoring data, hydrological state data output by the hydrological model, and assimilated data transmitted by the data assimilation model to simulate water flow dynamics to obtain hydraulic state data; a data assimilation module, which is used to use the data assimilation model to perform data assimilation based on real hydraulic state data and hydraulic state data output by the hydraulic model to obtain assimilated data.

[0008] In a third aspect, the present application provides an electronic device comprising: one or more processors; a storage device for storing one or more programs; when the one or more programs are executed by one or more processors, the one or more processors implement the drainage system simulation method as described in the first aspect above.

[0009] In a fourth aspect, the present application provides a storage medium, which may be a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the method for simulating a drainage system as in the first aspect described above is implemented.

[0010] Compared with the prior art, the technical solution provided by the embodiments of the present application has the following advantages:

[0011] The embodiment of the present application provides a simulation method, device, equipment and storage medium for a drainage system. The method is applied to a drainage simulation system, and the drainage simulation system includes a hydrological model, a hydraulic model and a data assimilation model. The hydrological model and the hydraulic model have a coupling relationship, and the hydraulic model and the data assimilation model have a coupling relationship. The method includes: using the hydrological model to simulate the water cycle process based on the hydrological monitoring data and the hydraulic state data output by the hydraulic model to obtain the hydrological state data; using the hydraulic model to simulate the water flow dynamics based on the hydraulic monitoring data, the hydrological state data output by the hydrological model and the assimilated data transmitted by the data assimilation model to obtain the hydraulic state data; using the data assimilation model to perform data assimilation based on the real hydraulic state data and the hydraulic state data output by the hydraulic model to obtain the assimilated data. Since the data assimilation model is added to the drainage simulation system, the real hydraulic data monitored is assimilated into the hydraulic model in real time to improve the authenticity of the hydraulic model in simulating the water flow dynamics. The hydrological model and the hydraulic model are coupled with each other, which can truly simulate the interaction between the water cycle process and the water flow dynamics, further improve the authenticity of the drainage simulation system, and realize the real digital twin. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0013] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0014] Picture 1 A schematic diagram of a flow chart of a method for simulating a drainage system provided in an embodiment of the present application;

[0015] Picture 2 A schematic diagram of the structure of the drainage system model provided in the embodiment of the present application;

[0016] Picture 3 A schematic diagram of the structure of a basic calculation unit in a hydraulic calculator provided in an embodiment of the present application;

[0017] Picture 4 A schematic diagram of the structure of another basic calculation unit in the hydraulic calculator provided in an embodiment of the present application;

[0018] Picture 5 A schematic diagram of discretizing the Saint-Venant equations using the backward Euler implicit format provided in an embodiment of the present application;

[0019] Picture 6 A schematic diagram of a generalized method of simulating the traditional backwater effect provided in an embodiment of the present application;

[0020] Picture 7 A schematic diagram of a generalized method for simulating backwater effect using a mobile computing method provided in an embodiment of the present application;

[0021] Picture 8 A schematic diagram of the structure of a simulation device for a drainage system provided in an embodiment of the present application;

[0022] Picture 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the scheme of the present application will be further described below. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0024] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only part of the embodiments of the present application, rather than all of the embodiments.

[0025] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0026] It should be noted that the concepts such as "first" and "second" mentioned in this application are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0027] It should be noted that the modifications of "one" and "plurality" mentioned in the present application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0028] The simulation method of the drainage system provided by the present application is described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0029] Picture 1 is a flow chart of a method for simulating a drainage system provided in an embodiment of the present application, Picture 2 It is a structural schematic diagram of the drainage system model provided in an embodiment of the present application; the simulation method of the drainage system is applied to the drainage simulation system.

[0030] like Picture 2 As shown, the drainage simulation system 10 provided in the embodiment of the present application includes a hydrological model 11, a hydraulic model 12 and a data assimilation model 13. The hydrological model 11 and the hydraulic model 12 have a coupling relationship, and the hydraulic model 12 and the data assimilation model 13 have a coupling relationship.

[0031] The hydrological model can simulate the water entering the soil during rainfall, including the infiltration rate and depth of water; it can also simulate the runoff and runoff rate formed on the surface after rainfall. The hydraulic model can simulate the flow of water in drainage pipes, ditches, rivers and other drainage facilities, including changes in flow rate, flow, depth and head.

[0032] The data assimilation model can combine the actual monitored hydraulic state data with the predicted hydraulic state data output by the hydraulic model for comparative analysis, prediction errors, and form assimilated data. The assimilated data can be transmitted to the hydraulic model to correct the head state data in the hydraulic model to improve the accuracy of the hydraulic model.

[0033] The coupling relationship between the hydrological model and the hydraulic model includes: the hydrological state data simulated and output by the hydrological model can be input into the hydraulic model, and the hydraulic state data simulated by the hydraulic model can be input into the hydrological model.

[0034] The coupling relationship between the hydraulic model and the data assimilation model includes: the hydraulic state data simulated and output by the hydraulic model can be input into the data assimilation model, and the assimilated data obtained after data assimilation by the data assimilation model can be input into the hydraulic model.

[0035] like Picture 1 As shown, the drainage system simulation method provided in the embodiment of the present application mainly includes steps S101-S103.

[0036] S101. Using a hydrological model to simulate a water cycle process based on hydrological monitoring data and hydraulic state data output by a hydraulic model to obtain hydrological state data.

[0037] The above hydrological monitoring data mainly includes the corresponding precipitation at each time. The hydraulic state data output by the hydraulic model to the hydrological model includes the amount of water in the depression. The hydrological model simulates the water cycle process based on precipitation and water in the depression, and outputs infiltration information and runoff information, where the infiltration information includes the infiltration rate and infiltration volume, and the runoff information includes the runoff rate and runoff volume.

[0038] S102, using a hydraulic model to simulate water flow dynamics based on hydraulic monitoring data, hydrological state data output by the hydrological model, and assimilated data transmitted by a data assimilation model to obtain hydraulic state data.

[0039] The hydraulic monitoring data includes the head boundary conditions. The hydrological state data output by the hydrological model to the hydraulic model includes runoff information. The hydraulic state data includes: head state data, flow state data and depth state data.

[0040] The hydraulic model simulates the water circulation process based on the head boundary conditions, runoff information and control parameters input by the control module, and outputs head state data, flow state data and depth state data.

[0041] S103: Using a data assimilation model, data assimilation is performed based on the real hydraulic state data and the hydraulic state data output by the hydraulic model to obtain assimilated data.

[0042] The hydraulic state data output by the hydraulic model to the data assimilation model include the head state data.

[0043] In the embodiment of the present application, based on the traditional Kalman filter, a generalized recursive method of the Kalman filter for linear time-varying systems is proposed for the calculation of the hydraulic calculator.

[0044] Among them, the Kalman filter is a dynamic model that defines the system dynamics process based on the implicit linear system and sensor data. Kalman filtering is a recursive Bayesian estimation algorithm that first uses the dynamic system model to generate a priori estimates of the system state, and then updates the prior estimates with observed data to produce a posteriori estimates.

[0045] It should be noted that the above drainage simulation system is a dynamic system. The drainage simulation system performs a drainage simulation at a certain time step interval. In this way, the hydrological state data and hydraulic state data corresponding to each time step can be obtained.

[0046] The embodiment of the present application provides a simulation method for a drainage system, which is applied to a drainage simulation system, wherein the drainage simulation system includes a hydrological model, a hydraulic model and a data assimilation model, wherein the hydrological model and the hydraulic model have a coupling relationship, and the hydraulic model and the data assimilation model have a coupling relationship; the method includes: using the hydrological model to simulate the water cycle process based on the hydrological monitoring data and the hydraulic state data output by the hydraulic model to obtain the hydrological state data; using the hydraulic model to simulate the water flow dynamics based on the hydraulic monitoring data, the hydrological state data output by the hydrological model and the assimilated data transmitted by the data assimilation model to obtain the hydraulic state data; using the data assimilation model to perform data assimilation based on the real hydraulic state data and the hydraulic state data output by the hydraulic model to obtain the assimilated data. Since the data assimilation model is added to the drainage simulation system, the real hydraulic data monitored is assimilated into the hydraulic model in real time to improve the authenticity of the hydraulic model in simulating the water flow dynamics, and the hydrological model and the hydraulic model are coupled with each other, which can truly simulate the interaction between the water cycle process and the water flow dynamics, further improve the authenticity of the drainage simulation system, and realize the real digital twin.

[0047] The above drainage simulation system advances according to the time step on the time scale. The time step of the drainage simulation system is explained below.

[0048] In the embodiment of the present application, the time step of the drainage simulation system is an adaptive time step. In other words, the time step between two simulations of the drainage simulation system is calculated using an adaptive time step control algorithm.

[0049] This embodiment proposes an adaptive time step control algorithm, which uses a small time step under transient non-steady conditions and a large time step under steady-state constant flow conditions. Further, the time step is calculated by an implicit format, and the implicit format calculation of the time step has better stability under a large time step, especially under steady-state constant flow conditions, so as to improve the stability of the drainage simulation system operation.

[0050] Specifically, the next time step is determined by the first time step, the second time step, the third time step, the first truncation error estimate, the second truncation error estimate, the third truncation error estimate and the preset allowable deviation fraction; the first time step is the time step corresponding to the current moment, the second time step is the time step corresponding to the previous moment, and the third time step is the time step corresponding to the previous moment of the previous moment; the first truncation error estimate is the truncation error estimate corresponding to the current moment, the second truncation error estimate is the truncation error estimate corresponding to the previous moment, and the third truncation error estimate is the truncation error estimate corresponding to the previous moment of the previous moment.

[0051] The adaptive step size control algorithm is implemented using a general step size recursion. The next time the drainage system model is executed, the next time step size is used Specifically, it can be expressed by formula (1):

[0052] (1)

[0053] in, n Indicates the number of times the drainage simulation system performs drainage simulation. is the next time step, i.e. the time step used in the next drainage simulation; is the first time step, i.e. the current time step; is the second time step, i.e., the time step taken in the previous drainage simulation; is the third time step, i.e., the time step taken in the previous execution of the drainage simulation; is the first truncation error estimate, that is, the truncation error estimate at the current moment, is the second truncation error estimate, the truncation error estimate corresponding to the previous moment, is the third truncation error estimate, the truncation error estimate corresponding to the moment before the previous moment.

[0054] The following introduces the calculation method of truncation error estimation by taking the truncation error estimation corresponding to the next moment as an example.

[0055] In many cases, it is very difficult to obtain an accurate solution to a drainage simulation system established by an actual drainage system. Usually, a numerical method is used to obtain an approximate solution. For example, an infinite calculation process is often replaced by a finite calculation process. The error between the accurate solution of the drainage simulation system and the approximate solution obtained by the numerical method is called the truncation error estimate. The truncation error estimate can be specifically expressed as shown in formula (2).

[0056] (2)

[0057] in, It can represent the exact solution of the actual drainage system. It can be expressed as the approximate solution obtained by numerical method. This is the truncation error estimate.

[0058] Furthermore, the truncation error can be estimated using the differential function Describe the differential function WeChat function at the next time step The discrete approximation at is given by the backward Euler equation, the differential function The discrete approximation is expressed by the backward Euler equation as shown in formula (3).

[0059] (3)

[0060] in, represents the differential function for the next time step, represents the differential function corresponding to the current time step, represents the current time step, Indicates the next moment.

[0061] The truncation error estimate can be determined by comparing two expressions of different step sizes.

[0062] First, the differential function for the next time step is The preliminary determination process can be expressed as shown in formula (4):

[0063] (4)

[0064] Secondly, the differential function for the next time step is The fine determination process can be expressed as shown in formulas (5) and (6):

[0065] (5)

[0066] (6)

[0067] Finally, the truncation error estimate can be expressed as formula (7):

[0068] (7)

[0069] Formula (1) is the allowable deviation fraction, which can be set according to actual conditions. Specifically, It can be expressed by formula (8).

[0070] (8)

[0071] in, TOL is the given deviation control quantity. is the safety factor, Less than 1.

[0072] In formula (1) , , , and is the parameter of the filter in the data assimilation model, and the parameter of the filter depends on the characteristics of the filter. , , , and It is a constant parameter pre-set according to the filter parameters. Table 1 recommends the parameters of several commonly used filters. is the order of the error, in the backward Euler method .

[0073] Table 1

[0074]

[0075] The hydrological model is introduced below.

[0076] The hydrological model can simulate the entry of water into the soil during rainfall, including the infiltration rate and infiltration depth of water, and can also simulate the runoff volume and runoff rate formed on the surface after rainfall.

[0077] The core module of the hydrological model is the infiltration calculator. The infiltration calculator is mainly used to simulate and analyze the state of water flow in the soil. The infiltration calculator mainly calculates runoff information based on precipitation and water accumulation in the depression.

[0078] Specifically, the hydrological status data output by the hydrological model include infiltration rate and runoff rate per unit area; wherein, the infiltration rate at the next moment is determined by the cumulative infiltration depth of the soil at the next moment, the cumulative infiltration depth of the soil at the current moment and the current time step; the runoff rate per unit area is determined by the infiltration rate and the precipitation rate, and the precipitation rate is determined by the precipitation amount and the amount of water accumulated in the depression, wherein the amount of water accumulated in the depression is determined by the hydraulic status data output by the hydraulic model.

[0079] The infiltration calculator uses the Greenampt method to calculate infiltration information and runoff information. The infiltration information is mainly determined by the specific parameters of the soil in the area.

[0080] At each time step, that is, at each moment, the Greenampt equation in integral form is used to solve the soil cumulative infiltration depth, and then the infiltration rate, runoff rate and runoff volume are calculated based on the soil cumulative infiltration depth.

[0081] Specifically, the cumulative soil infiltration depth at the next moment It is expressed as formula (9): (9)

[0082] in, Indicates the next moment, Indicates the current moment, is the soil cumulative infiltration depth at the next moment, in meters (m); is the saturated hydraulic conductivity in meters per second (m / s); is the infiltration head depth of the soil infiltration wetting peak, in meters (m); is the soil moisture deficit and is dimensionless. It is the cumulative infiltration depth of soil at the current moment, in meters (m).

[0083] Among them, the saturated hydraulic conductivity, the infiltration head depth, and the soil water deficit can all be determined by actual soil-specific parameters, and the existing parameters can be directly read. No specific introduction is given in the embodiments of the present application.

[0084] Furthermore, after the soil cumulative infiltration depth at the next moment is calculated, the infiltration rate at the next moment can be calculated according to the soil cumulative infiltration depth at the next moment, the soil cumulative infiltration depth at the current moment, and the current time step.

[0085] Specifically, the infiltration rate at the next moment can be calculated by formula (10).

[0086] (10)

[0087] in, is the infiltration rate at the next moment, Δt is the current time step, is the cumulative soil infiltration depth at the next moment, is the cumulative soil infiltration depth at the current moment.

[0088] After calculating the infiltration rate, the runoff rate can be calculated based on the precipitation and the amount of water accumulated in the depression. The runoff rate per unit area can be expressed as the difference between the precipitation rate per unit area and the infiltration rate. The precipitation rate per unit area is obtained by dividing the precipitation in the set area at the set time by the area of ​​the area and the duration of precipitation.

[0089] Taking into account the amount of water accumulated in the depressions, the precipitation in the set area at the set time is subtracted from the amount of water accumulated in the depressions in the set area at the set time to obtain a difference, and the difference is divided by the area of ​​the area and the duration of precipitation to obtain the precipitation rate per unit area.

[0090] Specifically, the runoff rate per unit area at the next moment is As shown in formula (11).

[0091] (11)

[0092] in, Indicates the runoff rate per unit area at the next moment, in units of (m / s); It indicates the precipitation rate per unit area at the next moment, in units of (m / s). Indicates the infiltration rate at the next moment, in units of (m / s).

[0093] The hydraulic model is introduced below.

[0094] The hydraulic model is mainly used to simulate the dynamics of water flow. The hydraulic model mainly includes a hydraulic calculator and a control module. The hydraulic calculator mainly generalizes the pipe network system in the city, and the control module mainly generalizes the control devices and control actions in the actual pipe network system for calculation.

[0095] The hydraulic calculator realizes the real-time interaction of the drainage simulation system and the spatial state representation of the system dynamics process simulation by constructing a spatial state system. The hydraulic calculator is constructed based on the implicit staggered grid algorithm for solving the one-dimensional Saint-Venant equations in the pipe network system, and completes the solution of the drainage simulation system through the combined calculation of several computing units.

[0096] In a possible implementation, the hydraulic calculator includes four computing elements: nodes, connections, control states, and control objects; a control state is formed between two control objects, each control state includes multiple connections and multiple nodes, and a connection is formed between two nodes. The hydraulic calculator has multiple computing units, each of which includes four computing elements: connections, nodes, control states, and control objects.

[0097] Picture 3 is a schematic diagram of nodes and connections as computational units, such as Picture 3 As shown, there are five nodes between the control object j5 and the control object j6, namely, node 21, node 22, node 23, node 24 and node 25. A connection is formed between two nodes, such as connection 26 between node 21 and node 22, connection 27 between node 22 and node 23, connection 28 between node 23 and node 24, and connection 29 between node 24 and node 25.

[0098] Picture 4 is a schematic diagram of the control state and the control object as a calculation unit; Picture 4 As shown, a control state k1 is included between control object j1 and control object j2. A control state k4 is included between control object j2 and control object j5. A control state k2 is included between control object j2 and control object j3. A control state k3 is included between control object j3 and control object j4. A control state k5 is included between control object j5 and control object j6. A control state k6 is included between control object j5 and control object j3. Multiple control objects and control states may be included in one computing unit.

[0099] Among them, the connection represents the finite volume of the connection interval of the pipe network, which can also be understood as a section of the flow pipe. The node is the separation point of the connection, which can be understood as the inspection well, slope change point or other pipe network elements in the pipe network system. The control state is a state set composed of several connections and nodes, which can represent the system state of a section of the pipe network. The control object is the separation point of the control state, which can represent a real-time control device, a reservoir or other control object.

[0100] The hydraulic calculator is a spatial state system based on the one-dimensional Saint-Venant equations, which include the continuity equation and the momentum equation. The continuity equation is used to describe the mass balance of a finite volume, and the momentum equation is used to describe the force balance.

[0101] Among them, the continuity equation can be expressed by formula (12), and the momentum equation can be expressed by formula (13).

[0102] (12)

[0103] (13)

[0104] In the above formulas (12) and (13), Q is the flow rate, unit (m 3 / s); A is the flow area, unit is (m 2); u is the average flow velocity, unit is (m / s); h is the water depth, unit is (m); x is the distance along the water flow direction, unit is (m); t is the time, unit is (s); q in is the lateral flow per unit width, in m 3 / s); S0 represents the slope of the trough bottom, S f represents the friction slope, S L Represents the local head loss slope.

[0105] In order to realize the simulation calculation of the pressurized flow in the pipeline network, in this embodiment, each connection is generalized as a regular pressurized pipeline, and the pressurized pipeline is calculated using the one-dimensional Saint-Venant equations, wherein the continuity equation in the one-dimensional Saint-Venant equations is applied to the calculation of each node, and the momentum equation in the one-dimensional Saint-Venant equations is applied to the calculation of each connection. The Saint-Venant equations are discretized using the backward Euler implicit format, such as Picture 4 shown.

[0106] The discretization process of Saint-Venant equations is explained by taking node IK as an example.

[0107] The continuity equation for discretization at the node IK can be expressed as formula (14).

[0108] (14)

[0109] The discretized momentum equation at node IK can be expressed as formula (15).

[0110] (15)

[0111] In the above formulas (14) and (15), k Indicates control status k , Ik Represents a node within the control state I , i.k. Indicates a connection within the control state i , i.e. node Ik With Node I+1k Connect between, i-1k Representation Node Ik With Node I-1k Connect between. represents the current time step, t Indicates the current moment, Indicates the next moment, Indicates the next moment connection i.k. The flow rate within Indicates the next moment connection i-1k The flow rate within Indicates connection i.k. The top width of the inner water-passing section, Indicates connection i.k. The distance inward along the direction of water flow within the current time step. Indicates connection i-1k The top width of the inner water-passing section, Indicates connection i-1k The distance inward along the direction of water flow within the current time step. Representation Node Ik The cross-sectional area of ​​water flow, Representation Node Ik The depth of the water at the next moment, Representation Node Ik The depth of the water at this moment, Indicates the current connection i.k. The flow rate within Representation Node I+1k The water flow velocity at Representation Node Ik The water flow velocity at Representation Node I+1k The flow at the next moment, Representation Node Ik The flow at the next moment, Indicates connection i.k. The flow area inside Representation Node I+1k The depth of the water at the next moment, Indicates connection i.k. The bottom slope of the trough, Indicates connection i.k. The friction slope inside connect i.k. The local head loss slope within the Representation Node Ik External input flow, g Represents the acceleration due to gravity.

[0112] It should be noted that the above formulas (14) and (15) are the discretized continuity equation and discretized momentum equation of node IK. The above method is used to discretize each node in the drainage simulation system to obtain the discretized continuity equation and discretized momentum equation corresponding to each node.

[0113] The hydraulic calculator embeds the Saint-Venant equations with all nodes discretized into the implicit linear equations, constructs a state space system, and solves it. At the same time, it calculates all the solutions at each moment. The obtained solution is the hydraulic state data output by the hydraulic calculator. The hydraulic state data includes the head state data, flow state data, and depth state data.

[0114] Specifically, in a possible implementation, a hydraulic model is used to simulate water flow dynamics based on hydraulic monitoring data, hydrological state data output by a hydrological model, and assimilated data transmitted by a data assimilation model to obtain hydraulic state data, including: using a discretized Saint-Venant equation group to determine the flow relationship between multiple connections and nodes in a control state as a recursive relationship; determining the boundary conditions of the control state based on the flow relationship between the control state and the control object; converting the spatial state system into an implicit state space equation based on the recursive relationship and the boundary conditions; solving the implicit state space equation to obtain the head state data of the control object; substituting the head state data of the control object into the recursive relationship to calculate the flow state data and depth state data inside the control state.

[0115] The use of implicit discrete format in the hydraulic calculator is conducive to improving stability. The recursive relationship optimizes the matrix size and increases the calculation speed, which can achieve a balance between the stability of the solution process and the calculation efficiency. In addition, by constructing a local linear state space system, data assimilation can also be promoted. When simulating one-dimensional non-steady flow, high gradient conditions may cause mass balance errors. In the embodiment of the present application, a recursive relationship is used to embed the dynamic characteristics of the water flow in the control state into the spatial state system, which can reduce the mass balance error caused by high gradient conditions. The recursive relationship mainly includes two recursive relationships: forward recursion and backward recursion.

[0116] The following is an introduction to the process of using the discretized Saint-Venant equations to determine the flow relationship between multiple connections and nodes in each control state as a recursive relationship.

[0117] First, forward recursive relationship

[0118] From control state k The input terminal starts as the first node and determines the control state k The continuity equation and dynamic equation of the first node.

[0119] By simplifying the above formulas (14) and (15), we can get the control state k The continuity equation of the first node is shown in formula (16), and the control state k The momentum equation of the first node is shown in formula (17):

[0120] (16)

[0121] (17)

[0122] By combining and simplifying the above formulas (16) and (17), we can obtain formula (18).

[0123] (18)

[0124] After rearranging the above formula (18), we get the equation shown in formula (19).

[0125] (19)

[0126] Then, the continuity is derived and the control state is k The continuity equation of the second node in can be expressed as formula (20).

[0127] (20)

[0128] Combining the continuity equation of the second node (Formula 20) with the rearranged equation of the first node (Formula 19) yields Formula (21).

[0129] (twenty one)

[0130] After rearranging formula (21), we get the equation shown in formula (22).

[0131] (twenty two)

[0132] Therefore, by transforming formula (22), the expression of the flow at the first connection can be obtained, as shown in formula (23).

[0133] (twenty three)

[0134] Therefore, for the control state The flow relationship at the input end can be expressed by formula (24).

[0135] (twenty four)

[0136] in, ;

[0137] ;

[0138] ;

[0139] .

[0140] Furthermore, the control state k The continuity equation and momentum equation of the third node in can be expressed as formula (25) and formula (26).

[0141] (25)

[0142] (26)

[0143] Combining and simplifying the continuity equation (Equation 25) and the momentum equation (Equation 26) yields the following equation, as shown in Equation (27).

[0144] (27)

[0145] By simplifying formula (27), we can get formula (28).

[0146] (28)

[0147] In formula (28), Multiply And rearrange it to get formula (29).

[0148] (29)

[0149] in: ;

[0150] .

[0151] Therefore, by rearranging formula (29), we can obtain formula (30).

[0152] (30)

[0153] In formula (30), Eliminate, and we can get formula (31).

[0154] (31)

[0155] After rearranging formula (31), we get the equation shown in formula (32).

[0156] (32)

[0157] After rearranging formula (32), we can get formula (33).

[0158] (33)

[0159] The symbols in the above formulas (16)-(33) are explained as follows: k Indicates the control status. 1k Indicates control status k The first node, that is, the control state k The input terminal, 2k Indicates control status k The second node, that is, the control state k Internal nodes adjacent to the input terminals, 3kRepresents the third node of control state k, that is, control state k The third node from the input end, uk Indicates control status k External nodes adjacent to the first node. g Represents the acceleration due to gravity.

[0160] represents the current time step, t Indicates the current moment, Indicates the next moment.

[0161] Representation Node 1k Input flow rate; Representation Node 2k Input flow rate; Represents node 3 k of input flow.

[0162] Indicates connection 1k The flow rate at the next moment, Indicates connection uk The flow rate at the next moment, Indicates connection 2k The flow rate at the next moment, Indicates connection 3k The flow rate at the next moment.

[0163] Represents node 1 k In the next moment of water depth, Represents node 2 k In the next moment of water depth, Represents node 3 k The water depth at the next moment.

[0164] Represents node 1 k The top width of the water-passing section, Represents node 2 k The top width of the water-passing section, Represents node 3 k The top width of the water-passing section.

[0165] Represents node 1 k The cross-sectional area of ​​water flow, Represents node 2 k The cross-sectional area of ​​water flow, Represents node 3 k The water flow cross-sectional area.

[0166] represents the runoff at node 1k, which can be obtained from node 1 k It is determined by the water-passing cross-sectional area, trough bottom slope, friction slope and local head loss slope. represents the runoff at node 2k, which can be obtained from node 2 k It is determined by the water-passing cross-sectional area, trough bottom slope, friction slope and local head loss slope. represents the runoff at node 3k, which can be obtained from node 3 k It is determined by the water-passing cross-sectional area, trough bottom slope, friction slope and local head loss slope.

[0167] , , represents the constant parameter at node 1k, , , represents the constant parameter at node 2k, , , represents the constant parameter at node 1k, which can be obtained by formula (15).

[0168] After summarizing formula (33), we can get formula (34).

[0169] (34)

[0170] Then, by summarizing the coefficients in formula (34), we can obtain the forward mass and momentum balance recursive relationship, as shown in formula (35).

[0171] (35)

[0172] in, ;

[0173] ;

[0174] ;

[0175] .

[0176] The symbols in the above formulas (34)-(35) are explained as follows: k Indicates the control status. i.k. Indicates control status k of i connect, Ik represents the I-th node in control state k, I-1k represents the I-1th node in control state k, 1k represents the first node of control state k, I+1krepresents the I+1th node in control state k, g represents the acceleration due to gravity, represents the current time step, t Indicates the current moment, Indicates the next moment.

[0177] Representation Node Ik Input flow rate; Representation Node I+1k Input flow rate; Indicates the traffic of the connection ik at the next moment, Represents node 1 k In the next moment of water depth, Representation Node I+1k In the next moment of water depth, Represents node I k The top width of the water-passing section, Represents node I+1 k The top width of the water-passing section.

[0178] Indicates connection i.k. The cross-sectional area of ​​water flow, Indicates connection i.k. The runoff volume, , , Represents the constant parameter at node ik.

[0179] After the above derivation, the flow relationship between nodes and connections in the control state k can be expressed by the forward mass and momentum balance recursive relationship. In other words, the forward mass and momentum balance recursive relationship can express the flow relationship between nodes and connections in a control state.

[0180] Second, backward recursion

[0181] From control state Starting from the output end as the first node, the continuity equation is shown in formula (36), and the momentum equation is shown in formula (37).

[0182] (36)

[0183] (37)

[0184] Combining and simplifying the continuity equation (Equation 36) and the momentum equation (Equation 37) yields Equation (38).

[0185] (38)

[0186] After simplifying formula (38), we can get formula (39).

[0187] (39)

[0188] Furthermore, the continuity of the nodes in the control state k is derived, and the continuity equation of the second-to-last node starting from the output end can be expressed as formula (40).

[0189] (40)

[0190] The continuity equation of the second-to-last node (Formula 40) and the equation of the first node after sorting (Formula 39) are sorted and simplified to obtain Formula (41).

[0191] (41)

[0192] After simplifying formula (41), we can get formula (42).

[0193] (42)

[0194] Therefore, the flow at the output connection can be expressed as shown in formula (43).

[0195] (43)

[0196] Therefore, for the control state At the output end, the mass and momentum balance can be expressed as shown in formula (44).

[0197] (44)

[0198] in, ;

[0199] ;

[0200] ;

[0201] .

[0202] For the third-to-last node, the continuity equation is shown in formula (45) and the momentum equation is shown in formula (46).

[0203] (45)

[0204] (46)

[0205] Combining the continuity equation (Equation 45) and the momentum equation (Equation 46) yields Equation (47).

[0206] (47)

[0207] By simplifying formula (47), we can get formula (48).

[0208] (48)

[0209] In formula (48), Multiply And rearranging it gives formula (49).

[0210] (49)

[0211] in, ;

[0212] .

[0213] After rearranging formula (49), we can obtain formula (50).

[0214] (50)

[0215] In formula (50), After elimination, we can get formula (51).

[0216] (51)

[0217] After rearranging formula (51), we can get formula (52).

[0218] (52)

[0219] After rearranging formula (52), we obtain formula (53).

[0220] (53)

[0221] The symbols in the above formulas (36)-(53) are explained as follows: k Indicates the control status. Nk+1 Indicates control status k The penultimate node, that is, the control state k The output terminal, N.K. Indicates control status k The second-to-last node from the output end, NK-1 Indicates control status k The third node from the output end, nk represents n connections controlling state k, dk represents the d-connection that controls state k, nk-1Represents the control state k nk- 1 connection, g Represents the acceleration due to gravity. represents the current time step, t Indicates the current moment, Indicates the next moment.

[0222] Representation Node Nk+1 Input flow rate; Representation Node Nk Input flow rate; Representation Node Nk-1 of input flow.

[0223] Indicates connection n k The flow rate at the next moment, Indicates connection dk The flow rate at the next moment, Indicates connection n k-1 The flow rate at the next moment, Indicates connection n k-2 The flow rate at the next moment.

[0224] Representation Node Nk+1 In the next moment of water depth, Represents node N k In the next moment of water depth, Representation Node Nk-1 The water depth at the next moment.

[0225] Representation Node Nk+1 The top width of the water-passing section, Represents node N k The top width of the water-passing section, Representation Node Nk-1 The top width of the water-passing section.

[0226] Representation Node Nk+1 The cross-sectional area of ​​water flow, Represents node N k The cross-sectional area of ​​water flow, Representation Node Nk-1 The water flow cross-sectional area.

[0227] Representation Node Nk+1 The runoff at the node can be obtained by Nk+1 It is determined by the water-passing cross-sectional area, trough bottom slope, friction slope and local head loss slope. Represents the runoff at node Nk, which can be obtained from node N k It is determined by the water-passing cross-sectional area, trough bottom slope, friction slope and local head loss slope. Represents the runoff at node Nk-1, which can be obtained from node N k-11 It is determined by the water-passing cross-sectional area, trough bottom slope, friction slope and local head loss slope.

[0228] , , Indicates the constant parameter at the connection nk, , , represents the constant parameter at the connection nk-1, which can be obtained by formula (15).

[0229] By generalizing formula (53), we can get formula (54).

[0230] (54)

[0231] Then, by summarizing the coefficients in formula (54), we can obtain the backward mass and momentum balance recursive relationship, as shown in formula (55).

[0232] (55)

[0233] in, ;

[0234] ;

[0235] ;

[0236] .

[0237] The symbols in the above formulas (54)-(55) are explained as follows: k Indicates the control status. i.k. Indicates control status k of i connect, Ik represents the I-th node in control state k, I+1k represents the I+1th node in control state k, Nk+1 represents the penultimate node of control state k, i.e., the output end of control state k, g represents the acceleration due to gravity, represents the current time step, t Indicates the current moment, Indicates the next moment.

[0238] Representation Node I+1k Input flow rate; Indicates the traffic of the connection ik at the next moment, Representation Node Nk+1 In the next moment of water depth, Representation Node I+1k In the next moment of water depth, Represents node I k The top width of the water-passing section, Represents node I+1 k The top width of the water-passing section,

[0239] Indicates connection i.k. The cross-sectional area of ​​water flow, Indicates connection i.k. The runoff volume, , , Represents the constant parameter at node ik.

[0240] After the above derivation, the flow relationship between nodes and connections in the control state k can be expressed by the backward mass and momentum balance recursive relationship. In other words, the above backward mass and momentum balance recursive relationship can express the flow relationship between nodes and connections in a control state.

[0241] The following describes a process for determining the boundary conditions of the control state based on the flow relationship between the control state and the controlled object.

[0242] The boundary conditions of each control state are determined by the upstream input control object and the downstream output control object, assuming that the flow between the input and output ends of the control state can be expressed as formula (56).

[0243] (56)

[0244] Where C is the inlet / outlet flow coefficient. is the head difference between the control object and its adjacent control state boundary node. g represents the gravitational acceleration. represents the flow area, and Q represents the flow rate between the input and output ends of the control state.

[0245] Based on this, the boundary conditions of the input and output ends of the control state are derived. The boundary conditions of the input and output ends of the control state include the input end water depth boundary condition, the output end water depth boundary condition and the flow boundary condition.

[0246] First, the water depth boundary condition at the control state input end

[0247] The flow at the control state input end can be expressed as formula (57).

[0248] (57)

[0249] in,

[0250]

[0251]

[0252] By squaring both ends of the flow rate formula at the input end of the above control state and sorting it out, the water depth boundary condition at the input end can be obtained, as shown in formula (58).

[0253] (58)

[0254] The symbols in formulas (57)-(58) are explained as follows: Indicates the flow at the control state input end, is the flow coefficient at the input of control state k. is the head difference between the controlled object and the input end of the control state k. g represents the acceleration due to gravity. Indicates the flow area at the input end of the control state; represents the water depth at the input of control state k. represents the water head height of the input control object j, Indicates the bottom depth of the control status input terminal. represents the head coefficient at the input end, Indicates the flow rate at the control state input end at the next moment, Indicates the flow of the control state input terminal at the current moment.

[0255] Second, the water depth boundary conditions at the output end of the control state

[0256] The flow rate at the output end of control state k can be expressed as formula (59).

[0257] (59)

[0258] in,

[0259]

[0260]

[0261] By squaring both ends of the flow rate formula at the output end of the above control state k and sorting it out, the water depth boundary condition at the output end can be obtained, as shown in formula (60).

[0262] (60)

[0263] The symbols in formulas (59)-(60) are explained as follows: Indicates the flow rate at the output end of the control state, is the flow coefficient at the output of control state k. is the head difference between the controlled object and the output of the control state k. g represents the acceleration due to gravity. Indicates the flow area at the output end of the control state; Represents the water depth at the output of control state k. represents the water head height of the control object j at the output end, Indicates the bottom depth of the output terminal of control state k. Indicates the head difference coefficient at the output end, Indicates the flow rate at the output end of the control state at the next moment, Indicates the flow of the output end of the control state at the current moment.

[0264] Third, the flow boundary conditions of the control state

[0265] According to the continuity equation, the input flow rate of each control state is shown in formula (61), and the output flow rate of each control state is shown in formula (62).

[0266] (61)

[0267] (62)

[0268] According to the recursive relationship established in the above embodiment, the flow rate of the control state k at the first node is shown in formula (63), and the flow rate of the control state k at the penultimate node is shown in formula (64).

[0269] (63)

[0270] (64)

[0271] Therefore, the flow rate of control state k at the first node (Formula 63) is combined with the flow rate of the input end of the control state (Formula 61), and the flow rate of control state k at the input end can be expressed as Formula (65). The flow rate of control state k at the penultimate node (Formula 64) is combined with the flow rate of the output end of the control state (Formula (62), and the flow rate of control state k at the input end can be expressed as Formula (66).

[0272] (65)

[0273] (66)

[0274] In order to simplify the above formulas (65) and (66), the following coefficients are defined in this embodiment:

[0275]

[0276] Therefore, after rearranging formulas (65) and (66) based on the coefficients defined above, the flow at the control state input end is as shown in formula (67), and the flow at the control state output end is as shown in formula (68).

[0277]

[0278] The water depth boundary condition at the input end of each control state is shown in formula (69), and the water depth boundary condition at the output end of the control state is shown in formula (70).

[0279] (69)

[0280] (70)

[0281] in, ;

[0282] .

[0283] Substituting the water depth boundary conditions at the input and output ends of the control state into the recursive relationship, we can obtain equations (71) and (72).

[0284] (71)

[0285] (72)

[0286] By expanding the above formula (71), we can get formula (73), and by expanding the above formula (72), we can get formula (74).

[0287]

[0288]

[0289] By reorganizing the above formula (73), we can get formula (75), and by expanding the above formula (74), we can get formula (76).

[0290] (75)

[0291] (76)

[0292] in,

[0293]

[0294] The above formulas (75) and (76) can be converted into the form of matrix equations as shown in formula (77).

[0295] (77)

[0296] Taking the matrix inverse of the above matrix equation, we can get the equation shown in formula (78).

[0297] (78)

[0298] in,

[0299]

[0300] After the above formula (78) is expanded, the flow at the input end of the control state k is shown in formula (79), and the flow at the output end of the control state k is shown in formula (80).

[0301] (79)

[0302] (80)

[0303] By rearranging formula (79) and formula (80) according to the unknown head conditions, we can obtain formula (81) and formula (82).

[0304] (81)

[0305] (82)

[0306] Therefore, after reorganizing formula (81) and formula (82), the control state The flow rate at the input end can be expressed as formula (83), and the flow rate at the output end can be expressed as formula (84).

[0307] (83)

[0308] (84)

[0309] in, ;

[0310] ;

[0311] ;

[0312] ;

[0313] ;

[0314] ;

[0315] ;

[0316] ;

[0317] .

[0318] The symbols in the above formulas (61)-(84) are explained as follows: represents the flow at the input end of the control state k at the next moment, Indicates the flow rate at the output end of control state k at the next moment; It represents the water head height of the control object j at the output end of the control state k at the next moment; represents the water head height of the control object j at the input end of the control state k at the next moment; g represents the gravitational acceleration, is the flow coefficient at the output of control state k, Indicates the flow area at the output end of the control state; Indicates the flow rate of the output end of the control state at the current moment; is the flow coefficient at the input of control state k, Indicates the flow area at the input end of the control state; Indicates the flow rate at the input end of the control state at the current moment; represents the top width of the water-passing section of the first node in control state k, Indicates the top width of the water-passing section of the penultimate node in control state k, Indicates the head difference coefficient at the output end, represents the head difference coefficient at the input end, represents the input flow of the first node in control state k, represents the input flow of the penultimate node in control state k, represents the water depth of the first node of control state k at the next moment, Indicates the water depth of the penultimate node in control state k at the next moment.

[0319] After the above derivation, the recursive relationship can be substituted into the boundary conditions of the control state to obtain the expression of the flow at the input and output ends of the control state.

[0320] However, in a special scenario, the one-dimensional unsteady flow cannot generalize the discontinuous water surface when simulating the backwater effect, which makes the drainage simulation system unstable. To solve this problem, the present application proposes a mobile calculation method for tracking the discontinuous water surface to solve the backwater effect caused by the backwater, so as to control the object ( and ) control state ( ) as an example.

[0321] like Picture 6 As shown in the figure, the generalization of the traditional backwater effect simulation can be described as follows: the water head between nodes 2 and 3 is a slope. Assuming there is no other input, according to the recursive relationship, and .because and If there are no other computational elements between two nodes, the water surface between them can be expressed as a slope of At the same time, since the water surface is not parallel to the horizontal plane, the water surface will flow under the action of gravity to generate flow , Will result in quality control of downstream objects The water head at node 3 is accumulated until it equals Therefore, the backwater effect will introduce a mass balance error into the model.

[0322] In the process of determining the boundary conditions of the control state based on the flow relationship between the control state and the control object, the nodes included in the control state are repositioned so that the bottom elevation of the slope is flush with the head height of the downstream control object of the control state, wherein the slope refers to the slope corresponding to the head between two nodes inside the control state.

[0323] like Picture 7 As shown, the generalization of the mobile calculation method proposed in the embodiment of the present application for simulating the backwater effect can be described as tracking the discontinuity of the backwater profile. When the recursive relationship inside the control state is calculated to determine the internal water depth and flow, the discontinuity of the backwater profile will be captured at the position of the moving water element. Specifically, at each time step, the calculation node inside the control state is repositioned so that the elevation of the bottom of the slope is flush with the head of the downstream control object.

[0324] Since the actual drainage system includes various control devices in addition to the pipe network system, the above embodiment describes how to generalize the actual pipe network system. The following generalizes the control device and its control action to achieve real-time control and simulation of the drainage simulation system. In the embodiment of the present application, the numerical calculation of the three control devices of the pipe mouth, weir and pump and their corresponding control actions are mainly optimized.

[0325] (1) Nozzle

[0326] In the embodiment of the present application, the control action of the nozzle is generalized into six different working conditions, namely: two-side submerged side-mounted nozzles, one-side submerged side-mounted nozzles, weir flow side-mounted nozzles, two-side submerged bottom-mounted nozzles, one-side submerged bottom-mounted nozzles, and no flow condition. The control equation for each working condition is as follows:

[0327] A. Both sides of the pipe are submerged

[0328] When the two conditions expressed by formulas (85) and (86) are met, the calculation equation for the effective head can be expressed as shown in formula (87). The calculation equation for the flow rate can be expressed as shown in formula (88).

[0329] (85)

[0330] (86)

[0331] (87)

[0332] (88)

[0333] B. Single side submerged side pipe opening

[0334] When the two conditions expressed by formula (89) and formula (90) are met, the calculation equation of the effective head can be expressed as shown in formula (91). The calculation equation of the flow rate can be expressed as shown in formula (92).

[0335] (89)

[0336] (90)

[0337] (91)

[0338] (92)

[0339] C. Weir flow side nozzle

[0340] When the two conditions expressed by formula (93) and formula (94) are met, the calculation equation of the effective head can be expressed as shown in formula (95). The calculation equation of the flow rate can be expressed as shown in formula (96).

[0341] (93)

[0342] (94)

[0343] (95)

[0344] (96)

[0345] D. Both sides of the submerged bottom installation pipe

[0346] When the two conditions expressed by formula (97) and formula (98) are met, the calculation equation of the effective head can be expressed as shown in formula (99). The calculation equation of the flow rate can be expressed as shown in formula (100).

[0347] (97)

[0348] (98)

[0349] (99)

[0350] (100)

[0351] E. Bottom mounting orifice plate for single-side immersion

[0352] When the two conditions represented by formula (101) and formula (102) are met, the calculation equation of the effective head can be expressed as shown in formula (103). The calculation equation of the flow rate can be expressed as shown in formula (104).

[0353] (101)

[0354] (102)

[0355] (103)

[0356] (104)

[0357] F. No flow condition

[0358] When the conditions expressed by formula (105) are met, the effective head and flow rate under this condition are both zero. Specifically, the calculation equation of the effective head can be expressed as shown in formula (106). The calculation equation of the flow rate can be expressed as shown in formula (107).

[0359] (105)

[0360] (106)

[0361] (107)

[0362] In order to facilitate the calculation in the system matrix, the nozzle control equation needs to be expressed in a matrix.

[0363] The following indicator functions are defined as shown in formulas (108) and (109).

[0364] (108)

[0365] (109)

[0366] At the same time, a Boolean function is defined to represent different nozzle working conditions:

[0367] (1) When immersed on the high head side, it can be expressed as shown in formula (110).

[0368] (110)

[0369] (2) When immersed on the low head side, it can be expressed as shown in formula (111).

[0370] (111)

[0371] (3) When immersed above the bottom edge on the high head side, it can be expressed as shown in formula (112).

[0372] (112)

[0373] The flow rate through the pipe orifice can be expressed by the following linear coefficient equation as shown in formula (113).

[0374] (113)

[0375] in, ;

[0376] ;

[0377] ;

[0378] .

[0379] The above equation can be combined with the linearized control state coefficients ( , , , , , ) is added to the matrix equation in the same way.

[0380] Therefore, define the matrix and vector .definition elements, so that ; ; (in, All other elements of are zero). The expression of is shown in formula (114). The expression of is shown in formula (115), The expression of is shown in formula (116):

[0381] (114)

[0382] (115)

[0383] (116)

[0384] Similarly, define elements, so that . The expression of is shown in formula (1177).

[0385] (117)

[0386] The symbols in formulas (85)-(117) are explained as follows: Indicates the flow rate at the nozzle. Indicates the water head height at the input end of the nozzle. Indicates the water head height at the output end of the nozzle. represents the flow coefficient of the nozzle, It represents the flow area of ​​the pipe orifice, and g represents the acceleration due to gravity. Indicates the bottom depth of the nozzle input end. Indicates the bottom depth of the nozzle output end, z o Indicates the height from the bottom of the nozzle output end to the reference horizontal plane. Indicates the maximum water level height of the nozzle. Indicates water level control parameters, which can be set according to actual conditions. Indicates the water head height at the nozzle input end at the next moment, Indicates the water head height at the output end of the pipe at the next moment.

[0387] (2) Weir

[0388] In the embodiments of the present application, only the transverse cofferdams which are actually used more often are considered for generalization. Generally, the transverse cofferdams can be represented as trapezoids, and rectangles and triangles can also be simply generalized as special cases of trapezoids.

[0389] The effective head of the weir can be expressed as shown in formula (118).

[0390] (118)

[0391] The flow rate of the weir can be expressed as follows. The flow rate through the trapezoidal weir can be expressed as the sum of the flow rates of the rectangular and triangular sections, as shown in formula (119).

[0392] (119)

[0393] The next time step through the weir The flow rate can be expressed as shown in formula (120).

[0394] (120)

[0395] In order to facilitate the calculation in the system matrix, the control equation of the weir needs to be expressed in a matrix.

[0396] Define the following function as shown in formula (121).

[0397] (121)

[0398] At the same time, the Boolean function is defined to represent the following working conditions:

[0399] Immersed on the high head side, it can be expressed as shown in formula (122).

[0400] (122)

[0401] Immersed on the low head side, it can be expressed as shown in formula (123).

[0402] (123)

[0403] The flow rate through the weir can be expressed by the following linear coefficient equation as shown in formula (124).

[0404] (124)

[0405] in, ;

[0406] ;

[0407] ;

[0408] .

[0409] Therefore, define the matrix and vector .definition elements, so that ; ; (in, All other elements of are zero). The expression of is shown in formula (125). The expression of is shown in formula (126), The expression of is shown in formula (127).

[0410] (125)

[0411] (126)

[0412] (127)

[0413] Similarly, define elements, so that . The expression of is shown in formula (128),

[0414] (128)

[0415] The symbols in formulas (118)-(128) are explained as follows: represents the flow rate at the weir, represents the water head height at the weir input, represents the water head height at the weir output end, represents the discharge coefficient of the weir, represents the flow area of ​​the weir, and g represents the acceleration due to gravity. represents the water head height at the weir input end at the next moment, Indicates the water head height at the weir output end at the next moment. represents the bottom depth of the weir input end, represents the bottom depth of the weir output end, z w Indicates the height from the bottom of the weir output to the reference level. represents the maximum water level height of the weir, Indicates water level control parameters, which can be set according to actual conditions.

[0416] (3) Pump

[0417] The relationship between the flow rate and the head of the pump is generally determined by the output curve of the pump. Therefore, in this embodiment, the flow rate / head relationship is assumed to be approximately as follows: An ellipse with centered point.

[0418] The effective head of the pump can be expressed as shown in formula (129).

[0419] (129)

[0420] in, Indicates the effective head of the pump, Indicates the maximum effective head of the pump. Indicates the minimum effective head of the pump, Indicates the head lift at the output end of the pump. Indicates the head lift at the input end of the pump.

[0421] Based on the assumed elliptical approximation, the pump flow rate can be expressed as shown in formula (130).

[0422] (130)

[0423] in, represents the flow rate of the pump, and ω is a constant that represents the geometric characteristics of the pump. and Indicates the horizontal and vertical dimensions of the ellipse.

[0424] In order to facilitate the calculation of the system matrix, the control equation of the pump needs to be expressed in a matrix.

[0425] Define a Boolean function to represent the following conditions:

[0426] The underwater water inlet of the pump can be expressed as shown in formula (131).

[0427] (131)

[0428] The head within the pump output curve range can be expressed as shown in formula (132).

[0429] (132)

[0430] The flow rate of the pump can be expressed by the following linear coefficient equation as shown in formula (133).

[0431] (133)

[0432] in, ;

[0433] ;

[0434] ;

[0435] .

[0436] Therefore, define the matrix and vector .definition elements, so that ; ; (in, All other elements of are zero). The expression of is shown in formula (134). The expression of is shown in formula (135), The expression of is shown in formula (136).

[0437] (134)

[0438] (135)

[0439] (136)

[0440] Similarly, define elements, so that . The expression of is shown in formula (137).

[0441] (137)

[0442] represents the bottom depth of the underwater water inlet of the pump, z p Indicates the height from the bottom of the pump's underwater water inlet to the reference horizontal plane. Indicates the water head at the input end of the pump at the next moment, Indicates the water head at the output end of the pump at the next moment. The pump flow rate at the next moment.

[0443] By integrating the control state and the control equation of the real-time control device, the standard form of the implicit linear equation can be obtained as shown in formula (138):

[0444] (138)

[0445] The state transfer matrix on the left side of the above formula (138) is the sum of the corresponding left-hand side matrix solutions for the control state, nozzle, weir, and pump, as shown in equation (139).

[0446] (139)

[0447] The state transfer matrix on the right side of the equation is a diagonal matrix, representing the current storage capacity of each control object, which can be simplified to equal , as shown in formula (140)

[0448] (140)

[0449] Constant term Indicates the control status, nozzles, weirs and pumps The vector of the sum of coefficients, as shown in formula (141).

[0450] (141)

[0451] For a control object with a fixed boundary head , the values ​​of the elements of the implicit linear equation are as shown in formulas (142), (143), (144) and (145).

[0452] (142)

[0453] (143)

[0454] (144)

[0455] (145)

[0456] The hydraulic calculator can be regarded as a local linear time-varying state space system, which can apply the continuous equation to all control objects, and then use the recursive relationship to solve the water head state data of all control objects in turn through the matrix equation. The present invention directly embeds the control action equation of the real-time control device into the matrix equation so that the classical state estimation and control algorithm can be used in the linear time-varying state space system.

[0457] For a single control object , whose time step is The change in is equal to the difference between the input flow and the output flow, which can be specifically expressed as formula (146).

[0458] (146)

[0459] in, is in control Output flow rate; is in control The input flow rate; Is the control object The external input flow; Is the control object The cross-sectional area of ​​water flow; Is the control object head height. Indicates the control object The number of control states of the upstream input, Indicates the control object The number of control states for the downstream output. Indicates the control object The difference between the input flow and the output flow of all upstream and downstream control states.

[0460] Based on the recursive relationship determined by the hydraulic calculator, the control state The flow rate at the input control object and the flow rate at the output control object at a given moment can be expressed as formulas (147) and (148).

[0461] (147)

[0462] (148)

[0463] in, Indicates control status The water head height of the upstream control object; Indicates control status The head height of the downstream control object.

[0464] , and is a function of the water depth and flow rate inside each control object, which is incorporated into the continuity equation and momentum equation in both the fore and aft directions.

[0465] Will control the state Substitute the flow rate at the input control object and the flow rate at the output control object into the control object at the moment In the continuity equation, the linear equation can be obtained as shown in formula (149).

[0466] (149)

[0467] in, ;

[0468] ;

[0469] ;

[0470] .

[0471] Therefore, each control object The implicit state space equation of can be expressed as formula (150).

[0472] (150)

[0473] in, is the state vector of the hydraulic head of the control object at the current time step; is the state vector of the water head of the controlled object at the next moment, It is the state vector of the slope of each controlled object at the current moment.

[0474] Defined as ; ; (in, All other elements of are zero).

[0475] Likewise, Defined as is the state of the slope of the jth controlled object at the current moment.

[0476] It is a diagonal matrix, representing the reserve of the current controlled object, as shown in formula (151).

[0477] (151)

[0478] Represents each control object External input flow (e.g. runoff) is given by formula (152).

[0479] (152)

[0480] Therefore, Picture 3 Taking as an example, assuming that the flow input data of the control objects j1 and j3 and the head boundary conditions of the control objects j4 and j6 are known, the matrix equation can be expressed as in formula (153).

[0481] (153)

[0482] This matrix can be used to calculate the time step After obtaining the unknown water head state data of the control object, the water depth state data and flow state data in the upstream control state and downstream control state can be calculated, and then the water depth state data and flow state data in each control state can be solved according to the recursive relationship.

[0483] The data assimilation model is introduced below.

[0484] The main component of the data assimilation model is the Kalman filter, which is used to assimilate the sensor data and fuse it into the hydraulic model. The Kalman filter assimilates the head state data or sensor data output from the hydraulic module and inputs the assimilated data into the hydraulic calculator.

[0485] The Kalman filter is based on the solution process of the hydraulic calculator, which can integrate the sensor data of each time step into the hydraulic model. The hydraulic calculator advances forward according to the time step on the time scale and calculates the head state data of all controlled objects at each time step. The Kalman filter obtains the real head state data and uses the real head state data to correct the head state data of the controlled object at the monitoring position. Based on the corrected head state data of the controlled object, the water depth and flow rate inside the control state are recalculated to correct the system accuracy.

[0486] The Kalman filter defines a dynamic model of the system dynamics based on an implicit linear system and sensor data. The Kalman filter is a recursive Bayesian estimation algorithm that first uses the dynamic system model to generate a prior estimate of the system state, and then updates the prior estimate with observed data to produce a posterior estimate.

[0487] Based on the traditional Kalman filter, the invention proposes a Kalman filter generalized recursive method of a linear time-varying system for calculation of a hydraulic calculator.

[0488] Specifically, a data assimilation model is used to perform data assimilation based on real hydraulic state data and hydraulic state data output by the hydraulic model to obtain assimilated data, including: calculating a minimum mean square error estimate based on the real hydraulic state data and the hydraulic state data output by the hydraulic model; and using the minimum mean square error estimate as the assimilated data.

[0489] The generalized recursive method of Kalman filter is: in constructing the spatial state system, each control object The implicit state space equation of is as shown in formula (154).

[0490] (154)

[0491] It can be rewritten as formula (155).

[0492] (155)

[0493] in, ;

[0494] ;

[0495] .

[0496] Therefore, the implicit state equation and the monitored output equation can be used to represent the internal state and observed output of the system. Assume that the implicit state equation is randomly disturbed. interference, and the output equation is noise Destruction. Then the equations can be expressed as formulas (156) and (157).

[0497] (156)

[0498] (157)

[0499] in, is the current time step dimensional state vector,

[0500] yes dimensional input vector,

[0501] yes dimensional random perturbation,

[0502] yes dimensional observation state,

[0503] It is the measurement of noise dimensional vector.

[0504] yes The state transition matrix,

[0505] yes Input transfer matrix,

[0506] yes constant vector,

[0507] yes Measure the transfer matrix.

[0508] Assuming random interference and measurement noise is a random vector of zero-mean Gaussian white noise with known covariance. Therefore, the minimum mean square error estimate of the system state can be expressed as shown in equations (158) and (159).

[0509] (158)

[0510] (159)

[0511] Observed through feedback The difference between the output estimate and the output estimate predicted by the system dynamics model can be recursively corrected The weighting factor applied to this difference is the optimal Kalman gain, which can be expressed as formula (160).

[0512] (160).

[0513] in, is the measurement noise The covariance of .

[0514] is the estimation error covariance matrix, .

[0515] The recursion can be expressed as formula (161).

[0516] (161)

[0517] in, is a random disturbance The covariance of .

[0518] At each time step, the Kalman gain is recalculated and error covariance , and then recursively correct the system state estimate.

[0519] In the embodiment of the present application, the infiltration calculator is coupled with the hydraulic calculator, and the infiltration process and the hydraulic process can be calculated sequentially as independent processes, so as to calculate the infiltration process more accurately and simulate the surface runoff process more realistically. The dynamic characteristics of the water flow in the control state are embedded into the system solution matrix using a recursive relationship, which can eliminate the mass balance error. An adaptive time step control algorithm is proposed to improve the instability and compatibility problems under different time steps.

[0520] The technical solution provided in this application realizes the real-time data assimilation of drainage system sensor monitoring data and the real-time simulation of the drainage system; realizes the optimization of the simulation of the pipe network backwater effect and eliminates the mass balance error.

[0521] Picture 8 Schematic diagram of a drainage system simulation device method in an embodiment of the present application. The drainage system simulation device provided in the embodiment of the present application is configured in a drainage simulation system. The drainage simulation system includes a hydrological model, a hydraulic model and a data assimilation model. The hydrological model and the hydraulic model have a coupling relationship, and the hydraulic model and the data assimilation model have a coupling relationship. Picture 8 As shown, the simulation device of the drainage system provided in the embodiment of the present application mainly includes: a hydrological data simulation module 81, a hydraulic data simulation module 82 and a data assimilation module 83.

[0522] The hydrological data simulation module 81 is used to use the hydrological model to simulate the water cycle process based on the hydrological monitoring data and the hydraulic state data output by the hydraulic model to obtain the hydrological state data; the hydraulic data simulation module 82 is used to use the hydraulic model to simulate the water flow dynamics based on the hydraulic monitoring data, the hydrological state data output by the hydrological model and the assimilated data transmitted by the data assimilation model to obtain the hydraulic state data; the data assimilation module 83 is used to use the data assimilation model to perform data assimilation based on the real hydraulic state data and the hydraulic state data output by the hydraulic model to obtain the assimilated data.

[0523] In a possible implementation, the drainage simulation system advances on a time scale according to a time step, wherein the next time step of the drainage simulation system is determined by a first time step, a second time step, a third time step, a first truncation error estimate, a second truncation error estimate, a third truncation error estimate, and a preset allowable deviation fraction; the first time step is the time step corresponding to a current moment, the second time step is the time step corresponding to a previous moment, and the third time step is the time step corresponding to a moment before the previous moment; the first truncation error estimate is the truncation error estimate corresponding to the current moment, the second truncation error estimate is the truncation error estimate corresponding to a previous moment, and the third truncation error estimate is the truncation error estimate corresponding to a moment before the previous moment.

[0524] In one possible implementation, the hydrological model includes an infiltration calculator, and the hydrological status data include an infiltration rate and a runoff rate per unit area; wherein the infiltration rate at the next moment is determined by the cumulative infiltration depth of the soil at the next moment, the cumulative infiltration depth of the soil at the current moment, and the current time step; the runoff rate per unit area is determined by the infiltration rate and the precipitation rate, and the precipitation rate is determined by the precipitation amount and the amount of water accumulated in the depression, wherein the amount of water accumulated in the depression is determined by the hydraulic status data output by the hydraulic model.

[0525] In a possible implementation, the hydraulic model includes a hydraulic calculator, which includes four computing elements: nodes, connections, control states, and control objects; wherein a control state is formed between two control objects, each control state includes a plurality of connections and nodes, and a connection is formed between two nodes;

[0526] The hydraulic data simulation module 82 is specifically used to use the discretized Saint-Venant equations to determine the flow relationship between multiple connections and nodes in the control state as a recursive relationship; determine the boundary conditions of the control state based on the flow relationship between the control state and the controlled object; convert the spatial state system into an implicit state space equation based on the recursive relationship and the boundary conditions; solve the implicit state space equation to obtain the head state data of the controlled object; substitute the head state data of the controlled object into the recursive relationship to calculate the flow state data and depth state data inside the control state.

[0527] In a possible implementation, the recursive relationship includes a forward recursive relationship and a backward recursive relationship; the forward recursive relationship is shown in the following formula:

[0528]

[0529] in, ;

[0530] ;

[0531] ;

[0532] ;

[0533] in, k Indicates the control status. i.k. Indicates control status k of i connect, Ik represents the I-th node in control state k, I- 1k represents the I-1th node in control state k, 1k represents the first node of control state k, I+1k represents the I+1th node in control state k, g represents the acceleration due to gravity, represents the current time step, t Indicates the current moment, Indicates the next moment;

[0534] Representation Node Ik Input flow rate; Representation Node I+1k Input flow rate; Indicates the traffic of the connection ik at the next moment, Represents node 1 k In the next moment of water depth, Representation Node I+1k In the next moment of water depth, Represents node I k The top width of the water-passing section, Represents node I+1 k The top width of the water-passing section;

[0535] Indicates connection i.k. The cross-sectional area of ​​water flow, Indicates connection i.k. The runoff volume, , , Represents the constant parameter at the node ik;

[0536] The backward recursive relationship is shown in the following formula:

[0537]

[0538] in, ;

[0539] ;

[0540] ;

[0541] ;

[0542] in ,k Indicates the control status. i.k. Indicates control status k of i connect, Ik represents the I-th node in control state k, I+ 1k represents the I+1th node in control state k, Nk+1 represents the penultimate node of control state k, i.e., the output end of control state k, g represents the acceleration due to gravity, represents the current time step, t Indicates the current moment, Indicates the next moment.

[0543] Representation Node I+1k Input flow rate; Indicates the traffic of the connection ik at the next moment, Representation Node Nk+1 In the next moment of water depth, Representation Node I+1k In the next moment of water depth, Represents node I k The top width of the water-passing section, Represents node I+1 k The top width of the water-passing section,

[0544] Indicates connection i.k. The cross-sectional area of ​​water flow, Indicates connection i.k. The runoff volume, , , Represents the constant parameter at node ik.

[0545] In one possible implementation, in the process of determining the boundary conditions of the control state based on the flow relationship between the control state and the control object, the nodes included in the control state are repositioned during each simulation so that the bottom elevation of the slope is flush with the head height of the downstream control object of the control state, wherein the slope refers to the slope corresponding to the head between two nodes inside the control state.

[0546] In a possible implementation, the implicit state space equation is as follows:

[0547]

[0548] in, is the state vector of the water head of the controlled object at the current moment; is the state vector of the water head of the controlled object at the next moment, is a diagonal matrix, Represents the external input flow matrix of each control object, represents the observation state matrix.

[0549] In a possible implementation, the data assimilation module 83 is specifically configured to calculate a minimum mean square error estimate based on the actual hydraulic state data and the hydraulic state data output by the hydraulic model; and use the minimum mean square error estimate as assimilated data.

[0550] The simulation device of the drainage system provided in the embodiment of the present application can execute the simulation method of the drainage system provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the simulation method of the drainage system.

[0551] Picture 9 is a schematic diagram of the structure of an electronic device provided in this embodiment. The electronic device may include a simulation device of a drainage system, such as Picture 9 As shown, the electronic device 900 includes a processor 910, a memory 920, an input device 930, and an output device 940; the number of the processor 910 in the electronic device can be one or more. Picture 9 A processor 910 is taken as an example; the processor 910, the memory 920, the input device 930 and the output device 940 in the electronic device can be connected via a bus or other means. Picture 9 The example of connecting through bus is taken in the following.

[0552] The memory 920 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the method for simulating a drainage system in the embodiment of the present invention. The processor 910 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory 920, that is, the method for simulating a drainage system provided in the embodiment of the present invention is implemented.

[0553] The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 920 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 920 may further include a memory remotely arranged relative to the processor 910, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0554] The input device 930 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the electronic device, and may include a keyboard, a mouse, etc. The output device 940 may include a display device such as a display screen.

[0555] This embodiment also provides a storage medium containing computer executable instructions, and when the computer executable instructions are executed by a computer processor, they are used to implement the drainage system simulation method provided in the embodiment of the present invention.

[0556] Of course, the computer executable instructions of a storage medium including computer executable instructions provided in an embodiment of the present invention are not limited to the operations of the method described above, but can also execute related operations in the drainage system simulation method provided in any embodiment of the present invention.

[0557] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (FLASH), a hard disk or an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0558] It is worth noting that in the embodiment of the above-mentioned drainage system simulation device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0559] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0560] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for simulating a drainage system, characterized in that: The method is applied to a drainage simulation system, which includes a hydrological model, a hydraulic model and a data assimilation model, wherein the hydrological model and the hydraulic model have a coupling relationship, and the hydraulic model and the data assimilation model have a coupling relationship; the method includes: Using the hydrological model to simulate the water cycle process based on the hydrological monitoring data and the hydraulic state data output by the hydraulic model to obtain hydrological state data; The hydraulic model is used to simulate water flow dynamics based on hydraulic monitoring data, hydrological state data output by the hydrological model, and assimilated data transmitted by the data assimilation model to obtain hydraulic state data; Using the data assimilation model to perform data assimilation based on real hydraulic state data and hydraulic state data output by the hydraulic model to obtain assimilated data; Wherein, the drainage simulation system advances according to the time step on the time scale, wherein the next time step of the drainage simulation system is determined by the first time step, the second time step, the third time step, the first truncation error estimate, the second truncation error estimate, the third truncation error estimate and the preset allowable deviation fraction; the first time step is the time step corresponding to the current moment, the second time step is the time step corresponding to the previous moment, and the third time step is the time step corresponding to the previous moment of the previous moment; the first truncation error estimate is the truncation error estimate corresponding to the current moment, the second truncation error estimate is the truncation error estimate corresponding to the previous moment, and the third truncation error estimate is the truncation error estimate corresponding to the previous moment of the previous moment; The hydraulic model includes a hydraulic calculator, which includes four computing elements: nodes, connections, control states and control objects; a control state is formed between two control objects, each control state includes multiple connections and nodes, and a connection is formed between two nodes; the hydraulic model is used to simulate the flow dynamics based on hydraulic monitoring data, hydrological state data output by the hydrological model and assimilated data transmitted by the data assimilation model to obtain hydraulic state data, including: using a discretized Saint-Venant equation group to determine the flow relationship between multiple connections and nodes in the control state as a recursive relationship; determining the boundary conditions of the control state based on the flow relationship between the control state and the control object; converting the spatial state system into an implicit state space equation based on the recursive relationship and the boundary conditions; solving the implicit state space equation to obtain the head state data of the control object; substituting the head state data of the control object into the recursive relationship to calculate the flow state data and depth state data inside the control state; Wherein, the recursive relation includes a forward recursive relation and a backward recursive relation; The forward recursive relationship is shown in the following formula: in, ; ; ; ; The backward recursive relationship is shown in the following formula: in, ; ; ; ; in ,k Indicates the control status. ik Indicates control status k of i connect, I represents the I-th node in control state k, I-1k represents the I-1th node in control state k, 1k represents the first node of control state k, I+1k represents the I+1th node in control state k, g represents the acceleration due to gravity, represents the current time step, t Indicates the current moment, Indicates the next moment; Nk+1 represents the penultimate node of control state k, Representation Node Nk+1 In the next moment of water depth, Representation Node I Input flow rate; Representation Node I+1k Input flow rate; Indicates the traffic of the connection ik at the next moment, Represents node 1 k In the next moment of water depth, Representation Node I+1k In the next moment of water depth, Represents node I k The top width of the water-passing section, Represents node I+1 k The top width of the water-passing section; Indicates connection ik The cross-sectional area of ​​water flow, Indicates connection ik The runoff volume, , , Represents the constant parameter at node ik.

2. The method according to claim 1, characterized in that The hydrological status data include infiltration rate and runoff rate per unit area; Among them, the infiltration rate at the next moment is determined by the cumulative soil infiltration depth at the next moment, the cumulative soil infiltration depth at the current moment, and the current time step; The runoff rate per unit area is determined by the infiltration rate and the precipitation rate, and the precipitation rate is determined by the precipitation amount and the amount of water accumulated in the depression, wherein the amount of water accumulated in the depression is determined by the hydraulic state data output by the hydraulic model.

3. The method according to claim 1, characterized in that: Also includes: In the process of determining the boundary conditions of the control state based on the flow relationship between the control state and the control object, the nodes included in the control state are repositioned so that the bottom elevation of the slope is flush with the head height of the downstream control object of the control state, wherein the slope refers to the slope corresponding to the head between two nodes inside the control state.

4. The method according to claim 1, characterized in that: The implicit state space equation is shown in the following formula: in, is the state vector of the water head of the controlled object at the current moment; is the next The state vector of the hydraulic head of the control object, is a diagonal matrix, Represents the external input flow matrix of each control object, represents the monitoring matrix, It is the state vector of the slope of each controlled object at the current moment.

5. The method according to claim 1, characterized in that The step of performing data assimilation based on the real hydraulic state data and the hydraulic state data output by the hydraulic model using the data assimilation model to obtain assimilated data includes: Calculating a minimum mean square error estimate based on the actual hydraulic state data and the hydraulic state data output by the hydraulic model; The minimum mean square error estimate is used as the assimilated data.

6. A drainage system simulation device, characterized in that: The simulation device of the drainage system is configured in the drainage simulation system, and the drainage simulation system includes a hydrological model, a hydraulic model and a data assimilation model. The hydrological model and the hydraulic model have a coupling relationship, and the hydraulic model and the data assimilation model have a coupling relationship; the device includes: A hydrological data simulation module, used to simulate the water cycle process using the hydrological model based on the hydrological monitoring data and the hydraulic state data output by the hydraulic model to obtain hydrological state data; A hydraulic data simulation module, used to simulate water flow dynamics using the hydraulic model based on hydraulic monitoring data, hydrological state data output by the hydrological model, and assimilated data transmitted by the data assimilation model to obtain hydraulic state data; A data assimilation module, used to perform data assimilation based on the real hydraulic state data and the hydraulic state data output by the hydraulic model using the data assimilation model to obtain assimilated data; Wherein, the drainage simulation system advances according to the time step on the time scale, wherein the next time step of the drainage simulation system is determined by the first time step, the second time step, the third time step, the first truncation error estimate, the second truncation error estimate, the third truncation error estimate and the preset allowable deviation fraction; the first time step is the time step corresponding to the current moment, the second time step is the time step corresponding to the previous moment, and the third time step is the time step corresponding to the previous moment of the previous moment; the first truncation error estimate is the truncation error estimate corresponding to the current moment, the second truncation error estimate is the truncation error estimate corresponding to the previous moment, and the third truncation error estimate is the truncation error estimate corresponding to the previous moment of the previous moment; The hydraulic model includes a hydraulic calculator, which includes four computing elements: nodes, connections, control states and control objects; a control state is formed between two control objects, each control state includes multiple connections and nodes, and a connection is formed between two nodes; the hydraulic model is used to simulate the flow dynamics based on hydraulic monitoring data, hydrological state data output by the hydrological model and assimilated data transmitted by the data assimilation model to obtain hydraulic state data, including: using a discretized Saint-Venant equation group to determine the flow relationship between multiple connections and nodes in the control state as a recursive relationship; determining the boundary conditions of the control state based on the flow relationship between the control state and the control object; converting the spatial state system into an implicit state space equation based on the recursive relationship and the boundary conditions; solving the implicit state space equation to obtain the head state data of the control object; substituting the head state data of the control object into the recursive relationship to calculate the flow state data and depth state data inside the control state; Wherein, the recursive relation includes a forward recursive relation and a backward recursive relation; The forward recursive relationship is shown in the following formula: in, ; ; ; ; The backward recursive relationship is shown in the following formula: in, ; ; ; ; in ,k Indicates the control status. ik Indicates control status k of i connect, I represents the I-th node in control state k, I-1k represents the I-1th node in control state k, 1k represents the first node of control state k, I+1k represents the I+1th node in control state k, g represents the acceleration due to gravity, represents the current time step, t Indicates the current moment, Indicates the next moment; Nk+1 represents the penultimate node of control state k, Representation Node Nk+1 In the next moment of water depth, Representation Node I Input flow rate; Representation Node I+1k Input flow rate; Indicates the traffic of the connection ik at the next moment, Represents node 1 k In the next moment of water depth, Representation Node I+1k In the next moment of water depth, Represents node I k The top width of the water-passing section, Represents node I+1 k The top width of the water-passing section; Indicates connection ik The cross-sectional area of ​​water flow, Indicates connection ik The runoff volume, , , Represents the constant parameter at node ik.

7. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the drainage system simulation method as described in any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the simulation method of the drainage system as described in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Intelligent draining scheduling system and method

    CN105353711A

  • Waterlogging prediction method and system and storage medium

    CN114254561A

  • Optimized Hydromodification Management With Active Stormwater Controls

    US20180011452A1