Unable to find error?

Use this forum to post Vensim related questions.
Post Reply
ESC
Member
Posts: 23
Joined: Thu Feb 10, 2005 10:45 am

Unable to find error?

Post 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?
Administrator
Super Administrator
Posts: 4838
Joined: Wed Mar 05, 2003 3:10 am

Post 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.
ESC
Member
Posts: 23
Joined: Thu Feb 10, 2005 10:45 am

Post 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...
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post 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.
ESC
Member
Posts: 23
Joined: Thu Feb 10, 2005 10:45 am

Post 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?
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post 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.
Post Reply