Node flow optimization distribution method for improving accuracy of transient hydraulic simulation of water supply in-series pipeline
11550976 · 2023-01-10
Assignee
Inventors
Cpc classification
E03B1/02
FIXED CONSTRUCTIONS
International classification
Abstract
The present invention discloses a node flow optimization distribution method for improving the accuracy of transient hydraulic simulation of a water supply in-series pipeline. The present invention optimizes the flow distribution coefficients of intermediate nodes to minimize the impact thereof on the calculation and analysis of transient flow. Further, the simplified error generated by the node flow distribution can be quantified and evaluated by the control threshold of the simplified errors to achieve effective control of the simplified process. In addition, the simplified operation of the method of the present invention is carried out sequentially from the intermediate node with the smallest simplified error, which effectively overcomes the potential defect of the conventional node flow distribution that leads to a significant reduction in the accuracy of the model, and can ensure the reliability and accuracy of the simplified operation of the same-diameter in-series pipeline.
Claims
1. A method for preventing a transient flow in a water supply pipeline network, comprising following steps: (1) identify same-diameter in-series pipeline systems (IDP) in a pipeline network model to form a collection IDP={IDP.sub.1, IDP.sub.2, . . . , IDP.sub.N} of the same-diameter in-series pipeline systems, the pipeline network model being a geographic information system (GIS) based hydraulic model of the water supply pipeline network, the GIS system having pipeline network topological information and component property information of the water supply pipeline network, and each node of the pipeline network model representing a user of the water supply pipeline network, wherein N is a number of the same-diameter in-series pipeline systems in the pipeline network model; the same-diameter in-series pipeline systems are basic objects of simplification of the same-diameter in-series pipelines, for example, one of the same-diameter in-series pipeline systems IDP.sub.i comprises four pipelines P.sub.1, P.sub.2, P.sub.3 and P.sub.4 that are connected in series, three nodes N.sub.1, N.sub.2 and N.sub.3 that are connected at middles thereof, and nodes N.sub.4 and N.sub.5 that are connected at both ends thereof and pipelines P.sub.5, P.sub.6, P.sub.7 and P.sub.8 that are connected externally; wherein a node flow rates of nodes N.sub.1, N.sub.2, N.sub.3, N.sub.4 and N.sub.5 are q.sub.1, q.sub.2, q.sub.3, q.sub.4 and q.sub.5 in sequence; a mathematical expression of the same-pipeline in-series pipeline systems IDP.sub.i (i=1, . . . N) is as follows:
IDP.sub.i={(P.sub.1,P.sub.2,P.sub.3,P.sub.4),(N.sub.1,N.sub.2,N.sub.3),(N.sub.4,N.sub.5),(P.sub.5,P.sub.6),(P.sub.7,P.sub.8)} (1); (2) for the same diameter in-series pipeline systems IDP, (i=1, 2, 3 . . . N) in a set of the IDP, establish an optimization objective function to calculate a simplified error Err generated by the flow distribution of each intermediate node to form the set Err.sub.i={Err.sub.1, Err.sub.2, . . . , Err.sub.i} (I is the number of intermediate nodes); taking intermediate nodes N.sub.1, N.sub.2 and N.sub.3 as examples, the established optimization objective functions are as follows respectively:
{tilde over (Ψ)}.sup.N.sup.
w.sub.1.sup.1=L(P.sub.1)/[L(P.sub.1)+L(P.sub.2)] (6);
w.sub.1.sup.2=L(P.sub.2)/[L(P.sub.1)+L(P.sub.2)] (7);
w.sub.2.sup.1=L(P.sub.2)/[L(P.sub.2)+L(P.sub.3)] (8);
w.sub.2.sup.2=L(P.sub.3)/[L(P.sub.2)+L(P.sub.3)] (9);
w.sub.3.sup.1=L(P.sub.3)/[L(P.sub.3)+L(P.sub.4)] (10);
w.sub.3.sup.2=L(P.sub.4)/[L(P.sub.3)+L(P.sub.4)] (11); in the formula, L represents the length of the pipeline; solving the optimization objective function can obtain the simplified error Err and the corresponding optimization decision variable value r; specifically, solving the formulas (2), (3) and (4) can obtain the simplified errors Err.sub.1, Err.sub.2 and Err.sub.3 of the intermediate nodes N.sub.1, N.sub.2 and N.sub.3, and the corresponding optimization decision variable values r.sub.1, r.sub.2 and r.sub.3, respectively; (3) according to Err.sub.min=min(Err.sub.i), determine the intermediate nodes that are preferably simplified, in order to ensure the accuracy of the simplified model, according to the control threshold Err.sub.tol of the simplified error to judge whether the combining operation of the same-diameter in-series pipelines are suitably conducted:
If Err.sub.min≤Err.sub.tol, it can be simplified. (12);
If Err.sub.min>Err.sub.tol, it is not appropriate to be simplified. (13); If Err.sub.min≤Err.sub.tol, it then continues to execute downward; otherwise, jump to Step (6); (4) perform a simplified operation on intermediate nodes that can be simplified, to determine the flow of simplified nodes at two ends and the parameters of an equivalent pipeline; (5) remove the simplified intermediate nodes in the same-diameter in-series pipeline systems IDP.sub.i; at this time, if the number of intermediate nodes in the IDP.sub.i is 0, it means that the in-series pipelines in the current same diameter in-series pipeline systems have all been simplified, then jump to Step (6); otherwise, jump to Step (2) and continue to simplify the current same-diameter in-series pipeline systems; (6) complete the simplification of the current same-diameter in-series pipeline systems, start the simplification of the next group of the same-diameter in-series pipeline systems, and return to Step (2) until all the same-diameter in-series pipeline systems have been simplified, which means a simplified process is ended; and (7) generating indication of prevention of the transient flow to an intelligent management system of the water supply pipeline network such that the intelligent management system controls water supply of the water supply pipeline network based on the indication.
2. The method according to claim 1, wherein in step (2), the value of the optimization decision variable r is between 0 and 1.
3. The method according to claim 1, wherein in Step (3), the control threshold Err.sub.tol ranges from 0.01 to 0.03.
4. The method according to claim 1, wherein in Step (4), the flow of the simplified nodes at both ends can be determined according to the value of the optimization decision variable r corresponding to Err.sub.min, for example, the intermediate node N.sub.2 is simplified, and the water volumes of the nodes N.sub.1 and N.sub.3 at two ends are q.sub.1+r.sub.2q.sub.2 and q.sub.3+(1−r.sub.2)q.sub.2, respectively; the parameters of the equivalent pipelines are determined as follows: (1) The pipeline diameter and wave velocity are equal to the diameter and wave velocity of the in-series pipelines, respectively; (2) the length of the pipelines is equal to the sum of the length of the two in-series pipelines; (3) the resistance coefficient of the pipelines is determined according to the principle of hydraulic equivalence, that is, the head loss of the equivalent pipelines after water flow is simplified is the same as the head loss of the in-series pipelines before the water flow is simplified.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
DETAILED DESCRIPTION
(5) The technical solution of the present invention will be further described in details below in conjunction with the drawings. It should be noted that the specific embodiments are only detailed descriptions of the present invention and should not be considered as limiting the present invention.
(6) A node flow optimization distribution method for improving the accuracy of transient hydraulic simulation of a water supply in-series pipeline comprises the following steps:
(7) (1) Identify the same-diameter in-series pipeline systems (IDP) in a pipeline network model to form a collection IDP={IDP.sub.1, IDP.sub.2, . . . , IDP.sub.N} of the same-diameter in-series pipeline systems, wherein N is the number of the same-diameter in-series pipeline systems in the pipeline network model. The same-diameter in-series pipeline systems are the basic objects of simplification of the same-diameter in-series pipelines proposed by the present invention, and consist of a plurality of pipelines (P.sub.1, P.sub.2, P.sub.3, and P.sub.4) that are connected in series, a plurality of nodes (N.sub.1, N.sub.2, and N.sub.3) that are connected at the middles thereof, and nodes (N.sub.4 and N.sub.5) that are connected at both ends thereof and pipelines (P.sub.5, P.sub.6, P.sub.7 and P.sub.8) that are connected externally, as shown in
IDP.sub.i={(P.sub.1,P.sub.2,P.sub.3,P.sub.4),(N.sub.1,N.sub.2,N.sub.3),(N.sub.4,N.sub.5),(P.sub.5,P.sub.6),(P.sub.7,P.sub.8)} (1);
(8) Note that Formula (1) expresses the case where the same-diameter in-series pipeline system has three intermediate nodes and two externally connected pipelines at the connection nodes at both ends. This is a common case of the same-diameter in-series pipeline in the pipeline network model. The situation of having more than three intermediate nodes and a plurality of externally connected pipes (3 or more) at the connection nodes at both ends can be expanded accordingly, and the method of the present invention is still applicable;
(9) (2) For the same-diameter in-series pipeline systems IDP.sub.i in a set IDP, the combination and simplification of the pipeline is to distribute the flow of the intermediate nodes to the nodes at two ends. For example, for the intermediate node N.sub.2 in
(10)
(11) In the formula, subscripts 0 and d represent the original systems and the system after the water volume of the intermediate nodes is distributed. w.sup.1 and w.sup.2 are the weight coefficients, which indicate the relative importance of the two simplified in-series pipelines. {tilde over (Ψ)}.sup.N.sup.
(12) For the present invention, the initial steady-state hydraulic state at the node and the properties of the connection pipeline are used to determine the influence factor {tilde over (Ψ)}.sup.N.sup.
(13) In the formula, S.sub.N.sub.
(14) The present invention uses the ratio of the length of the in-series pipeline to represent the weight coefficient of the two in-series pipelines, namely:
w.sub.1.sup.1=L(P.sub.1)/[L(P.sub.1)+L(P.sub.2)] (6);
w.sub.1.sup.2=L(P.sub.2)/[L(P.sub.1)+L(P.sub.2)] (7);
w.sub.2.sup.1=L(P.sub.2)/[L(P.sub.2)+L(P.sub.3)] (8);
w.sub.2.sup.2=L(P.sub.3)/[L(P.sub.2)+L(P.sub.3)] (9);
w.sub.3.sup.1=L(P.sub.3)/[L(P.sub.3)+L(P.sub.4)] (10);
w.sub.3.sup.2=L(P.sub.4)/[L(P.sub.3)+L(P.sub.4)] (11);
(15) In the formula, L represents the length of the pipeline.
(16) In the optimization objective function Min: Err, the propagation coefficient is related to the pipeline properties and the initial steady-state hydraulic state of the system before simplification, and is a known parameter. {tilde over (Ψ)}.sub.d.sup.N.sup.
(17) Formulas (2), (3), and (4) give simplified error solving methods for intermediate nodes at different positions (respectively at the left, middle, and right boundaries) of the same-diameter in-series pipeline system, which can be generalized and applied to the same-diameter in in-series pipeline system with any intermediate node and different externally connected pipelines.
(18) (3) determine the intermediate nodes that can be preferably simplified according to Err.sub.min=min(Err.sub.i). In order to ensure the accuracy of the simplified model, the present invention proposes a simplified error control threshold Err.sub.tol to judge whether the combination and operation of the same-diameter in-series pipeline (that is, the water volume of the intermediate node is distributed) is suitably conducted:
If Err.sub.min≤Err.sub.tol, it can be simplified (12);
If Err.sub.min>Err.sub.tol, it is not appropriate to simplify (13);
(19) For the setting of this threshold, the larger Errtol is, the more in-series pipelines are used to distribute the water volume of the intermediate node, and the more transient characteristics of the original system the simplified model will lose. The present invention proposes that the reasonable range of the control threshold Err.sub.tol is between 0.01 and 0.03, so as to be suitable for the application requirements of the hydraulic model of the pipeline network at different levels.
(20) If Err.sub.min≤Err.sub.tol, then continue to execute downward; otherwise, jump to Step (6).
(21) (4) perform a simplified operation on the simplified intermediate nodes to determine the flow of the simplified nodes at two ends and parameters of an equivalent pipeline. The flow of the simplified nodes at both ends can be determined according to the optimization decision variable value r corresponding to Err.sub.min. For example, the intermediate node N.sub.2 is simplified, and the water volume of the nodes N.sub.1 and N.sub.3 at two ends are q.sub.1+r.sub.2q.sub.2 and, q.sub.3+(1−r.sub.2)q.sub.2, respectively. The parameters of the equivalent pipeline are determined as follows: (1) the pipeline diameter and the wave velocity of the equivalent pipeline are equal to the pipeline diameter and the wave velocity of the in-series pipe, respectively. The wave velocity of the two in-series pipelines is the same; (2) The length of the pipeline is equal to the sum of the length of the two in-series pipelines; (3) the coefficient of resistance of the pipeline is determined according to the principle of hydraulic equivalence, that is, the head loss of the equivalent pipeline after the flow is simplified is the same as the head loss of the in-series pipeline before the flow is simplified.
(22) (5) remove the simplified intermediate nodes in the same-diameter in-series pipeline system IDPi. At this time, if the number of the intermediate nodes in IDPi is 0, it means that the in-series pipelines in the current same-diameter in-series pipeline system have been simplified, then jump to Step (6); otherwise, jump to Step (2) and continue to simplify the current same-diameter in-series pipeline system.
(23) (6) complete the simplification of the current same-diameter in-series pipeline systems, start the simplification of the next group of the same-diameter in-series pipeline systems, and return to Step (2) until all the same-diameter in-series pipeline systems have been simplified, which means a simplified process is ended.
EXAMPLE
(24)
(25) A node flow optimization distribution method for improving the accuracy of transient hydraulic simulation of a water supply in-series pipeline comprises the following steps:
(26) (1) Identify same-diameter in-series pipeline systems (IDP) in a pipeline network model. In this example, a total of 70 groups are identified to form a set IDP={IDP.sub.1, IDP.sub.2, . . . , IDP.sub.70} of the same-diameter in-series pipeline system.
IDP.sub.1={([1],[2],[3]),(1,2),(3,4),([4],[5],[6]),([7],[8])} (14);
(27) (2) For the same-diameter in-series pipeline system IDP.sub.1 in the set IDP, calculate the simplified error generated by the node flow distribution of the intermediate nodes 1 and 2 according to Formulas (2), (3) and (4).
(28) In this example, the intermediate nodes 1 and 2 are the intermediate nodes on the left and right boundaries, respectively, and the simplified errors that are calculated using Formulas (2) and (4) are Err.sub.1 and Err.sub.2 (Err.sub.1<Err.sub.2), respectively, thereby forming a system IDP1's simplified error set Err.sub.1={Err.sub.1, Err.sub.2}.
(29) (3) According to Err.sub.min=min(Err.sub.i), the intermediate node that can be preferably simplified is node 1, that is, Err.sub.min=Err.sub.1. According to Formulas (12) and (13), it is determined whether the simplified operation is appropriate; if Err.sub.min≤Err.sub.tol, continue to perform downward; otherwise, jump to Step (10).
(30) (4) Perform a simplified operation on the simplified intermediate node 1. The simplified in-series pipelines [1] and [2] are combined into one equivalent pipeline [12]. The node flow and the parameters of the equivalent pipeline of the simplified nodes 3 and 2 at both ends are determined. The flow of the simplified nodes at both ends can be determined according to the optimization decision variable value r.sub.1 corresponding to Err.sub.min (that is, Err.sub.1), that is, the water volume of the simplified nodes 3 and 2 at two ends are q.sub.3+r.sub.1q.sub.1 and q.sub.2+(1−r.sub.1)q.sub.1, respectively. The parameters of the equivalent pipeline [12] are determined as follows: (1) The pipeline diameter and the wave velocity of the equivalent pipeline are equal to the pipeline diameter and the wave velocity of the in-series pipeline, respectively; (2) the length of the pipeline is equal to the sum of the length of the two in-series pipelines; (3) the resistance coefficient of the pipeline is determined according to the principle of hydraulic equivalence, that is, the head loss of the equivalent pipeline after the water flow is simplified is the same as the head loss of the in-series pipeline before the water flow is simplified.
(31) (5) Remove the simplified intermediate node 1 in the same-diameter in-series pipeline system IDP.sub.1 to obtain IDP.sub.1={[12],[3]), (2), (3,4), ([4],[5],[6]), ([7],[8])}. At this time, the intermediate node of the system IDP.sub.1 is node 2, and the number of intermediate nodes is greater than 0, then the current same-diameter in in-series pipeline system continues to be simplified.
(32) (6) For the same-diameter in-series pipeline system IDP.sub.1 in the set IDP, the simplified error of the intermediate node 2 is calculated according to Formulas (2), (3) and (4), and the simplified error set Err.sub.1={Err.sub.2} is obtained.
(33) (7) According to Err.sub.min=min(Err.sub.i), the intermediate node that can be preferably simplified is node 2, namely, Err.sub.min=Err.sub.2. According to Formulas (12) and (13), it is judged whether the simplified operation is appropriately conducted. If Err.sub.min≤Err.sub.tol, then continue to execute downward; otherwise, jump directly to Step (10).
(34) (8) Perform the simplified operation on the intermediate node 2 that can be simplified. The simplified in-series pipelines [12] and [3] are combined into one equivalent pipeline [123]. The node flow and the parameters of the equivalent pipeline of the simplified nodes 3 and 4 at both ends are determined.
(35) (9) Remove the simplified intermediate node 2 in the same-diameter in-series pipeline system IDP.sub.1 to obtain IDP.sub.1={([123]), ( ), (3, 4), ([4],[5],[6]), ([7],[8])}. At this time, the number of intermediate nodes in the system IDP.sub.1 is 0, indicating that the in-series pipelines in the current same-diameter in-series pipeline system have been simplified, and the execution continues downward.
(36) (10) complete the simplification of the current system IDP.sub.1, start the simplification of the next group of the same-diameter in-series pipeline system IDP.sub.2, and return to Step (2) until all the same-diameter in-series pipeline systems are traversed, indicating the end of the simplification process.
(37) The above steps are taken to achieve the simplification of the same-diameter in-series pipelines in the pipeline network of the example.
(38) The same transient flow event (i.e., a valve closing event) is triggered in the original model and the simplified model. A transient flow process is simulated and calculated. The simplified pipeline network model used for calculation and analysis results of transient flow is shown in
(39) It can be clearly seen from
(40) Obviously, the described example is only a part of the examples of the present invention, but not all the examples. Based on the examples of the present invention, all other examples obtained by those of the person skilled in the art without creative efforts shall fall within the protection scope of the present invention.