Abstract
In this paper, we study queueing systems with an infinite and finite number of waiting places that can be modeled by a Quasi-Birth-and-Death process. We derive the conditions under which the stationary distribution for a loss system is a truncation of the stationary distribution of the Quasi-Birth-and-Death process and obtain the stationary distributions of both processes. We apply the obtained results to the analysis of a semi-open network in which a customer from an external queue replaces a customer leaving the system at the node from which the latter departed.
1. Introduction
Consider a queueing system with an infinite number of waiting places which may be modeled by a Quasi-Birth-and-Death (QBD) process on a state space where and , . Here l represents the number of customers in the queue and represents the internal state of the system. The generator of the process has the block tri-diagonal form
where is a square matrix of order n, the matrices , , and are square of order m, and the matrices and are rectangular of appropriate dimensions. We denote by the stationary probability vector associated with and we partition it as , where is an n-vector, and , , are m-vectors. We also define the generator .
According to [1], the positive recurrent Markov chain has a modified matrix-geometric stationary probability vector,
where , which is called the rate matrix, has the spectral radius and is the minimal nonnegative solution of the matrix equation
Once is known, vectors and are obtained by solving the linear system
with the normalizing condition
where is the column vector of all ones of appropriate size.
The rate matrix is usually computed via iterative algorithms [1,2,3,4] among which the fastest is the logarithmic reduction algorithm [2]. Available methods for computation of the rate matrix are effective only for relatively small values of m. Exceptions are processes with off-diagonal blocks of a special type. If matrices or have rank one [5,6], or matrix is triangular [7,8], it is possible to find an explicit solution of Equation (3).
Now, consider a queueing system with waiting places, that can be modeled by a Markov chain on a state space with a generator of the block tri-diagonal form
The change in the lower diagonal block is due to the fact that if an arriving customer finds all waiting places occupied it is lost, but the internal state of the system changes in the same manner as if the customer were not lost.
We partition the stationary probability vector associated with as , where is an n-vector, and , are m-vectors. Solving finite QBD processes is more complicated than solving infinite processes [9,10,11]. If for some number s matrices , , satisfy then the stationary probability vector can be expressed using two matrix-geometric terms as [12]
which require computation of the minimal nonnegative solutions of two matrix equations
The vectors , and can be found by solving the linear system
and normalizing vector . The condition holds, for example, if the generator is irreducible and , where is the stationary probability vector of [13].
The stationary probability vector of the generator (Equation (1)) satisfies the equation
for all . In the finite case the stationary probability vector also satisfies the equation
for all , but the boundary equation is different
It is clear that if the rate matrix satisfies then the stationary distribution of can be obtained by the truncation of the matrix-geometric stationary distribution (Equation (2)) of at the level of . In turn, this is enough to fulfill the condition for some In this paper we study the properties of QBD processes with rate matrix satisfying . If it is so, then for any L the stationary distribution of the process can be obtained by truncation of the stationary distribution of .
In the next section we show when the rate matrix satisfies . In Section 3, we analyze the stationary distributions of infinite and finite QBD processes. In Section 4, we use the obtained results for solving a semi-open network in which customers from an external queue may only arrive to the node from which a departed customer left the system. We assume the process to be positive recurrent.
The following notation conventions are used throughout the article. Bold lowercase letters denote vectors, and bold capitalized letters denote matrices, if and otherwise; is the identity matrix; the ith component of vector is equal to one and the others are zero.
2. Rate Matrices Satisfying
Here we derive the explicit solution of matrix Equation (3) obtained for a rate matrix satisfying .
Theorem 1.
Letbe an irreducible generator with stationary probability vector, and letbe the minimal nonnegative solution of Equation (3). Then the matrixsatisfies the relationif and only if
where and . Moreover, the matrix and its spectral radius are given by
Proof.
Let matrix satisfy the relation . Then, Equation (3) can be rewritten as
Since the generator is irreducible, each column of the matrix is proportional to the vector . Therefore has the form , where is a row vector satisfying
By postmultiplying Equation (15) by vector we obtain which implies Equations (11) and (12).
Let matrix be given by Equation (11). Since the process is positive recurrent, the matrix is nonsingular [1] and we have
This relation implies that the rate matrix is of the form , where is the unique solution of the equation
It is easy to check that the vector
satisfies Equation (16). Therefore, the rate matrix and its maximum eigenvalue are given by Equations (12) and (13). This completes the proof of the theorem. □
Corollary 1.
Let matrices,,have the block-diagonal form
and suppose that is an irreducible generator with a stationary probability vector . Then the minimal nonnegative solution
of Equation (3) satisfies the relation , if and only if
where and . The matrices and their spectral radii are given by
This Corollary 1 follows directly from Theorem 1 applied to each diagonal block of the matrices (17) and (18).
3. Truncation of the Stationary Distribution
Consider a queueing system with waiting places that can be modeled by a Markov chain with a generator of the form (7) with the block-diagonal matrices , , as in Equation (17). We partition the stationary probability vector corresponding to as , where is an n-vector, and is partitioned as , with -vectors , .
Theorem 2.
Let a generatorbe irreducible, matrices,,have the block-diagonal form (Equation (17)),be an irreducible generator with the stationary probability vectorthe matricesbe given by Equations (19) and (20) respectively, and vectorsandsatisfy the linear system
Then the stationary probability vector of is given by
where is the normalization constant,
Proof.
Since the matrices and are given by Equations (19) and (20), under the Corollary 1 of Theorem 1, matrix (18) is the solution of Equation (3) and satisfies . It implies that vectors and given by Equation (25) satisfy the following relations:
It follows that is the stationary probability vector of the generator Power of the matrix is given by
Using this formula and equality (Equation (24)) we obtain the normalization constant (Equation (26)). This completes the proof of the theorem. □
Note that the vector in Equations (22)–(24) gives the stationary distribution of the Markov chain which models a queueing system without waiting places, and the stationary distribution of the Markov chain depends on the number of waiting places L only via the normalizing constant . Similar results are valid for the infinite QBD process with generator of the form (1).
Theorem 3.
Let generatorbe irreducible, matrices,,have the block-diagonal form (17),be an irreducible generator with stationary probability vectormatricesbe given by (19) and (20) respectively, and vectorsandsatisfy the linear system (22)–(24). Then processis positive recurrent if and only iffor allIn this case the stationary probability vector ofis given by
whereis the normalization constant,
Proof.
The proof of Equations (27) and (28) is similar to the proof of Equations (25) and (26). The spectral radius of the rate matrix is the maximum of the spectral radii if its diagonal blocks are given by Equation (21). Therefore, the process is positive recurrent if and only if for all . □
The following result is a direct consequence of Equation (25) for the stationary distribution of the processes and of Equation (27) for the stationary distribution of the process .
Corollary 2.
If the conditions of Theorem 2 hold andfor allthen the stationary distributions of the processescan be obtained by truncation of the stationary distribution of the process.
4. Semi-Open Networks with Replacement
Since the first papers [14,15] on semi-open networks appeared, the use of these models has become increasingly widespread [16,17,18]. However, the exact analysis even of the simplest network, with two exponential single-server nodes, Poisson arrival process, and an infinite queue, remains a difficult task [15]. The semi-open networks with external queue are mainly analyzed by approximate methods and the matrix-geometric method [19,20,21,22,23].
Consider a semi-open network consisting of an internal network with v nodes and an external queue. The number of customers in the internal network cannot exceed N. If an arriving customer finds the internal network busy it waits in the external queue or is lost if the number of customers in the queue has reached its maximum value . Such a network can be considered as a queuing system with N resource units. If all N resource units are occupied, the arriving customer waits in the external queue until a resource unit becomes available. Upon completion of its service in the internal network, the customer releases the occupied resource unit.
We consider semi-open networks in which the customers waiting in the external queue select a node for entering the internal network according to the following rule, which we call the replacement. If a customer leaves the system upon completing service at node i, then a customer from the external queue will start service also at node i, thus “replacing” the leaving customer. As a result, the number of customers in the external queue will decrease by one, but the number of customers at each node of the internal network remains unchanged. An example of a system in which only the replacement of customers leaving the system is possible is shown in Figure 1. It is a semi-open network with only one node where customers can complete service and through which waiting customers can enter the internal network.
Figure 1.
Internal network with a single node in which customers start and finish servicing.
Let the arrival process be Poisson with rate . The service rate at node i depends on the number of customers at this node: and for A customer entering the internal network is sent to node i with probability , . A customer completing service at node i will either require service at node j with a probability or leave the system with probability . The visit ratios can be found as a solution of the linear system
and the nodes’ throughputs are given by , . Summing both sides of Equation (1) over j, we obtain a useful relation
A semi-open network can be modeled by a Markov chain where represents the number of customers in the system at time t, and , , represent the number of customers at node j of the internal network. The process has a state space with
where
We assume that all states of the process communicate and denote its stationary distribution as , , .
The generator of the process has the block tri-diagonal form (Equation (18)) with the following nonzero transition rates
where
In Equation (8) the matrices , , are diagonal with elements , , respectively. Therefore, the stationary distributions for the finite and infinite semi-open networks with replacement can be found using Theorems 2 and 3.
For a semi-open network without an external queue the closed form solution can be easily derived because there exists an equivalent closed network of capacity N. The equivalent network can be obtained by adding a single-server node 0 with an infinite queue and exponentially distributed service times with parameter to the original network. Node 0 plays the role of the external environment of the original network. When a customer arrives to or departs from the original network, it departs from or arrives to node 0 in the equivalent network. The stationary distribution , , of closed queueing networks with state-dependent service rates have a product form [24] and the solution and of the linear system (Equations (19)–(21)) is given by
For closed queueing networks, there are several effective methods for computation of the normalization constant [25].
By virtue of Theorem 2 for semi-open network with replacement and a finite external queue, the stationary distribution of the process is given by
where
It follows from Theorem 3 that a semi-open network with replacement and an infinite external queue is stable if and only if for all states . In this case, the stationary distribution of is given by
Similarly, it is possible to analyze semi-open queuing networks partitioned into subnetworks. Each such subnetwork consists of a subset of nodes of the internal network. If a customer leaves the system, then a customer from the external queue will proceed with a certain probability to a node in the same subnetwork in which the customer leaving the system was served. The generator of the related QBD process has the matrices of the form of Equation (17). The results of this paper can be used if the diagonal blocks of satisfy relation (19).
5. Conclusions
We have studied the properties of QBD processes with the rate matrix satisfying , which guarantees that the stationary distribution of the finite QBD process is a truncation of the stationary distribution of the infinite QBD process. We have obtained the necessary and sufficient condition for the fulfillment of the equality and have derived the formulae for the rate matrix and for the superdiagonal blocks of the process generator. These matrices have rank one, and therefore the stationary distribution and the performance parameters of QBD processes can be easily found. The results obtained have been applied to a semi-open network in which customers from the external queue can enter the internal network only through the node from which the departing customer left the system.
Author Contributions
Conceptualization, V.A.N. and K.E.S.; methodology and validation, V.A.N.; review and editing, original draft preparation, examples, Y.V.G.; supervision and project administration, K.E.S.
Funding
The publication has been supported by the Ministry of Education and Science of the Russian Federation (project No. 2.882.2017/4.6).
Conflicts of Interest
The authors declare no conflict of interest.
References
- Neuts, M.F. Matrix-Geometric Solutions an Algorithmic Approach; The Johns Hopkins University Press: Baltimore, MD, USA, 1981. [Google Scholar]
- Latouche, G.; Ramaswami, V. A logarithmic reduction algorithm for Quasi-Birth-Death processes. J. Appl. Probab. 1993, 30, 650–674. [Google Scholar] [CrossRef]
- Meini, B. Solving QBD problems: The cyclic reduction algorithm versus the invariant subspace method. Adv. Perform. Anal. 1998, 1, 215–225. [Google Scholar]
- Qiang, Y. On Latouche-Ramaswami’s logarithmic reduction algorithm for Quasi-Birth-and-Death processes. Stoch. Models 2001, 18, 449–467. [Google Scholar]
- Neuts, M.F. Explicit steady-state solutions to some elementary queueing models. Oper. Res. 1982, 30, 480–489. [Google Scholar] [CrossRef]
- Latouche, G.; Ramaswami, V. A general class of Markov processes with explicit matrix-geometric solutions. Oper. Res. 1986, 8, 209–218. [Google Scholar]
- Leeuwaarden, J.S.H.; Squillante, M.; Winands, E. Quasi-birth-and-death processes, lattice path counting, and hypergeometric functions. J. Appl. Probab. 2009, 46, 507–520. [Google Scholar] [CrossRef][Green Version]
- Doroudi, S.; Fralix, B.; Harchol-Balter, M. Clearing analysis on phases: Exact limiting probabilities for skip-free, unidirectional, quasi-birth-death processes. Stoch. Syst. 2016, 6, 420–458. [Google Scholar] [CrossRef]
- Hajek, B. Birth-and-Death Processes on the Integers with Phases and General Boundaries. J. Appl. Probab. 1982, 19, 488–499. [Google Scholar] [CrossRef]
- Naumov, V. Modified Matrix-Geometric Solution for Finite QBD processes. In Advances in Algorithmic Methods for Stochastic Models; Latouche, G., Taylor, P., Eds.; Notable Publications: Neshanic Station, NJ, USA, 2000; pp. 257–264. [Google Scholar]
- Akar, N.; Sohraby, K. Finite and infinite QBD chains: A simple and unifying algorithmic approach. In Proceedings of the INFOCOM ‘97, Kobe, Japan, 7–11 April 1997; Volume 3, pp. 1105–1113. [Google Scholar]
- Naoumov, V. Matrix-multiplicative approach to quasi-birth-and-death processes analysis. In Matrix-Anal. Methods Stoch. Models; Alfa, A.S., Chakravarthy, S.R., Eds.; Marcel Dekker: New York, NY, USA, 1996; pp. 87–106. [Google Scholar]
- Krieger, U.R.; Naumov, V. Analysis of a delay-loss system with a superimposed markovian arrival process and state dependent service times. In Numer. Solut. Markov Chain; Plateau, B., Stewart, W.J., Silva, M., Eds.; Prensas Universitarias de Zaragoza: Zaragoza, Spain, 1999. [Google Scholar]
- Avi-Itzhak, B.; Heyman, D.P. Approximate Queuing Models for Multiprogramming Computer Systems. Oper. Res. 1973, 21, 1212–1230. [Google Scholar] [CrossRef]
- Konheim, A.G.; Reiser, M. Finite Capacity Queuing Systems with Applications in Computer Modeling. SIAM J. Comput. 1978, 7, 210–229. [Google Scholar] [CrossRef]
- Busacott, J.A.; Shanthikumar, J.G. Design of Manufacturing Systems Using Queueing Models. Queueing Syst. 1992, 12, 135–214. [Google Scholar] [CrossRef]
- Cai, X.; Heragu, S.S.; Yang Liu, Y. Modeling Automated Warehouses Using Semi-Open Queueing Networks. In Handbook of Stochastic Models and Analysis of Manufacturing System Operations; Smith, J., Tan, B., Eds.; Springer: New York, NY, USA, 2003. [Google Scholar]
- Zou, B.P.; de Koster, R.; Xu, X.H. Operating Policies in Robotic Compact Storage and Retrieval Systems. Transp. Sci. 2008, 52, 788–811. [Google Scholar] [CrossRef]
- Jia, J.; Heragu, S.S. Solving Semi-Open Queuing Networks. Oper. Res. 2009, 57, 391–401. [Google Scholar] [CrossRef]
- Roy, D. Semi-Open Queuing Networks: A Review of Stochastic Models, Solution Methods and New Research Areas. Int. J. Prod. Res. 2016, 54, 1735–1752. [Google Scholar] [CrossRef]
- Ekren, B.Y.; Heragu, S.S.; Krishnamurthy, A.; Malmborg, C.J. Matrix-Geometric Solution for Semi-Open Queuing Network Model of Autonomous Vehicle Storage and Retrieval System. Comput. Ind. Eng. 2014, 68, 78–86. [Google Scholar] [CrossRef]
- Dhingraa, V.; Kumawat, G.L.; Roy, D.; de Koster, R. Solving Semi-open Queuing Networks with Time-varying Arrivals: An Application in Container Terminal Landside Operations. Eur. J. Oper. Res. 2018, 267, 855–876. [Google Scholar] [CrossRef]
- Kim, J.; Dudin, A.; Dudin, S.; Kim, C. Analysis of a semi-open queueing network with Markovian arrival process. Perform. Eval. 2018, 120, 1–19. [Google Scholar] [CrossRef]
- Baskett, F.; Chandy, K.M.; Muntz, A.A.; Palacios, F.G. Open, closed, and mixed networks of queues with different classes of customers. J. ACM 1975, 22, 248–260. [Google Scholar] [CrossRef]
- Bolch, G.; Greiner, S.; de Meer, H.; Trivedi, K.S. Queueing Networks and Markov Chains: Modeling and Performance Evaluation with Computer Science Applications, 2nd ed.; John Wiley & Sons: Hoboken, NJ, USA, 2006. [Google Scholar]
© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
