Sie sind auf Seite 1von 6

PROBLEM STATEMENT

A smal
this counter at random from 1 to 8 minutes apart. Each possible value of inter-arriva
service times vary from 1 to 6 minutes with probability shown below.

Service time 1 2 3 4 5
Probability 0.10 0.20 0.30 0.25 0.10

Develop simulation table for 10 customers.


Find the following
i) Average waiting time ii) Average service tim
iii) Average Inter arrival time iv) Average time cust
v) Probability that a customer ha
server
who wait

Consider the random digits for arrival as 913,727,015,948,309, 922, 753, 235
89, 38 sequentially.

SOLUTION

Inter arrival Cummulative


Probability Random Range
time (minutes) Probability

1 0.125 0.125 01-125


2 0.125 0.250 126-250
3 0.125 0.375 251-375
4 0.125 0.500 376-500
5 0.125 0.625 501-625
6 0.125 0.750 626-750
7 0.125 0.875 750-875
8 0.125 1.000 876-000
Table 1: Inter arrival time distribution
Random Interarrival
Customer
digits time (minutes)

1 -- --
2 913 8
3 727 6
4 15 1
5 948 8
6 309 3
7 922 8
8 753 7
9 235 2
10 302 3
Table 3: Interarrival time determination

TSB-AT

Time
Interarrival Arrival Service time Time Service customer
Customer
time time (AT) (ST) Begin (TSB) waits in
queue

1 -- 0 4 0 0
2 8 8 1 8 0
3 6 14 4 14 0
4 1 15 3 18 3
5 8 23 2 23 0
6 3 26 4 26 0
7 8 34 5 34 0
8 7 41 4 41 0
9 2 43 5 45 2
10 3 46 3 50 4
46 35 9
Table 5: Simulation table
i) Average waiting time= Total waiting time of customer / Total number of custome
0.9 minutes

ii) Average service time= Total service time / Total number of customer
3.5 minutes

iii) Average Inter arrival time= total interarrival time / Total number of customer-1
5.11 minutes

iv) Average time customer spends in the system= Total time customer spends in sys
4.4 minutes

v) Probability that a customer has to wait in a queue= Number of customer who wai
0.3

vi) Probabilaty of idle server= total idle time of customer / Total run time of simulat
0.34

vii) Average waiting time for those who wait= Total waiting time of customer / Num
3 minutes
A small shop has one checkout counter. Customers arrive at
lue of inter-arrival time has the same probability of occurrence. The
ow.

6
0.05

verage service time


Average time customer spends in the system
hat a customer has to wait in a queue vi) Probabilaty of idle
vii) Average waiting time for those

09, 922, 753, 235, 302 and service time as 84, 10, 74, 53, 17, 79, 91, 67,

Service time Cummulative Random


Probability
(minutes) Probability Range

1 0.10 0.10 01-10


2 0.20 0.30 11-30
3 0.30 0.60 31-60
4 0.25 0.85 61-85
5 0.10 0.95 86-95
6 0.05 1.00 96-00
Table 2: Service time distribution
Random Service time
Customer
digits (minutes)

1 84 4
2 10 1
3 74 4
4 53 3
5 17 2
6 79 4
7 91 5
8 67 4
9 89 5
10 38 3
Table 4: Service time determination

TSB+ST TSE-AT

Time
Time Service customer Idle time of
Ends (TSE) spends in server
system

4 4 0
9 1 4
18 4 5
21 6 0
25 2 2
30 4 1
39 5 4
45 4 2
50 7 0
53 7 0
44 18
le
mber of customer

omer

r of customer-1

mer spends in system / Total number of customer

ustomer who wait / Total number of customer

n time of simulation

f customer / Number of customer those who wait

Das könnte Ihnen auch gefallen