Please enable JavaScript to view this site.

Vensim Help

ØClick on the Setup a Simulation button.  
ØClick on time to form expectations, type in the value 0.5 and press Enter.
ØClick on the Simulate button and answer Yes to the query about overwriting.

You should be informed of an error occurring while computing effect price demand at time 44.

ØClick on effect price demand and click on the Causes Strip.  

 

The values jump around a lot, but the source of the error is the negative value that price takes on at the end.

ØTrace the causes of the behavior using the Causes strip through the sequence effect price demand, price, change in price, target price, and then expected demand.

expected demand goes negative, even through demand is always positive.  This happens because we set the time constant for changing expected demand to a value smaller than TIME STEP.  

Odd behavior such as that displayed here often results because of a problem like this.  If you see this type of oscillation and can not find the problem try changing TIME STEP to a smaller number.  If this makes a big difference in behavior you probably have a time constant somewhere that is too short.  Note that such time constants might not be explicitly defined in the way expected demand is.