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
Convert a variable's value as input data for a Lookup
-
- Senior Member
- Posts: 105
- Joined: Wed Oct 25, 2017 3:52 pm
- Vensim version: PRO
Re: Convert a variable's value as input data for a Lookup
Is this what you're after?
http://vensim.com/documentation/fn_vector_lookup.htm
http://vensim.com/documentation/fn_vector_lookup.htm
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/