Page 1 of 1

a function to obtain the Maximum or Minimum value over a sim

Posted: Mon Jun 21, 2010 11:07 am
by Vishah
Dear All,

I am just wondering if there is a way of using functions in VENSIM to obtain a max or Min value of a variable info over the simulation period. The only way i think of now is to export the simulation values in excel and then use a max function in excel to get the max and or Min value. but this is a bit tiring and i want to know if it is possible to do this in VENSIM

Kind regards,
Vishah

min max

Posted: Mon Jun 21, 2010 1:19 pm
by LAUJJL
joined a model that does the job.
You can too use the sample if true function if your version allows you to use it.
Regards.
JJ

[Edited on 21-6-2010 by LAUJJL]

Posted: Mon Jun 21, 2010 2:42 pm
by Vishah
Thank you LAUJJl