At Step t, using the data that have been generated at Step t

Use this forum to post Vensim related questions.
Post Reply
claudia
Junior Member
Posts: 13
Joined: Tue Jul 06, 2010 6:55 pm

At Step t, using the data that have been generated at Step t

Post by claudia »

I m generating data of a variable B, that dependents and is linked to the variable A.

A (t) -- > B (t)

With a loop, B comes back to A.

B (t) --> A (t) --> B (t)

At the same step t, A (t) can't use the data of B (t) , because of the time.

How can I use at the Time t , the data of B that have been generated at Time-1 to avoid this problem of time and have the following configuration?:

B (t-1) --> A (t) --> B (t)

Thanks .
Claudia
tomfid
Administrator
Posts: 3996
Joined: Wed May 24, 2006 4:54 am

Post by tomfid »

Technically, you can use the DELAY FIXED function where the delay time is TIME STEP, or (if you're using Euler or Diff integration), a SMOOTH( input, TIME STEP ). However, such arrangements are often unstable, or at least don't make ideal use of continuous time representation. If you can tell us a little more about your loop, you may get more suggestions.

Tom
Post Reply