I need help

Use this forum to post Vensim related questions.
Post Reply
veneno
Junior Member
Posts: 3
Joined: Fri Jul 04, 2003 7:36 am

I need help

Post 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?
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Post 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.
veneno
Junior Member
Posts: 3
Joined: Fri Jul 04, 2003 7:36 am

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