You are on page 1of 17

PROBLEMA 1

Waiting Lines M/M/1 (Single Server Model)


The
The arrival
arrival RATE
RATE and
and service
service RATE
RATE both both must
must be
be rates
rates and
and use
use the
the same
same time
time unit.
unit. Given
Given aa time
time
such
such as
as 10
10 minutes,
minutes, convert
convert itit to
to aa rate
rate such
such as
as 66 per
per hour.
hour.
Data Results
Arrival rate (l) 0.06666667 Average server utilization(r) 0.6666666667
Service rate (m) 0.1 Average number of customers in the queue(Lq) 1.3333333333
Number of servers 1 Average number of customers in the system(L) 2
Average waiting time in the queue(Wq) 20
Average time in the system(W) 30
Probability (% of time) system is empty (P0) 0.3333333333

Probabilities
Number Probability Cumulative Probability
0 0.333333 0.333333
1 0.222222 0.555556
2 0.148148 0.703704
3 0.098765 0.802469
4 0.065844 0.868313
5 0.043896 0.912209
6 0.029264 0.941472
7 0.019509 0.960982
8 0.013006 0.973988
9 0.008671 0.982658
10 0.005781 0.988439
11 0.003854 0.992293
12 0.002569 0.994862
13 0.001713 0.996575
14 0.001142 0.997716
15 0.000761 0.998478
16 0.000507 0.998985
17 0.000338 0.999323
18 0.000226 0.999549
19 0.000150 0.999699
20 0.000100 0.999800
PROBLEMA 1 E

Waiting Lines M/M/1 (Single Server Model)


The
The arrival
arrival RATE
RATE and
and service
service RATE
RATE both both must
must be
be rates
rates and
and use
use the
the same
same time
time unit.
unit. Given
Given aa time
time
such
such as
as 10
10 minutes,
minutes, convert
convert itit to
to aa rate
rate such
such as
as 66 per
per hour.
hour.
Data Results
Arrival rate (l) 0.1 Average server utilization(r) 1
Service rate (m) 0.1 Average number of customers in the queue(Lq) #DIV/0!
Number of servers 1 Average number of customers in the system(L) #DIV/0!
Average waiting time in the queue(Wq) #DIV/0!
Average time in the system(W) #DIV/0!
Probability (% of time) system is empty (P0) 0
The service rate must be greater than the arrival rate

Probabilities
Number Probability Cumulative Probability
0 0.000000 0.000000
1 0.000000 0.000000
2 0.000000 0.000000
3 0.000000 0.000000
4 0.000000 0.000000
5 0.000000 0.000000
6 0.000000 0.000000
7 0.000000 0.000000
8 0.000000 0.000000
9 0.000000 0.000000
10 0.000000 0.000000
11 0.000000 0.000000
12 0.000000 0.000000
13 0.000000 0.000000
14 0.000000 0.000000
15 0.000000 0.000000
16 0.000000 0.000000
17 0.000000 0.000000
18 0.000000 0.000000
19 0.000000 0.000000
20 0.000000 0.000000
EJERCICIO 2

Waiting Lines M/M/1/K (Finite Queue/System)


The
The arrival
arrival RATE
RATE and
and service
service RATE
RATE both both must
must be
be rates
rates and
and use
use the
the same
same time
time unit.
unit. Given
Given aa time
time
such
such as
as 10
10 minutes,
minutes, convert
convert itit to
to aa rate
rate such
such as
as 66 per
per hour.
hour.
Data Results
Arrival rate (l) 0.05 Maximum utilization 0.1
Service rate (m) 0.5 Average number of customers in the queue(Lq) 0.011111
Maximum system size (k) 6 Average number of customers in the system(L) 0.11111
Average waiting time in the queue(Wq) 0.22221
Average time in the system(W) 2.22221
Probability (% of time) system is empty (P0) 0.9
Probability (% of time) system is full (Pk) 9E-07
Effective arrival rate 0.05
Effective utilization 0.1

Probabilities
Number Probability Cumulative Probability
0 0.9000 0.9000
1 0.0900 0.9900
2 0.0090 0.9990
3 0.0009 0.9999
4 0.0001 1.0000
5 0.0000 1.0000
6 0.0000 1.0000
7
8
9
10
11
12
13
14
15
16
17
18
19
20
PROBLEMA 3

