Chavez ZZ

You might also like

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

Lamda 36 clientes/hora

Mu 20 clientes/hora 3min…... 1cliente


C nº de cajas 60min…..20clientes

C>U/mu C> 1.8


p= 1.8

COSTOS
Cost servicio 0.2 $/min
Cost empl caja 4 $/hora

CTOTAL Cservicio*Ls+Cc*c

medidas de desempeño n cajas


2 3
Lq 7.67368421 0.5321167883
L 9.47368421 2.3321167883
Wq 0.21315789 0.0147810219
W 0.26315789 0.0647810219
P0 0.05263158 0.1459854015

Ncajas Cs*Ls Cc*C


2 113.684211 8
3 27.9854015 12
4 22.8619667 16
5 21.8733553 20
6 21.6573247 24

Debe elegir abrir 4 cajas ya que este tiene el menor c


3min…... 1cliente
0min…..20clientes
U= lamda/(mu*C)<1
c puede ser 2,3,4,5,….,n

12 $/hora

4 5 6
0.10516389 0.0227796095 0.00477706
1.90516389 1.8227796095 1.80477706
0.00292122 0.0006327669 0.0001327
0.05292122 0.0506327669 0.0501327
0.1616221 0.1645971998 0.16517054

COSTO TOTAL
121.684211
39.9854015
38.8619667 Menor Costo
41.8733553
45.6573247

e este tiene el menor costo


tres

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) 36 Average server utilization(r) 0.9
Service rate (m) 20 Average number of customers in the queue(Lq) 7.67368
Number of servers(s) 2 Average number of customers in the system(L) 9.47368
Average waiting time in the queue(Wq) 0.21316
Average time in the system(W) 0.26316
Probability (% of time) system is empty (P0) 0.05263

Probabilities
Number Probability Cumulative Probability
0 0.052632 0.052632
1 0.094737 0.147368
2 0.085263 0.232632
3 0.076737 0.309368
4 0.069063 0.378432
5 0.062157 0.440588
6 0.055941 0.496530
7 0.050347 0.546877
8 0.045312 0.592189
9 0.040781 0.632970
10 0.036703 0.669673
11 0.033033 0.702706
12 0.029729 0.732435
13 0.026756 0.759192
14 0.024081 0.783272
15 0.021673 0.804945
16 0.019505 0.824451
17 0.017555 0.842006
18 0.015799 0.857805
19 0.014219 0.872025
20 0.012798 0.884822 term2 P0(s)
0 1.000000
1 1.8 1 -2.25 -0.8
2 1.62 2.8 16.2 0.05263
3 0.972 4.42 2.43 0.14599
4 0.4374 5.392 0.7952727273 0.16162
5 0.157464 5.8294 0.2460375 0.1646
6 0.0472392 5.986864 0.0674845714 0.16517
7 0.01214722 6.0341032 0.0163520308 0.16528
8 0.00273313 6.04625042 0.0035266131 0.1653
9 0.00054663 6.04898355 0.0006832813 0.1653
10 9.8393E-05 6.04953017 0.0001199909 0.1653
11 1.6101E-05 6.04962857 1.92507075279503E-05 0.1653
12 2.4151E-06 6.04964467 2.84128089717342E-06 0.1653
13 3.344E-07 6.04964708 3.8813926541744E-07 0.1653
14 4.2994E-08 6.04964742 4.93372483657982E-08 0.1653
15 5.1593E-09 6.04964746 5.86280289022147E-09 0.1653
16 5.8042E-10 6.04964746 6.53991533669775E-10 0.1653
17 6.1456E-11 6.04964746 6.87336496735175E-11 0.1653
18 6.1456E-12 6.04964746 6.82844101331677E-12 0.1653
19 5.8221E-13 6.04964746 6.43143862882161E-13 0.1653
20 5.2399E-14 6.04964746 5.75816483367025E-14 0.1653
21 4.4914E-15 6.04964746 4.91243437372493E-15 0.1653
22 3.6748E-16 6.04964746 4.00220961706585E-16 0.1653
23
24
25
26
27
28
29
30
Utilización media del servidor (r) tiempo de espera para ser atendido
Número medio (promedio) de clientes en la cola (Lq)
Número medio de clientes en el sistema (L)
Tiempo promedio de espera en la cola (Wq)
Tiempo medio en el sistema (W)
El sistema de probabilidad (% de tiempo) está vacío (P0)

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

1.8 -4.05 -2.25 -0.1125 -0.0625


