Uploading Data onto Vensim PLE

Use this forum to post Vensim related questions.
Junior Member
Posts: 6
Joined: Thu Mar 22, 2018 7:50 am
Vensim version: PLE

Re: Uploading Data onto Vensim PLE

Post by MaxiKing »

Hi tomfid,

sorry for coming back to this issue. I've tried to fix the lookup and also reread the help on lookups as well as the video on lookups (https://vensim.com/lookups-in-vensim/), however I am still lost here.

I simply want to return the value of the lookup with the input time and use it in my flow variable "change in FIT".

Would you mind just fixing it quickly in the model so I can see how to use lookups with time inputs in the rest of my model? (I am using Vensim PLE)

That would be so helpful!


Super Administrator
Posts: 3519
Joined: Wed Mar 05, 2003 3:10 am

Re: Uploading Data onto Vensim PLE

Post by Administrator »

Lookups are really easy to use.

This lookup has values from 2010 until 2040

Lookup table ( (2010,1),(2020,2),(2030,3),(2040,4) )

And to retrieve the value at "time",

looked up value = lookup table ( time )
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!

Posts: 2936
Joined: Wed May 24, 2006 4:54 am

Re: Uploading Data onto Vensim PLE

Post by tomfid »

I'm on the road and can't modify the model, plus I don't have the data. But the structure you already have for "fit degression rate" is exactly what you need. "FIT degression rate DATA" is the lookup and "FIT degression rate" is the value looked up from the data, by time.

Post Reply