BranchOrder

Syntax

BranchOrder
BranchOrder(BranchName)

Description

Get the order of the branch among its siblings, where the order of the first sibling equals one. BranchName is optional so that, when used without any parameter, the function returns the branch order of the current branch.

Example

BranchOrder

Evaluated for \Demand Sites\West City in Weaping River Basin = 2

BranchLevel(\Demand Sites\Agriculture West) = 4