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

Use this forum to post Vensim related questions.
Post Reply
Vishah
Member
Posts: 25
Joined: Tue Apr 28, 2009 8:11 pm

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

Post 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
LAUJJL
Senior Member
Posts: 1427
Joined: Fri May 23, 2003 10:09 am
Vensim version: DSS

min max

Post 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]
Attachments
minmax.mdl
(2.72 KiB) Downloaded 211 times
Vishah
Member
Posts: 25
Joined: Tue Apr 28, 2009 8:11 pm

Post by Vishah »

Thank you LAUJJl
Post Reply