You are on page 1of 3

SIMULATION OF A

Cumulative Random-Number
Number of Arrivals Probability
Probability Interval
0 0.13 0.13 1 - 13
1 0.17 0.30 14 - 30
2 0.15 0.45 31 - 45
3 0.25 0.70 46 - 70
4 0.2 0.90 71 - 90
5 0.1 1.00 91 - 0

Number Delayed Number of Nightly


Day Random Number
from Previous Day Arrivals
1 0 18 1
2 0 28 1
3 0 30 1
4 0 31 2
5 0 19 1
6 0 92 5
7 2 48 3
8 2 92 5
9 5 84 4
10 7 98 5
11 9 57 3
12 9 86 4
13 10 79 4
14 11 76 4
15 11 43 2
AVERAGE 4.4 3

(a) Average number of barges delayed to the next day


4.4 barges
(b) average number of nightly arrivals
3 barges
(c) average number of barges unloaded each day.
3.2 barges
IMULATION OF A QUEUING PROBLEM

Cumulative
Daily Unloading Rate Probability
Probability
1 0.05 0.05
2 0.15 0.20
3 0.5 0.70
4 0.2 0.90
5 0.1 1.00

Total to be Unloaded Random Number Number Unloaded


1 0 5
1 17 2
1 91 5
2 88 4
1 23 3
5 21 3
5 52 3
7 11 2
9 11 2
12 52 3
12 70 3
13 57 3
14 48 3
15 73 4
13 54 3
7.4 3.2
Random-Number
Interval
1-5
6-20
21-70
71-90
91-0

You might also like