Page 1 of 1
error message
Posted: Fri Oct 18, 2013 2:37 am
by oludot5
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
Re: error message
Posted: Fri Oct 18, 2013 8:07 am
by Administrator
Have a look at "level of modularity", there is a good chance there is a division by zero.
Re: error message
Posted: Fri Oct 18, 2013 11:53 am
by oludot5
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"
Re: error message
Posted: Fri Oct 18, 2013 1:14 pm
by Administrator
I don't really follow what you are asking. But try the ZIDZ or XIDZ functions.
Re: error message
Posted: Fri Oct 18, 2013 2:55 pm
by tomfid
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.