Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 18

ejrcuui 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) 240 Average server utilization(r)
Service rate (m) 300 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.200000 0.200000
1 0.160000 0.360000
2 0.128000 0.488000
3 0.102400 0.590400
4 0.081920 0.672320
5 0.065536 0.737856
6 0.052429 0.790285
7 0.041943 0.832228
8 0.033554 0.865782
9 0.026844 0.892626
10 0.021475 0.914101
11 0.017180 0.931281
12 0.013744 0.945024
13 0.010995 0.956020
14 0.008796 0.964816
15 0.007037 0.971853
16 0.005629 0.977482
17 0.004504 0.981986
18 0.003603 0.985588
19 0.002882 0.988471
20 0.002306 0.990777
0.8 a ¿Cuál es la probabilidad de que haya más de dos estudiantes en el sistema? ¿Más de tres estudiant
3.2 c 3 personas por fila y 3 èpersonas en la fila promedio
4e ¿Cuál es el número promedio en el sistema?
0.013333333 d ¿Cuál es el número esperado de alumnos en la cola?
0.016666667
0.2

b ¿Cuál es la probabilidad de que el sistema esté vacío?


0.200000
ma? ¿Más de tres estudiantes? ¿Y más de cuatro?
1.1

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) 240 Average server utilization(r) 0.4
Service rate (m) 300 Average number of customers in the queue(Lq) 0.15238
Number of servers(s) 2 Average number of customers in the system(L) 0.95238
Average waiting time in the queue(Wq) 0.00063
Average time in the system(W) 0.00397
Probability (% of time) system is empty (P0) 0.42857

Probabilities
Number Probability Cumulative Probability b
0 0.428571 0.428571
1 0.342857 0.771429
2 0.137143 0.908571
3 0.054857 0.963429
4 0.021943 0.985371
5 0.008777 0.994149
6 0.003511 0.997659
7 0.001404 0.999064
8 0.000562 0.999626
9 0.000225 0.999850
10 0.000090 0.999940
11 0.000036 0.999976
12 0.000014 0.999990
13 0.000006 0.999996
14 0.000002 0.999998
15 0.000001 0.999999
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.8 1 4 0.2
2 0.32 1.8 0.5333333333 0.42857
3 0.08533333 2.12 0.1163636364 0.44715
4 0.01706667 2.20533333 0.0213333333 0.4491
5 0.00273067 2.2224 0.0032507937 0.44931
6 0.00036409 2.22513067 0.0004201026 0.44933
7 4.161E-05 2.22549476 4.69792114695341E-05 0.44933
8 4.161E-06 2.22553637 4.62335097001764E-06 0.44933
9 3.6987E-07 2.22554053 0.000000406 0.44933
10 2.9589E-08 2.2255409 3.21624415305575E-08 0.44933
11 2.152E-09 2.22554093 2.32074087906768E-09 0.44933
12 1.4346E-10 2.22554093 1.53711408873314E-10 0.44933
13 8.8286E-12 2.22554093 9.40747420426838E-12 0.44933
14 5.0449E-13 2.22554093 5.35063800895451E-13 0.44933
15 2.6906E-14 2.22554093 2.84219000878067E-14 0.44933
16 1.3453E-15 2.22554093 1.41610870612931E-15 0.44933
17 6.3308E-17 2.22554093 6.64347294233506E-17 0.44933
18 2.8137E-18 2.22554093 2.94457624256711E-18 0.44933
19 1.1847E-19 2.22554093 1.23679392850194E-19 0.44933
20 4.7389E-21 2.22554093 4.93632664445949E-21 0.44933
21 1.8053E-22 2.22554093 1.87678161531925E-22 0.44933
22 6.5647E-24 2.22554093 6.81239687860716E-24 0.44933
23
24
25
26
27
28
29
30
a ¿Cuál es la probabilidad de que haya más de dos estudiantes en el sistema? ¿Más de tres estudiantes? ¿Y más de
c 1 prsona promedio por fila
e ¿Cuál es el número promedio en el sistema?
d ¿Cuál es el número esperado de alumnos en la cola?

¿Cuál es la probabilidad de que el sistema esté vacío?


0.428571

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

0.8 3.2 4 0.013333333 0.016666667