0.9 7.673684211 9.473684211 0.213157895 0.263157895
0.6 0.532116788 2.332116788 0.014781022 0.064781022
0.45 0.105163893 1.905163893 0.002921219 0.052921219
0.36 0.022779609 1.822779609 0.000632767 0.050632767
0.3 0.004777056 1.804777056 0.000132696 0.050132696
0.257142857 0.000935519 1.800935519 2.59867E-05 0.050025987
0.225 0.000169239 1.800169239 4.70107E-06 0.050004701
0.2 2.82363E-05 1.800028236 7.84342E-07 0.050000784
0.18 4.35388E-06 1.800004354 1.20941E-07 0.050000121
0.163636364 6.22589E-07 1.800000623 1.72941E-08 0.050000017
0.15 8.28813E-08 1.800000083 2.30226E-09 0.050000002
0.138461538 1.03113E-08 1.80000001 2.86424E-10 0.05
0.128571429 1.20325E-09 1.800000001 3.34237E-11 0.05
0.12 1.32152E-10 1.8 3.67089E-12 0.05
0.1125 1.37033E-11 1.8 3.80648E-13 0.05
0.105882353 1.34545E-12 1.8 3.73737E-14 0.05
0.1 1.25415E-13 1.8 3.48375E-15 0.05
0.094736842 1.11256E-14 1.8 3.09044E-16 0.05
0.09 9.41359E-16 1.8 2.61489E-17 0.05
0.085714286 7.61269E-17 1.8 2.11464E-18 0.05
0.081818182 5.8951E-18 1.8 1.63753E-19 0.05
tres

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) 36 Average server utilization(r) 0.6
Service rate (m) 20 Average number of customers in the queue(Lq) 0.53212
Number of servers(s) 3 Average number of customers in the system(L) 2.33212
Average waiting time in the queue(Wq) 0.01478
Average time in the system(W) 0.06478
Probability (% of time) system is empty (P0) 0.14599

Probabilities
Number Probability Cumulative Probability
0 0.145985 0.145985
1 0.262774 0.408759
2 0.236496 0.645255
3 0.141898 0.787153
4 0.085139 0.872292
5 0.051083 0.923375
6 0.030650 0.954025
7 0.018390 0.972415
8 0.011034 0.983449
9 0.006620 0.990069
10 0.003972 0.994042
11 0.002383 0.996425
12 0.001430 0.997855
13 0.000858 0.998713
14 0.000515 0.999228
15 0.000309 0.999537
16 0.000185 0.999722
17 0.000111 0.999833
18 0.000067 0.999900
19 0.000040 0.999940
20 0.000024 0.999964 term2 P0(s)
0 1.000000
1 1.8 1 -2.25 -0.8
2 1.62 2.8 16.2 0.05263
3 0.972 4.42 2.43 0.14599
4 0.4374 5.392 0.7952727273 0.16162
5 0.157464 5.8294 0.2460375 0.1646
6 0.0472392 5.986864 0.0674845714 0.16517
7 0.01214722 6.0341032 0.0163520308 0.16528
8 0.00273313 6.04625042 0.0035266131 0.1653
9 0.00054663 6.04898355 0.0006832813 0.1653
10 9.8393E-05 6.04953017 0.0001199909 0.1653
11 1.6101E-05 6.04962857 1.92507075279503E-05 0.1653
12 2.4151E-06 6.04964467 2.84128089717342E-06 0.1653
13 3.344E-07 6.04964708 3.8813926541744E-07 0.1653
14 4.2994E-08 6.04964742 4.93372483657982E-08 0.1653
15 5.1593E-09 6.04964746 5.86280289022147E-09 0.1653
16 5.8042E-10 6.04964746 6.53991533669775E-10 0.1653
17 6.1456E-11 6.04964746 6.87336496735175E-11 0.1653
18 6.1456E-12 6.04964746 6.82844101331677E-12 0.1653
19 5.8221E-13 6.04964746 6.43143862882161E-13 0.1653
20 5.2399E-14 6.04964746 5.75816483367025E-14 0.1653
21 4.4914E-15 6.04964746 4.91243437372493E-15 0.1653
22 3.6748E-16 6.04964746 4.00220961706585E-16 0.1653
23
24
25
26
27
28
29
30
Rho(s) Lq(s) L(s) Wq(s) W(S)

1.8 -4.05 -2.25 -0.1125 -0.0625


