Page 1 of 1

Unable to find error?

Posted: Thu Oct 26, 2006 11:10 am
by ESC
I have been faced with the problem at some point in the past.

What happens is that the plumbing is drawn, the variables in, then it comes to equation entry time and problems occur.

All the relevant variables for an equation are entered through linking with arrows. The equation is of the type A*B/C. I click on A, which appears in the Variables view of the equation editor and in spite of the variable being there and in the model, get the Unable to find error. Any ideas on how to get rid of this error?

Posted: Thu Oct 26, 2006 12:17 pm
by Administrator
Is it an error, or just a warning saying there was not an arrow from A to the active variable? If it is just a warning, just click OK and Vensim will update the sketch.

Tony.

Posted: Thu Oct 26, 2006 1:03 pm
by ESC
It is an actual error message with a white diagonal cross on a red background, with the only clicking option being OK, as opposed to ...the variables were not expected but are used...

Posted: Thu Oct 26, 2006 1:32 pm
by bob@vensim.com
At a guess you are not having this problem with A, B or C but with a variable that has escaped characters, perhaps embedded quotation marks, within it. If you could give the exact name of the variable Vensim can't find as you entered it in the Sketch I might be able to shed some light on this. Also make sure you are using the most recent (5.6a) version of Vensim as this type of thing was a known problem in earlier releases.

Posted: Thu Oct 26, 2006 3:56 pm
by ESC
It is named % of something. The weird problem is that there are at least 10 variables in the same model named % something but Vensim does not like only this particular one. Will renaming help?

Posted: Thu Oct 26, 2006 6:48 pm
by bob@vensim.com
it is likely that renaming will help. It seems most likely that somehow the particular names are causing problems. Just create an empty model with a variable A and the name causing trouble as an input and see if you have trouble then click on that input.