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.
Floating point overflow
Floating point overflow
- Attachments
-
- draft model.mdl
- (8.85 KiB) Downloaded 153 times
-
- Super Administrator
- Posts: 4589
- Joined: Wed Mar 05, 2003 3:10 am
Re: Floating point overflow
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).
(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
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559