Subscript

Use this forum to post Vensim related questions.
Post Reply
dayanalcl
Newbie
Posts: 1
Joined: Thu Oct 28, 2010 5:12 am

Subscript

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

Post by Administrator »

You cannot do this.

Can you post the model here and maybe we can tell you what you should be doing?
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

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