Is it possible to fetch old data from variables?

Use this forum to post Vensim related questions.
Post Reply
haruki
Junior Member
Posts: 5
Joined: Sat Dec 27, 2008 7:11 pm

Is it possible to fetch old data from variables?

Post by haruki »

Is it possible to fetch old data from variables?

Example. A rabbit has a life of 7 years.

If 7 years has passed, is it possible to be able to go back and look at how many rabbits was born 7 years back (on year 1),
then remove that amount from the stock in the current year (in the outflow variable "deaths").

More detailed explanation
The current date is now year 7 and the amount of dead rabbits are the same as the amount of born rabbits from year 1, obviously as they were "born" that year.
So, I take the amount of rabbits that was born that year (data from year 1) from the variable "births" and remove that
amount from the population stock, the outflow "deaths".
Then in year 8 i check what the amount of births was in year 2 and remove that amount from the population stock, and so on...

Is this possible in Vensim? Im using Vensim PLE btw.
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Post by Administrator »

I cannot remember what functions are in PLE, but try the delay functions (delay fixed etc).

Hope this helps.

Tony.
haruki
Junior Member
Posts: 5
Joined: Sat Dec 27, 2008 7:11 pm

Post by haruki »

works, thnx!
Post Reply