Network Resolution
Layout Plans and Network Resolution

Layout plans and Network Resolution

Refer to the standard workflow for using CanalNETWORK software. One of the input data is a layout map in AutoCAD. This section discusses the task of importing such a layout map from an AutoCAD environment, and processing the connectivity data for the network of canals. Most of the task is handled automatically, while it needs some assistance from the user to resolve some issues that may linger.

AutoCAD canal layout maps

The AutoCAD layout maps must fulfil certain conventions to be used in the CanalNETWORK software environment. The following are essentially assumed to be true in the AutoCAD source drawing:

  1. All routes are drawn using Polyline command. Any object drawn with the Line command can not be processed, and will be excluded. It causes error on subsequent tasks.

  2. All canal routes are drawn from upstream to downstream directions.

  3. All canal routes start and end with a stratight segment of at least 20m. Maintain straight segments at begining and end of canal alignments


Session Browser

Figure: starting session browser from the Workspace manager interface.

  1. All canal routes are drawn to scale of 1:1, and referenced to world coordinate system (WCS) of AutoCAD.

Best practices for layout drawings include, but are not limited to:

  1. Organization by layer: it is very helpful to collect canal routes of similar generation or level to one layer. Users have, while working on a number of projects, observed that this will greately enhance key batch tasks later. For instance, collect all TC (teritiary canals) to a separate layer, say TC Canals. Similarly, collect all quaternary level canals to a separate layer called, say, QC Canals. And so on.

  2. Intersection of canals: The points where any two canals intersect will form a junction node. Nodes constitute the basic data block for network analysis. Therefore, all canals must be drawn with care - especially near the begining and the end. The following are key recommendations:

    • where two canals offtake from a single parent canal, make sure they intersect the parent canal at the same point.

    • Where two canals offtake from a single parent canal, make sure they do not intersect themselves any where other than the point where they intersect the parent canal. This may be the case where the starting segments of the branch canals are either parallel, or the cross the parent canal at slighly different locaitons. If necessary edit the first or second vertext of one of the canal routes to avoid parallel.


Session Browser

Figure: starting session browser from the Workspace manager interface.

  • Intersection of branch canals with a parent canal*

  • If possible avoid curves on a parent canal where it intersects with branch canals.

  • Except where brnaching is needed, avoid extending the end of canals anywhere close to other canals, and certainly not with in the extension distance (specified in Network Preferences). Failure to observe this will result in unintended junctions leading to significant time in correcting the connectivity of the network.


Session Browser

Figure: starting session browser from the Workspace manager interface.

Desired network relation ship.


Session Browser

Figure: starting session browser from the Workspace manager interface.

Unintended Junction at a canal end potentially confusing canal parent-child relation ships

  1. All routes should end at sufficient distance from other canal routes. (Sufficiently farther than the extension length and node merge distance parameter values in Network Preferences, which are often set at 2m and 5m respectively.)

Note: The amount of time spent to resolve a network analysis, depends little on the size of the irrigation area or the number of canals. Rather it greately depends on how strictly the above guideline is adhered to in preapring the layout map.

For this reason, it is highly recommended that the engineer responsible for preparing layout maps must be aware of these guiding rules and assumptions.

Network resolution: Definition

Network resolution is a term used to represent the task of analysing the connectivity between each canal route in the canal network system, and ensuring that each canal in the network has ONLY one parent canal.

Where this basic criteria is not met across the system of canals, the network is NOT resolved, and progress to the subsequent steps (for instance Network establishing in the standard workflow) is bound to abort with an error of some sort.

After a succesful network resolution task, the user can do the following:

  1. Automatically generating ordered and sequentila naming for all routes in the network.

    Some canals may need to be manually named depending on specific needs of the project. These canals can be assigned NAME EXCEPTIONS. A common example is a TC branching from another TC. This route will be automatically named a QC, but the user can assign in a TC level as an exception.

  2. Plot these namings to AutoCAD environment with desired text specification (height, font,...)

  3. Use the resolved network structure to group canal routes by generation and instance them in AutoCAD, for batch processing at a later stage.

Note: See below on exceptions and their naming convention.

