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
Error Message -[variable name] - is not used in the model
Re: Error Message -[variable name] - is not used in the mode
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).
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Re: Error Message -[variable name] - is not used in the mode
Thanks for the prompt reply. Amazing what you learn if you ask.
David
David
Re: Error Message -[variable name] - is not used in the mode
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
-
- Super Administrator
- Posts: 4613
- Joined: Wed Mar 05, 2003 3:10 am
Re: Error Message -[variable name] - is not used in the mode
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.
I'd be more concerned about the unit errors. These usually indicate conceptual errors in the model.
- Attachments
-
- Elementary start-up model.mdl
- (22.87 KiB) Downloaded 313 times
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: Error Message -[variable name] - is not used in the mode
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
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