Lecture_1
Lecture_1
Marzieh Ghiyasinasab
1
Lecture 1: What is Simulation? +
Course Logistics
2
Agenda for this class
What is simulation?
Examples of simulation
Administration
Course goals
Grading
3
Simulation is …
4
Simulation involves …
5
Systems
What is a system?
A collection of entities that act and interact together toward the
accomplishment of some logical end. (Schmidt and Taylor, 1970)
Drilling Center
Drill Press
Arriving Departing
Blank Finished
Parts Parts
Queue
Part in Process
Example 2: Production System
a model is a representation of
the system/process under study
14
Classification of simulation models
Classification of simulation models according to input variables
– Deterministic (differential equations, mathematical programming) vs
– Stochastic (laws of probability, random events)
Static
Deterministic Stochastic
Discrete event
Differential equations simulation
Dynamic
15
Classification of simulation models
Models
Deterministic Stochastic
Discrete Continuous
16
Classification of Simulation
Models (based on AnyLogic)
Agent-based – “if there are many
independent objects”
System dynamics – “if there is only
information about global dependencies”
Discrete-event – “if a system is easily
described as a process’’
Mixed – if the system has all three of
the above
https://www.anylogic.com/use-of-simulation/multimethod-modeling/
Example 1: Airport
18
Example 2: Manufacturing
Raw materials and parts go through machines and conveyor belts, require storage
space
Machines require operators
Simulation:
https://www.youtube.com/watch?v=xtGZgSYBstI
19
Example 3: Healthcare
https://www.rockwellautomation.com/en-hu/company/news/blogs/arena-simulation-
software-can-improve-patient-care.html
20
Additional Examples
See textbooks
See
https://www.rockwellautomation.com/en-us/company/news/case-studies.html
21
Why would you
want to simulate?
22
Simulation and Analytics
A simulation model is also a predictive model: can be used for what-if analyses
Simulation models can also be part of prescriptive modelling when combined with
experimental design or optimization
(Rossetti 2021)
23
When to use simulation?
24
Example 1: Airport
25
Example 2: Manufacturing
26
Example 3: Healthcare
27
Advantages of simulation
After building the model, it is possible to use it frequently in order to analyse plans or future
policies.
Simulation techniques can be used to assist the analysis of any proposed system, even if the
input data is approximate and imperfect, or system does not exist.
Through using analytical models, the analyst can usually measure only a limited number of
measurement criteria of the system performance, while data generated from simulation
models is applicable to estimate any expected criterion of performance measurement.
Reduce the cost of real changes in the system
28
Disadvantages of simulation
29
Examples of Simulation software
Simio
Anylogic
ARENA
Introduced by Takus and Profozich in 1997
A generic discrete-event simulation language with a powerful graphical
interface.
Consists of module templates, constructed around
SIMAN language patterns, augmented by a visual front end
30
Simulation steps
31
Simulation Model Components
Entities Arena preview: all of
these are used in Arena!
Attributes
(Global) Variables
Resources
Queues
Statistical Accumulators
Events
Entities
Usually representations of real entities
(e.g., parts, customers)
Dynamic objects
Are created (e.g., simulate arrival)
Move around/change status for a while
(e.g., simulate activities)
Usually are disposed of (e.g., simulate
departure)
Entities
There might be only one kind of entity
but many realizations
For example, many different parts of the
same type
Attributes
Common characteristic of all entities
BUT
with a specific value that can differ from
one entity to another
Examples: colour, due date, priority
Arena preview: built-in
vs. user-defined variables
Variables
Reflect some characteristic of your
system
Attributes are entity labels;
variables are “the writing on wall”
Examples: # in the queue,
#of busy servers, simulation clock
Resources
Resources serve entities
Examples: personnel, equipment, space
An entity…
initially seizes some # of units of a
resource
later releases these units when service is
finished
Queues
If an entity needs a resource but the
resource is being used by another
entity, it has to wait in a queue
Example: physical space buffer in a
factory; virtual queue of patients
waiting for an appointment with a
specialist
System State
Blank parts
arrive at a Painting Drilling
rate of Center Center Departing
2/minute Finished
Parts
c
Course Structure,Logistics,etc.
46
Objectives
become familiar with the most popular tools of the simulation approach;
interpret the results obtained from the simulation and clearly understand the limitations regarding
the analysis of these results.
47
Course Material
48
Course Material
by Manuel D. Rossetti
based on “Simulation Modeling and Analysis” by A.
Law
49
Required Textbook
50
Other Useful Textbooks
51
Learning Arena – Why?
52
Arena Software
Before next class:
• Install/Access Arena
Student version: download at • Watch online tutorials
https://www.rockwellautomation.com/en-
us/products/software/arena-simulation/buying-
options/download.html
Full version: connect to Concordia labs
54
Learning Arena
55
Learning to Learn Software
56
Grading
GRADING POLICY
Evaluation Tool Weight
Individual Assignment(s)/quizzes 25%
Midterm 25%
Project 20%
Final 30%
Total 100%
Passing Criteria:
In order to pass the class (get a C), your cumulative score must be above 50%, and your
midterm score must be above 50%. Your final score must be above 50%.
Note that your grade on any part of the course may be verified by an oral exam
57
Course Questions:
Method I :
Post question on DISCUSSION BOARD!
If you have a question, chances are that other students do too!
You can reply to other students’ questions!
You can ask for further clarifications!
58
Lab questions
59
Course Rules
60
Rule #1
61
Rule #2
62
Rule #3
63
Rule #4
64
Rule #5
65
Assignment submission
66
Getting good grades
If you need to get a certain grade for any reason, ex. A+ or need to pass the course
What to do
Participate in classes and labs
Follow the lab handouts and practices
Be an active student
Work well on assignments and exams
Study well
Not to do ?
67
CRITICAL DATES (for the 2023 winter semester)
Date Week Topic
16-Jan 1 Introduction
23-Jan 2 Simulation Fundamentals: Logic, Hand Simulation,
Randomness
30-Jan 3 Arena Lab I
06-Feb 4 Arena Lab II
13-Feb 5 Validation, Input Analysis
20-Feb 6 Lab III: Validation and Input Analysis
05-March 7 Output Analysis
12-March 8 Midterm
19-March 9 Lab IV: Output Analysis
26-March 10 Random Number Generation and comparison of
alternatives
09-Apr 12 Presentations
68
Questions
51