Computing transient probabilities in Markovian queues with balking conditional on a fixed number of joined customers
Abstract
We analyze the transient behavior of a Markovian queue with balking,
conditional on exactly customers joining the system in a finite
time interval . A key quantity of interest is the cumulative
number of balking customers, for which we consider the probability
generating function (PGF) and derive an equation it satisfies. This
approach circumvents the computational burden arising from dealing
with high-dimensional Markovian system, which arises
when attempting to directly compute the joint distribution of
the cumulative number of balking customers together with the total
number of joining customers and the number of customers in the system.
To compute state transitions in efficiently,
we examine the conditional state probability at time given the
system state at time , and show that it satisfies a linear
differential equation in .
For piecewise-constant arrival rates, we develop a numerical procedure
for evaluating the moment of the total number of balking customers,
jointly with the cumulative number of joining customers and the
number of customers in the system, under the condition
that customers joined.
We also present numerical examples that highlight
counterintuitive behaviors arising from this conditioning, along with
explanations of the underlying mechanisms.
Keyword
balking,
Markovian queue,
fixed number of joined customers,
transient analysis,
computational procedure
1 Introduction
In many real-world queueing systems, such as waiting lines in cafeterias or at service counters in retail stores and offices, congestion can cause arriving customers to leave without receiving service. This general behavior can take two forms: when customers give up entering the system upon arrival, it is referred to as balking, while when they enter but leave before receiving service due to excessive waiting, it is referred to as reneging.
When customers abandon service opportunities through balking or reneging, the system loses potential revenue or throughput. Consequently, one of the primary performance metrics in such systems is the number of customers who arrive but do not receive service. Since these behaviors are typically influenced by factors that reflect the level of congestion, such as the number of customers already in the system or the expected waiting time, the congestion level at each time point also serves as an important measure.
Various queueing models incorporating balking and reneging have been studied extensively. Early works include [1, 2, 3, 4, 8, 9], which investigate customer abandonment in different settings. Reneging behavior under both random and first-come, first-served service disciplines is examined in [3, 4]. Balking behavior is modeled in [8], where stochastic thresholds are considered to represent each customer’s maximum acceptable number of customers in the system on arrival. This is extended in [9] to incorporate reneging based on individual waiting time tolerances. In [1, 2], probabilistic decisions to join the system based on the observed queue length are considered, where stationary distributions of several key system metrics are derived.
Subsequent studies have examined time-dependent arrival rates in queueing models. Fluid limits of queues with arrival rates depending on both time and congestion are analyzed in [20]. A discrete-time approximation to Poisson arrivals influenced by time and system state is adopted in [7]. For a comprehensive survey of queueing models with customer abandonment, see [17].
In this paper, we consider a Markovian queueing system with balking, under a nonstandard assumption that exactly customers join the system in a finite time interval . This conditional framework departs from conventional models based on unconditioned arrival processes, and reflects realistic situations in which the total number of customers joining the system in a fixed period (such as one business day) is directly observable as a summary statistic. Although is not a controllable parameter of the system, it is often used as a reference quantity in performance evaluation and planning. Analyzing system behavior conditional on this observable quantity thus provides a complementary perspective to traditional time-averaged and transient analyses.
We consider a continuous-time Markovian queue with arrivals following a non-homogeneous Poisson process, where the system state at each time is given by the cumulative number of customers who have joined, the number of customers in the system, and a service phase, incorporating various service mechanisms. Among various performance metrics in this setting, a key quantity of interest is the cumulative number of balking customers. However, the computation of this quantity as a Markovian counting process requires analyzing a large underlying state-space Markov chain, leading to a substantial increase in computational complexity.
To obtain a computationally tractable characterization, we analyze the probability generating function (PGF) of the cumulative number of balking customers, and derive the corresponding factorial moments. We also consider the conditional state probability of the system at time given its state at time , and show that it satisfies a linear differential equation in . This result enables us to efficiently compute factorial moments of the cumulative number of balking customers conditional on the total number of joined customers.
Furthermore, for piecewise-constant arrival rates, we develop a numerical procedure for evaluating the factorial moments of the total number of balking customers under the condition that customers joined. We present numerical examples to illustrate how the system behavior under such conditioning can exhibit counterintuitive features, such as persistent time-dependent dynamics that arise even under time-homogeneous arrival rates, and we provide explanations for these dynamics.
We briefly review prior research on queueing models conditional on a fixed number of arrivals [5, 6, 10, 11, 12, 13, 15, 16]. In such models, the arrival times of customers are assumed to be independent and identically distributed (i.i.d.) in a finite interval . This setup can be interpreted as conditioning a nonhomogeneous Poisson process to generate arrivals in . Although balking is not considered in these models, several results have been established. In [16], a discrete-time model is analyzed, leading to equations for the PGFs of the number of customers in the system and the virtual waiting time. Continuous-time analogs are studied in [12, 13], where it is shown that the queue-length and workload processes converge weakly to Gaussian processes as increases. Approximation techniques have also been developed; for instance, fluid and diffusion limits are derived in [11], while reflected Brownian limits in critically loaded regimes are analyzed in [5, 6]. Furthermore, exact characterizations of the time-dependent workload and queue-length have been provided in [10] and [15].
These studies demonstrate the analytical richness of fixing the total number of arrivals, even without balking. In our setting, balking introduces additional complexity, particularly in computing the cumulative number of balked customers, as discussed later.
The remainder of this paper is structured as follows. In Section 2, we describe the model considered in this paper, explain the computational difficulties encountered with a naive analytical approach, and outline our approach. In Section 3, we present the analysis of the PGF of the cumulative number of balked customers conditional on the total number of arrivals, along with the corresponding results for the factorial moments. In Section 4, we provide a detailed construction of a computation algorithm for transient states probabilities in piecewise time-homogeneous systems, and in Section 5, we present numerical examples. Finally, we conclude the paper in Section 6.
2 Model and analytical method
2.1 Model
We consider a queueing system in which customers arrive in a finite time interval (). The arrival process of customers is assumed to follow a nonhomogeneous Poisson process with rate , and for , we set . Additionally, arriving customers may balk based on the number of customers present just before their arrival. Specifically, customers who see customers () present on arrival decides to join the system with probability () and they leave immediately with probability .
Let () denote the cumulative number of customers who have arrived at the system in the time interval . Among these arriving customers, let denote the cumulative number of customers who have joined the system, and let denote the cumulative number of customers who have balked. Let denote the cumulative number of customers who have completed service and departed from the system in the time interval . Also let denote the number of customers in the system at time . For simplicity, we assume that the system is initially empty, i.e., . By definition, we have the following relations:
We assume that the service mechanism of the system is Markovian, and we define as the service phase at time . The service phase is assumed to contain sufficient information to describe the behavior of the system and it takes values in a finite set . Consequently, the triplet forms a continuous-time Markov chain defined on the state space , given by
The transition rate matrix of this continuous-time Markov chain is denoted by , where states are assumed to be ordered lexicographically. With this ordering, we regard as the transition rate matrix of a bivariate Markov chain with level variable and phase variable .
In this paper, we conduct a time-dependent analysis of the system conditional on the event that the cumulative number of joined customers by time equals a fixed constant (). Therefore, it suffices to consider only states where the cumulative number of joined customers does not exceed . Accordingly, we define the restricted state space as
Under this condition, the transition rate matrix of the continuous-time Markov chain can be expressed using the transition rate matrix for transitions between states belonging to :
Let denote the state probability at time :
Let denote the size of the state space. We define as a vector consisting of the elements , arranged in lexicographic order. By definition, we have for ,
| (1) |
Under this condition, is given by the solution of the following differential equation:
| (2) |
In this paper, we consider the time-dependent behavior of the system, conditional on exactly customers having joined before time . Specifically, for each , we examine the joint probability of the cumulative number of joined customers, the number of customers in the system, the service phase, and the cumulative number of balked customers. We define this time-dependent conditional joint probability as :
| (3) |
2.2 Analytical method
A straightforward approach to compute is to analyze a continuous-time Markov chain defined on an expanded state space
| (4) |
where , , , and represent the number of joined customers, the number of customers in the system, the service phase, and the number of balked customers, respectively. Let denote the state probability of the expanded Markov chain defined on :
We also define as the corresponding probability vector. Similarly to (2), the state probability vector satisfies
| (5) |
where denotes the transition rate matrix of the Markov chain defined on .
We can then rewrite (3) as
| (6) | |||||
where the last equation holds because and are conditionally independent given the system state . Since the transition probability is also determined by the transition rate matrix , the expression (6) fully characterizes .
As an example, consider a piecewise time-homogeneous system with
for . The solution of (5) in this case is given by the following equation:
| (7) |
Therefore, we obtain from (6) with (the elements of ) given by (7).
However, there are two main challenges in computing using this approach:
- (i)
Accounting for the cumulative number of balked customers.
-
Since the Markov chain is defined on a countably infinite state space , it is difficult to directly compute the transient state probabilities using (7).
One possible workaround is to treat as a Markovian counting process driven by the underlying process , for which an efficient computational method is known in the literature [14, 18]. However, the state space still grows as , which remains computationally expensive. For instance, even with the modest values and , already exceeds , highlighting the difficulty of scaling to larger .
-
- (ii)
Computing the transition probability in (6).
-
Although this transition probability is straightforward to evaluate in principle, it imposes a heavy computational burden when must be computed across many time points , due to repeated evaluations of this quantity.
-
To address challenge (i), we adopt an approach based on PGFs. While direct computation of the time-dependent probability is computationally intensive, the use of PGFs enables efficient calculation of the moments of the cumulative number of balked customers. More specifically, we define (, ) as the (unconditional) PGF of the cumulative number of of balked customers, and ( ) as the -th (unconditional) factorial moment of the cumulative number of balked customers:
| (8) | ||||
| (9) |
where denotes the indicator function. Similarly, we define the PGF and factorial moment of the number of balked customers conditional on exactly customers having joined before time :
| (10) | ||||
We show that the unconditional PGF (for each ) satisfies a first-order differential equation in time , and characterize accordingly. Furthermore, using these results, we characterize both the unconditional factorial moments and the conditional factorial moments . Based on these results, we develop a practical computational procedure applicable to piecewise time-homogeneous systems.
To address challenge (ii), we make use of the fact that the cumulative number of joined customers is fixed at time , and consider the probability that given the system state at an earlier time for . This backward-in-time formulation allows us to efficiently compute the transition probabilities for multiple values of , as they satisfy a linear differential equation in .
In the following sections, we analyze the conditional PGF and develop an efficient method for computing it.
3 Analysis of the time-dependent PGF conditional on joined customers
We first consider the unconditional PGF. Let denote the row vector consisting of the elements , arranged in lexicographic order.
Lemma 1.
For each , the unconditional PGF is determined by the following linear differential equation:
| (11) | ||||
| (12) |
where is given by (1), and denotes an diagonal matrix representing state transitions due to customer balking:
We then characterize the conditional PGF (defined as (10)) in terms of the unconditional PGF. Recall that the conditional and unconditional state probabilities and are related as (6). As explained in the previous section, the key quantity in developing an efficient computational method is the conditional probability .
To facilitate efficient analysis of this quantity, we introduce a conditional probability , parametrized backward in time:
| (13) |
By definition, represents the conditional probability that exactly customers have joined before time , given the system state at time . Let denote a vector consisting of the elements , arranged in lexicographic order.
Lemma 2.
is determined by the following linear equation
| (14) | ||||
| (15) |
Proof.
As the boundary condition (14) follows immediately from the definition of , we prove (15) below. From the Markov property of the system state , we have for ,
Therefore, using the elements of the transition matrix , we have
as . This equation is further rewritten in matrix form as
which implies (15). ∎
The conditional PGF is thus obtained in terms of and :
Theorem 3.
Theorem 3 provides the complete characterization of the state probabilities of the system, conditional on the event that exactly customers have joined in . As represents the number of balked customers in the form of PGF, we can derive its moments accordingly.
Letting denote a vector consisting of the elements (cf. (8) and (9)) arranged in lexicographic order, we obtain the following results from Lemma 1 and Theorem 3:
Lemma 4.
() is determined by the following differential equation:
| (17) | ||||
| (18) |
Proof.
The results above show that for given system parameters , , and , we can compute the conditional PGF and the moments by solving the linear differential equations in Lemma 1, Lemma 2, and Lemma 4. In the following sections, we develop a detailed computational algorithm focusing on the case that and are piecewise constant in time and we present numerical examples, which demonstrate the feasibility of computation based on these general results.
4 Special case: Piecewise time-homogeneous systems
In this section, we develop a detailed computational algorithm for the case with piecewise constant and . More specifically, the time interval is divided into () subintervals with and , and the arrival rate and transition rate matrix are assumed constant during each interval:
| (20) |
In this case, the unconditional PGF characterized as Lemma 1 is given recursively by
| (21) |
with given by (11). Similarly, the conditional probability characterized as Lemma 2 is given recursively by
| (22) |
with given by (14). Note here that the equality at right endpoints in (21) and in (22) follows from the continuity of and . Therefore, we obtain the time-dependent PGF from Theorem 3.
For the factorial moments , the following representation of unconditional factorial moments leads to efficient computation:
| (23) |
By definition, denotes a vector of time-dependent joint probability and the factorial moments (), weighted according to their order. Under the assumption (20), is obtained as follows:
Theorem 6.
For a fixed , is given by
| (25) |
where is defined as
Proof.
Theorem 6 shows that the unconditional factorial moments () up to the -th order can be obtained simultaneously by computing . More specifically, we have
| (31) | ||||||
| (32) | ||||||
where is given by
i.e., it has an identity matrix at the -th block, and zero matrices elsewhere. Therefore, utilizing this representation, we can compute the conditional factorial moments efficiently from Theorem 5.
To develop a stable computational algorithm, it is essential to use the uniformization technique [19, pp. 154–156] for computing the matrix exponentials. More specifically, we rewrite (22) as
| (33) |
where and are defined as
| (34) | ||||
and denotes the probability mass function of the Poisson distribution with mean :
Note that the right-hand side of (33) involves only additions and multiplications of non-negative numbers, which ensures numerical stability by avoiding the loss of significant digits. Although the choice of is arbitrary as long as it satisfies , we adopt the specific form used here for convenience in computing , as discussed below.
For the computation of using (25), it is important to note that (defined as (6)) is not necessarily a proper transition rate matrix as its row sums may exceed zero. To improve numerical stability, we factor out a scalar exponential term:
where represents a proper transition rate matrix. Using this relation, we rewrite (25) as
| (35) |
where
We can verify that the right-hand side of (35) involves only additions and multiplications of non-negative numbers.
Furthermore, to compute the term in (35) efficiently, we leverage the block structure and sparsity of . To this end, we define as
which satisfies the recurrence
Each block of can then be computed recursively as
| (41) | ||||||
| (42) |
Remark 7.
Figure 1 summarizes the computational procedure for evaluating the factorial moments . In this procedure, the truncation point for the infinite sums in (33) and (35) is treated as an input parameter.
Input: , , , (), (), , (), , , , , and . Output: (, ). Step 1: Computation of and . Set as in (6). for to do Compute using (35) and the truncation point . endfor Step 2: Computation of . Set as in (14). if then for to do Compute using (33) and the truncation point . endfor endif Step 3: Computation of output . Compute using (35) and using (33), with the truncation point . for to do Compute by (31) or (32). for do Compute by (19). endfor endfor
5 Numerical examples
In this section, we present numerical examples for an M/PH/1 queue and investigate how condition that the total number of joined customers is given affects the time-dependent behavior of the number of customers in the system. This setting corresponds to the case considered in Section 4 with , and we fix the arrival rate as throughout this section. Service times are assumed to be i.i.d. according to a phase-type distribution. More specifically, we use a subclass of phase-type distributions [19, pp. 358–359] characterized by the mean and coefficient of variation : (i) a mixture of Erlang distributions with and stages (), (ii) an exponential distribution (), and (iii) a balanced hyper-exponential distribution (). Throughout the experiments, the mean service time is fixed to one. Unless otherwise mentioned, we set the observation horizon to and the total number of joined customers to . We provide a detailed computational procedure for this model in Appendix A.
We begin by examining the time-dependent distribution of the number of customers in the system, conditional on the total number of joined customers. We set the entry probability as
| (43) |
Figure 2 shows heatmaps of the distribution of the number of customers in the system for and different values of , conditional on exactly joined customers. Each panel also includes sample paths obtained from simulation. These sample paths tend to pass through regions of higher density in the heatmaps, highlighting the consistency between the simulated trajectories and the computed distributions.
These heatmaps and sample paths reveal behaviors that may initially seem counterintuitive. For example, in Figure 2 (d), the number of customers follows a unimodal trajectory (first increasing and then decreasing) despite the constant arrival rate . This illustrates how condition that the total number of joined customers () is given can induce dynamics that deviate fundamentally from those in conventional queueing models, where the system converges to the steady state over time.
To investigate the mechanism behind this behavior, Figure 3 presents the time evolution of several key system metrics, all conditional on exactly customers having joined by time :
- •
the expected number of customers in the system ,
- •
the increment in the expected cumulative number of joined customers ,
- •
the increment in the expected cumulative number of balked customers ,
- •
the increment in the expected cumulative number of arrivals ,
- •
the increment in the expected cumulative number of departures , and
- •
the system utilization ,
where for any time-dependent quantity , we define the increment . From Figure 3 (a), we observe that for , , and , the number of customers in the system first increases and then decreases over time. In contrast, for and , the number of customers remains nearly flat for most of the observation period, with slight increases near the beginning and end.
By definition, the change in the number of customers in the system satisfies , so the transient behavior of can be explained in terms of the numbers of joined and departed customers. Figure 3 (b) shows that the mean joining rate exhibits a bias under the conditioning . In particular, larger values of the arrival rate lead to more joining events in the early stage. This bias arises because, when , a larger number of balking events is necessary to limit the total number of joined customers to . To satisfy this constraint, the system tends to admit more customers early on, causing to increase rapidly and thereby creating more opportunities for balking.
Figure 3 (a), (c), and (d) further show that the bias in the conditional joining rate originates mainly from a bias in the conditional arrival rate , rather than from the balking behavior itself. In fact, the conditional balking rate closely follows the system congestion level . Therefore, we conclude that the counterintuitive time-dependent behavior of mainly stems from a bias introduced in the arrival process due to the condition that the total number of joined customers is given.
Figure 4 complements this observation by showing the unconditional mean number of joined customers in as a function of . By examining Figure 3 (a) alongside Figure 4, we see how is related to the time-dependent behavior of : for , the trajectory typically peaks in the middle of the interval, while for , it tends to increase steadily over time.
We next examine the effect of the coefficient of variation of service times on the transient behavior of the system. Figure 5 shows the dynamics of various performance metrics for several values of , with the arrival rate fixed at . From Figure 5 (a), we observe that increases initially and then decreases after reaching a peak, regardless of . As increases, this peak becomes more pronounced and occurs later in time. Figure 5 (a) and (c) show that the timing of balking events remains closely aligned with the level of system congestion, as reflected in , across all cases.
Figure 5 (d) and (e) show that a higher leads to a stronger bias in the number of departures: for large values of , the departure rate tends to be elevated during the early period, while the arrival rate remains relatively stable. In contrast, when is small, the bias shifts to the arrival process, with exhibiting a notable time dependence. In this case, the departure rate gradually approaches one, reflecting saturation of system capacity.
In this setting, the unconditional expected number of arrivals is , which exceeds the fixed number of joined customers by a wide margin. When is large, frequent occurrences of long service times lead to heavy congestion, resulting in more balking events. In contrast, when is small, such long service times are rare, and the relative variability in the arrival process becomes more influential, shifting the bias toward fluctuations in arrivals.
Finally, we examine how different forms of the entry probability affect system behavior. In addition to the baseline defined in (43), we consider the following four alternative shapes:
| (44) | ||||||
| (45) | ||||||
| (46) | ||||||
| (47) |
These choices are calibrated so that, without condition that the total number of joined customers is given with and , the expected number of balking customers in satisfies . The corresponding entry probability functions are plotted in Figure 6.
Figure 7 presents the transient behavior of the system under the five different entry probability functions , with the arrival rate and the coefficient of variation of service times . As shown in Figure 7 (a), the mean number of customers in the system exhibits a unimodal shape in all cases, and the peak tends to be lower when is convex. Figure 7 (b) and (c) show that when is concave, balking tends to occur more frequently in the later part of the interval, suggesting that customer entries are more concentrated early on. From Figure 7 (c), (d), and (e), we observe that the convex leads to fewer arrivals and more frequent departures, with fewer number of balking customers.
These observations can be explained by the structure of the entry probability . When is concave, balking increases sharply with congestion, leading to a greater imbalance in the timing of entries. In contrast, the convex results in a more gradual response to congestion, making it less likely that the system compensates by increasing congestion to induce balking; instead, the arrival rate decreases and the departure rate becomes more similar to that in the unconditioned system.
6 Conclusion
In this paper, we analyzed a Markovian queueing system with balking, where arrivals follow a nonhomogeneous Poisson process over a finite time interval , and customers may balk depending on the number of customers present upon arrival. Our analysis focused on the system behavior conditioned on exactly customers having joined the system during the interval.
We addressed two main computational challenges arising in the analysis of the cumulative number of balking events under the fixed- setting. First, directly analyzing the extended Markov chain leads to an intractably large state space. To overcome this, we introduced a PGF representation and derived a first-order differential equation satisfied by the unconditioned PGF. This formulation enables efficient computation without explicitly tracking the number of balking customers.
Second, to avoid computing the transition probabilities repeatedly for multiple time points, we considered a backward-in-time approach. We showed that the conditional probability satisfies a linear differential equation in , allowing efficient evaluation across a range of values.
For the case where system parameters are piecewise constant, we developed a numerical procedure to compute the conditional factorial moments. Numerical examples for an M/PH/1 queue illustrated that conditioning on the total number of joined customers induces time-dependent dynamics that differ markedly from typical steady-state behavior. For instance, the expected number of customers in the system may increase and then decrease even under a constant arrival rate. We showed that such behaviors are driven by nontrivial biases in both arrivals and departures caused by the conditioning.
In this paper, we assumed that once customers join the system, they remain until service completion. Under this assumption, the total number of customers served equals the number of joined customers. However, in many real-world systems, customers may renege before completing service. In such settings, conditioning on the number of served customers no longer coincides with conditioning on the number of entries. Extending our approach to such cases, where early departures occur, remains an important direction for future work.
Acknowledgments
This work was supported in part by JSPS KAKENHI Grant Number JP24K14839.
References
- [1] Ancker Jr, C.J.; Gafarian, A.V. Some queuing problems with balking and reneging. I. Operations Research 1963, 11(1), 88–100.
- [2] Ancker Jr, C.J.; Gafarian, A.V. Some queuing problems with balking and reneging—II. Operations Research 1963, 11(6), 928–937.
- [3] Barrer, D.Y. Queuing with impatient customers and indifferent clerks. Operations Research 1957, 5(5), 644–649.
- [4] Barrer, D.Y. Queuing with impatient customers and ordered service. Operations Research 1957, 5(5), 650–656.
- [5] Bet, G.; van der Hofstad, R.; van Leeuwaarden, J.S. Heavy-traffic analysis through uniform acceleration of queues with diminishing populations. Mathematics of Operations Research 2019, 44(3), 821–864.
- [6] Bet, G. An alternative approach to heavy-traffic limits for finite-pool queues. Queueing Systems 2020, 95(1), 121-144.
- [7] Chassioti, E.; Worthington, D.; Glazebrook, K. Effects of state-dependent balking on multi-server non-stationary queueing systems. Journal of the Operational Research Society 2014, 65(2), 278–290.
- [8] Haight, F.A. Queueing with balking. Biometrika 1957, 44(3/4), 360–369.
- [9] Haight, F.A. Queueing with reneging. Metrika 1959, 2(1), 186–197.
- [10] Hayashi, K.; Inoue, Y.; Takine, T. Time-dependent queue length distribution in queues fed by customers in a finite interval. To appear in Queueing Systems 2026.
- [11] Honnappa, H.; Jain, R.; Ward, A.R. A queueing model with independent arrivals, and its fluid and diffusion limits. Queueing Systems 2015, 80, 71–103.
- [12] Louchard, G. Large finite population queueing systems. Part I: the infinite server model. Stochastic Models 1988, 4(3), 473–505.
- [13] Louchard, G. Large finite population queueing systems. The single-server model. Stochastic processes and their applications 1994, 53, 117–145.
- [14] Lucantoni, D.M.; Ramaswami, V. Efficient algorithms for solving the non-linear matrix equations arising in phase type queues. Stochastic Models 1985, 1(1), 29–51.
- [15] Mandjes, M.; Rutgers, D.T. A queue with independent and identically distributed arrivals. Journal of Applied Probability 2025, 62, 319–346.
- [16] Minh, D.L. A discrete time, single server queue from a finite population. Management Science 1977, 23(7), 756–767.
- [17] Sharma, S.; Kumar, R.; Soodan, B.S.; Singh, P. Queuing models with customers’ impatience: a survey. International Journal of Mathematics in Operational Research, 2023, 26(4) 523–547.
- [18] Takine, T.; Matsumoto, Y.; Suda, T.; Hasegawa, T. Mean waiting times in nonpreemptive priority queues with Markovian arrival and iid service processes. Performance Evaluation 1994, 20(1-3), 131–149.
- [19] Tijms, H.C. Stochastic Models, An Algorithmic Approach. Wiley: Chichester, 1994.
- [20] Whitt, W. Fluid models for multiserver queues with abandonments. Operations research 2006, 54(1), 37–54.
Appendix A Transition rate matrix and evaluation of (41) and (42) in the M/PH/1 queue
In this section, we present the specific form of the northwest corner block of the transition rate matrix in an M/PH/1 queue and describe the concrete calculation method for appearing on the right-hand side of equations (41) and (42). For the sake of notational simplicity, we omit subscripts and define:
Additionally, we define:
The service time distribution follows a phase-type distribution characterized by the initial state and the transition rate matrix . The initial state and the transition rate matrix for given mean and coefficient of variation can be obtained from [19, pp. 353, 358–359].
Let denote the number of customers in the system and the service phase. The northwest corner block of the transition rate matrix of the continuous-time Markov chain is then given by
where and (for ) are given by
Due to the sparsity of , the computation of the matrix product from the right can be optimized as follows. Given a row vector , let . The elements of , corresponding to the state where the cumulative number of joins is and the number of customers in the system is , can be computed using the elements of as follows: