Please enable JavaScript to view this site.

Vensim Help

ØClick on the Setup a Simulation button.  
ØClick on Reference Demand, type in the value 0 (zero) and press Enter.
ØClick on the Simulate button.

You should get the error message

ØClick on OK.

There will be an error window that appears.

This window tells you what variable was being computed at what time when the problem was detected.  Because the error occurred at time 0, it is only practical to trace it using the Table tool.  

ØClick on target price in the error window to select it into the workbench.

If you are using Vensim PLE or PLE Plus:

ØClick on the Table tool.
ØClick on the Causes Tree tool.
ØClick on expected demand in the Causes tree output.
ØClick on the Table tool.
ØClick on target revenue in the Causes tree output.
ØClick on the Table tool.

or if you are Using Vensim Standard, Runtime, Professional or DSS

ØRight click on the Table tool.
ØUnder Show Link click on Cause and click on OK.
ØClick on the Table tool.

then

You will see output that looks something like:

Next to target price you will see the value "--."  This indicates that target price was never successfully computed.  Both expected demand and target revenue were computed and their values are shown.  Since the equation for target price is:

target price=target revenue/expected demand

It is clear why there is an error - division by 0.  To determine why expected demand is 0 we can continue to trace causes.  You should be able to demonstrate quite quickly that expected demand is 0 because demand is 0 because reference demand is 0.

We can fix the equation for target price so that it will not cause and error even when expected demand is 0.  This is done in "Model Revisions"below.