Page 1 of 1

Changing Lookups during the simulation

Posted: Wed Nov 05, 2008 10:05 am
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

Posted: Wed Nov 05, 2008 10:31 am
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.

Thanks a lot

Posted: Wed Nov 05, 2008 11:44 am
by johan
Thanks a lot, Bob, I hope I can avoid quite some variables here :-)

Regards,
Johan