Lets now see how layout maps prepared in AutoCAD are imported to CanalNETWORK environment and analyzed for connectivity.

Importing layout map to CanalNETWOK environment

The first step is to import the drawing to the CanalNETWORK environment. There are many ways to do this:

  1. To import a individual routes - i.e., a single route or multiple routes at a time - Go to Workspace > Pick Route (AutoCAD) .


Session Browser

Figure: starting session browser from the Workspace manager interface.


Session Browser

Figure: starting session browser from the Workspace manager interface.

  1. To import alignment routes drawn on a layer, go to Workflow > Pick Routes (AutoCAD Layer). This will invoke a dialog listing all the layers in the current drawing.


Session Browser

Figure: starting session browser from the Workspace manager interface.

Pick the desired layer, and hit OK. This will import all alignment routes found on the specified layer to the plan view area.

Note: This method is recommended for drawings whose layers are well organized, especially for the different levels of canals expected in the project.

  1. One can also import a collection of canal routes at once. To do this:

    • First, create an instance of all the canal routes on a host object with in the AutoCAD environment, using the AutoCAD addon tool.

    • Then go to Workspace > Pick Rotue (AutoCAD) menu command, and when prompted pick the host object.


Session Browser

Figure: starting session browser from the Workspace manager interface.

This will import all the canal routes instanced in the host object.


Session Browser

Figure: starting session browser from the Workspace manager interface.

Note: A complete canal route data consists an alignment data (x, y) and a profile data. The Partial Data Routes indicated in below figure may apear when importing canal routes whose profile data is not yet ready. This is perfectly acceptable, and proceed by hitting Partial button. Partial meanse that only the alignment data will be available with out the profile data. Also, note that routes imported with partial are represented with broken lines in the plan veiw area of the interface.

Note: During multiple route selection and import, if a route with out profile data is encountered, all the following routes will be imported as partial - even if they have profile data. This can be fixed by selecting the routes, and using soft reload menu command.


Session Browser

Figure: starting session browser from the Workspace manager interface.

Routes in plan view area showing canal routes with complete data set, and partial data set.

Every time, the routes are generated drawn in the plan view area of the interface.

Remember, alignmnet routes that are NOT drawing as polyline, and whose length is less than 20M will be filtered out, and hence can not be imported.

Removing Unwanted Routes

Unwanted polyline objects may be imported to the plan view area during the process of importing canals. Also, the user may want to remove a canal route and re-import it again. To remove such objects:

  1. Select the objects to remove in the layout view (plan view) area. If needed, enable multi-select from Edit > Multi Select (Routes) to allow selection of multiple routes at a time.

  2. Use Edit > Remove Route menu command.


Session Browser

Figure: starting session browser from the Workspace manager interface.


Session Browser

Figure: starting session browser from the Workspace manager interface.

Delete dialog requesting confirmation for selected routes.

Once all the canal routes are imported, the next step is Node Identification.

Node Identification

The term Node is used to represent a location on a layout map that represents key locations along canal routes. There are three types of nodes.

  1. Canal junciton nodes: are created where a branch canal meets a parent canal. These are represented as circles. These are represented as Circles.

  2. End of Canal Nodes: are created where a canal route terminates with out connection to a branch canal. Such nodes are represented as squares. These are represented as squares.

  3. Floating Nodes: are created by the user to represent any changes in physical or hydraulic, or other information along a canal route. This types of nodes are not relevant for the current topic of Network Resolution, but are discussed in detail in the section Longitudinal Design of Routes.


Session Browser

Figure: starting session browser from the Workspace manager interface.

Figure showing appearance of Junction Nodes and End-of-Canal nodes in layout view area.

Note: The size of the nodes as they apear on the plan view can be customized in Node graphic.

CanalNETWORK can automatically analyze all imported canals to identify and insert nodes as needed. Node identification is invoked from Workflow > Nodes > ID Nodes menu command.

Note: It is recommended to change the view to layout view. The other parts of the interface are not of much use at this stage.

  1. To identify nodes for selected routes, first select the desired routes and start the command.


Session Browser

Figure: starting session browser from the Workspace manager interface.

Figure showing the confirm dialog before Node Identification process.

This will invoke the Confirm dialog requesting confirmation on the number of canal routes currently selected for the process. Click Yes to continue.

  1. To Identify nodes for the entire network of canals, make sure there are no selected routes in layout view area (right click and hit Clear Selection ). Then start the command.


Session Browser

Figure: starting session browser from the Workspace manager interface.

Figure showiing confirm dialog before Node Identification process for entire network.

This will invoke the confirm dialog as above. Please note the number of rotues to be addressed in the dialog to differentiate between the two cases.

The process will automatically generate Nodes for the desired routes and display them. The generated nodes now represent parent and branch canals at every junction in the network. Often, the connectivity between canal routes will not be perfect to desired conditions. This is ALWAYS because the conventions and assumptions listed early in this section are not observed fully during layout preparation in AutoCAD drawings.

Most of these connectivity issues can be identified automatically, as discussed below.

Identifying Connectivity Issues and Resolving them

The following are commonly encoutered isses with the connectivity established.

Reversing Routes

CanalNETWORK's governing convention is the all canals must be drawn away from the parent canal. For supply canals this would require drawing routs in the direction of flow.

A common problem occurs when canal routes are drawn in the reverse direction. Typically this issue is noted by the square nodes appearing on branch locations.

In the example shown below, look at the network. The upper left canal route has its end-of-canal node lying on the parent canal. This tells us the route is reveresed. Clicking on the Current Vertex property, index 1 shows the end of the route, confirming the route is reversed.


Session Browser

Figure: starting session browser from the Workspace manager interface.

To fix this issue,

  1. Select the route.

  2. start the command from Workflow > Prep Network > Reverse Selected Routes... menu item.


Session Browser

Figure: starting session browser from the Workspace manager interface.

  1. Notice the message, informing the user the This will remove all refered Nodes and Profile Data. Confirm to the dialog to continue.

  2. All necessary changes are made to the AutoCAD object and the network data base, and status reported as shown below.


Session Browser

Figure: starting session browser from the Workspace manager interface.

Note the end-of-canal node is removed (Show nodes option displayed here). Also the AutoCAD vetex status have changed, confirming the change in AutoCAD.

  1. Recreate the node to reflect the new changes. The bracnh node is now correctly created.


Session Browser

Figure: starting session browser from the Workspace manager interface.

The reverse tool manages the following task in one invokation:

  • delete refered nodes in the network data base to avoid residual data that causes error
  • Delete the profile data (if any) associated with the parent AutoCAD object, because this is no more relevant
  • Reimport the object coordinates to CanalNETWORK environment.

Note: The Reverse Routes menu command can work on multiple selections at a time.

Note: Routes reversed using the above tool will require the pipe workflow to be carried out, i.e, Node ID, Naming, Sizing (if needed with Farmblocks), Profile Extraction, and Soft-reloading.

Missing Junction Nodes

Rarely, the algorithm seems to miss nodes where there should be one. Apparently intersecting canals may not have nodes after the NodeID process described above. Such a case is shown below.


Session Browser

Figure: starting session browser from the Workspace manager interface.

In this case the user can introduce nodes manually.

  1. Relax the Route Extension Length parameter in Work Space > Edit Preferences to a reasonable figure depending on the distance bewtween the begining of the branch canal and the apparent intersection point with the parent canal. Usually a value of 2 meters gives good results. (Note: Max allowes is 5m)


Session Browser

Figure: starting session browser from the Workspace manager interface.

  1. Select the parent and branch canals. Make sure to enable multi-select from Edit MultiSelect (Routes), to be able to make two route selections.

  2. Run the Node ID process from Workflow > Nodes > ID Nodes . This will automatically prompt you for possible actions.


Session Browser

Figure: starting session browser from the Workspace manager interface.

Choose Manual Add.

  1. If succesfully found, a dialog will display the location for the newly found node as shown below. Hit insert, and node will be inserted.


Session Browser

Figure: starting session browser from the Workspace manager interface.

Unresolved EoC nodes

