AnyLogic
Expand
Font size

trend

trend(input, averageTime, initialTrend) is the system dynamics function that returns the average fractional growth rate (negative for decline) in the input.

Analogous to the Vensim function trend, see the detailed description in the Vensim Reference Manual.

trend can be called in formulas of system dynamics variables.

The plot below illustrates how the function works:

Units

input — unit

averageTime — time

initialTrends — 1/time

trend() — 1/time

How can we improve this article?