Changing Lookups during the simulation

Use this forum to post Vensim related questions.
Post Reply
johan
Junior Member
Posts: 6
Joined: Thu Oct 30, 2008 12:36 pm

Changing Lookups during the simulation

Post by johan »

Hi,

I hope my question is specific enough this time:

I'm using Vensim PLE. I need something like LOOKUPs, but I want to change them within the run of the simulation.

Is this possible or is it the typical Array/Vector functionality that you find in the Professional version?

Thanks a lot,
Johan
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post by bob@vensim.com »

Dynamic lookups are only available in Professional via the VECTOR LOOKUP function. However, a common trick is

output = weight*lookup1(input) + (1-weight)*lookup2(input)

which allows movement between different lookups - you can use more than 2 if you want.
johan
Junior Member
Posts: 6
Joined: Thu Oct 30, 2008 12:36 pm

Thanks a lot

Post by johan »

Thanks a lot, Bob, I hope I can avoid quite some variables here :-)

Regards,
Johan
Post Reply