Step 2. Adding Stocks
Now we will add two stocks to model adopter and potential adopter populations.
Add a stock to model potential adopter population
- Drag the
element from the
palette onto the graphical diagram of the agent.
To open some stencil of the
view, click the corresponding tab of the view.
- A new variable appears on the diagram, displayed as a little blue rectangle.
Once you have placed the element onto the diagram, it becomes selected and its properties are displayed in the
view. You can adjust element properties here as your model requires.
Please note that the
view is a context-sensitive view and it displays the properties of the currently selected element of the model. To adjust properties at a later time, first select the element (e.g. by clicking on the element in the graphical editor or in the
view) and then modify the required properties.
Properties view . At the moment view displays the properties of the currently selected stock.
- Change the name of the stock. In te stock's
- Increase the stock icon a little bit. To resize the stock icon, first select it by clicking and then drag the handle shown in its right lower corner.
Add a stock to model adopter population
- Add another stock (the simplest way to get the stock of the same size is to clone the existing stock by Ctrl dragging (Mac OS: Cmd dragging) its icon aside). Place it to the right of the
stock as shown in the figure below.
- Name this stock
At this point, the stocks are not defined properly. We have not defined integral functions and initial values for our stocks yet. But we will create the adoption flow first.
Step 1. Creating a new model
Step 3. Adding adoption flow