Waiting Lines and Queueing Theory Models-2 | Models with Solved Example with QM for Windows - YouTube

Channel: unknown

[2]
problem from the book 14-12 and it says that from historical data Harry's car wash estimated
[10]
that dirty cars arrive @ 10/hr so that means with the crew working the wash line Harry
[20]
figures that cars can be cleaned @ 1 every 5 minutes the thing is lambda if we are saying
[31]
that this is in terms of per hr so we have to convert service times also in terms of
[38]
per hr so if you have 1 every 5 minutes so obviously in 1 hr they can clean 12 assuming
[49]
Poisson arrivals and ex[exponential service times basically it says that this is model-1
[55]
and we need to find various things like avg number of cars in the line avg time a car
[60]
waits before it is washed and so on so we will go to QM for Windows to do all those
[69]
calculations and answer the question let me open that I'll just say ok and automatically
[91]
it lists under module all the different tools which are available and which are related
[98]
to this book and we are interested in waiting lines so we will click on waiting lines then
[113]
we can say new and it has different options 1, 2, 3, 4 because we are dealing with single-channel
[122]
situation I'll say we use 1 so it opens up this window here and you have like no-cost
[130]
situation and use-cost situation in this example we don't have any cost so we are fine with
[138]
just going and clicking ok arrival rate we can enter here 10 and service rate mu 12 so
[157]
please note that we have converted mu to 12 book says every 5 minutes 1 so that we have
[164]
to convert to per hr before we can use this and then you have number of servers obviously
[173]
that is 1 we cannot change that and as soon as we do this it has done all the calculations
[180]
so it tells us avg service utilization is 0.83 83% that's very high so server utilization
[190]
means how often server is going to be busy so 0.83 means 83% of the time the server is
[198]
busy only 17% of the time it is idle then you have avg number in the queue 4.17 so if
[208]
you go back and look at the questions the 1st question was avg number of cars in line
[216]
so basically that is avg number in the queue so the answer is 4.17 part-b was avg time
[223]
a car waits before it is washed avg time in queue here is 0.42 and please note that this
[234]
is in hrs so in minutes it is 25 minutes so they have to wait about 25 minutes before
[243]
being washed avg time this is c avg time a car spends in the service system so this one
[254]
avg time in the queue is different from avg time in the system avg time in the system
[261]
means time spent in queue plus time spent getting the service like getting the car washed
[268]
so obviously avg time in the system which includes avg time in the queue so this is
[275]
a bigger number so you can see that about 30 minutes so it is always going to be a bigger
[282]
number part-d is utilization rate of the car wash so 83% we have seen that and then probability
[290]
that no car are in the system so you can also get an idea from server utilization so 1-0.83
[299]
you get 17% so if you read the question you will be able to find that lambda in this case
[306]
is 12/hr mu is 15/hr and the difference now is that we also have cost figures so service
[320]
cost $10 per hr waiting cost is $50 now we can use this data and go to QM for Windows
[340]
once again I can click module and then waiting lines I don't want to save it let me open
[351]
1st one so now we can choose use-cost and say ok and you will see that there are more
[363]
options now so lambda is 12 mu is 15 and then you have number of servers we don't want to
[377]
change that because that is 1 so now we can solve this problem so part-a is what is the
[393]
avg time that catalog customers must wait before their calls are transferred to order
[399]
clerk so the avg waiting time in this case we are talking about waiting time in the queue
[409]
which is 0.27 or 16 minutes part-b is what is the avg number of callers waiting to place
[417]
an order so that is basically avg number in the queue which is about 3.2 similarly you
[425]
can also modify the information to answer part-c which is Ashley is considering adding
[433]
2nd clerk to take calls the store would pay that person the same $10 per hr let's look
[440]
at 2nd model because this model deals with only 1 server so let me write down model-2
[448]
here and then we can answer part-c so model-2 is M/M/m so we are dealing with m=2 and we
[464]
want to find out what will be savings if we can go for 2 so let's go back and see what
[474]
was the total cost with one server now if you look at here cost labor + number waiting
[485]
cost which is 170 so we can make a small table so total cost per hr and this is with M/M/1
[499]
model and then we compare with M/M/2 model so with M/M/1 we have $170 now let's go back
[511]
and see what will be the cost when we have 2 instead of 1 so I'm going to edit data see
[530]
if we can do it this will not allow because we used a single server so we will close this
[541]
and open a new file and select multi-channel system we are also using cost so select cost
[558]
so once again lambda is 12 mu is 15 number of servers now we are saying 2 server cost
[577]
was 10 and waiting cost was 15 so if we click on solve it will solve and give this answer
[594]
so the number we want to look at is this always when we are comparing we should look at cost
[600]
labor plus waiting time and waiting cost 27.62 is the cost so if you subtract we get the
[620]
savings equals so this way we can compare and see what happens if we add one more server
[629]
now let's look at model-3 so we are looking in this chapter at 4 models and this is the
[636]
3rd one so this model is M/D/1 now when we use D it means we are talking about constant
[649]
service times like coffee machine so every time it is going to take that much time for
[655]
one cup of coffee and 1 once again means single sever so doe this let's look at problem 27
[664]
so 27 says customers arrive at an automated coffee wending machine so that example indicates
[672]
constant service time @ 4 per minute so that's your lambda and it also says following a Poisson
[681]
distribution so we are using a situation where arrivals are modeled by Poisson distribution
[688]
but please remember arrivals could be something else also so most of the time Poisson will
[693]
work but in many cases it could be something different so we should use the model only
[700]
when it is confirmed that arrivals are Poisson coffee machine dispenses a cup of coffee in
[706]
exactly 10 seconds and then basically different performance criteria like what is the avg
[713]
number of people waiting in line what is the avg number in the system how long does avg
[719]
person wait in line before receiving service so obviously all these questions can be answered
[726]
very easily let me write down 14-27 lambda is 4/minute and mu is 6 per minute so why
[745]
6 because it says coffee machine dispenses coffee every 10 seconds so in 1 minute you
[752]
will have 6 cups of coffee so we have to keep the units same so if lambda is in minutes
[758]
mu should also be in minutes now let's open QM for Windows so I'll close this and we will
[768]
not save and then file and new so if you look at the 2nd one that's constant service times
[776]
so that's the one we want in this problem we have no cost so we can say ok and then
[784]
lambda is 4 and service is 6 so we can click solve now when we are using QM for Windows
[800]
one thing you will note is that you have a column called value and then there is a column
[806]
called minutes then there is a column called seconds so this will work very good if your
[814]
original units are in hrs so it will convert hrs into minutes and seconds but in the problem
[820]
27 actually our units are already in minutes so do not go by these two columns because
[829]
this will be misleading so this 10 here doesn't mean 10 minutes or 600 doesn't mean 600 seconds
[837]
so you have to be careful this will work only when original units are in hrs so in this
[844]
case it is minutes so you should ignore those two so from this you can see that again avg
[852]
number in the queue is 0.67 avg server utilization is 67% means that amount of time it is busy
[863]
and remaining time it is basically idle or not in use and avg number in the system means
[873]
queue plus the one in service so there could be some people in the queue and then add the
[880]
one who is in the service so that's why always this is the bigger number and same thing for
[885]
time so avg time in queue so this is only queue and in the system means queue plus service
[894]
so those people who are getting serviced that is included there so this number will be higher
[901]
that is model-3 now the last model is model-4 finite source so finite source is that limited
[914]
calling population so number of items or people are coming from a population which is limited
[919]
for this let's look at 14-29 so this is a manufacturing example so 1 machine services
[928]
5 drilling machines for steel plate manufacturer machines breakdown on an avg of once every
[935]
6 working days and breakdowns tends to follow Poisson distribution so which is M mechanic
[942]
can handle an avg of 1 repair job per day so that is the service rate repairs follow
[949]
exponential distribution so that is again M in the model so how many machines are waiting
[955]
for service on an avg how many are in the system on an avg so standard questions of
[962]
waiting lines basically to assess its performance so let's look at lambda and mu and note that
[970]
there are only 5 machines so this is finite population and they can service 1 per day
[978]
so with this we can go to QM for Windows let me close this do not save and open new so
[989]
now I'm going to use the 4th one which is limited population model and again no cost
[997]
in this example avg rate per customer so 1/6 is 0.17 mu is 1 and population size is 5 so
[1024]
with this we can click on solve so using this we can easily answer the questions like how
[1032]
many machines are waiting for service on an avg so this is avg number in the queue so
[1038]
0.54 part-b is how many are in the system so in the system avg number in the system
[1045]
is 1.19 so more than one machine in the system at any point of time what is the avg waiting
[1053]
time in queue so avg waiting time in queue you can see is 0.83 and this is days so 0.83
[1060]
days and again this 50.1 and this other number doesn't matter because this in days so obviously
[1070]
from days this calculation in minutes and seconds is not correct because these calculations
[1076]
are based on original units in hrs so we should ignore minutes and seconds column part-e is
[1085]
what is the avg wait in the system so you can see that avg wait in the system is 1.83
[1091]
days the situations which are given in these 4 models may not always be true like you could
[1099]
have a situation which is very different from what is given in the models and it can make
[1106]
things very very complex when you have a very complex situation which is difficult to model
[1112]
using waiting lines so one way to deal with is with that situation is to go for what is
[1119]
called as simulation so simulate the conditions and then see the performance so simulation
[1129]
is the topic of our next chapter