Use this forum to post Vensim related questions.
pz
Member
Posts: 27 Joined: Thu May 06, 2004 5:33 pm
Post
by pz » Thu Sep 22, 2005 2:53 am
Hi,
my problem is retrieving and reporting the time at wich a specific condition occurs in a level variable. For expamle, the time at wich the first time a level becomes negative, or less than an assigned value ...
Can anybody help?
thanks, pz.
Administrator
Super Administrator
Posts: 4590 Joined: Wed Mar 05, 2003 3:10 am
Post
by Administrator » Thu Sep 22, 2005 7:56 am
Have a look at the 'SAMPLE IF TRUE' function. It should do what you need.
All the best,
Tony.
pz
Member
Posts: 27 Joined: Thu May 06, 2004 5:33 pm
Post
by pz » Fri Sep 23, 2005 3:42 pm
Yes ... I feel that SAMPLE IF TRUE may help, but in spite of my efforts in that direction I didn't find the solution yet.
Thanks Tony.
LAUJJL
Senior Member
Posts: 1427 Joined: Fri May 23, 2003 10:09 am
Vensim version: DSS
Post
by LAUJJL » Sat Sep 24, 2005 8:31 am
joined a simplistic model.
Regards.
J.J. Laublé
Attachments
first_time.mdl
(1.85 KiB) Downloaded 346 times
pz
Member
Posts: 27 Joined: Thu May 06, 2004 5:33 pm
Post
by pz » Tue Sep 27, 2005 10:44 am
That's it!
thanks, Paolo.