The first common issue is locations where End-of-Canal nodes are inserted, instead of a Junction node. This condition misses to understand that there is a branch canal leaving from the end of the parent canal, impairing further work during canal design. It must be resolved.


Session Browser

Figure: starting session browser from the Workspace manager interface.

Wrongly created EOC Node instead of a Junction node.

There are two approaches to resolve such issues. Manual and Automatic methods. The manual method allows to resolve individual issues.

  1. First right-click on the branch canal to select it.

  2. Then left-click on the EOC node to be corrected. This will invoke the Edit Node dialog, detailing the current connectivity status at the specific node.


Session Browser

Figure: starting session browser from the Workspace manager interface.

Edit Node Dialog for the EoC node

  1. Click on the To Current Node button to link the picked route to the node. This will correct the issue, also changing the square node marker to a circle node marker correctly representing a canal junction.


Session Browser

Figure: starting session browser from the Workspace manager interface.

Resolved Junction Node at End of Canal.

Oftern however, there are too many EoC nodes that must be corrected or resolved in a network. This is especially true after the first attempt to ID nodes for a complete network of routes. The automatic tool is helpful in this situation. To use it, go to Workflow > Nodes > Convert EoC Nodes menu command.


Session Browser

Figure: starting session browser from the Workspace manager interface.


Session Browser

Figure: starting session browser from the Workspace manager interface.

Confirm Operation dialog.

This will identify all wrongly positioned EoC Nodes in the entire network database, and correct the issue one-by-one, also informing the user of the progress.


Session Browser

Figure: starting session browser from the Workspace manager interface.


Session Browser

Figure: starting session browser from the Workspace manager interface.

Progress bar and message at end of operation informing the user of how many EoC nodes are succesfully converted.

Mulitple Parent Nodes

The key purpose of node resolution is to ensure that each branch canal has only one parent canal. However, some canal arrangements may mislead the software and assign two routes as parents for a single brnach canal. Again, this ALWAYS happens when the assumptions and conventions listed early in this section are not fully observed during layout preparation in the AutoCAD environment.

CanalNETWORK can automatically locate these nodes in the network. The user must manually resolve the issue.

To identify nodes where multiple parent condition may be an issue, go to Workflow > Nodes > Diagnose Multiple-Parent Nodes. If found, the command will list such locations in a table.


Session Browser

Figure: starting session browser from the Workspace manager interface.


Session Browser

Figure: starting session browser from the Workspace manager interface.

Menu command and resulting table for Multiple Parent Node issue identification. The table shows both First and Second Nodes refering to the same branch canal (not shown in the table)

Once this is ready, the user can navigate to each location and resolve the issue. To go to a particular node listed in the table, select it in the table, then use View > Go To Route... menu command, or simply click on the interface and use Ctrl + G keyboard shortcut:


Session Browser

Figure: starting session browser from the Workspace manager interface.

Go to Route menu command

The layout view will pan and zoon in to the desired node location.

In the table list of nodes shown above, both nodes refer to the one branch canal. This can be noted by left-clicking on each node, one at a time. It can be seen that the Edit Node dialog lists the same branch canal to each node.


Session Browser

Figure: starting session browser from the Workspace manager interface.


Session Browser

Figure: starting session browser from the Workspace manager interface.

Obviously, the lower-right node is the issue. This is because, it is the end of a canal and no branch is expected or implied in the drawing. What caused this issue is the fact that the canal in question ends very close to the begining of the other canal. The AutoCAD drawing measurement confirms this.


Session Browser

Figure: starting session browser from the Workspace manager interface.

AutoCAD measured distance between end of a canal and begining of another canal. Based on the preference (shown to the right) search radius for a neighbouring canal is 2x2meters (4meters) locating the wrong canal as a parent canal.


Session Browser

Figure: starting session browser from the Workspace manager interface.

To resolve the issue:

  1. Left-Click on the route for which multiple parents are assigned. It will be selected.

  2. Left-Click on the mistaken Node (lower right inthis case). This will invoke the Edit Node dialog.

  3. Click on the Remove Cur button. This action will do two things: detach the branch canal from the node, and convert the node to EoC node.


