How to Add Branch Control?


Product(s):Cube
Version(s):6.1 to 6.5
Area:Application Manager


The catalog attached provides an example of how to build branch control within Cube. Branch controls are very useful in the event there are multiple conditions or scenarios that needs to be compare. Branch controls require the usage of the Pilot program to call upon.

Solution

1. Unzip the attached zip and load the catalog file into CUBE. The example contains four steps. It should look like the image below. You can click on the image to enlarge it.

2. The procedure decides which path to take. This is where the Pilot program comes in. The program calls upon a key called FACTOR. The key can be set as “0” or “1” to determine if Path 1 or Path 2 is taken. The script clearly states it as such.

3.  In order to branch the groups, a branch has to be created initially by clicking on the Branch icon and give it a description. Click OK when done and a Branch should appear on the screen.

4.  Right-click the new branch and go to Edit Branch Control. By default, the large white box will be empty as no groups were linked to the branch yet. NOTE: For this example, two groups were already created for the two conditions.

5. Click Add Branch.

6. Click on the drop-down box from the Select Group to New Branch. For this example, there are no new groups to add as the two provided groups are already linked to the sole branch. The Branch Condition Value can be considered as the path taken after step 1 of the catalog. The Branch Description provides a brief of the function of each path. 

7. A completed template should look like this.

Steps 3 and 4 uses different multiplication factors to output final matrices for each condition. The first and second figures below are resulting matrices for single-occupancy vehicles (SOVs) for paths 1 and 2, respectively.

Factored Assignment SOV matrix of Path / Set #1

Factored Assignment SOV matrix of Path / Set #2

communities.bentley.com/.../BranchExample.zip