Skip to content

Line Expressions and Timing

Each statement line has four expression fields and three timing settings. Together they describe how a driver starts, how it develops, what limits it respects, and when it applies.

Only the first field is required.

FieldPurposeExample
ExpressionCalculates the line for each period without an actual value.this.PrevY * (1 + Args.AnnualGrowth)
Initial Value ExpressionSupplies the first value when the line becomes active and has no previous value.Args.InitialRevenue
Minimum Boundary ExpressionSets the lowest value the line may take.0
Maximum Boundary ExpressionSets the highest value the line may take.Args.CapacityLimit

The argument names are illustrative. Create matching decimal arguments, or use keys that already exist in your model.

A growth expression needs a previous value to start from. For a new service with no history, the initial value provides that starting point. If the service starts with annual revenue of 100, the initial value expression can be Args.InitialRevenue, and the regular expression projects later years from it:

this.PrevY * (1 + Args.AnnualGrowth)

The initial value describes how the driver begins. It is not reset when a new report arrives. It also covers one year only, so it does not supply the longer history that some lookback functions need.

Boundaries describe limits on the line itself. A unit volume, for example, may have a minimum of 0 and a maximum of Args.CapacityLimit. A boundary can be a fixed number or an expression that uses other model inputs.

Choose limits that match the line’s sign convention. An expense recorded as a negative amount needs different limits from one recorded as positive. Boundaries apply to calculated values and do not change reported amounts.

Start and End set the first and last years in which the line applies. They are fixed years, not offsets from the latest report.

SettingMeaning
Start specifiedThe line begins in that year.
Start emptyThe line applies from the beginning of the model.
End specifiedThat year is the last one in which the line applies.
End emptyThe line continues through the whole forecast horizon, including years added later.

A temporary service contract running from 2027 to 2029 can use those years as its Start and End. A new product expected to launch in 2028, with no planned retirement, can use a Start of 2028 and leave End empty.

These years do not move when new reports arrive. Update them when the expected launch or retirement changes.

Recurrence Every sets the interval between occurrences, in years. The default is 1, meaning every year. A value of 2 means every two years, and 5 means every five years.

Recurrence describes timing, while the expression describes the amount. A planned equipment replacement every five years can use a Recurrence Every of 5 and an expression such as Args.ReplacementCost. The full amount occurs in each fifth year. It is not spread across the years in between, and 5 does not mean 5% growth.

On a recurring line, this.PrevY refers to the previous calendar year, which may not be the previous occurrence.

When a new financial report is integrated, its actual values replace the projected values for the same years. Forecasts then continue from the refreshed series, so this.PrevY stays continuous across the boundary between actual and forecast years.

The expression fields, Start, End, and recurrence stay the same. Update arguments, assumption curves, or scenarios when your expectations change. Change a line’s expressions or timing only when the economic relationship, its limits, or its lifecycle changes.