Pruning the Network

The existing model is a complete representation of the physical network. For some purposes it is useful to have a simplified version, where any minor nodes and links are removed, if that will not significantly affect the results produced by the simulation. InfoWorks ICM allows you to simplify the network in two ways: pruning and merging. This topic looks at pruning.

Note

This stage assumes that you have started InfoWorks ICM and that Master database, containing the ICM Basic Tutorial, is opened in the Explorer window, showing the ' Langley Catchment Study' model group.

To prune the network:

  1. Open the 'Langley Pruned' network. ClosedEither right-click the network in the Explorer window and select Open from the pop-up menu, or drag the network icon into the InfoWorks ICM main window.
  2. Drag the 'Pipes < 250 mm' selection list (which was created in the Creating Selection Lists with SQL topic and is located in the 'Selection List Group' in the Explorer window) onto the network. This are the links that may be pruned (removing them would not significantly affect the network).

    ClosedShow me

  3. Set up the pruning options:
    1. From the Model menu, choose the Simplify | Simplification options option. The Simplification Options dialog is displayed.

      ClosedShow me

    2. Click the Network Simplification tab.
    3. In the Prune pane, click the Define... button. The Prune dialog is displayed.
    4. Click the Selection Refinement tab.

      ClosedShow me

    5. Make the following refinements:
      • Check the Deselect LINKS, which are not part of a wholly-selected run, towards an end. box. This will remove from the selection any links whose deletion would leave other links "stranded" (for example, link '44624602.1', which has a width of 225 mm but is downstream of a run of wider pipes).
      • ClosedShow me

      • Check the Select NODES which are ONLY connected to selected LINKS box. This will include any nodes that are connected only to selected links and would therefore end up not connected to the network (for example, node '44623802' is connected to only a single selected link but node '44623799' will still be connected to a link after pruning).

        ClosedShow me

      • Do not check the Deselect NODES which are connected to any unselected LINKS box. This option removes from the selection any nodes connected to unselected links. This function is not required in this case as no nodes were included in the 'Pipes < 250 mm' selection list opened in Step 2.
    6. Click the OK button on both windows.
  4. Prune the short links:
    1. From the Model menu, choose the Simplify | Refine selection for pruning option. The objects that meet the "selection refinement for pruning" (defined in Step 3) are highlighted on the GeoPlan.

      ClosedShow me

    2. Right-click on the GeoPlan and choose Selection from the drop-down list.
    3. Select the Selection operations | Count selected objects option from the Selection menu to check the effect of the pruning. A Selection Count dialog is displayed informing you of the number of objects that will be affected by pruning.

      Show me

      If you are using the tutorial network, then the message should show that 6 of the original 41 links have been deselected (leaving 35) and 35 nodes have been added to the selection. If you are using another network, then the count will depend on the network you are using.

    4. Click OK to close the window.
    5. Select the Simplify | Prune selection option from the Model menu. A message is displayed informing you of the number 'areas' to be pruned. ClosedAn 'area' in this context is a connected set of links and nodes.

      ClosedShow me

      The count depends on which network you are using. If you are using the tutorial network, then 11 areas are to be pruned.

    6. Click OK to prune the network.ClosedThe pruned objects are still held in the database and can be restored later by clicking a pruned link and then on the Restore button in the Pruned Objects Properties dialog.

      The remaining areas are pruned, with the removed links shown as orange lines.

      ClosedShow me

  5. Right-click the GeoPlan and select the Zoom to selection option from the pop-up menu to zoom in on the unpruned links. These are the two dummy links leading to the storage tanks. Links connected to storage nodes cannot be pruned.

    ClosedShow me

  6. Check the reasons why some of the other links have not been pruned:
    1. Drag the 'Pipes < 250 mm' selection list onto the GeoPlan.
    2. Right-click the GeoPlan and select the Zoom to selection option from the pop-up menu to zoom in on the unpruned links.

      ClosedShow me

    3. Check the selected links: ClosedThere are ten links in the selection: the original eight plus the two that could not be pruned. You can use the Selection operations | Count selected objects option from the Selection menu to check the number of selected objects in your network.
      • Two links near the storage tanks could not be pruned.
      • The link below the pump has not been pruned because the pump has not been selected. The pump (which now pumps from nowhere) should also be pruned.
      • The remaining pipes look as if they should have been pruned. Move the pointer over them and double-click the supposedly pruned link that goes northward to '44625704'. There is another link that is duplicated and was not pruned.

        ClosedShow me

    4. Use the (Polygon select) tool to select the double links.
    5. Display the Links grid.ClosedSelect the Grid windows | New grid window option from the Windows menu to display the grid containing the properties for all the links in the network.
    6. Move the entries for the selected links to the top of the grid so that they can be compared. You can see that the upstream node has been deleted, but the duplicate link 446256041.1 has not. ClosedYou can use the Group network selections at top of grid option in the Grid menu to move the entries for the selected link properties to the top of the grid.

      ClosedShow me

    7. Click to the left of the '44625604!' record (which has a Link suffix of '1') so that it is the only one selected and press the DELETE key to delete it.
    8. Close the grid by clicking the button in the top right-hand corner of the window.
  7. Prune the network again:
    1. Drag the 'Pipes < 250 mm' selection list onto the GeoPlan.
    2. Right-click the GeoPlan and select the Zoom to selection option from the pop-up menu to zoom in on the unpruned links.
    3. Select the (Selection) tool and CTRL-click the pump to add it to the selection.
    4. Check that the correct number of objects are selected. ClosedYou can use the Selection operations | Count selected objects option from the Selection menu to find the number of selected objects.

      There should now be six links selected; the original five (after the duplicate link was deleted) plus the pump.

    5. Select the Simplify | Refine selection for pruning option from the Model menu. The refinement of the pruning process will have reduced the selection to three links and three nodes, having excluded the duplicated links earlier.
    6. Select the Simplify | Prune selection option from the Model menu. ClosedA message is displayed informing you of the number of areas (a connected set of links and nodes) that are to be pruned.
    7. Confirm the deletion of three areas by clicking OK in the message window. The two superfluous 'arms' are removed. ClosedAs before, there are two links (into the storage tanks) that cannot be pruned.
    8. Check that there are only four links left in the 'Pipes < 250 mm' list. ClosedSelections lists are created independently of networks. Therefore, the same list applied to two different networks may yield different sets of objects if the objects in the networks are different. In this case, the 'Pipes < 250 mm' selection produces a smaller list for the pruned network; however, the list itself is unaffected and will still result in the full selection if re-applied to any of the earlier networks.
    9. Delete the subcatchment that drained to the node at the top of the pump: ClosedYou can restore the pruned objects, but you cannot restore deleted objects. If you think you might need to restore deleted objects, you should export them to a CSV file before you start to delete them.

      ClosedShow me

      1. Select the (Selection) tool and select the subcatchment to be deleted.
      2. Right-click the GeoPlan and select the Subcatchment | Delete option from the pop-up menu. A message is displayed informing you of the deletion. ClosedIf, for example, you delete the wrong object, you can always use the Undo option from the Edit menu to "undelete" it.
  8. Commit the changes to the network and add a suitable comment. ClosedIn the Explorer window, right-click the icon of the network you opened in Step 1 and select Commit changes from the pop-up menu.

    Note that you need to validate the network.

The network can now be further simplified by merging runs of similar pipes. 

 

Back Back to flowchart

 


Selection Lists

Pruning

Using the GeoPlan Window

Zooming on the GeoPlan Window

Committing changes to the network