This is quite a realistic model for a queue in which the numbers increase by 1 upon the arrival of a new customer and decrease by 1 when a customer departs after they have been served. Assuming that these occur randomly at respective rates and , irrespective of the queue size, except that no more customers join the queue if it is full (of size ), we can represent this by a cts MC model with TP rate matrix, illustrated for the case :
The first and last rows represent reflecting barriers at 0 and . The states all intercommunicate and we could determine the asymptotic distribution by solving for the invariant distribution.
However it is simpler to observe that the system satisfies detailed balance.
implies that
Thus is a geometric progression and
We divide the vector by its sum
to get
A mobile phone “cell” can support a maximum number of phonecalls ; let new calls start with rate and let each call finish with rate , so that if there are calls ongoing then the rate of calls finishing is .
This is also known as the immigration/death model. Consider a system which can support a population (e.g. worms, bacteria, people) up to size . Let immigrants arrive at the system with rate ; any potential immigrants are turned away if there are immigrants in the system. Further suppose that immigrants die at a rate proportional to the number, , of immigrants in the system .
The rate matrix for this system has
and so we may use detailed balance to show that the equilibrium distribution is given by
(See coursework question for details).