Auxiliary * Lookup

Use this forum to post Vensim related questions.
Post Reply
lidygal
Junior Member
Posts: 3
Joined: Mon Dec 27, 2004 3:11 pm

Auxiliary * Lookup

Post 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.
Attachments
Tesis.mdl
(10.07 KiB) Downloaded 419 times
LAUJJL
Senior Member
Posts: 1477
Joined: Fri May 23, 2003 10:09 am
Vensim version: DSS

lookup

Post 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é
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post 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
Post Reply