Page 1 of 1
lookup function
Posted: Mon Nov 27, 2006 1:20 am
by VIVIV
i have a problem about look up function
i don't know how to use it ?
although i have read the vensim mannual
still didn't work..
hope someone can help me
thank you
Posted: Mon Nov 27, 2006 7:34 am
by malli
Hi,
It might help if you post your model if its about how to do it in Vensim.
If your question pertains to the conceptual aspect of formulating lookup functions, there are a couple of resources that might help-
1. If you have access to John Sterman's book - check up chapter 14
2. Another excellent resource is Roadmaps. There are two good articles on formulating table functions - this is the link.
http://sysdyn.clexchange.org/sdep/Roadm ... D-4865.pdf
http://sysdyn.clexchange.org/sdep/Roadm ... 4653-2.pdf
Malli
Posted: Mon Nov 27, 2006 8:40 am
by Administrator
Lookups are quite easy to use.
Here is a lookup definition (only two points, 0,10 and 1,100)
LOOKUP GRAPH ((0,10), (1,100))
To use,
Y = LOOKUP GRAPH(X)
for X=0, Y will be 10, for X=1, Y will be 100.
Hope this helps.
Tony.
model attachment
Posted: Mon Nov 27, 2006 12:15 pm
by VIVIV
hi,,
i hope customer is the lookup
how to use it