This introductory tutorial should be followed before exploring any of the others. It introduces click-by-click the actions needed to create a simple model, to simulate its behaviour, and to display results.
| Step 1 |
Add a compartment to the model diagram.
|
| Step 2 |
Rename the compartment account.
|
| Step 3 |
Add an interest flow and a withdrawal flow.
|
| Step 4 |
Rename the two flows.
|
| Step 5 |
Add a variable for the interest rate.
|
| Step 6 |
Rename the variable interest rate.
|
| Step 7 |
Draw the influences.
|
| Step 8 |
Re-arrange the model diagram.
|
| Step 1 |
Click on the
select button in the toolbar. |
| Step 2 |
Assign an initial value for the compartment.
|
| Step 3 |
Add the equation for calculating interest.
|
| Step 4 |
Assign a value for the withdrawal flow.
|
| Step 5 |
Assign a value for interest rate.
|
| Step 1 |
“Build” the model.
Simile creates a new window: the Run-Time Environment window. This contains the controls for running the model; a list of the variables in the model; and an area where various displays for showing model results will appear.
|
| Step 2 |
Change the Time step #1 from 0.1 to 1
This is because we want to use a time step of 1 year rather than the default value of 0.1 years. |
| Step 3 |
Change the value for Execute for from 100 to 10.
This is because we want to run the model for just 10 years at a time.
|
| Step 1 |
Select the graph-plot display.
Note the graph window that appears. This is initially scaled with default values on both axes, but will rescale itself as needed. You can re-size the panel containing the graph by dragging on the little boxes on the horizontal and vertical panel separators. |
| Step 2 |
Choose the variable you wish to have displayed.
|
| Step 1 |
Start the simulation.
Note the line that appears on the graph. |
| Step 2 |
Continue the simulation.
The simulation carries on for another 10 years. |
| Step 1 |
Return to the desktop canvas.
|
| Step 2 |
Make sure you are in
select mode.The simulation carries on for another 10 years. |
| Step 3 |
Change the interest rate from 10 to 15 per cent.
|
| Step 4 |
Run the model again
The model will automatically rebuild, re-initialise and run again. |
| Step 1 |
Save the model to file.
|
| Step 2 |
Clearing the model.
|
| Step 3 |
Loading a model from file.
|
You should see a box labelled comp1.