Please enable JavaScript to view this site.

Vensim Help

ØOpen the model stock.mdl in the directory UserGuide\chap18\policy; a completed exercise is in the Complete directory for reference.

 

ØSelect Model>Import Dataset….  Choose the file orders.dat and click Open.
ØClick OK to the conversion message and close the Output window.
ØDouble click the Runname editing box and type a name for the dataset, e.g., base.
ØClick on the Set Up a Simulation button.
ØClick on the dataset editing box right of the integration button that reads Euler and type in orders.
ØClick on the Simulate button.
ØClick on the Control Panel button and then on the Datasets tab.  Unload the dataset orders by double clicking on it.
ØDouble click on the Level Store Inventory then click on the Graph tool.
ØDouble click on the variable Cumulative Profit then click on the Graph tool.
ØClick the Output Windows button and drag the top graph off the bottom graph.

This is our base case, ordering when inventory falls to 20 units (min inventory value) and building up to a maximum of 100 units (max inventory value).  Note, however, that Inventory falls to zero for some time before being restocked.

Optional — Manual Optimizing

As an exercise, you can try to manually optimize the model.  

ØClick the Set Up a Simulation button.  Type a name for the dataset, e.g., manual.
ØClick on the Constants min inventory value and max inventory value and change their values.  
ØClick the Simulate button.
ØSelect the variable Cumulative Profit into the workbench and click on the Graph tool.

Compare the final value of Cumulative Profit in this run to the base run.  If you want, continue by trial and error to try and maximize Cumulative Profit.  You will get a series of runs similar to below: