Please enable JavaScript to view this site.

Vensim Help

Navigation: User Guide - Vensim Introduction & Tutorials > 9 Multiple Views

Building the Diffusion Model (cust1.mdl)

Scroll Prev Top Next More

EITHER

ØOpen the existing model:  Click the Open Model button and select the model cust1.mdl from the UserGuide\chap09\complete directory and save it as cust1.mdl in the UserGuide\chap09 directory, then skip forward to section "Simulating the Model."

OR

ØBuild a new model:  Click the New Model button or select the menu item File>New Model
ØClick OK to accept the default Time Bounds.
ØSketch the model shown in the figure below.
ØSave your model as cust1.mdl in the UserGuide\chap09 directory.

The sketch shown here contains what is called a Polyline Arrow.  A Polyline arrow is like an ordinary arrow except that instead of an arc it appears as a series of line segments.  Vensim PLE Plus user’s will need to draw a regular arrow here (there is no way to draw a Polyline Arrow in PLE or PLE Plus).  To draw a Polyline Arrow using Professional or DSS:

Ø Right-Click or Ctrl-Click on Arrow tool in the Sketch Toolset.
ØClick on the Polyline option and Click OK.  The icon will change to and the mouse pointer will also change.
ØClick on Total Market, move to the left and click again, move straight up and click again then click on potential customer concentration.
ØRight-Click on the Arrow tool and reset the type to Normal.

Entering Equations

ØClick on the Equations tool and enter the following equations and units of measurement for each variable in the model:

new customers = word of mouth demand

Units: person/Month

contacts of noncustomers with customers = contacts with customers * potential customer concentration

Units: contacts/Month

contacts with customers = Customers * sociability

Units: contacts/Month

Customers = INTEG(
new customers,
       1000)

Units: person

fruitfulness = 0.01

Units: person/contacts

potential customer concentration = Potential Customers / total market

Units: dmnl

Potential Customers = INTEG(
 - new customers,
       1e+006)

Units: person

sociability = 20

Units: contacts/person/Month

total market = Customers + Potential Customers

Units: person

word of mouth demand = contacts of noncustomers with customers * fruitfulness

Units: person/Month

Checking for Model Syntax and Units Errors

Before you simulate the model, you should check it for errors in formulas and units.  

ØSelect Model>Check Model (or Press Ctrl + T), you should get an information box saying "Model is OK."  

If the model has errors, check that the structure is the same as in diagram.  If the structure looks the same, open the Equation Editor on each variable and check the formula against the list above.  

ØSelect Model>Units Check from the menu (or press Ctrl + U); you should get an information box saying "Units are AOK."  

If a units error is generated, read the Output window to see which variables are failing the check.  Open the Equation Editor on each variable and check the units against the list above.  

ØSave the model by clicking the Save button, or selecting menu File>Save, or pressing Ctrl + S.