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