Waiting Lines M/M/1 (Single Server Model)


The
The arrival
arrival RATE
RATE and and service
service RATE
RATE both
both must
must be
be rates
rates and
and use
use the
the same
same time
time unit.
unit. Given
Given aa time
time such
such as
as 10
10
minutes,
minutes, convert
convert itit to
to aa rate
rate such
such as
as 66 per
per hour.
hour.
Data Results
Arrival rate (l) 0.5 Average server utilization(r)
Service rate (m) 0.6 Average number of customers in the queue(Lq)
Number of servers 1 Average number of customers in the system(L)
Average waiting time in the queue(Wq)
Average time in the system(W)
Probability (% of time) system is empty (P0)

Probabilities
Number Probability Cumulative Probability
0 0.166667 0.166667
1 0.138889 0.305556
2 0.115741 0.421296
3 0.096451 0.517747
4 0.080376 0.598122
5 0.066980 0.665102
6 0.055816 0.720918
7 0.046514 0.767432
8 0.038761 0.806193
9 0.032301 0.838494
10 0.026918 0.865412
11 0.022431 0.887843
12 0.018693 0.906536
13 0.015577 0.922113
14 0.012981 0.935095
15 0.010818 0.945912
16 0.009015 0.954927
17 0.007512 0.962439
18 0.006260 0.968699
19 0.005217 0.973916
20 0.004347 0.978263
e such
such as
as 10
10

0.8333333333
4.1666666667
5
8.3333333333
10
0.1666666667
EJERCICIO 3

Waiting Lines M/M/s


The
The arrival
arrival RATE
RATE and
and service
service RATE
RATE both both must
must be
be rates
rates and
and use
use the
the same
same time
time unit.
unit. Given
Given aa time
time
such
such as
as 10
10 minutes,
minutes, convert
convert itit to
to aa rate
rate such
such as
as 66 per
per hour.
hour.
Data Results
Arrival rate (l) 0.5 Average server utilization(r) 0.416667
Service rate (m) 0.6 Average number of customers in the queue(Lq) 0.17507
Number of servers(s) 2 Average number of customers in the system(L) 1.008403
Average waiting time in the queue(Wq) 0.35014
Average time in the system(W) 2.016807
Probability (% of time) system is empty (P0) 0.411765

Probabilities
Number Probability Cumulative Probability
0 0.411765 0.411765
1 0.343137 0.754902
2 0.142974 0.897876
3 0.059572 0.957448
4 0.024822 0.982270
5 0.010342 0.992613
6 0.004309 0.996922
7 0.001796 0.998717
8 0.000748 0.999466
9 0.000312 0.999777
10 0.000130 0.999907
11 0.000054 0.999961
12 0.000023 0.999984
13 0.000009 0.999993
14 0.000004 0.999997
15 0.000002 0.999999
16 0.000001 1.000000
17 0.000000 1.000000
18 0.000000 1.000000
19 0.000000 1.000000
20 0.000000 1.000000 term2 P0(s)
0 1.000000
1 0.83333333 1 5 0.166667
2 0.34722222 1.833333333 0.5952380952 0.411765
3 0.09645062 2.180555556 0.1335470085 0.432133
4 0.02009388 2.277006173 0.0253817414 0.434332
5 0.00334898 2.297100051 0.0040187757 0.434571
6 0.00046514 2.300449031 0.000540158 0.434596
7 5.5373E-05 2.300914167 6.28562268544264E-05 0.434598
8 5.7681E-06 2.300969541 6.43876077966162E-06 0.434598
9 5.3408E-07 2.300975309 5.88577197120429E-07 0.434598
10 4.4507E-08 2.300975843 4.85526644089242E-08 0.434598
11 3.3717E-09 2.300975887 3.64808270832081E-09 0.434598
12 2.3415E-10 2.300975891 2.51620358669798E-10 0.434598
13 1.5009E-11 2.300975891 1.60374467569221E-11 0.434598
14 8.9342E-13 2.300975891 9.49962360642089E-13 0.434598
15 4.9634E-14 2.300975891 5.25539401195553E-14 0.434598
16 2.5851E-15 2.300975891 2.72715806481209E-15 0.434598
17 1.2672E-16 2.300975891 1.33253535168546E-16 0.434598
18 5.8667E-18 2.300975891 6.15152908402292E-18 0.434598
19 2.5731E-19 2.300975891 2.69116333526317E-19 0.434598
20 1.0721E-20 2.300975891 1.11875211115059E-20 0.434598
21 4.2545E-22 2.300975891 4.43031999939112E-22 0.434598
22 1.6116E-23 2.300975891 1.67500537409801E-23 0.434598
23
24
25
26
27
28
29
30
Rho(s) Lq(s) L(s) Wq(s) W(S)

