Page 1 of 1

I need help

Posted: Fri Jul 04, 2003 7:46 am
by veneno
hello, I'm starting to use vensim but I have big problems. I have a model where I want to use output value to input. How can I make this? Imagine something as x+y = z where x takes the value of z each iteration. Can you help me?

Posted: Fri Jul 04, 2003 8:34 am
by Administrator
Hello and welcome to the forum.

It is very simple to do what you want. Look at the DELAY FIXED function in the Vensim help system. You would have the equation

Z = X + Y

and

X = DELAY FIXED ( Z , TIME STEP , 0 )

You might need to check the syntax, but it should do what you want. Z takes on the value of X delayed by one time step.

Tony.

Posted: Fri Jul 04, 2003 9:23 am
by veneno
thank you, now my model is ok
but I have a doubt: the sum of variables (our "x") must be an auxiliary variable now. It is correct? Why not a Level?

[Edited on 4-7-2003 by veneno]

[Edited on 4-7-2003 by veneno]