I want to use the variable value of previous time periods , that is of (t-1) or (t-2) in the equation for time t.How do i do that
I will be very grateful if i could get help on this
How to call variable value of previous time period in a equation
Re: How to call variable value of previous time period in a equation
I understand about delay fixed function, but it treats variable on left side as level variable.In my case, variable on left side is a auxiliary variable whose value is changing every time period.
Re: How to call variable value of previous time period in a equation
Also, I am unable to use GET TIME VALUE function to know the current value of time. Vensim says that this function is not operable with this configuration.What option do I have other than above function to get the current time value.
Re: How to call variable value of previous time period in a equation
Just use the time variable.
/*
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
*/
Re: How to call variable value of previous time period in a equation
You just need to delay whatever it is on the right hand side of the equation that you need. But be careful.
http://metasd.com/2017/11/discrete-time-stinks/
http://metasd.com/2017/11/discrete-time-stinks/
/*
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
*/