Floating point overflow

Use this forum to post Vensim related questions.
Post Reply
Student
Junior Member
Posts: 2
Joined: Sun Apr 04, 2010 5:59 pm

Floating point overflow

Post 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]
Attachments
Capaciteit.mdl
(11.13 KiB) Downloaded 382 times
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post 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.
Student
Junior Member
Posts: 2
Joined: Sun Apr 04, 2010 5:59 pm

Post by Student »

Thank you for the reply!
I've adjusted the model and it works correctly now.

[Edited on 4-5-2010 by Student]
Post Reply