Page 1 of 1
error in lookup table output
Posted: Wed Jun 06, 2018 7:44 am
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
Re: error in lookup table output
Posted: Wed Jun 06, 2018 8:09 am
by Administrator
You will need to upload your model so we can see what you are doing wrong.
Re: error in lookup table output
Posted: Wed Jun 06, 2018 8:27 am
by sani
sorry
I forgot.
Re: error in lookup table output
Posted: Wed Jun 06, 2018 10:16 am
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).
Re: error in lookup table output
Posted: Wed Jun 06, 2018 11:21 am
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
Re: error in lookup table output
Posted: Wed Jun 06, 2018 11:58 am
by sani
I think I do not know one of the main points about the lookup table
Re: error in lookup table output
Posted: Wed Jun 06, 2018 1:40 pm
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.