Hi there,
Please can I know why I keep getting this error message "floating point overflow- saving to time 0.00000" after changing some variables .
Thanks
error message
error message
- Attachments
-
- Untitled.jpg (203.54 KiB) Viewed 3485 times
-
- Super Administrator
- Posts: 4626
- Joined: Wed Mar 05, 2003 3:10 am
Re: error message
Have a look at "level of modularity", there is a good chance there is a division by 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: error message
thanks for your reply,
I have noticed that any variable i create to take the value of a division of two levels in vensim does that....it there any way can fix this....as in the previous case, "level of modularity" was a value to represent the value of the division of levels "errorneous code size or coupled code size" and "total system size".is this not allowed in vensim because this model compiles fine without the variable "level of modlarity"
I have noticed that any variable i create to take the value of a division of two levels in vensim does that....it there any way can fix this....as in the previous case, "level of modularity" was a value to represent the value of the division of levels "errorneous code size or coupled code size" and "total system size".is this not allowed in vensim because this model compiles fine without the variable "level of modlarity"
-
- Super Administrator
- Posts: 4626
- Joined: Wed Mar 05, 2003 3:10 am
Re: error message
I don't really follow what you are asking. But try the ZIDZ or XIDZ functions.
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: error message
Also, you can use the table tool (or other analysis tools) to examine the inputs to the variable in question. Most likely you will find a division by zero, an exponential overflowing, or something like that. You can prevent division by zero with ZIDZ or XIDZ or an IF THEN ELSE statement, but generally it's good to first consider whether this signals some deeper problem.
/*
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
*/