0.8333333333 4.1666666667 5 8.3333333333 10


0.4166666667 0.175070028 1.0084033613 0.350140056 2.0168067227
0.2777777778 0.0221961787 0.855529512 0.0443923574 1.7110590241
0.2083333333 0.0029010774 0.8362344108 0.0058021549 1.6724688215
0.1666666667 0.0003492888 0.8336826222 0.0006985777 1.6673652444
0.1388888889 0.000037863 0.8333711963 7.572592E-05 1.6667423926
0.119047619 3.691512E-06 0.8333370248 0.000007383 1.6666740497
0.1041666667 3.253807E-07 0.8333336587 6.507613E-07 1.6666673174
0.0925925926 2.610149E-08 0.8333333594 5.220298E-08 1.6666667189
0.0833333333 1.918264E-09 0.8333333353 3.836527E-09 1.6666666705
0.0757575758 1.299549E-10 0.8333333335 2.599099E-10 1.6666666669
0.0694444444 8.160728E-12 0.8333333333 1.632146E-11 1.6666666667
0.0641025641 4.773867E-13 0.8333333333 9.547734E-13 1.6666666667
0.0595238095 2.612987E-14 0.8333333333 5.225974E-14 1.6666666667
0.0555555556 1.34352E-15 0.8333333333 2.687041E-15 1.6666666667
0.0520833333 6.512187E-17 0.8333333333 1.302437E-16 1.6666666667
0.0490196078 2.985142E-18 0.8333333333 5.970283E-18 1.6666666667
0.0462962963 1.297788E-19 0.8333333333 2.595576E-19 1.6666666667
0.0438596491 5.365022E-21 0.8333333333 1.073004E-20 1.6666666667
0.0416666667 2.113946E-22 0.8333333333 4.227893E-22 1.6666666667
0.0396825397 7.956236E-24 0.8333333333 1.591247E-23 1.6666666667
0.0378787879 2.865962E-25 0.8333333333 5.731924E-25 1.6666666667
EJ33

Waiting Lines M/M/s


The
The arrival
arrival RATE
RATE and and service
service RATE
RATE both
both must
must be
be rates
rates and
and use
use the
the same
same time
time unit.
unit. Given
Given aa time
time such
such as
as 10
10
minutes,
minutes, convert
convert itit to
to aa rate
rate such
such as
as 66 per
per hour.
hour.
Data Results
Arrival rate (l) 0.5 Average server utilization(r)
Service rate (m) 0.6 Average number of customers in the queue(Lq)
Number of servers(s) 3 Average number of customers in the system(L)
Average waiting time in the queue(Wq)
Average time in the system(W)
Probability (% of time) system is empty (P0)

Probabilities
Number Probability Cumulative Probability
0 0.432133 0.432133
1 0.360111 0.792244
2 0.150046 0.942290
3 0.041679 0.983969
4 0.011578 0.995547
5 0.003216 0.998763
6 0.000893 0.999656
7 0.000248 0.999905
8 0.000069 0.999973
9 0.000019 0.999993
10 0.000005 0.999998
11 0.000001 0.999999
12 0.000000 1.000000
13 0.000000 1.000000
14 0.000000 1.000000
15 0.000000 1.000000
16 0.000000 1.000000
17 0.000000 1.000000
18 0.000000 1.000000
19 0.000000 1.000000
20 0.000000 1.000000 term2
0 1.000000
1 0.83333333 1 5
2 0.34722222 1.833333333 0.5952380952
3 0.09645062 2.180555556 0.1335470085
4 0.02009388 2.277006173 0.0253817414
5 0.00334898 2.297100051 0.0040187757
6 0.00046514 2.300449031 0.000540158
7 5.5373E-05 2.300914167 6.28562268544264E-05
8 5.7681E-06 2.300969541 6.43876077966162E-06
9 5.3408E-07 2.300975309 5.88577197120429E-07
10 4.4507E-08 2.300975843 4.85526644089242E-08
11 3.3717E-09 2.300975887 3.64808270832081E-09
12 2.3415E-10 2.300975891 2.51620358669798E-10
13 1.5009E-11 2.300975891 1.60374467569221E-11
14 8.9342E-13 2.300975891 9.49962360642089E-13
15 4.9634E-14 2.300975891 5.25539401195553E-14
16 2.5851E-15 2.300975891 2.72715806481209E-15
17 1.2672E-16 2.300975891 1.33253535168546E-16
18 5.8667E-18 2.300975891 6.15152908402292E-18
19 2.5731E-19 2.300975891 2.69116333526317E-19
20 1.0721E-20 2.300975891 1.11875211115059E-20
21 4.2545E-22 2.300975891 4.43031999939112E-22
22 1.6116E-23 2.300975891 1.67500537409801E-23
23
24
25
26
27
28
29
30
such
such as
as 10
10

