The purpose of this TechNote is to discuss common steps to design new pipe layouts and pipe rehabilitation projects using Darwin Designer in Bentley WaterGEMS. Additional information can be found in the WaterGEMS Help menu. A free webinar demonstrating Designer is also available here:
Optimize Design and Rehabilitation with Darwin Designer
Darwin Designer is an efficient method of designing new pipe layouts and pipe rehabilitation projects. It allows the user to design pipes for an existing model either manually or, with efficient genetic algorithms, in a more automated fashion. It allows for multiple design candidates to be presented so the best possible solution to a given system can be found. Solutions can also be exported into a new scenario for use in an existing water system.
Before considering Darwin Designer, first consider if it is the best method for your particular modeling situation. The way most engineers use modeling software is to pick diameters and simulate a wide variety of scenarios over the planning horizon. Then designs are checked against the applicable regulations in the engineer's area.
There are some situations where an optimization model like WaterGEMS' Darwin Designer can help but that needs to be for cases where the assumptions in the optimization exactly fit your design problem. Usually the best approach is to initially size the pipes by estimating the peak flow over the life of the pipe and a reasonable maximum velocity (e.g. 2 m/s) and solve A = Q/V. That will get you a good initial estimate. Then, run a large number of scenarios based on different future demand growth assumptions and emergency situations to see how these sizes will work.
Darwin Designer is accessed by going to Analysis > Darwin > Darwin Designer (or in V8i and earlier, it is located under Analysis > Darwin Designer)
Note: Darwin Designer is included with a license for WaterGEMS. It was previously also available in WaterCAD with an additional license configuration. However, Darwin is no longer available for purchase and use with WaterCAD. (as of 10.02.01.06 the menu item is still available, but may be removed in a future release)
Note: Non-SELECT users will need to check out both WaterGEMS and Darwin Calibrator in order to use this tool. You can check out the license from the License Management Tool for V8i versions of product.
Once Darwin Designer is open, click the New icon in the upper left select “New Designer Study”. An item will appear in the window on the left, and a series of tabs will appear at the top right. Next, choose either “New Manual Run” or “New Optimized Run,” depending on the type of study you will be conducting. A new item will appear below the name of the design study. These can be renamed.
The next step is to create your demand or rehabilitation groups. As stated above, Darwin Designer can be used to design new pipes or rehabilitate existing pipes. By entering pipes or pipe groups into these tabs, the program will know what type of study is being done. In other words, new pipe design and existing pipe rehabilitation must be done in separate Designer studies, which are under separate tabs next to Design events.
It can be efficient to apply more than one pipe to a given design or rehabilitation group. Darwin Designer will assign the same diameter to each pipe in that group (or all of the pipes in the same rehabilitation group will receive the same rehab action).
NOTE: It would be better if you have less number of pipe groups in Darwin designer, as optimization takes a lot of computer time for generic algorithm, so more pipe groups, longer it takes to find a solution. You could also think about designing different parts of systems using different runs if you have a large system, using selection sets.
Those pipes should be combined together which are in series up to a point where there is major flow split, and from that point on, next pipes in another pipe group. For the purpose of grouping pipes together you should be familiar with the model, e.g. through multiple scenarios you will know how water moves at different times of the day, with multiple pumps running for different time steps. So you know which pipes are having major flow, which should be grouped together, then minor flow pipes in another pipe group and so on. Pipes having similar properties, should be grouped together so that they are designed with equal diameter, e.g. branch pipes should be in one group and trunk pipelines carrying larger flows should be included in another group.
The steps to add pipes to a new design or rehabilitation group are the same. First, click the New icon. A new pipe group label will appear. A collection field will appear under the column “Element IDs.” Click in this cell and then click the ellipsis (“…”) button. This will open a new dialog where you can select the elements to go into the group.
Choose the “Select from Drawing” icon to open the Select toolbar. You can add or remove elements by activating the Add or Remove icon (Add is active by default). You can also add elements by drawing a polygon around a given group, or using a query. Selecting by selection set is available under the Query selection as well. Once completed, click the green checkmark icon. You will return to the previous dialog. Click Ok to return to Darwin Designer. Note that the collection cell will say that items are now included.
Next, go to the Cost/Property tab. Here you will enter the cost information for a given pipe size or rehabilitation action. To create a new item, choose the New icon and choose either “Design Option Groups” or “Rehabilitation Option Groups.” Next in the table on the right, begin to enter data. For Design Option Groups, enter the material, diameter, Hazen Williams C factor, and the Unit Cost. For Rehabilitation Option Groups, you will include an action, and then the diameter function, unit cost function, and roughness function for the pre- and post-rehabilitation scenarios.
Now go to the Design Type tab. Here you can select the Objective Type, and available budget for the project.
Now return to the Design Events tab. Choose the Representative Scenario from the pulldown. Darwin Designer will use data from the selected scenario when running the analysis. Next, select the New icon to create a new event. When you do this, you will see new information in the upper right of Designer dialog. Some of the fields will be unavailable to editing; this is pulled directly from the scenario assigned to the event. Items like minimum and maximum pressure and velocity will assure an efficient Designer run. Demand alternative will change as per the selected scenario for design.
If you would like to perform a design during peak demand conditions and you do not already have a scenario set up for this, you can use the "Demand Multiplier" column in the design events. So this will multiply the original demand by the demand multiplier value specified.
In the bottom right part of the Designer dialog, you can assign boundary overrides, demand adjustments, and pressure and flow constraints. These are used when the results calculated in the representative scenario might be different from when is observed in the field or allow a different set of constraints for certain elements.
Manual selections are used to force Darwin Designer to use specific designs in calculating costs of a new network design or existing rehabilitation study. The difference between the manual design run and the optimized design run is the Manual Selection column in the Design Groups and Rehabilitation Groups tabs. After you select a table to use for a group, you then set that group to use a specific pipe size or specific rehabilitation action.
Manual runs can be useful when you want to test hand calculations you have made or to reproduce an optimized design with some forced manual overrides for some pipes. You could also create a manual design run where you force the groups of pipes to specific sizes, since optimized design runs will choose the best fit.
To create a new manual design run, click the New icon and select “New Manual Design Run.” Go to the Design Group tab and select the Cost/Properties to be associated with the pipe group. Next, choose the size of pipe to be used for the manual run under the Manual Selection column. When you click the drop down, you will see a list of the pipe diameters assigned to the Cost/Property selection. It is possible to globally set the Cost/Properties column, but the Manual Selection column must to done individually.
To compute, highlight the manual design run and click the Compute icon. After completion, a solutions will be available to view and export to the model.
To view the results, highlight Solutions. This will display the fitness and total cost for each solution. To see the results from individual solutions, choose one of the solutions from the list. You will be able to view the breakdown of costs and the simulated model results for the solution.
The optimized design study uses a genetic algorithm to find the best possible solution available within certain parameters. The optimized design study has no true optimality and only knows the best solution relative to other solutions already found during computation. However, the optimized design study runs through a large number of possible solutions and can often find a very good solution to fit the model.
The process is similar to the manual run. Click the New icon in the upper left and choose New Optimized Design Run. Under the Design Group or Rehabilitation Group tab, choose the Cost/Properties field associated with the pipe group. You do not need to manually select the size since Darwin Designer will do that for you. Once completed, click the Compute button.
Darwin Designer will then try different pipe sizes or rehabilitation actions that fall within the constraints entered in the Design Event tab until the best solution is found based on the objective type. Darwin Designer will continue until it finds the best solution available. The results are viewed just as the manual run, however there is an option to view as many as ten solutions or more than that even. See the Tips section below for more information about this.
If you are satisfied with the results, you can export the results to a new scenario, as well as new physical and active topology alternatives. To do this, highlight the solution you wish to export. The “Export to Scenario” icon will become active. Choose this icon and a new window will appear.
To export to a new scenario, check the “Export to Scenario?” box. Do the same for the alternatives. With the check boxes selected the new results will be exported to new physical or active topology alternatives. If you export to a scenario and do not export to an alternative (by unchecking the associated box or boxes), the data for that alternative type will be exported to the Base alternative.
Note: The data in your original model will not change unless you use this export feature. After exporting this data, it will create new separate scenario.
Manual Cost Estimating is a method of estimating the construction cost of piping. This feature is available in Darwin Designer even for WaterCAD V8i users with limited licensing features, such as no license for optimized or manual Designer runs.
After creating a new Designer study, go to the Cost/Properties tab. Select the New icon and choose “Design Option Groups.” Enter the material, Hazen Williams C factor, and unit cost for each diameter of pipe.
Next, go to the Design Group tab and click the New icon to create a new group. In the Element ID column, click the ellipsis button and choose the element or elements to be included. For Manual Cost Estimating, no information is needed in the tabs for Design Event, Rehabilitation Groups, or Design Type.
Next, click the New icon from above the left column and choose New Manual Cost Estimate Run. Highlight this run and click the “Is Active?” box for any pipe group you want included in the analysis. Choose the Design Option Group entered in the Cost/Properties tab in the Cost/Properties column. You can use the Global Edit feature to assign these. The other item to set up is the “Use Diameter from Representative Scenario” item. If this box is checked, this will assure that the costs are based on the diameter of the pipes in the scenario. If it is unchecked, you will need to manually enter the scenario to be used.
To compute the Manual Cost Estimating run, click the Compute icon. You will get a single solution. Highlight “Solutions” to get an overview of the total cost. Highlight “Solution 1” to view a breakdown on how the costs are distributed
After computing a designer study, you will sometimes see results that do not have a good fitness or do not make sense. Below are a few general tips to look at. More information on Darwin Designer can be found in the WaterGEMS Help documentation.
"C:\Program Files (x86)\Bentley\WaterGEMS\Samples\Designer"
Genetic Algorithm Parameters in Darwin Designer
Can I use Darwin Designer for the EPS analysis?
Using the zero diameter option in Darwin Designer
Feasibility check failed. No feasible solution exists with current input data, for EPS analysis, with time from start >0.00 hrs.
Dimensionless vs. Unitized Benefit Type in Darwin Designer
Error running Darwin Designer - Value does not fall within the expected range