Floating point overflow

Use this forum to post Vensim related questions.
Post Reply
erkinai
Newbie
Posts: 1
Joined: Thu Jun 27, 2019 8:39 pm
Vensim version: PLE

Floating point overflow

Post by erkinai »

Hello!

I have some problems with simulation a model, it says: Floating point error computing - Inclusive green economy - at time = 2.000000. Could not find any solution for that and fix it. Another thing is unit error, how to change the right hand side unit?

If anyone could help to figure it out, I would be very grateful!

Please see attachment.
Attachments
draft model.mdl
(8.85 KiB) Downloaded 153 times
Administrator
Super Administrator
Posts: 4589
Joined: Wed Mar 05, 2003 3:10 am

Re: Floating point overflow

Post by Administrator »

I'd suggest simplifying your model a little.

(Economic Development*Environmental Development*Good Governance*Social Development) is negative at time=2, so Vensim throws an error when you try (Economic Development*Environmental Development*Good Governance*Social Development)^(1/4).

I cannot really suggest anything with the units as you've got lots of embedded constants in the model (for example, "16/10 * Environmental Development", what is "16/10", make this a constant and give it a unit).
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
Post Reply