0.9 7.673684211 9.473684211 0.213157895 0.263157895
0.6 0.532116788 2.332116788 0.014781022 0.064781022
0.45 0.105163893 1.905163893 0.002921219 0.052921219
0.36 0.022779609 1.822779609 0.000632767 0.050632767
0.3 0.004777056 1.804777056 0.000132696 0.050132696
0.257142857 0.000935519 1.800935519 2.59867E-05 0.050025987
0.225 0.000169239 1.800169239 4.70107E-06 0.050004701
0.2 2.82363E-05 1.800028236 7.84342E-07 0.050000784
0.18 4.35388E-06 1.800004354 1.20941E-07 0.050000121
0.163636364 6.22589E-07 1.800000623 1.72941E-08 0.050000017
0.15 8.28813E-08 1.800000083 2.30226E-09 0.050000002
0.138461538 1.03113E-08 1.80000001 2.86424E-10 0.05
0.128571429 1.20325E-09 1.800000001 3.34237E-11 0.05
0.12 1.32152E-10 1.8 3.67089E-12 0.05
0.1125 1.37033E-11 1.8 3.80648E-13 0.05
0.105882353 1.34545E-12 1.8 3.73737E-14 0.05
0.1 1.25415E-13 1.8 3.48375E-15 0.05
0.094736842 1.11256E-14 1.8 3.09044E-16 0.05
0.09 9.41359E-16 1.8 2.61489E-17 0.05
0.085714286 7.61269E-17 1.8 2.11464E-18 0.05
0.081818182 5.8951E-18 1.8 1.63753E-19 0.05
tres

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) 36 Average server utilization(r) 0.45
Service rate (m) 20 Average number of customers in the queue(Lq) 0.10516
Number of servers(s) 4 Average number of customers in the system(L) 1.90516
Average waiting time in the queue(Wq) 0.00292
Average time in the system(W) 0.05292
Probability (% of time) system is empty (P0) 0.16162

Probabilities
Number Probability Cumulative Probability
0 0.161622 0.161622
1 0.290920 0.452542
2 0.261828 0.714370
3 0.157097 0.871466
4 0.070694 0.942160
5 0.031812 0.973972
6 0.014315 0.988287
7 0.006442 0.994729
8 0.002899 0.997628
9 0.001304 0.998933
10 0.000587 0.999520
11 0.000264 0.999784
12 0.000119 0.999903
13 0.000053 0.999956
14 0.000024 0.999980
15 0.000011 0.999991
16 0.000005 0.999996
17 0.000002 0.999998
18 0.000001 0.999999
19 0.000000 1.000000
20 0.000000 1.000000 term2 P0(s)
0 1.000000
1 1.8 1 -2.25 -0.8
2 1.62 2.8 16.2 0.05263
3 0.972 4.42 2.43 0.14599
4 0.4374 5.392 0.7952727273 0.16162
5 0.157464 5.8294 0.2460375 0.1646
6 0.0472392 5.986864 0.0674845714 0.16517
7 0.01214722 6.0341032 0.0163520308 0.16528
8 0.00273313 6.04625042 0.0035266131 0.1653
9 0.00054663 6.04898355 0.0006832813 0.1653
10 9.8393E-05 6.04953017 0.0001199909 0.1653
11 1.6101E-05 6.04962857 1.92507075279503E-05 0.1653
12 2.4151E-06 6.04964467 2.84128089717342E-06 0.1653
13 3.344E-07 6.04964708 3.8813926541744E-07 0.1653
14 4.2994E-08 6.04964742 4.93372483657982E-08 0.1653
15 5.1593E-09 6.04964746 5.86280289022147E-09 0.1653
16 5.8042E-10 6.04964746 6.53991533669775E-10 0.1653
17 6.1456E-11 6.04964746 6.87336496735175E-11 0.1653
18 6.1456E-12 6.04964746 6.82844101331677E-12 0.1653
19 5.8221E-13 6.04964746 6.43143862882161E-13 0.1653
20 5.2399E-14 6.04964746 5.75816483367025E-14 0.1653
21 4.4914E-15 6.04964746 4.91243437372493E-15 0.1653
22 3.6748E-16 6.04964746 4.00220961706585E-16 0.1653
23
24
25
26
27
28
29
30
Rho(s) Lq(s) L(s) Wq(s) W(S)

1.8 -4.05 -2.25 -0.1125 -0.0625


0.9 7.673684211 9.473684211 0.213157895 0.263157895
0.6 0.532116788 2.332116788 0.014781022 0.064781022
0.45 0.105163893 1.905163893 0.002921219 0.052921219
0.36 0.022779609 1.822779609 0.000632767 0.050632767
0.3 0.004777056 1.804777056 0.000132696 0.050132696
0.257142857 0.000935519 1.800935519 2.59867E-05 0.050025987
0.225 0.000169239 1.800169239 4.70107E-06 0.050004701
0.2 2.82363E-05 1.800028236 7.84342E-07 0.050000784
0.18 4.35388E-06 1.800004354 1.20941E-07 0.050000121
0.163636364 6.22589E-07 1.800000623 1.72941E-08 0.050000017
0.15 8.28813E-08 1.800000083 2.30226E-09 0.050000002
0.138461538 1.03113E-08 1.80000001 2.86424E-10 0.05
0.128571429 1.20325E-09 1.800000001 3.34237E-11 0.05
0.12 1.32152E-10 1.8 3.67089E-12 0.05
0.1125 1.37033E-11 1.8 3.80648E-13 0.05
0.105882353 1.34545E-12 1.8 3.73737E-14 0.05
0.1 1.25415E-13 1.8 3.48375E-15 0.05
0.094736842 1.11256E-14 1.8 3.09044E-16 0.05
0.09 9.41359E-16 1.8 2.61489E-17 0.05
0.085714286 7.61269E-17 1.8 2.11464E-18 0.05
0.081818182 5.8951E-18 1.8 1.63753E-19 0.05
tres

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) 36 Average server utilization(r) 0.36
Service rate (m) 20 Average number of customers in the queue(Lq) 0.02278
Number of servers(s) 5 Average number of customers in the system(L) 1.82278
Average waiting time in the queue(Wq) 0.00063
Average time in the system(W) 0.05063
Probability (% of time) system is empty (P0) 0.1646

Probabilities
Number Probability Cumulative Probability
0 0.164597 0.164597
1 0.296275 0.460872
2 0.266647 0.727520
3 0.159988 0.887508
4 0.071995 0.959503
5 0.025918 0.985421
6 0.009331 0.994752
7 0.003359 0.998111
8 0.001209 0.999320
9 0.000435 0.999755
10 0.000157 0.999912
11 0.000056 0.999968
12 0.000020 0.999989
13 0.000007 0.999996
14 0.000003 0.999999
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 1.8 1 -2.25 -0.8
2 1.62 2.8 16.2 0.05263
3 0.972 4.42 2.43 0.14599
4 0.4374 5.392 0.7952727273 0.16162
5 0.157464 5.8294 0.2460375 0.1646
6 0.0472392 5.986864 0.0674845714 0.16517
7 0.01214722 6.0341032 0.0163520308 0.16528
8 0.00273313 6.04625042 0.0035266131 0.1653
9 0.00054663 6.04898355 0.0006832813 0.1653
10 9.8393E-05 6.04953017 0.0001199909 0.1653
11 1.6101E-05 6.04962857 1.92507075279503E-05 0.1653
12 2.4151E-06 6.04964467 2.84128089717342E-06 0.1653
13 3.344E-07 6.04964708 3.8813926541744E-07 0.1653
14 4.2994E-08 6.04964742 4.93372483657982E-08 0.1653
15 5.1593E-09 6.04964746 5.86280289022147E-09 0.1653
16 5.8042E-10 6.04964746 6.53991533669775E-10 0.1653
17 6.1456E-11 6.04964746 6.87336496735175E-11 0.1653
18 6.1456E-12 6.04964746 6.82844101331677E-12 0.1653
19 5.8221E-13 6.04964746 6.43143862882161E-13 0.1653
20 5.2399E-14 6.04964746 5.75816483367025E-14 0.1653
21 4.4914E-15 6.04964746 4.91243437372493E-15 0.1653
22 3.6748E-16 6.04964746 4.00220961706585E-16 0.1653
23
24
25
26
27
28
29
30
Rho(s) Lq(s) L(s) Wq(s) W(S)

1.8 -4.05 -2.25 -0.1125 -0.0625


0.9 7.673684211 9.473684211 0.213157895 0.263157895
0.6 0.532116788 2.332116788 0.014781022 0.064781022
0.45 0.105163893 1.905163893 0.002921219 0.052921219
0.36 0.022779609 1.822779609 0.000632767 0.050632767
0.3 0.004777056 1.804777056 0.000132696 0.050132696
0.257142857 0.000935519 1.800935519 2.59867E-05 0.050025987
0.225 0.000169239 1.800169239 4.70107E-06 0.050004701
0.2 2.82363E-05 1.800028236 7.84342E-07 0.050000784
0.18 4.35388E-06 1.800004354 1.20941E-07 0.050000121
0.163636364 6.22589E-07 1.800000623 1.72941E-08 0.050000017
0.15 8.28813E-08 1.800000083 2.30226E-09 0.050000002
0.138461538 1.03113E-08 1.80000001 2.86424E-10 0.05
0.128571429 1.20325E-09 1.800000001 3.34237E-11 0.05
0.12 1.32152E-10 1.8 3.67089E-12 0.05
0.1125 1.37033E-11 1.8 3.80648E-13 0.05
0.105882353 1.34545E-12 1.8 3.73737E-14 0.05
0.1 1.25415E-13 1.8 3.48375E-15 0.05
0.094736842 1.11256E-14 1.8 3.09044E-16 0.05
0.09 9.41359E-16 1.8 2.61489E-17 0.05
0.085714286 7.61269E-17 1.8 2.11464E-18 0.05
0.081818182 5.8951E-18 1.8 1.63753E-19 0.05
tres

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) 36 Average server utilization(r) 0.3
Service rate (m) 20 Average number of customers in the queue(Lq) 0.00478
Number of servers(s) 6 Average number of customers in the system(L) 1.80478
Average waiting time in the queue(Wq) 0.00013
Average time in the system(W) 0.05013
Probability (% of time) system is empty (P0) 0.16517

