Parent

Syntax

Parent
Parent(BranchName)
Parent(VariableName)
Parent(BranchName, VariableName)

Description

The current value of the specified variable in the parent branch of named branch. Both BranchName and VariableName are optional parameters so that, when used without any parameters, the function returns the value of the current variable in the parent branch of the current branch.

Tip

Because the simple form of this function points, not to a named branch, but to a relative branch address (the parent), it can be safely used in cases where you want to write a model for a particular set of subsectoral branches, and then copy branches for use elsewhere in the tree. See also: the "TotalChildren" function.