IS 331
302.04K
Категория: ИнформатикаИнформатика

Modelling and Simulation IS 331. Lec (7)

1. IS 331

Faculty of Information Technology
Fall 2019-2020
Modelling and Simulation
IS 331
Lec (7)
By Dr. Alaa Zaghloul

2.

Single server Queuing system
modeling
Discrete event Simulation (DES)

3.

4.

Customers
1
2
3
4
5
6
7
8
9
Inter-arrivals Ai
0.74
4.57
0.38
6.39
3.72
1.02
1.26
1.63
2.60
Arrival Times
0.74
5.31
5.69
12.08
15.8
16.82 18.08 19.71 22.31
Queue Length
0
0
1
0
0
T enter Queue
-
-
5.69
-
-
16.82 18.08
22.31
T leave Queue
-
-
5.74
-
-
17.08 22.08
22.8
S1
5.74
S2
Delays
10.74 17.08
12.31
-
-
1
1
1
22.08 27.08
22.8
0.05
-
-
29.8
0.26
4
-
0.49

5.

Customers
10
11
12
13
14
15
16
17
18
Inter-arrivals Ai
3.20
1.09
3.12
0.58
5.23
7.32
1.29
0.28
0.24
Arrival Times
25.51
26.6
29.72
30.3
35.53 42.85 44.14 44.42 44.66
Queue Length
1
1
1
1
0
0
1
T enter Queue
25.51
29.72
30.3
35.53
-
-
44.42
T leave Queue
27.08
29.8
32.08
36.8
-
-
47.85
S1
32.08
S2
Delays
37.08
36.8
1.57
0.08
47.85
43.8
1.78
1.27
52.85
50.8
-
-
3.43

6.

Customers
19
20
21
22
23
24
25
Inter-arrivals Ai
8.65
3.15
1.20
6.12
1.74
2.46
3.14
Arrival Times
53.31 56.46 57.66 63.78
Queue Length
0
T enter Queue
-
57.66
T leave Queue
-
58.31
S1
58.31
63.31
S2
Delays
0
1
63.46
-
-
0.65
Average delays in the queue.
0.05+0.26+4+0.49+1.57+0.08+1.78+1.27+3.43+0.65
18
0.754 min/cust.

7.

8.

Customers
1
2
3
4
5
6
7
8
9
Inter-arrivals Ai
2.11
1.25
5.24
0.57
1.14
5.57
1.19
0.52
1.26
Arrival Times
2.11
3.36
8.6
9.17
10.31 15.88 17.07 17.59 18.85
Queue Length
0
0
0
1
1
0
T enter Queue
-
-
-
9.17
10.31
-
17.07 17.59
T leave Queue
-
-
-
9.36
14.6
-
20.6
21.88
S1
8.11
-
14.6
-
20.6
-
26.6
-
S2
-
9.36
-
15.36
-
21.88
-
27.88
Delays
-
-
-
0.19
4.29
-
3.53
4.29
1
2

9.

Customers
10
11
12
13
14
15
Inter-arrivals Ai
3.39
2.49
8.54
0.05
6.09
3.54
Arrival Times
Queue Length
16
17
18
22.24 24.73 33.27 33.32 39.41 42.95
1
2
0
1
0
0
T enter Queue
22.24 24.73
-
33.32
-
-
T leave Queue
26.6
27.88
-
33.88
-
-
S1
32.6
-
39.27
-
45.41
-
S2
-
33.88
-
39.88
-
48.95
Delays
4.36
3.15
-
0.56
-
-
Average delays in the queue.
0.19 + 4.29 + 3.53 + 4.29 + 4.36 + 3.15 + 0.56
14
1.455 min/cust.

10.

END
English     Русский Правила