Simulation Exercise 1

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Exercise 1: Simulation exercise1

Given the minimum arrival time of 1 minute and the maximum arrival time of 3 minutes,
complete the table below. Also, management wants to know if there is a need for them to open
another channel. Justify your recommendation.
Interarrival time = a + r(b-a)
where: r = random number between 0 and 1
a = minimum arrival time
b = maximum arrival time

1 2 3 4 5 6 7 8 9

Custom Random Inter Arrival Service Waiting Service Complet Time in


er number arrival time Start time (5- time ion time System
s time time 4) (5+7) (8-4) or
(6+7)
1 0.0692 1.1384 1.1384 1.1384 0 1.20 2.3384 1.2000

2 0.1026 1.2052 2.3436 2.3436 0 1.03 3.3736 1.0300

3 0.2809 1.5618 3.9054 3.9054 0 3.05 6.9554 3.0500

4 0.8747 2.7494 6.6548 6.9554 0.3006 2.90 9.8554 3.2006

5 0.0074 1.0148 7.6696 9.8554 2.1858 4.40 14.2554 6.5858

6 0.1334 1.2668 8.9364 14.2554 5.3190 0.50 14.7554 5.8190

7 0.2603 1.5206 10.4570 14.7554 4.2984 0.35 15.1054 4.6484

8 0.6734 2.3468 12.8038 15.1054 2.3016 0.95 16.0554 3.2516

9 0.0945 1.1890 13.9928 16.0554 2.0626 1.25 17.3054 3.3126

10 0.7952 2.5904 16.5832 17.3054 0.7222 1.75 19.0554 2.4722

11 0.3189 1.6378 18.2210 19.0554 0.8344 2.10 21.1554 2.9344

12 0.7718 2.5436 20.7646 21.1554 0.3908 1.58 22.7354 1.9708

13 0.2329 1.4658 22.2304 22.7354 0.5050 1.88 24.6154 2.3850

14 0.8492 2.6984 24.9288 24.9288 0 2.60 27.5288 2.6000

15 0.0378 1.0756 26.0044 27.5288 1.5244 2.40 29.9288 3.9244

TOTAL 5.5022
26.0044 196.6342 217.0790 20.4448 27.9400 245.0190 48.3848
S
Average 0.3668
1.7336 13.1089 14.4719 1.3630 1.8627 16.3346 3.2257
s
OPERATING CHARACTERISTICS:
Number of customers waiting in line 11
Number of customers in the system 15
Probability of waiting 0.7333
Average time a customer waits in line 1.3630
Average time a customer spends in the system 1.8627

End of simulation 29.9288


Server utilisation rate 1.0127
RECOMMENDATION and Basis:

You might also like