Page 1 of 1

Misterious Calculation not computed

Posted: Tue Dec 17, 2019 4:36 pm
by abrahamTRT
We are implementing a model and attempting the first runs. The model fails immediately for a floating point. We are not surprised, however checking for the reasons of the floating point we came across a behaviour of the model we never experienced before.
The floating point is due to a non-computed value (“- -“ in result table) which, in turn depends on a previous non-computed value. Surprisingly for us, the causes of this non-computed value are instead normally computed. Basically: we have a variable Alfa[sub] with six non zero values, then we have an equation
Beta = Alfa[Sub6]/SUM(Alfa[Sub!])
But this equation does not compute anything. Even computing numerator and denominator in separate equations (and numerator is a simple identity…) they do not provide any value despite values of Alfa[Sub] do exist for each subscript.
We have been working in Vensim for years but never seen something similar. Any idea of a possible reason for this behaviour?

Thanks in advance

Re: Misterious Calculation not computed

Posted: Tue Dec 17, 2019 4:43 pm
by Administrator
Can you upload the model so we can take a look? I could put together a test model, but it might not be the same as the one you are having trouble with.

Re: Misterious Calculation not computed

Posted: Tue Dec 17, 2019 5:24 pm
by tomfid
A possible test would be to compute SUM(Alfa[Sub!]) in a separate variable.

Re: Misterious Calculation not computed

Posted: Wed Dec 18, 2019 8:57 am
by abrahamTRT
Administrator wrote: Tue Dec 17, 2019 4:43 pm Can you upload the model so we can take a look? I could put together a test model, but it might not be the same as the one you are having trouble with.
Thanks for the fast response. Due to the model's complexity we would be glad to send the model, can you indicate how to proceed?

Re: Misterious Calculation not computed

Posted: Wed Dec 18, 2019 9:14 am
by Administrator
You can email it to us at vensim@vensim.com. Please ensure that you include your licence details.