Retrieving time at which something happens

Use this forum to post Vensim related questions.
Post Reply
pz
Member
Posts: 27
Joined: Thu May 06, 2004 5:33 pm

Retrieving time at which something happens

Post by pz »

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 »

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 »

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

retrieving time

Post by LAUJJL »

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 »

That's it!
thanks, Paolo.
Post Reply