Please enable JavaScript to view this site.

Vensim Help

This section is optional and produces a model with the same behavior as the rabbit.mdl model already constructed.  

Lookup tables are best used to drive model variables above or below their "normal" values.  In the previous model (rabbit.mdl), the normal value was implicit and hidden within the Rate equation for deaths.  In other models, you might want to have an explicit normal value.  This might be a Constant, or an Auxiliary as normal death rate in the rabbit2.mdl model below:

This model also includes an explict (separated) normalized input, rather than normalizing the input variable inside the variable effect of rabbit crowding on deaths.

ØSave the previous rabbit model as another name (rabbit2.mdl) and then create the structure above.
ØTo move the arrows from the Rate deaths to the Auxiliary normal death rate, use the Move/Size tool to grab the arrowhead from deaths and drop it on the Auxiliary.  Alternatively, you can delete the arrows using the Delete tool by clicking on the arrowhead, then draw new arrows with the Arrow tool.
ØClick on normal death rate and enter the following equation (the same equation for deaths before we introduced the effect from the Lookup) and units then press Enter:
normal death rate=
Rabbit Population / average lifetime

Units: rabbit/Year

 

ØClick on deaths and replace the equation with the one below then press Enter.
deaths=
normal death rate * effect of rabbit crowding on deaths

 

ØClick on normalized populationand enter the equation below:
normalized population =
Rabbit Population / carrying capacity

Units: Dmnl

 

ØClick on effect of rabbit crowding on deaths and replace the equation in the WITH LOOKUP editing box with (leaving the Lookup table and units as they are):
effect of rabbit crowding on deaths= WITH LOOKUP (
normalized population

 

The Equation Editor should close and no variables on the diagram should have highlights.

ØClick on the Save button on the Toolbar to save your model.

Note that the normal output variable normal death ratecould (in a different model) be a Constant, and not the Auxiliary that it is here.  See for example, the structure below: