Using the query summation report
Step-by-step:
The Query Summation Report can be used in conjunction with Database Queries (DB queries) to determine and evaluate the different attributes associated with the InfoWater Pro data elements. Those elements include junctions, tanks, reservoirs, pumps, valves, and pipes that satisfy the DB query. The report groups elements according to values in a specified field. Within each group, the values of another field are summed, such as length of pipe for each diameter value.
- Open the appropriate .aprx file in ArcGIS Pro.
- From the ribbon, InfoWater Pro tab, Project panel, click Initialize.
- In the Model Explorer, Command Center tab, expand the Tools folder.
- Double-click Query Summation Report.
A DB query must be used to start a Query Summation Report. In this tutorial, the report includes all pipes. Therefore, a query must be created to select all pipes.
- In the Query Summation dialog box, click the ID Browse (…) button.
- In the DB Query dialog box toolbar, click New.
- In the New DB Query popup, type a New ID of “ALL_PIPES”.
- Click OK.
- In the Select Element Type dialog box, select Pipe.
- Click OK.
- Back in the DB Query dialog box, click the Query Builder icon.
- In the Query Builder:
- Switch to the Link tab.
- Under Data Field, select ID.
- Select the Operator <> (this is the exclude operator).
- In the text field under the operators, type “9999qqqq9999”.
Note: This is a random value chosen to select all pipes when running the query. Because no pipes have this ID, by excluding it, all the pipes are selected in the query.
- Click Add.
- Click Validate.
- Click OK if the query is valid.
- Click OK to close the Query Builder.
- Click OK to close the DB Query dialog box.
- Back in the Query Summation dialog box, expand the Summary Field drop-down and select PIPEHYD: LENGTH.
- Expand the Summary Class Field drop-down and select PIPEHYD: DIAMETER.
The software will sum the pipe lengths that fall under each diameter type. So, you will see the total length of pipes that are under each unique diameter.
- Click OK to create the report and graphs.
- If a warning appears, click Yes to continue.
In the Report Manager, you can view the results as a Report, Bar Chart, or Pie Chart. The options to format these charts are the same as those to format graphs in the Report Manager for any report.
If you ran this report to find out which pipe diameter has the most total length in the model, you can see that the 6" pipes have the most:
- Click Settings to return to the Query Summation dialog box.
- In the Summary Class Field, select PIPEHYD: ROUGHNESS.
- Click OK to create this report.
- If a warning appears, click Yes to continue.
- From this report, you can see that a roughness value of 110 is used in the model.
- Click Hide to close the Report Manager.