Computer Science, Informatik 4 Communication and Distributed Systems
Simulation Simulation
Modeling and Performance Analysis with Discrete-Event Simulation g y
- Dr. Mesut Güneş
Simulation Simulation Modeling and Performance Analysis with - - PowerPoint PPT Presentation
Computer Science, Informatik 4 Communication and Distributed Systems Simulation Simulation Modeling and Performance Analysis with Discrete-Event Simulation g y Dr. Mesut Gne Computer Science, Informatik 4 Communication and Distributed
Computer Science, Informatik 4 Communication and Distributed Systems
Computer Science, Informatik 4 Communication and Distributed Systems
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 3
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 4
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 5
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 6
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 7
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 8
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 9
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 10
Computer Science, Informatik 4 Communication and Distributed Systems
Definition of Variables: CLOCK = Simulation clock EVTYP = Event type (Start, Arrival, Departure, Stop) NCUST = Number of customers in system at time CLOCK STATUS = Status of server (1=busy, 0=idle) State of System Just After the Named Event Occurs: CLOCK = 0 EVTYP = Start NCUST=0 STATUS = 0 CLOCK = 3 EVTYP = Arrival NCUST=1 STATUS = 0 CLOCK = 5 EVTYP = Depart NCUST=0 STATUS = 0 CLOCK = 11 EVTYP = Arrival NCUST=1 STATUS = 0 CLOCK = 12 EVTYP = Arrival NCUST=2 STATUS = 1 CLOCK = 16 EVTYP = Depart NCUST=1 STATUS = 1 There is a customer, but the status is 0
Chapter 10. Verification and Validation of Simulation Models 11
...
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 12
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 13
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 14
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 15
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 16
Computer Science, Informatik 4 Communication and Distributed Systems
Input Output
Input Output Model is viewed as an input-output O I input output transformation
Chapter 10. Verification and Validation of Simulation Models 17
Output Input
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 18
Computer Science, Informatik 4 Communication and Distributed Systems
Uncontrolled
11, 12,
Uncontrolled variables, X
Controlled Decision variables, D
Chapter 10. Verification and Validation of Simulation Models 19
3
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 20
Computer Science, Informatik 4 Communication and Distributed Systems
Replication Y4 Arrivals/Hour Y5 Service Time [Minutes] Y2 Average Delay [Minutes]
Chapter 10. Verification and Validation of Simulation Models 21
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 22
Computer Science, Informatik 4 Communication and Distributed Systems
1 2 2
= n i i
minutes 82 . 1 ) (
1 2 2 2
= − − = ∑
=
n Y Y S
n i i
1 n
test) sided
a (for
2
critical
Chapter 10. Verification and Validation of Simulation Models 23
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 24
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 25
Computer Science, Informatik 4 Communication and Distributed Systems
For the same error For the same error probability with smaller difference the required sample size increases!
Chapter 10. Verification and Validation of Simulation Models 26
Computer Science, Informatik 4 Communication and Distributed Systems
Statistical Terminology Modeling Terminology Associated Risk Statistical Terminology Modeling Terminology Associated Risk Type I: rejecting H0 when H0 is true Rejecting a valid model
Type II: failure to reject H0 when H1 is true Failure to reject an invalid model
Chapter 10. Verification and Validation of Simulation Models 27
Computer Science, Informatik 4 Communication and Distributed Systems
2 2
α α
Chapter 10. Verification and Validation of Simulation Models 28
Computer Science, Informatik 4 Communication and Distributed Systems
ε is a difference value chosen by the analyst that is small
by the analyst, that is small enough to allow valid decisions to be based on simulations!
Chapter 10. Verification and Validation of Simulation Models 29
Computer Science, Informatik 4 Communication and Distributed Systems
5 , 025 .
Chapter 10. Verification and Validation of Simulation Models 30
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 31
Computer Science, Informatik 4 Communication and Distributed Systems
D ib d b Al T i i 1950 A h j d i i l d i t l l
Described by Alan Turing in 1950. A human jugde is involved in a natural language conversation with a human and a machine. If the judge cannot reliably tell which of the partners is the machine, then the machine has passed the test.
Chapter 10. Verification and Validation of Simulation Models 32
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 10. Verification and Validation of Simulation Models 33