Lab 1 - Get Start With Stella Architect
Lab 1 - Get Start With Stella Architect
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 1
Let's protect the environment
Lecture notes are subject to change before
the class for further improvement
(Ver. 31 August 2023)
Acknowledgement
The preparation of this module has been made possible by the support from IE2141
teaching team, and the past teaching materials developed by A/Prof. Aaron Chia.
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 2
Learning Outcome
▪ Familiarizing with STELLA software;
▪ Drawing of causal-loop diagrams and stock-flow diagrams;
▪ Building and running a system dynamics (SD) model;
▪ Creating graphs, tables, and the interface with an SD model
example.
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 3
What is Stella Architect
▪ Stella Architect is the definitive modeling tool to create
professional simulations and presentations. Seamlessly create,
design, and publish models to share with anyone, anywhere,
anytime.
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 4
New Model / CLD – Edit Mode
Model Setting
Menu and Buttons
Model Panel
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 5
Drawing CLD
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 6
Drawing CLD
Click to create
variables
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 7
Drawing CLD
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 8
Drawing CLD – Exercise
▪ Draw the following CLD using STELLA Architect
Ctrl+V
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 10
Create Stocks
1) Select Non-Negative Stock from
the drop-down menu
2) Click the Stock button to create it
3) Drop it on the model panel
4) Click the name of the stock to
rename it
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 11
Create Inflows and Outflows
1) Select Flow from the drop-down
menu
2) Click the Flow button to create it
3) Drop it on the model panel and
drag it from/to the Stock to
connect
4) Click the name of the flow to
rename it
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 12
Create Converters
1) Select Converter from the
drop-down menu
2) Click the Converter button to
create it
3) Drop it on the model panel
4) Click the name of the
converter to rename it
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 13
Create Connectors
1) Select Connector from the
drop-down menu
2) Click the Connector button to
create it
3) Drop it on the model panel
where it connects from
4) Drag it to where it connects to
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 14
Build and Run SD Model
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 15
Model Setting
▪ Simulation run can be
controlled by Run Specs for
▪ Start Time
▪ Stop Time
▪ DT (delta time, time interval)
▪ Sim Duration (map to real clock time)
▪ Time Units (for Start Time, Stop Time,
and DT)
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 16
View Equation Layer
▪ Shift from Map View to Model
View to show the equation
layer
▪ All unset equations are
highlighted
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 17
View Equation Layer
1) Click Population stock
2) On the right panel, select Equation
tab at the bottom
3) Set Equation (i.e., initial value for
Stocks) as 25
4) Set units as “Fish”
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 18
View Equation Layer
▪ Set equation for Birth Rate as
Empty
0.05 Per Month
▪ Pay attention to the Required
Inputs, and Units
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 19
View Equation Layer
▪ Set equation for Births as Connected by
connectors
Population * Birth_Rate
▪ Pay attention to the Required
Inputs, and Units
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 20
View Equation Layer
▪ Set equation for Reference
Empty
Lifetime as 32 Months
▪ Pay attention to the Required
Inputs, and Units
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 21
View Equation Layer
▪ Set equation for Births as Connected by
connectors
Population * Birth_Rate
▪ Pay attention to the Required
Inputs, and Units
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 22
View Equation Layer
▪ Set equation for Deaths as Connected by
connectors
Population / Reference_Lifetime
▪ Pay attention to the Required
Inputs, and Units
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 23
Run the Model
▪ The SD model can be run once all initial values and equations
are set.
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 24
Graphs and Tables
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 25
Add a Graph
▪ Click the Graph button to
create it
▪ Drop on the model panel
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 26
Add a Graph
▪ On the right panel, select the
Graph Series Settings
▪ Click “ ” button to add a new
series and then select “Population”
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 27
Add a Graph
▪ Multiple series can be added to
the same Graph
▪ The Min/Max Y Value can be
adjusted for each Graph
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 28
Add a Table
▪ Click the Table button to
create it
▪ Drop on the model panel
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 29
Add a Table
▪ On the right panel, select the
Settings tab
▪ Click “ ” button to add a new
item and then select “Population”
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 30
Add a Graph
▪ Multiple items can be added to
the same Table
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 31
Adjust Run Specs
▪ Adjust the Run Specs as follows, and run the model again
to observe a curve on the graph for a longer period
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 32
Interface
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 33
Create Interface
▪ Click “Open Interface Window” button to create an interface for
the model
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 34
Create Interface
▪ A separate window is opened to edit the interface
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 35
Create Interface
▪ Insert and edit the text
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 36
Create Interface
▪ Insert an image from files
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 37
Create Interface
▪ Add a Graph
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 38
Create Interface
▪ Add a Button to Run the simulation
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 39
Create Interface
▪ Add the model onto the interface
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 40
Create Interface
▪ Add Knob and Slider for Variables (converters)
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 41
View the Final Interface
▪ To view your interface, select Interface > Present > Full Screen
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 42
Lab Assignment
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 43
Lab 1 Assignment
▪ Build and run the SD Model as shown in class, based on initial
values and equations mentioned in the slides;
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 44
Lab 1 Assignment
Remarks:
▪ Two days to complete.(Check due time on Canvas)
▪ Only the last attempt will be taken.
▪ Although team discussion is allowed, individual submission
is required.
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 45
Let's protect the environment
Lecture notes are subject to change before
the class for further improvement
THANK YOU
The preparation of this module has been made possible by
the support from IE2141 teaching team, and the past
teaching materials developed by A/Prof. Aaron Chia.
IE2141 Systems Thinking and Dynamics – ISEM Department, National University of Singapore 46