Remainder

Syntax

Remainder(Expression)

Description

Calculates the remainder between an Expression and the sum of the values of neighboring (sibling) branches.

Example

Consider two neighboring branches in a demand tree in which you are specifying the split between urban and rural households (in percent):

Branch

Expression

Urban

Interpolate(2000, 50, 2020, 30)

Rural

Remainder(100)

Remainder(100) is evaluated as follows:

2000 = 50.0
2010 = 60.0
2020 = 70.0