You are on page 1of 2

Exercise 4: Simulation exercise4

Interarrival time = a + r(b-a)


where: r = random number between 0 and 1
a = minimum arrival time
b = maximum arrival time
Given: a= 1.5 ; b=5

1 2 3 4 5 6 7 8 9
Customer Random Interarrival Arrival Service Waiting Service Completion Time in
Numbers Time Time Start Time Time Time Time System
1 0.7625 4.17 4.17 4.17 0 2.75 6.92 2.75
2 0.7854 4.2489 8.42 8.42 0 2.55 10.97 2.55
3 0.9363 4.77705 13.2 13.2 0 2.15 15.35 2.15
4 0.7989 4.29615 17.5 17.5 0 2.78 20.28 2.78
5 0.759 4.1565 21.66 21.66 0 2.99 24.65 2.99
6 0.1467 2.01345 23.67 24.65 0.98 2.01 26.66 2.99
7 0.6635 3.82225 27.49 27.49 0 2.11 29.6 2.11
8 0.7018 3.9563 31.45 31.45 0 2.92 34.37 2.92
9 0.6411 3.74385 35.19 35.19 0 1.99 37.18 1.99
10 0.7021 3.95735 39.15 39.15 0 2.88 42.03 2.88
11 0.741 4.0935 43.24 43.24 0 1.99 45.23 1.99
12 0.7906 4.2671 47.51 47.51 0 1.89 49.4 1.89
TOTALS 47.51 0.98 29.01 29.99
AVERAG
E 3.96 0.08 2.42 2.5
OPERATING CHARACTERISTICS:
Number of customers waiting in line 1 Customer
Number of customers in the system 12 Customers
Probability of waiting 8.33%
Average time a customer waits in line .08
Average time a customer spends in the 2.50
system
End of simulation 49.4
Server utilisation rate 68.29%
RECOMMENDATION and Basis The server utilization rate did not 85%,
therefore, it is not recommended / there is no
need to add checkout counter

You might also like