Hi,
I'm building a model for vaccine prioritization. There are different priority groups and different vaccine doses. For a priority group to start first dose, the vaccinated stock of the previous group must exceed a certain threshold. I solved this creating a binary variable using IF THEN ELSE statement. However, for proceeding second dose I need the time when this threshold is exceeded. Because I should assign an interval between doses. In short, how can I record a time when a specific logical statement in the model is true during simulation? I need this for further dynamics.
Kind regards,
Nazli
Recording specific time from simulation
Recording specific time from simulation
Kind regards,
Nazli
Nazli
-
- Super Administrator
- Posts: 4844
- Joined: Wed Mar 05, 2003 3:10 am
Re: Recording specific time from simulation
You can use SAMPLE IF TRUE.
https://www.vensim.com/documentation/fn ... _true.html
It has an example in the help to show how to calculate "starting time".
https://www.vensim.com/documentation/fn ... _true.html
It has an example in the help to show how to calculate "starting time".
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559