Page 1 of 1

Error Message -[variable name] - is not used in the model

Posted: Tue Oct 11, 2011 11:58 pm
by drees
I have just upgraded from DSS version 5.7 (PC) to DSS version 5.11(MAC) Working on a model, originally developed in 5.7 I have got an error message - after having worked on it, seemingly without problems for a couple of hours, and I am now getting an error message saying variable is not used in the model. In the dialogue box I note that it has listed 14 variables that are now 'not used in the model'.

Any ideas?

Thanks

David Rees

Re: Error Message -[variable name] - is not used in the mode

Posted: Wed Oct 12, 2011 3:21 am
by tomfid
This is a standard warning to help prevent errors. You can suppress it by checking the "Supplementary" box in the equation editor for the variable in question (unless it should be used of course).

Re: Error Message -[variable name] - is not used in the mode

Posted: Wed Oct 12, 2011 7:45 am
by drees
Thanks for the prompt reply. Amazing what you learn if you ask.

David

Re: Error Message -[variable name] - is not used in the mode

Posted: Fri Aug 02, 2013 6:58 pm
by schalkj
Elementary start-up model.mdl
(23.06 KiB) Downloaded 271 times
I got the same error message. I replicated the model in "An elementary dynamic model of a small start up firm" by Prof. Dr. Rainer Schwarz and Dipl.-Ing. Frank Schoneborn.

Model check gives two error messages:

"Customer acquisition not used in the model". It is actually used in two places, confirmed by doing a Causes Tree and Uses Tree analysis. Following the solution given by Tom Fiddaman, it now returns two messages: "Customer acquisition not used in the model." and "The supplementary variable-customer acquisition-is used in the model.

The other error message also has me stumped:
" The variable component rate has equations inside and outside of macros"
Component rate is a constant, used twice in the model.

Can anyone help?

Thanks
Schalk

Re: Error Message -[variable name] - is not used in the mode

Posted: Sat Aug 03, 2013 7:23 am
by Administrator
Those are just warnings. All they are saying is that a variable is not used or is marked as supplementary but is then used. Ticking/unticking the box for supplementary will clear these errors. I've uploaded a fixed model.

I'd be more concerned about the unit errors. These usually indicate conceptual errors in the model.

Re: Error Message -[variable name] - is not used in the mode

Posted: Sat Aug 03, 2013 9:53 am
by schalkj
Thank you very much. As a matter of interest, I changed one of the delay functions, which then solved all those errors. Haven't yet foolowed the path to see why.

Regarding the unit errors, I used exactly the same units as per the original model. However, I take your point, and am working through of all of them.

Thanks a million for the help - I am still a novice.

Regards
Schalk