Page 1 of 1

an unchangeable constant when saved in a .cin file generates an error when running a model with the .cin file

Posted: Sat Oct 02, 2021 9:31 am
by LAUJJL
Hi

the problem was already occuring with 9.0 DSS version. I downloaded the latest version and the problem is still there; I join a simplistic model with one unchangeable constant and its associated .cin file. whe one runs the model an error is reported. This happens with any model with unchangeable constants; A solution? regards.

JJ

Re: an unchangeable constant when saved in a .cin file generates an error when running a model with the .cin file

Posted: Sat Oct 02, 2021 9:48 am
by Administrator
You can't change unchangeable constants (things like days per week are an unchangable constant). You will need to change it to a normal constant if you want to change it in any way.

Re: an unchangeable constant when saved in a .cin file generates an error when running a model with the .cin file

Posted: Sat Oct 02, 2021 10:15 am
by LAUJJL
Hi
When i set a constant as unchangeable it is just not to change it and not that it appears as changeable when setting the run. So i know that a unchangeable constant cannot be changed and I do not want to change it in any circumastances. in my model joined there is constant named const and set as unchangeable. if you save the cin file associated with that model you get the .cin file joined named curren2.cin. if you run again the model joined that load the .cin file, there is an error reported, something that is bothering with bigger models even if you can still run the model and accept the warning. After 19 years using Vensim, i know what is an unchangeable constant, a feature that did not exist some years ago. JJ

Re: an unchangeable constant when saved in a .cin file generates an error when running a model with the .cin file

Posted: Sat Oct 02, 2021 11:39 am
by Administrator
Ahh I see. The unchangeable constant is saved to the CIN file. That shouldn't happen, I'll fix it.