0% found this document useful (0 votes)
24 views12 pages

Step 1: Step Activity Clock Activity

The document describes a simulation of a queuing system with 100 customers. It provides data on the interval times between customer arrivals, random service times for each customer, and calculates the waiting times in the queue and idle times for the server. The simulation tracks each customer's arrival time, service start and end times, and waiting and idle times to analyze the performance of the queuing system.

Uploaded by

Hosna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views12 pages

Step 1: Step Activity Clock Activity

The document describes a simulation of a queuing system with 100 customers. It provides data on the interval times between customer arrivals, random service times for each customer, and calculates the waiting times in the queue and idle times for the server. The simulation tracks each customer's arrival time, service start and end times, and waiting and idle times to analyze the performance of the queuing system.

Uploaded by

Hosna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Step 1

Interval times Probility cummulative probability


1 0.2 0.2
2 0.2 0.4
3 0.2 0.6
4 0.2 0.8
5 0.2 1

Number of Customer = 100

Step 2:

Step Activity Clock Activity


Customer no Random no Interval time Arrival time Random no Service time
1 0 0 0.0682457438 1
2 0.29330466313 2 2 0.7859293624 4
3 0.48351375783 3 5 0.8340198635 4
4 0.81399187199 5 10 0.0880470787 1
5 0.34445312499 2 12 0.7562246841 4
6 0.04006933377 1 13 0.6453754026 3
7 0.43640352641 3 16 0.185871742 1
8 0.53406979529 3 19 0.3182847 2
9 0.46958208482 3 22 0.1441388101 1
10 0.86545012964 5 27 0.2458968727 2
11 0.7613562445 4 31 0.0615939813 1
12 0.22824138286 2 33 0.3025582045 2
13 0.46013439712 3 36 0.0553915475 1
14 0.7106073798 4 40 0.9755843483 4
15 0.99537344862 5 45 0.5338658425 2
16 0.05734442529 1 46 0.7125815251 4
17 0.35470922007 2 48 0.2716564043 2
18 0.56832064252 3 51 0.6614055952 3
19 0.61733003823 4 55 0.1699716286 1
20 0.67205390174 4 59 0.1459545349 1
21 0.81902568697 5 64 0.9272181628 4
22 0.54919330824 3 67 0.6720714286 3
23 0.69061056592 4 71 0.6321398925 3
24 0.41877164941 3 74 0.3545269932 2
25 0.86209874529 5 79 0.8313106769 4
26 0.4976190361 3 82 0.9109345609 4
27 0.12692003275 1 83 0.5420044054 2
28 0.61714979338 4 87 0.4146785566 2
29 0.54176251168 3 90 0.1257866588 1
30 0.00186931463 1 91 0.8292752447 4
31 0.99926823054 5 96 0.7492757705 4
32 0.25659808203 2 98 0.7601217507 4
33 0.42153318237 3 101 0.6609608871 3
34 0.02618523826 1 102 0.6473635973 3
35 0.105742439 1 103 0.3056545524 2
36 0.81239718039 5 108 0.0376779525 1
37 0.94893332252 5 113 0.5986492025 2
38 0.4261324212 3 116 0.0444184774 1
39 0.33512125595 2 118 0.0754422373 1
40 0.43435384526 3 121 0.0759043049 1
41 0.19500679823 1 122 0.1199589048 1
42 0.84257080521 5 127 0.2244232257 2
43 0.17601287234 1 128 0.2414727364 2
44 0.38941643422 2 130 0.0805743087 1
45 0.71576785527 4 134 0.2717265201 2
46 0.38754682396 2 136 0.6411951509 3
47 0.34339840216 2 138 0.6307385051 3
48 0.37909370654 2 140 0.4203093322 2
49 0.81516304734 5 145 0.489581524 2
50 0.60793765325 4 149 0.1139983304 1
51 0.02062062365 1 150 0.3028223454 2
52 0.14972570173 1 151 0.0858837777 1
53 0.14873988038 1 152 0.8835741223 4
54 0.94970576166 5 157 0.3913238059 2
55 0.50593043403 3 160 0.5518856235 2
56 0.38247876107 2 162 0.9167628132 4
57 0.93261323864 5 167 0.8363683459 4
58 0.24242872786 2 169 0.6062501282 3
59 0.27481174123 2 171 0.7180955724 4
60 0.74725275571 4 175 0.5168310292 2
61 0.38133379372 2 177 0.6942977516 3
62 0.16950557674 1 178 0.8419594519 4
63 0.24489251037 2 180 0.5071154358 2
64 0.6600738171 4 184 0.6395017103 3
65 0.40503464115 3 187 0.489758919 2
66 0.40526042938 3 190 0.0166810651 1
67 0.00921879514 1 191 0.2487763381 2
68 0.74055606851 4 195 0.9036260027 4
69 0.50819166825 3 198 0.6950949674 3
70 0.11841090001 1 199 0.9410099045 4
71 0.81718199459 5 204 0.8135384936 4
72 0.39521778784 2 206 0.5096758089 2
73 0.90419171831 5 211 0.6348692328 3
74 0.57904211583 3 214 0.2958536295 2
75 0.78332325163 4 218 0.3411365301 2
76 0.30063744717 2 220 0.4968359246 2
77 0.8189914182 5 225 0.5831540157 2
78 0.16658330072 1 226 0.7327186542 4
79 0.96188175583 5 231 0.0089552132 1
80 0.18993732813 1 232 0.961411287 4
81 0.14156434697 1 233 0.4486739215 2
82 0.58217743505 3 236 0.5758431406 2
83 0.35438597855 2 238 0.6179181499 3
84 0.24655568655 2 240 0.1051901441 1
85 0.60225376714 4 244 0.1260791268 1
86 0.84494375574 5 249 0.043452865 1
87 0.78713870336 4 253 0.9477735599 4
88 0.43073104695 3 256 0.0911068186 1
89 0.5730772773 3 259 0.9713607043 4
90 0.11404681129 1 260 0.4928662942 2
91 0.63584535968 4 264 0.0285129581 1
92 0.6193398547 4 268 0.4181780542 2
93 0.52164734506 3 271 0.0357059179 1
94 0.28236558781 2 273 0.8159405971 4
95 0.16218709597 1 274 0.6801674918 3
96 0.41182620999 3 277 0.3497352559 2
97 0.00306871257 1 278 0.4581438708 2
98 0.69946152908 4 282 0.6427038466 3
99 0.42517730736 3 285 0.8626891994 4
100 0.82416622746 5 290 0.9396499756 4

2.9 2.43
Service times Probility cummulative probability
1 0.2 0.2
2 0.4 0.6
3 0.1 0.7
4 0.3 1

Clock Clock Output Output


Time service begin Time service ends Waiting time in Queue Idle time
0 1 0 0
1 5 1 0
5 9 10 0
9 10 19 0
10 14 22 0
14 17 27 0
17 18 33 0
18 20 37 0
20 21 42 0
21 23 48 0
23 24 54 0
24 26 57 0
26 27 62 0
27 31 67 0
31 33 76 0
33 37 79 0
37 39 85 0
39 42 90 0
42 43 97 0
43 44 102 0
44 48 108 0
48 51 115 0
51 54 122 0
54 56 128 0
56 60 135 0
60 64 142 0
64 66 147 0
66 68 153 0
68 69 158 0
69 73 160 0
73 77 169 0
77 81 175 0
81 84 182 0
84 87 186 0
87 89 190 0
89 90 197 0
90 92 203 0
92 93 208 0
93 94 211 0
94 95 215 0
95 96 217 0
96 98 223 0
98 100 226 0
100 101 230 0
101 103 235 0
103 106 239 0
106 109 244 0
109 111 249 0
111 113 256 0
113 114 262 0
114 116 264 0
116 117 267 0
117 121 269 0
121 123 278 0
123 125 283 0
125 129 287 0
129 133 296 0
133 136 302 0
136 140 307 0
140 142 315 0
142 145 319 0
145 149 323 0
149 151 329 0
151 154 335 0
154 156 341 0
156 157 346 0
157 159 348 0
159 163 354 0
163 166 361 0
166 170 365 0
170 174 374 0
174 176 380 0
176 179 387 0
179 181 393 0
181 183 399 0
183 185 403 0
185 187 410 0
187 191 413 0
191 192 422 0
192 196 424 0
196 198 429 0
198 200 434 0
200 203 438 0
203 204 443 0
204 205 448 0
205 206 454 0
206 210 459 0
210 211 466 0
211 215 470 0
215 217 475 0
217 218 481 0
218 220 486 0
220 221 491 0
221 225 494 0
225 228 499 0
228 230 505 0
230 232 508 0
232 235 514 0
235 239 520 0
239 243 529 0