Probabilities
Number Probability Cumulative Probability
0 0.165171 0.165171
1 0.297307 0.462478
2 0.267576 0.730054
3 0.160546 0.890600
4 0.072246 0.962845
5 0.026008 0.988854
6 0.007803 0.996656
7 0.002341 0.998997
8 0.000702 0.999699
9 0.000211 0.999910
10 0.000063 0.999973
11 0.000019 0.999992
12 0.000006 0.999998
13 0.000002 0.999999
14 0.000001 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 1.8 1 -2.25 -0.8
2 1.62 2.8 16.2 0.05263
3 0.972 4.42 2.43 0.14599
4 0.4374 5.392 0.7952727273 0.16162
5 0.157464 5.8294 0.2460375 0.1646
6 0.0472392 5.986864 0.0674845714 0.16517
7 0.01214722 6.0341032 0.0163520308 0.16528
8 0.00273313 6.04625042 0.0035266131 0.1653
9 0.00054663 6.04898355 0.0006832813 0.1653
10 9.8393E-05 6.04953017 0.0001199909 0.1653
11 1.6101E-05 6.04962857 1.92507075279503E-05 0.1653
12 2.4151E-06 6.04964467 2.84128089717342E-06 0.1653
13 3.344E-07 6.04964708 3.8813926541744E-07 0.1653
14 4.2994E-08 6.04964742 4.93372483657982E-08 0.1653
15 5.1593E-09 6.04964746 5.86280289022147E-09 0.1653
16 5.8042E-10 6.04964746 6.53991533669775E-10 0.1653
17 6.1456E-11 6.04964746 6.87336496735175E-11 0.1653
18 6.1456E-12 6.04964746 6.82844101331677E-12 0.1653
19 5.8221E-13 6.04964746 6.43143862882161E-13 0.1653
20 5.2399E-14 6.04964746 5.75816483367025E-14 0.1653
21 4.4914E-15 6.04964746 4.91243437372493E-15 0.1653
22 3.6748E-16 6.04964746 4.00220961706585E-16 0.1653
23
24
25
26
27
28
29
30
Rho(s) Lq(s) L(s) Wq(s) W(S)

1.8 -4.05 -2.25 -0.1125 -0.0625


0.9 7.673684211 9.473684211 0.213157895 0.263157895
0.6 0.532116788 2.332116788 0.014781022 0.064781022
0.45 0.105163893 1.905163893 0.002921219 0.052921219
0.36 0.022779609 1.822779609 0.000632767 0.050632767
0.3 0.004777056 1.804777056 0.000132696 0.050132696
0.257142857 0.000935519 1.800935519 2.59867E-05 0.050025987
0.225 0.000169239 1.800169239 4.70107E-06 0.050004701
0.2 2.82363E-05 1.800028236 7.84342E-07 0.050000784
0.18 4.35388E-06 1.800004354 1.20941E-07 0.050000121
0.163636364 6.22589E-07 1.800000623 1.72941E-08 0.050000017
0.15 8.28813E-08 1.800000083 2.30226E-09 0.050000002
0.138461538 1.03113E-08 1.80000001 2.86424E-10 0.05
0.128571429 1.20325E-09 1.800000001 3.34237E-11 0.05
0.12 1.32152E-10 1.8 3.67089E-12 0.05
0.1125 1.37033E-11 1.8 3.80648E-13 0.05
0.105882353 1.34545E-12 1.8 3.73737E-14 0.05
0.1 1.25415E-13 1.8 3.48375E-15 0.05
0.094736842 1.11256E-14 1.8 3.09044E-16 0.05
0.09 9.41359E-16 1.8 2.61489E-17 0.05
0.085714286 7.61269E-17 1.8 2.11464E-18 0.05
0.081818182 5.8951E-18 1.8 1.63753E-19 0.05

You might also like