Convert a variable's value as input data for a Lookup

Use this forum to post Vensim related questions.
Post Reply
WayneZhou2009
Senior Member
Posts: 105
Joined: Wed Oct 25, 2017 3:52 pm
Vensim version: PRO

Convert a variable's value as input data for a Lookup

Post by WayneZhou2009 »

Hi everyone,

Is there any way to use the values of a variable (type Auxiliary, sub-type Normal) as input data for a Lookup variable or an Auxiliary-with-Lookup variable? For example, if variable A is a curve, how could it be "converted" to a lookup to be used by other variables within the same model?

I know this could be realised through, for example, exporting the values of variable A to an Excel spreadsheet, then copy&paste the data into the equation box of a Lookup variable (or that of an Auxiliary-with-Lookup variable). But is there any other way of directly doing it within one Vensim model, without having to use Excel?

Many thanks.

WZ
tomfid
Administrator
Posts: 3804
Joined: Wed May 24, 2006 4:54 am

Re: Convert a variable's value as input data for a Lookup

Post by tomfid »

Post Reply