Computer Science, Informatik 4 Communication and Distributed Systems
Simulation
“Discrete-Event System Simulation”
- Dr. Mesut Güneş
Simulation Discrete-Event System Simulation Dr. Mesut Gne Computer - - PowerPoint PPT Presentation
Computer Science, Informatik 4 Communication and Distributed Systems Simulation Discrete-Event System Simulation Dr. Mesut Gne Computer Science, Informatik 4 Communication and Distributed Systems Chapter 9 Verification and
Computer Science, Informatik 4 Communication and Distributed Systems
Computer Science, Informatik 4 Communication and Distributed Systems
Computer Science, Informatik 4 Communication and Distributed Systems 3 Chapter 9. Verification and Validation of Simulation Models
Computer Science, Informatik 4 Communication and Distributed Systems 4 Chapter 9. Verification and Validation of Simulation Models
Computer Science, Informatik 4 Communication and Distributed Systems 5 Chapter 9. Verification and Validation of Simulation Models
Computer Science, Informatik 4 Communication and Distributed Systems 6 Chapter 9. Verification and Validation of Simulation Models
Computer Science, Informatik 4 Communication and Distributed Systems 7 Chapter 9. Verification and Validation of Simulation Models
Computer Science, Informatik 4 Communication and Distributed Systems 8 Chapter 9. Verification and Validation of Simulation Models
Computer Science, Informatik 4 Communication and Distributed Systems 9 Chapter 9. Verification and Validation of Simulation Models
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
Computer Science, Informatik 4 Communication and Distributed Systems 10 Chapter 9. Verification and Validation of Simulation Models
Computer Science, Informatik 4 Communication and Distributed Systems 11 Chapter 9. Verification and Validation of Simulation Models
Computer Science, Informatik 4 Communication and Distributed Systems 12 Chapter 9. Verification and Validation of Simulation Models
Computer Science, Informatik 4 Communication and Distributed Systems 13 Chapter 9. Verification and Validation of Simulation Models
Computer Science, Informatik 4 Communication and Distributed Systems 14 Chapter 9. Verification and Validation of Simulation Models
Input Output
Output Input Model is viewed as an input-output transformation
Computer Science, Informatik 4 Communication and Distributed Systems 15 Chapter 9. Verification and Validation of Simulation Models
Computer Science, Informatik 4 Communication and Distributed Systems 16 Chapter 9. Verification and Validation of Simulation Models
Uncontrolled variables, X Controlled Decision variables, D
Computer Science, Informatik 4 Communication and Distributed Systems 17 Chapter 9. Verification and Validation of Simulation Models
Computer Science, Informatik 4 Communication and Distributed Systems 18 Chapter 9. Verification and Validation of Simulation Models
Y2 Average Delay [Minutes] Y5 Service Time [Minutes] Y4 Arrivals/Hour Replication
Computer Science, Informatik 4 Communication and Distributed Systems 19 Chapter 9. Verification and Validation of Simulation Models
Computer Science, Informatik 4 Communication and Distributed Systems 20 Chapter 9. Verification and Validation of Simulation Models
1 2 2
= n i i
1 2 2 2
=
n i i
2
critical
Computer Science, Informatik 4 Communication and Distributed Systems 21 Chapter 9. Verification and Validation of Simulation Models
Computer Science, Informatik 4 Communication and Distributed Systems 22 Chapter 9. Verification and Validation of Simulation Models
Computer Science, Informatik 4 Communication and Distributed Systems 23 Chapter 9. Verification and Validation of Simulation Models
For the same error probability with smaller difference the required sample size increses!
Computer Science, Informatik 4 Communication and Distributed Systems 24 Chapter 9. Verification and Validation of Simulation Models
Associated Risk Modeling Terminology Statistical Terminology
Failure to reject an invalid model Type II: failure to reject H0 when H1 is true
Rejecting a valid model Type I: rejecting H0 when H0 is true
Computer Science, Informatik 4 Communication and Distributed Systems 25 Chapter 9. Verification and Validation of Simulation Models
2
α
Computer Science, Informatik 4 Communication and Distributed Systems 26 Chapter 9. Verification and Validation of Simulation Models
ε is a difference value chosen by the analyst, that is small enough to allow valid decisions to be based on simulations!
Computer Science, Informatik 4 Communication and Distributed Systems 27 Chapter 9. Verification and Validation of Simulation Models
5 , 025 .
Computer Science, Informatik 4 Communication and Distributed Systems 28 Chapter 9. Verification and Validation of Simulation Models
Computer Science, Informatik 4 Communication and Distributed Systems 29 Chapter 9. Verification and Validation of Simulation Models
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.
Computer Science, Informatik 4 Communication and Distributed Systems 30 Chapter 9. Verification and Validation of Simulation Models