Subscripts..

Use this forum to post Vensim related questions.
Post Reply
mruud
Member
Posts: 23
Joined: Fri Mar 28, 2003 7:19 am

Subscripts..

Post by mruud »

I have a model with two subscripts, Type and Object. Then I have a subscripted constant TypeValue[Type] and a subscripted constant ObjectType[Object]. The values in ObjectType shows back to the index of Typevalue. How can I fill up the auxiliary ObjectValue[Object] with values from TypeValue based on the index in ObjectType[Object]?
Model attached (db1.mdl)

Morten
Owain
Junior Member
Posts: 12
Joined: Thu Feb 19, 2004 4:20 pm

Post by Owain »

Morten,

this is the way I do it (see attached model). If there is anyone out there with a more elegant method, then please post it here!

Thanks
Attachments
subscripts1.mdl
(1.98 KiB) Downloaded 652 times
mruud
Member
Posts: 23
Joined: Fri Mar 28, 2003 7:19 am

Post by mruud »

This was just what I where looking for. Thank you!
Morten
Post Reply