unused variables and subscripts error

Use this forum to post Vensim related questions.
Post Reply
Panichel
Member
Posts: 20
Joined: Fri Jan 15, 2010 5:27 pm

unused variables and subscripts error

Post by Panichel »

Hi,
I am having 2 errors when trying to simulate a national land-use change model. Each land-use type is a sock that varies in fucntion of changes in other land-use types stocks. I get that some model variables (stocks) are not used. However, I only want to see how this stock evolve over time and not to use them as a variable to calculate other things (that why I am not using them). The secont problem is with subscripts. I get an incorrect number of subscripts erros because I am using subscripted variables to inicialize stocks (the initial land stock in each national administrative unit).
I posted the model if that helps
Thank you very much !
Attachments
Module 2-LUC.mdl
(25.65 KiB) Downloaded 216 times
LAUJJL
Senior Member
Posts: 1477
Joined: Fri May 23, 2003 10:09 am
Vensim version: DSS

unused variables

Post by LAUJJL »

see the model corrected for the subscript errors.
You must too correct the unit errors you get when hiting the
Ctrl U key.
There are always unused variables in models, that generally exist for information.
If you want not to be bothered when hitting hte Ctrl T key just click on the complementary button.
Regards.
JJ
Attachments
Module_2-LUC_2.mdl
(24.84 KiB) Downloaded 238 times
Panichel
Member
Posts: 20
Joined: Fri Jan 15, 2010 5:27 pm

Post by Panichel »

thanks !!! that works !
Post Reply