0.4 0.152380952 0.952380952 0.000634921 0.003968254
0.266666667 0.018920916 0.818920916 7.88372E-05 0.00341217
0.2 0.00239521 0.80239521 0.00000998 0.003343313
0.16 0.00027821 0.80027821 1.15921E-06 0.003334493
0.133333333 2.90405E-05 0.800029041 0.000000121 0.003333454
0.114285714 2.72376E-06 0.800002724 1.1349E-08 0.003333345
0.1 2.30823E-07 0.800000231 0.000000001 0.003333334
0.088888889 1.77957E-08 0.800000018 7.41489E-11 0.003333333
0.08 1.25665E-09 0.800000001 5.23606E-12 0.003333333
0.072727273 8.17864E-11 0.8 3.40777E-13 0.003333333
0.066666667 4.93336E-12 0.8 2.05557E-14 0.003333333
0.061538462 2.77184E-13 0.8 1.15493E-15 0.003333333
0.057142857 1.45709E-14 0.8 6.0712E-17 0.003333333
0.053333333 7.19481E-16 0.8 2.99784E-18 0.003333333
0.05 3.34894E-17 0.8 1.39539E-19 0.003333333
0.047058824 1.47413E-18 0.8 6.14219E-21 0.003333333
0.044444444 6.15388E-20 0.8 2.56412E-22 0.003333333
0.042105263 2.44276E-21 0.8 1.01782E-23 0.003333333
0.04 9.24181E-23 0.8 3.85075E-25 0.003333333
0.038095238 3.33977E-24 0.8 1.39157E-26 0.003333333
0.036363636 1.1551E-25 0.8 4.8129E-28 0.003333333
res estudiantes? ¿Y más de cuatro?
pregunt2

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) 4 Average server utilization(r)
Service rate (m) 5 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.200000 0.200000
1 0.160000 0.360000
2 0.128000 0.488000
3 0.102400 0.590400
4 0.081920 0.672320
5 0.065536 0.737856
6 0.052429 0.790285
7 0.041943 0.832228
8 0.033554 0.865782
9 0.026844 0.892626
10 0.021475 0.914101
11 0.017180 0.931281
12 0.013744 0.945024
13 0.010995 0.956020
14 0.008796 0.964816
15 0.007037 0.971853
16 0.005629 0.977482
17 0.004504 0.981986
18 0.003603 0.985588
19 0.002882 0.988471
20 0.002306 0.990777
0.8 f ¿Cuál es la probabilidad de que haya exactamente dos autos en del sistema?
3.2 d ¿Cuál es el número promedio de autos que están en la línea detrás del cliente que está recibiendo
4 b ¿Cuál es el número promedio de autos en el sistema?
0.8 c ¿Cuál es el tiempo promedio que los autos pasan en espera de recibir el servicio?
1 a ¿Cuál es el tiempo promedio que un auto está en el sistema?
0.2 e ¿Cuál es la probabilidad de que no haya autos en la ventanilla?

g) ¿Cuál es la probabilidad de que haya exactamente dos autos en del sistema?


0.128000 la probabilidad de que haya exactamente dos autos en del sistema
liente que está recibiendo el servicio?
pregunt3

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) 4 Average server utilization(r) 0.4
Service rate (m) 5 Average number of customers in the queue(Lq) 0.15238
Number of servers(s) 2 Average number of customers in the system(L) 0.95238
Average waiting time in the queue(Wq) 0.0381
Average time in the system(W) 0.2381
Probability (% of time) system is empty (P0) 0.42857

