Please enable JavaScript to view this site.

Vensim Help

Navigation: Reference Guide > Functions > Data Functions

GET DATA MIN(datavar,start,end) GET the MINimum of DATA over a time range

Scroll Prev Top Next More

Returns the minimum value that a Data variable takes one over a time range.  If there is no data in the time range, or the variable is not a Data variable then :NA: is returned.

NOTE  The GET DATA … functions are relatively slow and best used inside of INITIAL equations.

Units: GET DATA MIN(units,time,time) --> units

Example

Min Sales in Data = INITIAL(
GET DATA MIN(sales data,Initial Time, Final Time))

Availability: Not PLE or PLE Plus.

See also: Data Equations, :NA:

Sample model: GET DATA stats.mdl in FunctionExamples