Computer Science, Informatik 4 Communication and Distributed Systems
Simulation
Modeling and Performance Analysis with Discrete-Event Simulation g y
- Dr. Mesut Güneş
Simulation Modeling and Performance Analysis with Discrete-Event - - PowerPoint PPT Presentation
Computer Science, Informatik 4 Communication and Distributed Systems Simulation Modeling and Performance Analysis with Discrete-Event Simulation g y Dr. Mesut Gne Computer Science, Informatik 4 Communication and Distributed Systems
Computer Science, Informatik 4 Communication and Distributed Systems
Computer Science, Informatik 4 Communication and Distributed Systems
Introduction to Simulation
Computer Science, Informatik 4 Communication and Distributed Systems
System System
How to evaluate? Experiments Analysis Simulation Develop a mathematical Develop a computer program Use existing instance of the system to perform performance measurements. abstraction of the system and derive formulas which describe the system performance. which implements a model of the system. Perform experiments by running the computer program.
Chapter 1. Introduction to Simulation 3
Computer Science, Informatik 4 Communication and Distributed Systems
Other course from Informatik 4 Modeling and Evaluation of Communication Systems
B ild th b h i f t ithi
Chapter 1. Introduction to Simulation 4
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 1. Introduction to Simulation 5
Computer Science, Informatik 4 Communication and Distributed Systems
System Experiment with the actual system Experiment with a model of the system Physical Model Mathematical Model Analytical Model Simulation
Chapter 1. Introduction to Simulation 6
Computer Science, Informatik 4 Communication and Distributed Systems
Wooden mechanical horse simulator during WW1
A soldier in a heavy-wheeled-vehicle driver simulator
driver simulator
Chapter 1. Introduction to Simulation 7
Computer Science, Informatik 4 Communication and Distributed Systems
1 n
Truck Truck Truck Truck
k k k k
Truc Truc Truc
ck ck ck
Chapter 1. Introduction to Simulation 8
Computer Science, Informatik 4 Communication and Distributed Systems
Top
Chapter 1. Introduction to Simulation 9
Computer Science, Informatik 4 Communication and Distributed Systems
Top
Chapter 1. Introduction to Simulation 10
Experiment 1: Leader falls down from the wall
Computer Science, Informatik 4 Communication and Distributed Systems
Top
Chapter 1. Introduction to Simulation 11
Experiment 2: Leader slides down on the wall
Computer Science, Informatik 4 Communication and Distributed Systems
Client 1
Network (Internet)
Client k
Chapter 1. Introduction to Simulation 12
Computer Science, Informatik 4 Communication and Distributed Systems
Mobile node Communication range Source node Relay node Destination node
Chapter 1. Introduction to Simulation 13
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 1. Introduction to Simulation 14
Computer Science, Informatik 4 Communication and Distributed Systems
1000
600 800
200 400
400 800 600 200 200
2E-6
200 400 x 600 5E-7 1E-6 1,5E-6
Chapter 1. Introduction to Simulation 15 600 800 200 400 600 800 1000 1000 y
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 1. Introduction to Simulation 16
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 1. Introduction to Simulation 17
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 1. Introduction to Simulation 18
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 1. Introduction to Simulation 19
Computer Science, Informatik 4 Communication and Distributed Systems
behavior behavior
Chapter 1. Introduction to Simulation 20
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 1. Introduction to Simulation 21
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 1. Introduction to Simulation
22
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 1. Introduction to Simulation 23
Computer Science, Informatik 4 Communication and Distributed Systems
System Entities Attributes Activities Events State Variables Banking Customers Checking- account balance Making deposits Arrival; departure Number of busy tellers Number of waiting customer customer Rapid rail Riders Source Destination Traveling Arrival at station Arrival at Number of riders at each station Number of rider in destination transit Production Machines Speed Capacity Breakdown rate Welding Stamping Breakdown Status of machines Breakdown rate Communications Messages Length Destination Transmitting Arrival at destination Number of waiting messages to be transmitted Inventory Warehouse Capacity Withdrawing Demand Levels of inventory f
Chapter 1. Introduction to Simulation 24
Mobility model Node Position Velocity Travel End of movement Position Velocity
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 1. Introduction to Simulation 25
Computer Science, Informatik 4 Communication and Distributed Systems
for the purpose of studying the system.
the system that affect the problem under investigation Input Output investigation
simulate to much detail rather than too little Thus one should always design the
Input Output
model around the question to be answered rather than imitate the real system exactly.” [Shannon, 1975]
study.
O(t) I(t)
notation and mathematical equations to represent a system.
Chapter 1. Introduction to Simulation 26
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 1. Introduction to Simulation 27
Computer Science, Informatik 4 Communication and Distributed Systems
⎞ ⎛
2
G G λ
⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ − =
2 2 2
) 4 ( log 10 ) ( d G G d PL
r t dB
π λ
d
measured mean signal strength theoretical signal strength strong signal
Measurements in Computer Science Department, Informatik 4
al strength [dBm]
received signa
Chapter 1. Introduction to Simulation
28
5 10 15 20 25
55 distance from access point [m] weak signal
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 1. Introduction to Simulation 29
Computer Science, Informatik 4 Communication and Distributed Systems
Models static dynamic deterministic stochastic continuous discrete
Chapter 1. Introduction to Simulation 30
continuous discrete
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 1. Introduction to Simulation 31
Computer Science, Informatik 4 Communication and Distributed Systems
2
Chapter 1. Introduction to Simulation 32
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 1. Introduction to Simulation
33
Computer Science, Informatik 4 Communication and Distributed Systems
1. Problem formulation
Clearly understand problem
2. Setting of objectives and overall project plan
3. Model conceptualization
4. Data collection
Are random distributions appropriate?
5. Model translation
6. Verified?
7 Validated? 7. Validated?
8. Experimental design
p
9. Production runs and analysis 10. More runs? 11. Documentation and reporting
Chapter 1. Introduction to Simulation 34
g gy
12. Implementation
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 1. Introduction to Simulation 35
Computer Science, Informatik 4 Communication and Distributed Systems
Chapter 1. Introduction to Simulation 36