Hi,
When a simple model is created in Vensim, with just one stock and inflow and outflow.
When we want to insert the formula of the given stock, in the part of variables you find the inflow name, the outflow and stock name. why is there the stock variable name? it does not make sense.
thx
Simple model in Vensim
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: Simple model in Vensim
Do you mean where "Causes" is listed? The stock directly influences the value of itself at the next time step (so it is a cause).
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: Simple model in Vensim
Hi
It is not only an implicit causes that does not appear in the equation.
There are many cases where you need to put the stock in the equation.
For instance if you go to the Vensim help and index and ask for the smooth function.
You will see a stock and flow formulation of the smsooth function where the level is explicitly included.
expected demand =INTEG((demand-expected demand)/ time to form expectations,demand)
Regards.
JJ
It is not only an implicit causes that does not appear in the equation.
There are many cases where you need to put the stock in the equation.
For instance if you go to the Vensim help and index and ask for the smooth function.
You will see a stock and flow formulation of the smsooth function where the level is explicitly included.
expected demand =INTEG((demand-expected demand)/ time to form expectations,demand)
Regards.
JJ
Re: Simple model in Vensim
The stock name is there because it is a valid input. For example, an alternative implementation of a SMOOTH is:
smoothed input = INTEG( (input-smoothed input)/smoothing time, initial input )
However ... it is true that if you do this, your diagram is likely to break standard stock-flow diagramming conventions. Sometimes that's useful.
smoothed input = INTEG( (input-smoothed input)/smoothing time, initial input )
However ... it is true that if you do this, your diagram is likely to break standard stock-flow diagramming conventions. Sometimes that's useful.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Re: Simple model in Vensim
thanks for all answers I got it
Best wishes
Best wishes