MM1 MMS MD1
MM1 MMS MD1
Probabilities
Cumulative
Number Probability Probability
0 0.250000 0.250000
1 0.187500 0.437500
2 0.140625 0.578125
3 0.105469 0.683594
4 0.079102 0.762695
5 0.059326 0.822021
6 0.044495 0.866516
7 0.033371 0.899887
8 0.025028 0.924915
9 0.018771 0.943686
10 0.014078 0.957765
11 0.010559 0.968324
12 0.007919 0.976243
13 0.005939 0.982182
14 0.004454 0.986637
15 0.003341 0.989977
16 0.002506 0.992483
17 0.001879 0.994362
18 0.001409 0.995772
19 0.001057 0.996829
20 0.000793 0.997622
ee such
such as
as 10
10
MMS
la s significa más de un punto de atención
Waiting Lines M/M/s
The
The arrival
arrival RATE
RATE andand 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) 15 Average server utilization(r) 0.375
Service rate (m) 5 Average number of customers in the queue(Lq) 0.00777
Number of servers(s) 8 Average number of customers in the system(L) 3.00777
Average waiting time in the queue(Wq) 0.00052
Average time in the system(W) 0.20052
Probability (% of time) system is empty (P0) 0.04973
Probabilities
Cumulative
Number Probability Probability
0 0.049734 0.049734
1 0.149203 0.198938
2 0.223805 0.422743
3 0.223805 0.646548
4 0.167854 0.814402
5 0.100712 0.915114
6 0.050356 0.965470
7 0.021581 0.987051
8 0.008093 0.995144
9 0.003035 0.998179
10 0.001138 0.999317
11 0.000427 0.999744
12 0.000160 0.999904
13 0.000060 0.999964
14 0.000023 0.999986
15 0.000008 0.999995
16 0.000003 0.999998
17 0.000001 0.999999
18 0.000000 1.000000
19 0.000000 1.000000
20 0.000000 1.000000
Probabilities
Probability, Cumulative Arrival
Number, n P(n) Probability Number waiting rate(n)
0 0.5379632 0.53796317 0 0.05
1 0.2689816 0.80694475 0 0.045
2 0.1210417 0.92798647 1 0.04
3 0.0484167 0.97640315 2 0.035
4 0.0169458 0.99334899 3 0.03
5 0.0050838 0.99843274 4 0.025
6 0.0012709 0.99970368 5 0.02
7 0.0002542 0.99995787 6 0.015
8 3.8128E-05 0.999996 7 0.01
9 3.8128E-06 0.99999981 8 0.005
10 1.9064E-07 1 9 0
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1.858863
Sum term Sum term Decum
Term 1 1 Term 2 2 term 2 P0(s)
1 1 1 1 0.858863
0.5 1.5 0.5 1.5 0.358863 0.537963
0.225 1.725 0.133863
0.09 1.815 0.043863
0.0315 1.8465 0.012363
0.00945 1.85595 0.002913
0.002363 1.858313 0.000551
0.000473 1.858785 7.832E-05
7.088E-05 1.858856 7.442E-06
7.088E-06 1.858863 3.544E-07
3.544E-07 1.858863 0
Module D: Example D5
Waiting Lines M/D/1 (Constant Service Times)
The
The arrival
arrival RATE
RATE andand 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) 8 Average server utilization(r) 0.666667
Service rate (m) 12 Average number of customers in the queue(Lq) 0.666667
Average number of customers in the system(L) 1.333333
Average waiting time in the queue(Wq) 0.083333
Average time in the system(W) 0.166667
Probability (% of time) system is empty (P0) 0.333333
MM1
Waiting Line 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
Dataper
per hour.
hour. Results
Arrival rate (l 15 Average server utilization(
0.75
Service rate (m) 20 Average number of customers
2.25 in the queue(L
Average numbe 3
Average waiting time in0.15
the queue(W
Average time 0.2
Probability (% of time) 0.25
system is empty (P
Probabilities
Cumulative
Number Probability Probability
0 0.250000 0.250000
1 0.187500 0.437500
2 0.140625 0.578125
3 0.105469 0.683594
4 0.079102 0.762695
5 0.059326 0.822021
6 0.044495 0.866516
7 0.033371 0.899887
8 0.025028 0.924915
9 0.018771 0.943686
10 0.014078 0.957765
11 0.010559 0.968324
12 0.007919 0.976243
13 0.005939 0.982182
14 0.004454 0.986637
15 0.003341 0.989977
16 0.002506 0.992483
17 0.001879 0.994362
18 0.001409 0.995772
19 0.001057 0.996829
20 0.000793 0.997622
1) Ejercicio aplicando MMS
(Modelo Servidor Individual)
Solucion
MMS NOTA: Siempre teniendo en cuenta las unidades para cada ejercicio, si es clientes es cliente
Computations
n or s (lam/mu)^n/n!Cumsum(n-1)term2 P0(s) Rho(s) Lq(s)
0 1
1 2.5 1 -1.66666666666667 -1.5 2.5 -4.16666667
2 3.125 3.5 -12.5 -0.11111111 1.25 -6.94444444
3 2.60416667 6.625 15.625 0.04494382 0.83333333 3.51123596
4 1.62760417 9.22916667 4.34027777777778 0.07369498 0.625 0.53309451
5 0.81380208 10.8567708 1.62760416666667 0.08010013 0.5 0.1303713
6 0.3390842 11.6705729 0.581287202380952 0.08162026 0.41666667 0.03388915
7 0.1211015 12.0096571 0.188380111882716 0.0819804 0.35714286 0.00857971
8 0.03784422 12.1307586 0.055046136589105 0.0820627 0.3125 0.00205329
9 0.01051228 12.1686028 0.014555468809619 0.08208052 0.27777778 0.00045951
10 0.00262807 12.1791151 0.003504094343056 0.08208415 0.25 9.5877E-05
11 0.00059729 12.1817432 0.000772961987439 0.08208485 0.22727273 1.8661E-05
12 0.00012444 12.1823405 0.000157181265388 0.08208497 0.20833333 3.3953E-06
13 2.393E-05 12.1824649 2.96274210553341E-05 0.08208499 0.19230769 5.7904E-07
14 4.2732E-06 12.1824888 5.20213914851184E-06 0.082085 0.17857143 9.283E-08
15 7.122E-07 12.1824931 8.54637145826945E-07 0.082085 0.16666667 1.4031E-08
16 1.1128E-07 12.1824938 1.31888448430084E-07 0.082085 0.15625 2.0048E-09
17 1.6365E-08 12.1824939 1.91863583384282E-08 0.082085 0.14705882 2.7154E-10
18 2.2729E-09 12.182494 2.63948952473633E-09 0.082085 0.13888889 3.4946E-11
19 2.9906E-10 12.182494 3.44377842032096E-10 0.082085 0.13157895 4.2831E-12
20 3.7383E-11 12.182494 4.27235668686435E-11 0.082085 0.125 5.0099E-13
21 4.4504E-12 12.182494 5.05177310946799E-12 0.082085 0.11904762 5.6037E-14
22 5.0572E-13 12.182494 5.70560454976543E-13 0.082085 0.11363636 6.0044E-15
23
24
25
26
27
28
29
30
si es clientes es clientes, si es estudiantes es estudiantes, si el resultado esta en horas y lo necesito en mins, hago el respectivo c
Solucion
L=λ/(µ-λ) = 2 pacientes/hora
Lq 1.33 pacientes
=(λ^2)/(µ(µ-
e.
λ)) =
Probabilidad de que el consultorio este vacio