Session Browser

Figure: starting session browser from the Workspace manager interface.

The issue is resolved. Repeat the above steps for all other such nodes.

Before continuing to the next step, Re run the test Workflow > Nodes > Diagnose Multiple-Parent Nodes... to verify all issues are succesfully resolved, or new issues are not created in the process.

Network Preferences

Much of the work carried out above, and some that will follow, are dictated by settings in the network preferences variable set. As such, it is important to understand how they are used. The variable set is accessible from Workspace > Edit Preferences

The meaning and use of each variable setting is described below.

Network_Prefs_Template

S.No.Variable NameDescriptionDefault Value
1Parent Canal Invert (m)Desired invert level of the primary level canal-0.8
2Farm Duty (l/sec/ha)Designed duty for the farm area. (Overriden by design criteria settings)1.2
3Node Invert Levels (m)Default invert levels for positioning nodes (or controls) defined relative to OGL at location.-0.5
4Max. Tolerance to compare FSL (m)Maximum tolerance value to be used in comparing FSL values, especially used in flow test tasks. Please refer to relevant material on flow test tool.0.005
5Max. Distance b/n Merge Nodes (m)Any nodes found within this distance range are merged together, and will be treated as one node.5
6Control Branch Invert (-)Position of invert levels for branch canals at node location.
0: Lock with Node – the branch invert is set to parent invert, or hydraulically determined level, whichever is minimum.
1: Free from Node: branch invert is fixed based on hydraulic calculations regardless of parent invert level.
1
7Associated Canal on Import (-)Import associated canal flow section on each route during import. Applicable only in older versions.0
8Route Extension Length (m)Extension length for beginning of routes, while attempting to establish intersection with other canals.
This is used to create the buffer zone around canal routes to locate intersecting routes.
0.1
9Extrapolate Profile Data (-)Allow or deny extrapolation of transverse profile data beyond the limits of the offset range, if needed.1
10Round Dims for Construction (-)Rounding value for bottom width of canal flow sections, and drop provision.
Value ≥ 0.05 rounds B values to value specified, and drop heights applied will be limited to allowable increments specified in CBL_designSettings assembly parameter.
0

NodeGraphic_Template

S.No.Variable NameDescriptionDefault Value
1Display Height of Node bar (m)Height of nodes or control markers in the profile view area.2.5
2In-Route Node Marker symbol (-)Marker to be used for representing junction nodes.0
3Max. Marker Size for Nodes (Pnts)Largest size of markers in layout view area15
4Min. Marker Size for Nodes (Pnts)Smallest size of markers10
5End-of-Canal Marker symbol (-)Markers to be used for representing End-of-Canal Markerss
6Marker Size for EOC (pts)Size of EoC markers10
7Available Head Margin (%)Percent of flow head to be considered during flow test tasks, when determining available heads. (Please refer to flow test tool details)1
8Text Font Height (-)Font height to be used in display of text information in graphic display areas of the main interface.10
9Color template (-)Color template to be used in creation of profile, plan and section details. The colors are also used in generating AutoCAD drawings.Default

control_BoQSettings

S.No.Variable NameDescriptionDefault Value
1B/H ratio (wall)Ratio of width to height of vertical structures (e.g., drop falls), to be used in calculating volume of concrete/masonry.0.65
2Excavation cut slopeCut slopes to be assumed for controls (turnouts, division boxes) and drops, when determining excavation volumes.0.25
3Working space (m)Amount of working space to consider in volume calculations for above,0.3
4Compacted fill Ht (m)Height of compacted fill to be considered in determining both cut and fill volumes for above.0.1
5Consider Structure Reaches (-)Option to exclude earth volumes of structure locations when calculating canal volumes.
Yes: Exclude volumes
No: Do not consider Structures.
Yes
6BoQ List of Items (-)The level of detail desired for BoQ report generation: could be set to either detailed (default) or summarized.Detailed

Note: Invert levels -0.5 denotes, to use the OGL level at the beginning of the canal less 0.5m. It is defined relative to the OGL at the point of interest.

Note: Bottom width roundup value also forces minimum allowable width to 0.30m.