Probabilities
Number Probability Cumulative Probability
0 0.428571 0.428571
1 0.342857 0.771429
2 0.137143 0.908571
3 0.054857 0.963429
4 0.021943 0.985371
5 0.008777 0.994149
6 0.003511 0.997659
7 0.001404 0.999064
8 0.000562 0.999626
9 0.000225 0.999850
10 0.000090 0.999940
11 0.000036 0.999976
12 0.000014 0.999990
13 0.000006 0.999996
14 0.000002 0.999998
15 0.000001 0.999999
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.8 1 4 0.2
2 0.32 1.8 0.5333333333 0.42857
3 0.08533333 2.12 0.1163636364 0.44715
4 0.01706667 2.20533333 0.0213333333 0.4491
5 0.00273067 2.2224 0.0032507937 0.44931
6 0.00036409 2.22513067 0.0004201026 0.44933
7 4.161E-05 2.22549476 4.69792114695341E-05 0.44933
8 4.161E-06 2.22553637 4.62335097001764E-06 0.44933
9 3.6987E-07 2.22554053 0.000000406 0.44933
10 2.9589E-08 2.2255409 3.21624415305575E-08 0.44933
11 2.152E-09 2.22554093 2.32074087906768E-09 0.44933
12 1.4346E-10 2.22554093 1.53711408873314E-10 0.44933
13 8.8286E-12 2.22554093 9.40747420426838E-12 0.44933
14 5.0449E-13 2.22554093 5.35063800895451E-13 0.44933
15 2.6906E-14 2.22554093 2.84219000878067E-14 0.44933
16 1.3453E-15 2.22554093 1.41610870612931E-15 0.44933
17 6.3308E-17 2.22554093 6.64347294233506E-17 0.44933
18 2.8137E-18 2.22554093 2.94457624256711E-18 0.44933
19 1.1847E-19 2.22554093 1.23679392850194E-19 0.44933
20 4.7389E-21 2.22554093 4.93632664445949E-21 0.44933
21 1.8053E-22 2.22554093 1.87678161531925E-22 0.44933
22 6.5647E-24 2.22554093 6.81239687860716E-24 0.44933
23
24
25
26
27
28
29
30
f ¿Qué porcentaje del tiempo están ocupados los empleados?
a ¿Cuál es el tiempo promedio que está un auto en el sistema?
b ¿Cuál es el número promedio de autos en el sistema?
c ¿Cuál es el tiempo promedio que los autos esperan para recibir el servicio?
d ¿Cuál es el número promedio de autos que están detrás del cliente que recibe el servicio en ese momento?
e ¿Cuál es la probabilidad de que no haya autos en el sistema?

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

0.8 3.2 4 0.8 1


0.4 0.152380952 0.952380952 0.038095238 0.238095238
0.266666667 0.018920916 0.818920916 0.004730229 0.204730229
0.2 0.00239521 0.80239521 0.000598802 0.200598802
0.16 0.00027821 0.80027821 6.95526E-05 0.200069553
0.133333333 2.90405E-05 0.800029041 7.26013E-06 0.20000726
0.114285714 2.72376E-06 0.800002724 6.80939E-07 0.200000681
0.1 2.30823E-07 0.800000231 5.77057E-08 0.200000058
0.088888889 1.77957E-08 0.800000018 4.44894E-09 0.200000004
0.08 1.25665E-09 0.800000001 3.14163E-10 0.2
0.072727273 8.17864E-11 0.8 2.04466E-11 0.2
0.066666667 4.93336E-12 0.8 1.23334E-12 0.2
0.061538462 2.77184E-13 0.8 6.92959E-14 0.2
0.057142857 1.45709E-14 0.8 3.64272E-15 0.2
0.053333333 7.19481E-16 0.8 1.7987E-16 0.2
0.05 3.34894E-17 0.8 8.37235E-18 0.2
0.047058824 1.47413E-18 0.8 3.68531E-19 0.2
0.044444444 6.15388E-20 0.8 1.53847E-20 0.2
0.042105263 2.44276E-21 0.8 6.10689E-22 0.2
0.04 9.24181E-23 0.8 2.31045E-23 0.2
0.038095238 3.33977E-24 0.8 8.34943E-25 0.2
0.036363636 1.1551E-25 0.8 2.88774E-26 0.2
cio en ese momento?
pregunt4

Waiting Lines M/D/1 (Constant Service Times)


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) 4 Average server utilization(r) 0.666666667
Service rate (m) 6 Average number of customers in the queue(Lq) 0.666666667
Number of servers 1 Average number of customers in the system(L) 1.333333333
Average waiting time in the queue(Wq) 0.166666667
Average time in the system(W) 0.333333333
Probability (% of time) system is empty (P0) 0.333333333
c ¿Cuánto espera una persona promedio en la línea antes de recibir el servicio?

a ¿Cuál es el número promedio de personas que esperan en la fila?


b ¿Cuál es el número promedio en el sistema?

You might also like