Page 1 of 1

Subscript

Posted: Thu Oct 28, 2010 5:25 am
by dayanalcl
Somebody can help me that it has knowledge in subscript..
It would want to know if to a subscript him I can pass like argument lookups.
That is to say,

Task[store]
store=(lookup1, lookup2, lookup3, lookup4) ??????????

I need east argument with lookup to give initial values to the model that I am working. The model throws error to me and only it recognizes the first element to me of the subscript; that is to say; lookup1
Thank you very much to the person who can give to answer restlessness me.! Universidad de Los Andes-Venezuela. Ingenieria de Sistemas

Posted: Thu Oct 28, 2010 7:28 am
by Administrator
You cannot do this.

Can you post the model here and maybe we can tell you what you should be doing?

Posted: Thu Oct 28, 2010 10:08 am
by bob@vensim.com
Chapter 17 of the User's Guide shows how to use subscripts. I can't really understand your question but something like


store : s1,s2,s3,s4
Task[store] = my lookup function[store](variable or variable by store if you like)

then you will need to write 1 equation for the lookup function for each store