Please enable JavaScript to view this site.

Vensim Help

Navigation: Reference Guide > Functions > Basic Type Functions

INITIAL(A) INITIAL value of variable

Scroll Prev Top Next More

Returns the value A at initialization and does not change it during a simulation. INITIAL is used to record and hold or "remember" a variable's starting value.

Restrictions:  Must appear first on the right of the = sign and not be followed by anything else.  It defines a variable as being an Initial variable.

Units: Initial (unit) --> unit

Example

x init = INITIAL (x) - x init is set equal to the first value of x.

See also: REINITIAL

Sample model: INITIAL.mdl in FunctionExamples