lookup function

Use this forum to post Vensim related questions.
Post Reply
VIVIV
Junior Member
Posts: 2
Joined: Mon Nov 27, 2006 1:18 am

lookup function

Post 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
malli
Member
Posts: 44
Joined: Wed Nov 15, 2006 5:10 am

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

Post 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.
VIVIV
Junior Member
Posts: 2
Joined: Mon Nov 27, 2006 1:18 am

model attachment

Post by VIVIV »

hi,,

i hope customer is the lookup

how to use it
Attachments
2.mdl
(2.57 KiB) Downloaded 449 times
Post Reply