0.277778
0.022196
0.85553
0.044392
1.711059
0.432133

P0(s) Rho(s) Lq(s) L(s) Wq(s) W(S)

0.166667 0.8333333333 4.1666666667 5 8.3333333333 10


0.411765 0.4166666667 0.175070028 1.0084033613 0.350140056 2.0168067227
0.432133 0.2777777778 0.0221961787 0.855529512 0.0443923574 1.7110590241
0.434332 0.2083333333 0.0029010774 0.8362344108 0.0058021549 1.6724688215
0.434571 0.1666666667 0.0003492888 0.8336826222 0.0006985777 1.6673652444
0.434596 0.1388888889 0.000037863 0.8333711963 7.572592E-05 1.6667423926
0.434598 0.119047619 3.691512E-06 0.8333370248 0.000007383 1.6666740497
0.434598 0.1041666667 3.253807E-07 0.8333336587 6.507613E-07 1.6666673174
0.434598 0.0925925926 2.610149E-08 0.8333333594 5.220298E-08 1.6666667189
0.434598 0.0833333333 1.918264E-09 0.8333333353 3.836527E-09 1.6666666705
0.434598 0.0757575758 1.299549E-10 0.8333333335 2.599099E-10 1.6666666669
0.434598 0.0694444444 8.160728E-12 0.8333333333 1.632146E-11 1.6666666667
0.434598 0.0641025641 4.773867E-13 0.8333333333 9.547734E-13 1.6666666667
0.434598 0.0595238095 2.612987E-14 0.8333333333 5.225974E-14 1.6666666667
0.434598 0.0555555556 1.34352E-15 0.8333333333 2.687041E-15 1.6666666667
0.434598 0.0520833333 6.512187E-17 0.8333333333 1.302437E-16 1.6666666667
0.434598 0.0490196078 2.985142E-18 0.8333333333 5.970283E-18 1.6666666667
0.434598 0.0462962963 1.297788E-19 0.8333333333 2.595576E-19 1.6666666667
0.434598 0.0438596491 5.365022E-21 0.8333333333 1.073004E-20 1.6666666667
0.434598 0.0416666667 2.113946E-22 0.8333333333 4.227893E-22 1.6666666667
0.434598 0.0396825397 7.956236E-24 0.8333333333 1.591247E-23 1.6666666667
0.434598 0.0378787879 2.865962E-25 0.8333333333 5.731924E-25 1.6666666667
EJ34

Waiting Lines M/M/s


The
The arrival
arrival RATE
RATE and and service
service RATE
RATE both
both must
must be
be rates
rates and
and use
use the
the same
same time
time unit.
unit. Given
Given aa time
time such
such as
as 10
10
minutes,
minutes, convert
convert itit to
to aa rate
rate such
such as
as 66 per
per hour.
hour.
Data Results
Arrival rate (l) 0.5 Average server utilization(r) 0.208333
Service rate (m) 0.6 Average number of customers in the queue(Lq) 0.002901
Number of servers(s) 4 Average number of customers in the system(L) 0.836234
Average waiting time in the queue(Wq) 0.005802
Average time in the system(W) 1.672469
Probability (% of time) system is empty (P0) 0.434332

