Hi!
I'm not familiar to «delay» in vensim and how to use it. I need one for one of my variables, average daily gain (ADG), which is, in my model, the gain in kg per day for a pig. To be able to create this variable, I need a delay, because I need to compare two bodyweights (Time step = 1 day). For example, on day 20, the pig weights 20 kg and, on day 21, it weights 21 kg. So, the ADG is 1 kg per day. Also, should I use a fixed delay or another type of delay would be more appropriate?
Thanks for your help!
Delay
-
- Junior Member
- Posts: 9
- Joined: Mon Mar 13, 2017 7:33 pm
- Vensim version: PLE
Re: Delay
DELAY FIXED( weight, one day ) would work. There's a sample model for it (and everything else) in the Help system.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/