Page 1 of 1
Auxiliary * Lookup
Posted: Thu May 26, 2005 9:04 pm
by lidygal
How can I multiply an Auxxiliary with a lookup?
I did iin this way:
Lookup(auxiliary)
But in the result only multiply the first value of the lookup by the auxiliary.
lookup
Posted: Fri May 27, 2005 7:58 am
by LAUJJL
Hi Lidygal
First you should correct the units error.
I never run a model that has any unit error in it, unless warnings.
Secondly the model when run gives the following error:
WARNING: At 2003 Above -Impuestos- computing -Impuestos por pagar-.
Meaning that the lookup gets value as input higher than what was expected.
The lookup expects value from 1 to 5 and gets input that are higher then 42 the
Utilidad de operaciôn.
The problem comes probably from this incoherence.
Regards.
J.J. Laublé
Posted: Fri May 27, 2005 10:45 am
by bob@vensim.com
Just to clarify - a Lookup is a function specified by pairs of numbers that convert an input to an output. Thus the normal format is
lookup output = lookup function(lookup input)
If you also want to multiply the output you can use
result = lookup function(lookup input) * auxiliary multiplier