Probabilities
Number Probability Cumulative Probability
0 0.434332 0.434332
1 0.361943 0.796275
2 0.150810 0.947084
3 0.041892 0.988976
4 0.008727 0.997703
5 0.001818 0.999522
6 0.000379 0.999900
7 0.000079 0.999979
8 0.000016 0.999996
9 0.000003 0.999999
10 0.000001 1.000000
11 0.000000 1.000000
12 0.000000 1.000000
13 0.000000 1.000000
14 0.000000 1.000000
15 0.000000 1.000000
16 0.000000 1.000000
17 0.000000 1.000000
18 0.000000 1.000000
19 0.000000 1.000000
20 0.000000 1.000000 term2 P0(s)
0 1.000000
1 0.83333333 1 5 0.166667
2 0.34722222 1.833333333 0.5952380952 0.411765
3 0.09645062 2.180555556 0.1335470085 0.432133
4 0.02009388 2.277006173 0.0253817414 0.434332
5 0.00334898 2.297100051 0.0040187757 0.434571
6 0.00046514 2.300449031 0.000540158 0.434596
7 5.5373E-05 2.300914167 6.28562268544264E-05 0.434598
8 5.7681E-06 2.300969541 6.43876077966162E-06 0.434598
9 5.3408E-07 2.300975309 5.88577197120429E-07 0.434598
10 4.4507E-08 2.300975843 4.85526644089242E-08 0.434598
11 3.3717E-09 2.300975887 3.64808270832081E-09 0.434598
12 2.3415E-10 2.300975891 2.51620358669798E-10 0.434598
13 1.5009E-11 2.300975891 1.60374467569221E-11 0.434598
14 8.9342E-13 2.300975891 9.49962360642089E-13 0.434598
15 4.9634E-14 2.300975891 5.25539401195553E-14 0.434598
16 2.5851E-15 2.300975891 2.72715806481209E-15 0.434598
17 1.2672E-16 2.300975891 1.33253535168546E-16 0.434598
18 5.8667E-18 2.300975891 6.15152908402292E-18 0.434598
19 2.5731E-19 2.300975891 2.69116333526317E-19 0.434598
20 1.0721E-20 2.300975891 1.11875211115059E-20 0.434598
21 4.2545E-22 2.300975891 4.43031999939112E-22 0.434598
22 1.6116E-23 2.300975891 1.67500537409801E-23 0.434598
23
24
25
26
27
28
29
30
Rho(s) Lq(s) L(s) Wq(s) W(S)

0.8333333333 4.1666666667 5 8.3333333333 10


0.4166666667 0.175070028 1.0084033613 0.350140056 2.0168067227
0.2777777778 0.0221961787 0.855529512 0.0443923574 1.7110590241
0.2083333333 0.0029010774 0.8362344108 0.0058021549 1.6724688215
0.1666666667 0.0003492888 0.8336826222 0.0006985777 1.6673652444
0.1388888889 0.000037863 0.8333711963 7.572592E-05 1.6667423926
0.119047619 3.691512E-06 0.8333370248 0.000007383 1.6666740497
0.1041666667 3.253807E-07 0.8333336587 6.507613E-07 1.6666673174
0.0925925926 2.610149E-08 0.8333333594 5.220298E-08 1.6666667189
0.0833333333 1.918264E-09 0.8333333353 3.836527E-09 1.6666666705
0.0757575758 1.299549E-10 0.8333333335 2.599099E-10 1.6666666669
0.0694444444 8.160728E-12 0.8333333333 1.632146E-11 1.6666666667
0.0641025641 4.773867E-13 0.8333333333 9.547734E-13 1.6666666667
0.0595238095 2.612987E-14 0.8333333333 5.225974E-14 1.6666666667
0.0555555556 1.34352E-15 0.8333333333 2.687041E-15 1.6666666667
0.0520833333 6.512187E-17 0.8333333333 1.302437E-16 1.6666666667
0.0490196078 2.985142E-18 0.8333333333 5.970283E-18 1.6666666667
0.0462962963 1.297788E-19 0.8333333333 2.595576E-19 1.6666666667
0.0438596491 5.365022E-21 0.8333333333 1.073004E-20 1.6666666667
0.0416666667 2.113946E-22 0.8333333333 4.227893E-22 1.6666666667
0.0396825397 7.956236E-24 0.8333333333 1.591247E-23 1.6666666667
0.0378787879 2.865962E-25 0.8333333333 5.731924E-25 1.6666666667

You might also like