Page 1 of 1

Floating point overflow

Posted: Sun Apr 04, 2010 6:15 pm
by Student
Good evening and happy Easter to everyone,

I've just joined the Vensim forum and I'm in the need of some help.
The error I'm encountering is the floating point overflow error. Searching the forum for this well known problem and reading related posts while applying several answers and solutions to my problem, did not help me out. The two most significant solutions were; 1.Make sure that you are not dividing by zero
2.Wrong Simulation settings and data overflow
I think the model and its settings are accurate, please can someone help me?

[Edited on 4-4-2010 by Student]

Posted: Mon Apr 05, 2010 9:14 am
by bob@vensim.com
Chapter 7 of the User's Guide provides techniques for tracing floating point errors. In your model at time 0.5 you have

cumulatief ooit geinstalleerde capaciteit T2 -403.49

which is not valid for use with the ^ operator.

Posted: Mon Apr 05, 2010 10:34 am
by Student
Thank you for the reply!
I've adjusted the model and it works correctly now.

[Edited on 4-5-2010 by Student]