Page 1 of 1

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

Posted: Wed Jul 07, 2010 4:14 pm
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

Posted: Wed Jul 07, 2010 6:41 pm
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