M/M/c Queueing Model - YouTube

Channel: unknown

[21]
this is a lecture 5 application of a
[25]
continuous time Markov chain in simple
[28]
Markovian queuing models the first
[31]
lecture we have discussed the definition
[34]
of a stochastic process in particular
[37]
continuous-time markov chain then we
[40]
have considered the Kolmogorov
[42]
differential equation Chapman Kolmogorov
[44]
equations the transient solutions for
[48]
the ctmc the second lecture we have
[51]
discussed the special case of continuous
[53]
time Markov chain that is a birth-death
[56]
process we have discussed in lecture 2
[59]
lecture 3 the special case of
[63]
birth-death process with a very
[64]
important stochastic process that is a
[66]
Poisson process is discussed in the
[69]
lecture 3 the lecture 4 we have
[73]
discussed the MM 1 queueing model that
[78]
is a very special and important queueing
[82]
model and the underlying stochastic
[85]
process for the MM 1 queueing model that
[88]
is a birth-death process with the birth
[91]
rates are lambda and death rates are you
[96]
in the fourth lecture we have discussed
[99]
only the MM 1 queueing model in this
[102]
lecture we are going to consider the
[104]
other simple Markovian queuing models as
[109]
an application of a continuous-time
[112]
markov chain
[114]
so in this lecture I am going to discuss
[118]
other than the MM 1 queueing model I am
[121]
going to discuss a simple Markovian
[123]
queuing models starting with the m/m/c
[126]
infinity queueing model then the finite
[129]
capacity model Markovian setup emam 1
[133]
yen queueing model then I am going to
[137]
discuss the multi-server finite capacity
[139]
model that is here moms CK queueing
[142]
model after that I am going to discuss
[145]
the last system that is here mom si si
[148]
model for a infinite server model that
[153]
is yummy infinity also I'm going to
[155]
discuss at the end I'm going to discuss
[157]
the finite source Markovian queuing
[159]
models whereas the other five models the
[166]
population is infinite source so the
[169]
last one is a finite source Markovian
[171]
queuing model also I'm going to discuss
[173]
as the application of continuous time
[177]
Markov chain the first model is a multi
[183]
server infinite capacity Markovian
[187]
queuing model the letter M denotes the
[192]
inter arrival time is exponentially
[194]
distributed with parameter lambda the
[198]
service time by the each server that is
[203]
exponentially distributed with the
[205]
parameter mu and all we have more than
[210]
one servers suppose you consider as a C
[214]
where C is a positive integer and all
[218]
the servers are identical and each
[221]
server is doing the service which is
[228]
exponentially distributed with the
[229]
parameter mu which is independent of the
[232]
all other service and the service time
[236]
is independent with the inter arrival
[238]
time also with these assumptions if you
[246]
make a random variable X of T is the
[250]
number of customers in the system at any
[252]
time T that is a stochastic process
[257]
since the possible values of number of
[260]
customers in the system at any time T
[262]
that is going to be 0 1 2 and so on
[264]
therefore it is a discrete state and you
[268]
are observing the queuing system at any
[271]
time T therefore it is a continuous time
[274]
so discrete state continuous times two
[277]
stick process and if you observe the
[283]
system is a keep moving into the
[284]
different states because of either
[287]
arrival or the service completion from
[292]
the any one of the C servers so suppose
[296]
there are no customer in the system and
[302]
the system moves from the state is zero
[303]
to one by one arrival so the inter
[309]
arrival time is exponentially
[310]
distributed therefore the rate in which
[312]
the system is moving from the state 0 to
[315]
1 is lambda like that you can visualize
[318]
the rates for the system moving from 1
[322]
to 2 2 to 3 and so on whereas whenever
[327]
the system size is 1 2 and so on till C
[332]
since we have a C number of the servers
[335]
in the system who are entering into the
[339]
system they will get they will start
[341]
getting the service immediately suppose
[347]
the system goes from state 1 to 0 that
[350]
means that the customer entered into the
[352]
system and he get the service
[354]
immediately and the service time is
[356]
exponentially distributed with the
[358]
parameter mu therefore whenever the
[360]
service is completed the system goes
[362]
from the state 1 to 0 therefore the rate
[365]
is mu whereas a from 2 to 1 there are 2
[369]
customers in the system and both are
[372]
under service at any time in if any one
[376]
of the service if any one of the service
[379]
completely service then the system moves
[382]
from 2 to 1 so the service completion
[388]
will be minimum offer the service time
[392]
of the both the servers since each
[396]
server is doing the service
[397]
exponentially distributed with the
[399]
parameter mu therefore the minimum of
[402]
two exponential
[403]
both are independent also therefore that
[406]
is also going to be exponentially
[408]
distributed with the sum of parameters
[410]
so it is going to be parameter will be
[413]
mu plus mu that is to Mew
[415]
so the system moves from the state of
[418]
two to one maybe the rate will be to me
[422]
like that it will be keep going till the
[425]
state from C to C minus 1 that means we
[429]
have C servers therefore whenever the
[432]
system size is also less than or equal
[434]
to C that means all the customers are
[436]
under service now we'll discuss the rate
[444]
in which the system is moving from the
[447]
state C plus 1 to C this is some state
[451]
is a C plus 1 that means and the number
[453]
of customers in the system that is C
[455]
plus 1 we have C servers therefore one
[460]
customer will be waiting for the service
[462]
80 in the queue therefore the system is
[466]
moving from C plus 1 to C that is
[468]
nothing but one of the server completed
[473]
the service out of C service therefore
[477]
the sir the rate will be the service
[480]
time completion service time leave me
[483]
exponential distribution with the
[485]
parameter C mu naught C plus 1 mu it is
[489]
a we have only C service therefore the
[492]
minimum of exponentially distributed
[494]
with the parameters mu and so on with
[497]
the C exponentially distributed random
[499]
variables therefore that is going to be
[502]
exponential distribution with the
[504]
parameter mu plus mu plus receive news
[508]
therefore it is going to be seeming like
[511]
that the rate will be the death rate
[513]
will be C mu after C plus 1 onwards
[519]
whereas from 0 to C it will be mu 2 mu 3
[523]
mu and so on till C mu after that it
[526]
will be C mu from the state from C
[530]
c + 1 - c c + 2 - c plus 1 and so on
[534]
and if you see the state transition
[537]
diagram you can observe that this is a
[542]
birth-death process so before that let
[547]
me explain what is a m/m/c infinity
[549]
means whenever C customers or C service
[553]
or any one of the C servers are
[555]
available then the customers we get the
[558]
service immediately he for all the C
[562]
servers are busy then the customer has
[566]
to wait till any one of the C servers
[569]
are going to be completing their service
[572]
so that is the way the system works
[574]
therefore you will have the system size
[580]
the system size the underlying
[583]
stochastic process is going to be a
[584]
birth-death process I said it's a
[587]
special case of a continuous time Markov
[589]
chain because the transitions are only
[592]
the neighbors transition with the
[596]
forward rates that is lambda and
[599]
backward rates are the death rates are
[601]
going to be mu 2 mu and so on
[604]
therefore this is a special case of a
[606]
continuous time Markov chain the
[608]
underlying stochastic process for the
[610]
m/m/c infinity model that is a
[614]
birth-death process the birth rates are
[617]
lambda whereas the death rates depends
[620]
on the N the MU n is a function of Y n
[624]
therefore it is called a state dependent
[626]
and death rates it may not be the
[630]
function n times mu it can be a function
[632]
of Y and then we can use the word state
[635]
dependent so here it is a linear
[637]
function so state dependent death rates
[640]
and that the thread sorry n times mu
[642]
whenever yarn is lies between 1 - C
[649]
and the MU n is going to be C times mu
[651]
for n is greater than or equal to C that
[654]
you can observe it from the state
[656]
transition diagram also the death rates
[658]
are going to be C mu here also C mu and
[660]
so on therefore this is a birth-death
[664]
process with the state dependent death
[667]
rates now our interest is to find out
[672]
the steady state or equilibrium solution
[675]
since it is a infinite capacity model if
[680]
you observe the birth-death process with
[682]
the infinite state space then you need a
[685]
condition so that the steady state
[687]
probabilities exist so whenever lambda
[691]
by C mu is less than 1 whenever lambda
[697]
by C mean is less than 1 you can find
[699]
out the limiting probabilities so
[702]
sometimes I use the letter P and
[705]
sometimes I use the word by n both are 1
[707]
of the same so you find out the steady
[710]
state probability by solving a PI Q is
[713]
equal to P Q is equal to 0 and the
[716]
summation of a PA is equal to 1 and if
[719]
you recall the birth-death process the
[721]
steady state the probabilities the PI
[723]
not has the 1 divided by the series
[727]
whenever the denominator series
[729]
converges then you will get the PS so
[733]
either I use a pea and sapiens both are
[736]
on the same so here summation of a PA is
[739]
equal to 1 and P if you make a vector P
[743]
P times a Q is equal to 0 if you solve
[745]
that equation and the denominator of P
[748]
naught that expression that is going to
[751]
be converges only if lambda divided by C
[754]
mu is less than 1 so therefore whenever
[757]
this condition is there the queueing
[758]
system is stable also if you put C is
[761]
equal to 1 you will get the mm1 queue so
[765]
using the normalizing condition you are
[767]
getting the P naught and the P naught is
[770]
1 divided by this so this is a series so
[773]
this series is going to be converges
[775]
if this condition is satisfied so by
[779]
solving that equation so you are getting
[781]
P and C in terms of peanut and using
[784]
normalizing and constant you are getting
[787]
a V naught therefore this is a steady
[790]
state also known as the equilibrium
[794]
solution for the m/m/c infinity model so
[800]
here we are using the birth-death
[802]
process with the birth rates are lambda
[804]
and the death rates are given in the
[807]
this form and use the same logic of the
[811]
stationary distribution for the birth
[814]
death process using that we are getting
[817]
the steady state or gabriel solution for
[820]
the MMC model