error in lookup table output

Use this forum to post Vensim related questions.
Post Reply
sani
Member
Posts: 29
Joined: Tue Mar 27, 2018 4:37 am
Vensim version: PLE

error in lookup table output

Post by sani »

Hi
I have a problem in running my vensim model.
In my model, the result of the multiplication of the variable level GDP in a lookup table is a constant number.
But I know this amount should change over time!
Where is my model's bug???
Help me please
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: error in lookup table output

Post by Administrator »

You will need to upload your model so we can see what you are doing wrong.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
sani
Member
Posts: 29
Joined: Tue Mar 27, 2018 4:37 am
Vensim version: PLE

Re: error in lookup table output

Post by sani »

sorry
I forgot.
Attachments
test.mdl
(2.04 KiB) Downloaded 167 times
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: error in lookup table output

Post by Administrator »

The X-axis of your lookup runs from 1390 to 1394, but the values you are passing to the lookup are between 399 and 524. These lie outside the range of the lookup, so you will always get the first value returned (0.0002).
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
sani
Member
Posts: 29
Joined: Tue Mar 27, 2018 4:37 am
Vensim version: PLE

Re: error in lookup table output

Post by sani »

excuse me how i should fix my formula to run my model
i want for example for first year GDP*0.0002 and give my first output in graph?
in my graph: axis are years in the format Hijri Shamsi...and y axis are %GDP which invested on ICT sector
sani
Member
Posts: 29
Joined: Tue Mar 27, 2018 4:37 am
Vensim version: PLE

Re: error in lookup table output

Post by sani »

I think I do not know one of the main points about the lookup table :cry:
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: error in lookup table output

Post by Administrator »

Have you looked at the documentation for lookups?

http://www.vensim.com/documentation/ind ... ?usr08.htm

There is also a video on that link.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Post Reply