Optimizing hydrant selection for flow test of water distribution systems
10060835 ยท 2018-08-28
Assignee
Inventors
Cpc classification
E03B9/02
FIXED CONSTRUCTIONS
International classification
G01F1/00
PHYSICS
G01M99/00
PHYSICS
Abstract
In one embodiment, a technique is provided for optimizing selection of hydrants for flow test in a water distribution system. An impact database is built that indicates whether a flow test at each hydrant in the water distribution system has an impact on each pipe of the water distribution system. When a user supplies a number of hydrants to be subject to flow test, a hydrant selection solver application may search for an optimized set of hydrants for flow test that includes the user-supplied number, the searching to include generating candidate sets of hydrants and evaluating the candidate sets of hydrants based on fitness values calculated using the impact database, each fitness value to evaluate performance of a candidate set of hydrants based on flow velocity or hydraulic gradient change in pipes.
Claims
1. A method of optimizing selection of hydrants for flow test in a water distribution system, comprising: building an impact database that is stored on a non-transitory electronic device readable medium, the impact database to indicate whether a flow test at each hydrant in the water distribution system has an impact on each pipe of the water distribution system; receiving, by a hydrant selection solver application executing on the electronic device, a user-supplied number of hydrants to be subject to flow test; searching, by the hydrant selection solver application for an optimized set of hydrants for flow test that include the user-supplied number, the searching to include: generating a candidate set of hydrants for flow test, calculating a fitness value for the candidate set of hydrants for flow test using the impact database, the fitness value to evaluate performance of the candidate set of hydrants for flow test based on flow velocity or hydraulic gradient change in pipes, evolving the candidate set of hydrants based on the fitness value to produce a subsequent candidate set of hydrants for flow test, and iteratively repeating the calculating and evolving until a stopping criteria is reached to produce an optimized set of hydrants for flow test that maximizes the fitness value; displaying, by the hydrant selection solver application on a display screen on the electronic device, indications of the optimized set of hydrants; and conducting a flow test at each of the hydrants of the water distribution system indicated in the optimized set of hydrants from the hydrant selection solver application.
2. The method of claim 1, wherein the building further comprises: generating a plurality of hydrant test events; simulating each hydrant test event using a hydraulic model of the water distribution system to determine whether flow test at a hydrant has an impact on each pipe of the water distribution system; and storing impact factors in the impact database that each indicate whether flow test at a corresponding hydrant has an impact on a corresponding pipe of the water distribution system.
3. The method of claim 2, wherein the impact factors are binary values, and the impact database stores a binary matrix.
4. The method of claim 2, wherein the impact factors are each based on a flow velocity increase in the corresponding pipe meeting or exceeding a prescribed minimum velocity change.
5. The method of claim 2, wherein the impact factors are each based on a hydraulic gradient change in the corresponding pipe meeting or exceeding a prescribed minimum hydraulic gradient change.
6. The method of claim 1, wherein the generating and evolving are performed using a genetic algorithm.
7. The method of claim 1, wherein each fitness value is calculated based on a number of pipes impacted by increased flow velocity or increased hydraulic gradient change as a result of flow test.
8. The method of claim 7, wherein the each fitness value is calculated as the ratio of the number of pipes impacted by increased flow velocity or increased hydraulic gradient change as a result of flow test to a total number of pipes in the water distribution system.
9. The method of claim 1, wherein the each fitness value is calculated based on a length of pipes impacted by increased flow velocity or increased hydraulic gradient change as a result of flow test.
10. The method of claim 9, wherein the each fitness value is calculated as the ratio of the number of pipes impacted by increased flow velocity or increased hydraulic gradient change as a result of flow test to a total number of pipes in the water distribution system.
11. A method of optimizing selection of hydrants for flow test in a water distribution system, comprising: building an impact database that is stored on a non-transitory electronic device readable medium by generating a plurality of hydrant test events, simulating each hydrant test event using a hydraulic model of the water distribution system to determine whether flow test at a hydrant has an impact on each pipe of the water distribution system, and storing impact factors in the impact database that each indicate whether flow test at a corresponding hydrant has an impact on a corresponding pipe of the water distribution system, wherein the impact factors are each based on a flow velocity increase in the corresponding pipe meeting or exceeding a prescribed minimum velocity change or a hydraulic gradient change in the corresponding pipe meeting or exceeding a prescribed minimum hydraulic gradient change; optimizing, by a hydrant selection solver application executing on an electronic device, selection of hydrants for flow test by generating a candidate set of hydrants for flow test, calculating a fitness value for the candidate set of hydrants for flow test based on the impact database, the fitness value to measure performance achieved by the hydrants of the candidate sets of hydrants, and generating a subsequent candidate set of hydrants for flow test using the fitness values, wherein the calculating and generating is iteratively repeated to maximize the fitness value, and a candidate set of hydrants for flow test that maximizes the fitness value is returned as the optimized set of hydrants for flow test, displaying, by the hydrant selection solver application on a display screen on the electronic device, indications of the optimized set of hydrants; and conducting a flow test at each of the hydrants of the water distribution system indicated in the optimized set of hydrants from the hydrant selection solver application.
12. The method of claim 11, wherein the impact factors are binary values, and the impact database stores a binary matrix.
13. The method of claim 11, wherein the each fitness value is calculated based on a number of pipes impacted by increased flow velocity or increased hydraulic gradient change as a result of flow test.
14. The method of claim 11, wherein the each fitness value is calculated based on a length of pipes impacted by increased flow velocity or increased hydraulic gradient change as a result of flow test.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The description below refers to the accompanying drawings of example embodiments, of which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION
(11)
(12) Working together, the components of the electronic device 100 (and other electronic devices in the case of collaborative, distributed, or remote computing) may execute instructions for a hydrant selection solver application 140 that may determine, for a user-supplied number of hydrants, an optimized set of hydrants for flow test using a two-part technique that include (1) building an impact database, and (2) using the impact database to search for the optimized set of hydrants. The hydrant selection solver application 140 may be structured as a single piece of software, or as a collection of software modules which exchange data and otherwise interoperate.
(13) The hydrant selection solver application 140 may utilize pre-defined data, including a hydraulic model 132 of the water distribution system, as well as generate its own data, such as an impact database 134. The hydraulic model 132 may represent the water distribution system in terms of pipes that are interconnected at nodes. The pipes and nodes may be identified by respective identifiers (IDs). At least some of the nodes may coincide with the locations of hydrants. The impact database 134 may store an impact matrix (e.g., a binary matrix) that includes impact factors (e.g., binary values) that each indicate, for each of a plurality of hydrants, whether flow test at a corresponding hydrant has an impact on a corresponding pipe of the water distribution system. As explained in more detail below, impact may be evaluated based on increased flow velocity, hydraulic gradient change, or some other metric.
(14) The hydrant selection solver application 140 may include modules, such as an impact database generation module 142, a simulation module 143, a parallel optimization module 144, a hydrant flow test evaluation module 146 and a user interface (UI) module 148. As discussed in more detail below, the impact database generation module 142 may build the impact database 134 by generating hydrant test events, causing the test events to be simulated by the simulation module 143, and calculating impact factors for each pipe of the water distribution system based on results of the simulation. The simulation module 143 may perform simulation runs using the hydraulic model 132 for the hydrant test events. In one embodiment, the simulation module 143 may be the WaterCAD water distribution modeling and management solution available from Bentley Systems, Inc. of Exton, Pa. The parallel optimization module 144 may employ a genetic algorithm to determine candidate sets of hydrants for flow test, and evolve the candidate sets of hydrants based on fitness values, until an optimized set of hydrants for flow test are determined. In one implementation, the parallel optimization module 144 may be a generic optimization framework that implements a genetic algorithm, such as the Darwin Optimization Framework available from Bentley Systems Inc. of Exton Pa. The hydrant flow test evaluation module 146 may receive the candidate sets of hydrants from the parallel optimization module 144, and based on the impact database 134 (and the impact factors maintained therein), generate the fitness values used by the parallel optimization module 144. The fitness values may measure performance achieved by the hydrants of the candidate sets of hydrants. Performance may be measured based on a number, or a length, of pipes that would experience an increase in flow velocity greater than or equal to a prescribed minimum velocity change, that would experience a change in hydraulic gradient greater than or equal to a prescribed minimum hydraulic gradient change, or that would meet some other standard, in comparison to all pipes of the water distribution system. The UI module 148 may display a graphical UI on the display screen 170, in which a user may select parameters, and via which the user view results.
(15) The analysis application 140, and its modules 142-148, may operate to solve a defined hydrant flow test optimization problem. Let HY={hy.sub.1, hy.sub.2, . . . , hy.sub.NH} be the set of available hydrants for flow test, where NH is the number of hydrants. Since a hydrant flow test is typically conducted by opening one hydrant at a time, using the hydraulic model 132 of the water distribution system, a hydrant flow test may be simulated by adding a nodal demand at the node where the hydrant is located, or by specifying an emitter coefficient at the node where the hydrant is located. Due to the increased demand at the hydrant node, the flow velocity is expected to change in the pipes that are connected with the flowing hydrant. Assume v.sub.i,j and hg.sub.i,j are the flow velocity and hydraulic gradient of pipe i while conducting a flow test at hydrant j, respectively, and v.sub.i,j and hg.sub.i,j are the flow velocity and hydraulic gradient of pipe i without a flow test. The performance of a hydrant flow test may be evaluated by computing the number of, or length of, the impacted pipes, where impact is evaluated as an increase in flow velocity greater than or equal to a prescribed minimum velocity change, a change in hydraulic gradient greater than or equal to a prescribed minimum hydraulic gradient change, or where some other standard is met.
(16) Assuming that for NH hydrants, a hydrant set HY may be available for flow test. A test event, noted as event j of flowing hydrant j, may be represented with the hydraulic model 132 by adding the hydrant flow as an extra nodal demand to the node where the hydrant is located or directly connected. A simulation of event j resembles the flow test at hydrant j. The hydraulic simulation results for the flow test may be used to evaluate the impact of the corresponding hydrant. The impact may be represented by a binary impact factor .sub.i,j, taking the value of either 1 or 0, which indicates effective or ineffective impact on pipe i by the hydrant j flow test. In one implementation, impact factors of hydrant flow test can be evaluated using flow velocity change, .sub.i,j, as:
(17)
where v.sub.i,j is the flow velocity increase in pipe i under flow test j, and v.sub.min is the prescribed minimum velocity change. Alternatively, impact factors of hydrant flow test can be evaluated using the hydraulic gradient change, .sub.i,j, as:
(18)
where hg.sub.i,j is the hydraulic gradient change in pipe i under flow test at hydrant j, i=1, . . . , NP, j=1, . . . , NH, and hg.sub.min is the prescribed minimum hydraulic gradient change. Simulating each of the NH flow test events will result in an impact matrix, given as:
=[.sub.i,j].sub.NPNH(3)
Table 1 illustrates an example impact matrix. Each column represents the impact of one hydrant flow test on all the pipes while each row represents the impact of all the hydrants on one pipe.
(19) TABLE-US-00001 TABLE 1 Impact factor matrix of hydrant flow test Hydrant-1 Hydrant-2 . . . Hydrant-NH Pipe-1 .sub.1,1 .sub.1,2 . . . .sub.1,NH Pipe-2 .sub.2,1 .sub.2,2 . . . .sub.2,NH . . . . . . . . . . . . . . . Pipe-NP .sub.NP,1 .sub.NP,2 . . . .sub.NP,NH
The value of each element in Table 1 is an impact factor, and may be calculated by Eq. (1) or (2) after performing a hydraulic simulation on each of the hydrant tests.
(20) It is common practice that just a handful of hydrants are selected for a flow test. Assume K (K<NH) hydrants are selected for a flow test from the hydrant set HY, and each of the selected set of hydrants is represented using its index in the set, noted as .sub.k, 1.sub.kHK, k=1, . . . , K. The impact of hydrant .sub.k on pipe i may be represented as .sub.i,.sub.
.sub.i=(.sub.i,.sub.
Eq. (4) is a binary OR function, which results in a value of either 1 or 0 for pipe i. When F takes a value of 1, it indicates that at least one hydrant flow test induces greater than the prescribed flow velocity change or hydraulic gradient change, otherwise it is zero. Eq. (4) ensures that an impacted pipe is only accounted for once among all the flow tests conducted at the selected hydrants.
(21) The performance of the selected set of K hydrants may be evaluated by the ratio of the length of the impacted pipes to the total length of the pipes, given as:
(22)
Alternatively, the performance of the selected set of K hydrants may be evaluated by the ratio of the number of the impacted pipes to the total length of the pipes, evaluated using a similar expression.
(23) In order to optimize the selection of the hydrants for flow test, it may be desirable to search for K specific hydrants so that the performance of the selected set of K hydrants is maximized. Therefore, the hydrant selection optimization problem may be formulated as:
Search for: =.sub.1,.sub.2, . . . ,.sub.1)HY(6)
Maximize: RT.sub.imp(7)
(24) The defined hydrant flow test optimization problem may be solved in two phases by the analysis application 140, and its modules 142-148.
(25)
(26) Table 2 is an example of data that may be stored in an impact database 134 for an example water distribution system with three hydrants and four pipes. It should be understood that a practical water distribution system will generally include a far greater number of hydrants and pipes than this illustrative example. Assuming that each pipe has a same length of 1000 meters (m), the total length of pipes is 4000 m. Based on this example impact matrix, Hydrant-1 will have effective impact on Pipe-1, Pipe-3 and Pipe-4. Using Eq. (5) above, the performance of flow test involving Hydrant-1 may be calculated as 0.75 (75%). It may be observed that conducting flow test at Hydrant-1 and Hydrant-3 will have the same performance of 0.75 as Hydrant-1 only. This is because flow test at Hydrant-3 does not contribute any unique impact on the overall water distribution system. Although Pipe-1 and Pipe-4 are impacted by Hydrant-3, they are already accounted for by flow test at Hydrant-1. In contract, conducting additional flow test at Hydrant-2 will contribute a unique impact. As can be seen, conducting flow test at Hydrant-1 and Hydrant-2 will have an impact on all the pipes of the water distribution system, so that the performance may be calculated as 1.00 (100%).
(27) TABLE-US-00002 TABLE 2 Example Impact Database Hydrant-1 Hydrant-2 Hydrant-3 Pipe-1 1 0 1 Pipe-2 0 1 0 Pipe-3 1 0 0 Pipe-4 1 0 1
(28) In general, it is desirable to select a set of hydrants for flow test that maximize performance. Using the impact database 134, any combination of hydrants can be evaluated by using Eq. (5).
(29) Returning to
(30)
(31)
(32) The above described hydrant selection solver application 140 has been tested on the C-Town system Battle of the Water Calibration Network (BWCN) benchmark model. The system contains 5 District Metering Areas (DMAs) with 429 pipes, 5 pump stations and 7 tanks. As part of the field data provision, 8 hydrant flow tests were designed for collecting pressure data. Table 3 shows the hydrant junctions for the flow tests given by the BWCN benchmark model. Each of the flow tests was simulated by using the hydraulic model. The performance of the flow tests was evaluated by using the ratio of the impacted pipe length over the total pipe length, as given as Eq. (2), with the minimum hydraulic gradient (unit head loss) of 1.0 m/km. The total pipe length impacted by 8 hydrant tests is 18,270 meters, which represents about 32% of the overall pipe length of 56,387 meters.
(33)
(34) TABLE-US-00003 TABLE 3 Hydrant Flow Tests Designed by Experience Junction IDs Hydrant Flow (Ips) J214 126 J1056 126 J411 126 J234 63 J238 63 J1208 63 J59 32 J84 32
Due to the lack of hydrant information, it may be assumed that each junction is connected with a hydrant.
(35) Using the above described hydrant selection solver application 140, 8 optimized hydrants for flow tests are identified as shown.
(36) The performance of the originally selected eight hydrants for flow test is also compared with the performances of optimized flow tests with different number of hydrants.
(37) In summary, the above described hydrant selection solver application may be used to optimize the selection of a set of hydrants for flow test. It should be understood that the techniques described in connection with the hydrant selection solver application 140, and portions, thereof may be utilized together, individually, or in combination with other techniques, depending on the implementation. Further, it should be understood that aspects of the techniques may be modified, added to, removed, or otherwise changed depending on the implementation. In general, it should be understood that the techniques may be implemented using a variety of different types of hardware, software, and combination thereof. Hardware may include a variety of types of processors, memory chips, programmable logic circuits, application specific integrated circuits, and/or other types of hardware components that support execution of software. Software may include executable instructions that implement applications stored in a non-transitory electronic device-readable medium, such as a volatile or persistent memory device, a hard-disk, or other data store. In conclusion, it should be understood that the above descriptions are meant to be taken only by way of example.