Repeat time period with FINAL TIME as INITIAL CONDITION

Use this forum to post Vensim related questions.
Post Reply
nafo2
Newbie
Posts: 1
Joined: Wed Nov 18, 2015 9:39 pm
Vensim version: PLE

Repeat time period with FINAL TIME as INITIAL CONDITION

Post by nafo2 »

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
tomfid
Administrator
Posts: 3811
Joined: Wed May 24, 2006 4:54 am

Re: Repeat time period with FINAL TIME as INITIAL CONDITION

Post by tomfid »

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.
Post Reply