Vensim constant behavior
Vensim constant behavior
Hello everyone, sorry if this topic could be banal. I have the following model and I try to verify his behavior. Unfortunately, when I start the simulation I get a constant trend, when I expect a decrease in the number of uninfected and an increase in the number of those infected. You could kindly help me.
- Attachments
-
- Stock_and_flow_.mdl
- (3.67 KiB) Downloaded 173 times
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: Vensim constant behavior
Try changing
rate of plant infections = Plant Infected/LATENCY TIME
to
rate of plant infections = Plant Not Infected/LATENCY TIME
At t = 0, the number of plants infected is zero. So rate of plant infections is also zero.
rate of plant infections = Plant Infected/LATENCY TIME
to
rate of plant infections = Plant Not Infected/LATENCY TIME
At t = 0, the number of plants infected is zero. So rate of plant infections is also zero.
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: Vensim constant behavior
thanks for the reply, I tried to do what you say. but I get this answer:
ERROR: Floating point error computing - rate of plant infections - at time = 34.000000.
Trying to save the results anyway
ERROR: Floating point error computing - rate of plant infections - at time = 34.000000.
Trying to save the results anyway
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: Vensim constant behavior
Have a look at a table of the values for rate of plant infections and see what is happening.
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: Vensim constant behavior
I can not find a meaning
- Attachments
-
- file_output.pdf
- (6.66 KiB) Downloaded 158 times
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: Vensim constant behavior
One problem is that your model is running for 100 years with a time step of one year. This needs to change, the time step should be 1/4 of the smallest delay in your model (I think this is 0.08333, the "latency time").
What is the "latency time"? I know it's value is one month, but what actually is it?
What is the "latency time"? I know it's value is one month, but what actually is it?
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: Vensim constant behavior
It is the time it takes to understand how much time there is between when a plant shows the disease and when it takes the infection.
Re: Vensim constant behavior
The model will not generally be stable unless the time step is shorter than the shortest delay. Powers of 2 are generally better, so perhaps .03125 would be a good start (you can set this via the dropdown menu at Model>Settings>Time Bounds.
/*
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
*/