I have my model calculating 6 variables dynamically. I want to select the least value of these variables at a particular point of time. I want to know if there is any direct function to do this are we need to put up our own lops?.
Thanks
Krishna.
How to pick the minimum value from say 6 values?
-
- Super Administrator
- Posts: 4838
- Joined: Wed Mar 05, 2003 3:10 am
minimum value
I you have at least the Pro Vensim version you can too put the 6 variables in an array variable with 1 subscript having 6 possible values like value = (v1-v6) then calculate the minimum of the arrays values minimum = vmin(variable[value!]).
Regards.
JJ
[Edited on 2-3-2010 by LAUJJL]
Regards.
JJ
[Edited on 2-3-2010 by LAUJJL]