Simulation Lecture 1
Simulation Lecture 1
SYSTEMS
2023/2024
Gonçalo Figueira
João Alves
Beatriz Carrapatoso
Lecture Plan
What is simulation?
3
Introduction: queuing system
4
Introduction: queuing system M/M/1
5
Introduction: modeling
Modeling involves:
Systems can be modeled differently:
❖ Observing a system
❖ Physical model
❖ Understanding the key existing components and
❖ Analytical models
relationships (generally few variables determine the
global behavior of the system) ❖ Simulation models
❖ Developing a representation of the system (a model)
that will allow further studies
= 1
W=
−
n = P( N = n ) L = W =
−
= (1 − )
1
Wq = W − =
( − )
2
Lq = Wq =
( − )
6
Introduction: types of models
7
Introduction: modeling
At the end of the day… why is this so important?
❖
❖
❖
❖
❖
❖
8
Introduction: simulation
9
Introduction: pros
10
Introduction: cons
11
Introduction: wrong choices
12
Introduction: types of simulation
13
Introduction: abstraction levels
14
Introduction: simulation techniques
15
Introduction: simulation techniques
16
Introduction: simulation techniques
What is Multimethod Modelling? Multimethod Modeling
If a system is easily described as a process, use Having access to all methods simultaneously
gives the flexibility needed to successfully
a discrete-event approach. solve the any problem
17
Now let’s get back to reality…
18
Pretty much…
everywhere19
I’m going to show you two case-studies!
20
Supply Chain Simulation (example)
Project in the biggest retailer in Portugal
Highly complex supply chain
Difficult to find and filter improvement opportunities
21
Supply Chain Simulation (example)
❖ Thescope of the simulator covers warehouse operations, transportation
and store logistics
•
•
•
•
•
•
•
•
•
•
•
22
Supply Chain Simulation (example)
❖
•
•
•
•
•
•
•
•
•
•
•
23
Supply Chain Simulation (example)
• •
•
•
•
•
• • •
• •
24
Supply Chain Simulation (example)
❖
25
Supply Chain Simulation (example)
26
Layout Simulation (example)
0
1 2
27
Layout Simulation (example)
28
Layout Simulation (example)
0
1 2
29
Layout Simulation (example)
30
Layout Simulation (example)
•
•
•
•
•
•
31
Layout Simulation (example)
32
Or other type of realities in
which simulation is widely used…
33
Manufacturing
❖
❖
❖
❖
❖
❖
❖
❖
❖
❖
❖
34
Performance: Manufacturing context
Manufacturing Example:
❖ Total production of parts over the run (P )
❖ Average waiting time of parts in queue:
❖ Maximum waiting time of parts in queue:
❖ Average number of parts in queue
❖ Maximum number of parts in queue
❖ Average and maximum total time in system of parts (flow time)
❖ Utilization of the machine (proportion of time busy)
❖
❑
❑
❖
❑
❑
❑
36
Healthcare
❑ ❖
❖
❖
❖
37
Now that we’ve learnt about the
use of simulation in real cases…
38
Simulation modeling concepts
❖ Agent: an object of interest in the system (an actual agent
perceives, decides and acts within its environment)
❖ Parameter: a property of an entity
✓
✓
39
Concepts: example
❖ Goal:make improvements on a bank branch whose customers
are complaining over long waiting times.
❖ There are two tellers:
❖ Teller#1: Experienced Teller#2: Young, fresh graduate
❖2 Types of customers:
❖ complicated transactions that take a long time (L)
❖ standard transactions that take a short time (S)
T1
T2
❖
❖
❖
❖
❖
❖
❖
❖
41
How to perform a simulation study?
42
How to perform a simulation study?
3. Model 8. Experimental
conceptualization design
No
Yes Yes 9. Production
1. Problem 2. Definition of 5. Model
6. Verified? 7. Validated? and analysis
formulation the approach translation
No No
Yes Yes
4. Data collection 10. More runs?
No
11. Documentation
12. Implementation and reporting
43
THANK YOU!
QUESTIONS?