Hello All,
I was wondering if there is any easy (ie not manually) way to re-input state variable values at FINAL TIME as an INITIAL CONDITION and repeat the time period n times?
Apologies if there is a simple answer to this questions - it seems like a fairly obvious question...
Any help would be much appreciated!
N
Repeat time period with FINAL TIME as INITIAL CONDITION
Re: Repeat time period with FINAL TIME as INITIAL CONDITION
You can use the Based On simulation setting to reset the state variables - see https://www.vensim.com/documentation/23320.htm. This is SIMULATE>BASED in a command script. Not sure about iterating n times - you might do that with a command script, or using a programming language with the .dll.
/*
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
*/