265.3
Clock
Time customer spend in system
1
5
14
20
26
30
34
39
43
50
55
59
63
71
78
83
87
93
98
103
112
118
125
130
139
146
149
155
159
164
173
179
185
189
192
198
205
209
212
216
218
225
228
231
237
242
247
251
258
263
266
268
273
280
285
291
300
305
311
317
322
327
331
338
343
347
350
358
364
369
378
382
390
395
401
405
412
417
423
428
431
436
441
444
449
455
463
467
474
477
482
488
492
498
502
507
510
517
524
533

267.73
0.861066 0.588638
0.879143 0.697219
0.683457 0.683486
0.91395 0.512934
0.02085 0.606325
0.590103 0.895184
0.801343 0.323461
0.04337 0.210823
0.74569 0.975086
0.267642 0.607571
0.477126 0.681375
0.541638 0.443068
0.102465 0.959981
0.757198 0.184703
0.869498 0.249529
0.571004 0.376336
0.267685 0.907825
0.643581 0.527603
0.114955 0.458036
0.965404 0.343387
0.183821 0.981027
0.606177 0.455308
0.392371 0.549584
0.270928 0.291773
0.823136 0.17234
0.74496 0.214796
0.705453 0.909589
0.724976 0.696693
0.139957 0.37913
0.872651 0.907637
0.127123 0.845422
0.74407 0.034968
0.74496 0.041493
0.416285 0.555111
0.036074 0.472977
0.844658 0.815374
0.237341 0.826364
0.387586 0.150292
0.587328 0.740212
0.728725 0.914624
0.169909 0.444756
0.119626 0.787311
0.70515 0.036677
0.71075 0.313291
0.806398 0.035622
0.736607 0.999129
0.691489 0.290946
0.893134 0.809805
0.402943 0.772471
0.938984 0.707889
0.802341 0.045356
0.518796 0.866163
0.658288 0.096242
0.676014 0.856089
0.18379 0.706915
0.823043 0.436923
0.406474 0.479928
0.282967 0.52389
0.28271 0.238107
0.195216 0.414504
0.554449 0.52389
0.151853 0.604063
0.707567 0.485093
0.969545 0.452224
0.05711 0.522545
0.991819 0.546723
0.953827 0.214219
0.449337 0.831685
0.387935 0.982704
0.810081 0.31786
0.36801 0.780838
0.458583 0.586481
0.136316 0.339974
0.381267 0.693911
0.185576 0.595449
0.203078 0.298298
0.435683 0.669197
0.392292 0.375038
0.098849 0.5888
0.238227 0.571867
0.64761 0.665997
0.328413 0.800951
0.424483 0.587537
0.941132 0.60979
0.434064 0.825269
0.829009 0.642754
0.390052 0.864271
0.390596 0.999372
0.531136 0.946355
0.425803 0.499735
0.25637 0.658002
0.378461 0.575969
0.384857 0.934644
0.607898 0.09141
0.140824 0.32785
0.096137 0.307371
0.014219 0.519547
0.639823 0.727424
0.361574 0.327598
0.639996 0.246818

You might also like