Abstract
We consider a time-non-homogeneous double-ended queue subject to catastrophes and repairs. The catastrophes occur according to a non-homogeneous Poisson process and lead the system into a state of failure. Instantaneously, the system is put under repair, such that repair time is governed by a time-varying intensity function. We analyze the transient and the asymptotic behavior of the queueing system. Moreover, we derive a heavy-traffic approximation that allows approximating the state of the systems by a time-non-homogeneous Wiener process subject to jumps to a spurious state (due to catastrophes) and random returns to the zero state (due to repairs). Special attention is devoted to the case of periodic catastrophe and repair intensity functions. The first-passage-time problem through constant levels is also treated both for the queueing model and the approximating diffusion process. Finally, the goodness of the diffusive approximating procedure is discussed.
Keywords:
double-ended queues; time-non-homogeneous birth-death processes; catastrophes; repairs; transient probabilities; periodic intensity functions; time-non-homogeneous jump-diffusion processes; transition densities; first-passage-time MSC:
60J80; 60J25; 60J75; 60K25
1. Introduction
Double-ended queues are often adopted as stochastic models for queueing systems characterized by two flows of agents, i.e., customers and servers/resources. When there are a customer and a server in the system, the match between the request and service occurs immediately, and then, both agents leave the system. As a consequence, there cannot be simultaneously customers and servers in the system. Namely, denoting by the state of the system at time t, it is assumed that , , if there are n customers waiting for available servers, whereas , , if there are n servers waiting for new customers, and , if the system is empty. Hence, typical models for are bilateral continuous-time Markov chains or similar stochastic processes.
Double-ended queueing systems can be applied to model numerous situations in real-world scenarios. A classical example is provided by taxi-passenger systems, where the role of customers and servers is played by passengers and taxis, respectively. We recall the first papers on this topic by Kashyap [1,2] and the subsequent contributions by Sharma and Nair [3], Tarabia [4] and Conolly et al. [5]. Other examples are provided by the dynamical allocation of live organs (servers) to candidates (customers) needing transplantation (cf. Elalouf et al. [6] and the references therein). Double-ended queues are suitable also to describe different streams arriving at a system (see Takahashi et al. [7]).
In this area, the interest is typically in the determination of the transient distribution and the asymptotic distribution of the system state, the busy period density, the waiting time density and related indices such as means and variances. The difficulties related to the resolution of the birth-death processes describing the length of the queue, in some cases, can be overcome by means of suitable transformations as those presented in Di Crescenzo et al. [8]. Such a transformation-based approach has been successfully exploited also for diffusion processes (see Di Crescenzo et al. [9]), this being of interest for the analysis of customary diffusion approximations of queue-length processes.
Attention is given often also to variants of the relevant stochastic processes that are adopted to describe more complex situations, such as bulk arrivals, truncated queues, the occurrence of disasters and repairs, and so on. In this respect, we recall the recent paper by Di Crescenzo et al. [10], which is centered on the analysis (i) of a continuous-time stochastic process describing the state of a double-ended queue subject to disasters and repairs and (ii) of the Wiener process with jumps arising as a heavy-traffic approximation to the previous model.
In many queueing models of manufacturing systems, it is assumed that the times to failure and the times to repair of each machine are exponentially distributed. However, exponential distributions do not always accurately represent distributions encountered in real manufacturing systems. Some of these models adopt the phase-type distributions for failure and repair times (see, for instance, Altiok [11,12,13] and Dallery [14]).
In this paper, we propose and analyze an extension of the queueing model treated in [10] to a time-non-homogeneous setting in which the intensities of arrivals, services, disasters and repairs are suitably time dependent. Similarly, we investigate the related heavy-traffic jump-diffusion approximation, as well. The key features of our analysis and the motivations of the proposed study are based mainly on the following issues:
- Queueing systems subject to disasters are appropriate to model more realistic situations in which the number of customers is subject to an abrupt decrease by the effect of catastrophes occurring randomly in time and due to external causes. The literature on the area of stochastic systems evolving in the presence of catastrophes is very broad. We restrict ourselves to mentioning the papers by Economou and Fakinos [15,16], Kyriakidis and Dimitrakos [17], Krishna Kumar et al. [18], Di Crescenzo et al. [19], Zeifman and Korotysheva [20], Zeifman et al. [21] and Giorno et al. [22]. The analysis of some time-dependent queueing models with catastrophes has been performed in Di Crescenzo et al. [23] and, more recently, in Giorno et al. [24], with special attention to the and queues.
- We include a repair mechanism in the queueing system under investigation, since it is essential to model instances when the (random) repair times are not negligible. We remark that the interest in this feature is increasing in the recent literature on queueing theory (see, for instance, Dimou and Economou [25]).
- Heavy-traffic approximations are very often proposed in order to describe the queueing systems under proper limit conditions of the parameters involved. This allows one to come to more manageable formulas for the description of the queue content. Typically, a customary rescaling procedure allows one to approximate the queue length process by a diffusion process, as indicated in Giorno et al. [26]. Examples of diffusion models arising from heavy-traffic approximations of double-ended queues and of similar matching systems can be found in Liu et al. [27] and Büke and Chen [28], respectively. In the case of queueing systems subject to catastrophes, a customary approach leads to jump-diffusion approximating processes (see, for instance, Di Crescenzo et al. [29] and Dharmaraja et al. [30]).
Plan of the Paper
In Section 2, we consider a non-homogeneous double-ended queue, whose arrivals and departures occur with time-varying intensity functions and , respectively. We discuss various features of such a model, including the first-passage time through a constant level.
In Section 3, we consider the non-homogeneous double-ended queue subject to disasters and repairs, both occurring with time-varying rates. Specifically, we assume that catastrophes occur according to a non-homogeneous Poisson process with intensity function . The effect of catastrophes moves the system into a spurious failure state, say F. The completion of a system’s repair occurs with time-varying intensity function . After any repair, the system starts afresh from the zero state. Our first aim is to determine the probability that the system at time t is in the failure state and the probability that the system at time t is in the state (working state).
In Section 4, we study the asymptotic behavior of the state probabilities in two different cases: (i) when the rates , , , admit finite positive limits as t tends to infinity and (ii) when the double-ended queue is time-homogeneous, the catastrophe intensity function and the repair intensity function being periodic functions with common period Q.
In Section 5, we consider a diffusion approximation, under a heavy-traffic regime, of the non-homogeneous double-ended queue discussed in Section 2. In this case, the approximating process is a time-non-homogeneous Wiener process. We discuss various results on this model, including a first-passage-time problem through a constant level.
In Section 6, we deal with the heavy-traffic jump-diffusion approximation for the discrete model with catastrophes and repairs. Various results shown for the basic diffusion process treated in the previous section are thus extended to the present case characterized by jumps. In both Section 5 and Section 6, the goodness of the approximating procedure is discussed, as well.
2. The Underlying Non-Homogeneous Double-Ended Queue
This section is devoted to the analysis of the basic time-non-homogeneous double-ended queue.
Let , with , be a continuous-time Markov chain describing the number of customers in a time-non-homogeneous double-ended queueing system, with state-space . We assume that arrivals (upward jumps) and departures (downward jumps) at time t occur with intensity functions and , respectively, where and are bounded and continuous functions for , such that and . The given assumptions ensure that the eventual transitions from any state occur w.p. 1. The state diagram of is shown in Figure 1.
Figure 1.
State diagram of the non-homogeneous double-ended queueing system.
For all and , the transition probabilities are solutions of the system of Kolmogorov forward equations:
with the initial condition , where is the Kronecker delta function. For and , let:
be the probability generating function of . For any , we denote the cumulative arrival and service intensity functions by:
Due to (1), for , the probability generating Function (2) is the solution of the partial differential equation:
to be solved with the initial condition . Hence, (2) can be expressed in terms of (3) as follows:
Recalling that (cf. Abramowitz [31], p. 376, n. 9.6.33):
where:
denotes the modified Bessel function of first kind and by setting:
in (5), from (4), one has:
Hence, recalling (2), one obtains the transition probabilities:
We remark that, since for , the following symmetry relation holds:
Moreover, from (6), we recover the conditional mean and variance of , for and :
We point out that the transition probabilities given in (6) constitute the probability distribution of the difference of two independent non-homogeneous Poisson processes with intensities and , respectively, originated at zero (cf. Irwin [32] or Skellam [33] for the homogeneous case).
Let us now consider the first-passage-time (FPT) of through the state , starting from the initial state . Such a random variable will be denoted as:
where is its probability density function (pdf). Special interest is given to , which represents the busy period of the double-ended queue, with initial state . As is well-known, due to the Markov property, satisfies the integral equation:
Hereafter, we consider the special case in which the arrival and departure intensity functions are proportional.
Remark 1.
Let and , with positive constants, where is a positive, bounded and continuous function of , such that . By setting and:
then the transition probabilities (6) of the non-homogeneous double-ended queueing system can be expressed as:
Hence, from the results given in Section 5 of Giorno et al. [24], we have:
Furthermore, the FPT ultimate probability is given by:
3. The Queueing System with Catastrophes and Repairs
This section deals with the analysis of the queueing system with catastrophes and repairs.
Let , with , be a continuous-time Markov chain that describes the number of customers of a time-non-homogeneous double-ended queueing system subject to disasters and repairs. The state-space of is denoted by , where F denotes the failure state. We assume that the catastrophes occur according to a non-homogeneous Poisson process with intensity function . If a catastrophe occurs, then the system goes instantaneously into the failure state F, and further, the completion of a repair occurs according to the intensity function (cf. the diagram shown in Figure 2). We assume that the rates and are positive, bounded and continuous functions for , such that and . After every repair, the system starts again from the zero state.
Figure 2.
State diagram of the time-non-homogeneous double-ended queueing system with catastrophes and repairs.
For any and , we set:
Hence, is the transition probability from zero, at time , to state n, at time t, when the system is active (in this case, we say that the system is in the “on” state), whereas is the probability that the queueing system is in the state F (called the “failure” state) at time t starting from zero at time . The probabilities given in (12) are the solution of the forward Kolmogorov system of differential equations:
to be solved with the following initial conditions, based on the Kronecker delta function:
Conditions (16) imply that at initial time , the system is active and it starts from the zero state. In order to determine the transient probabilities of , similarly as in (3), in the following, we denote the cumulative catastrophe and repair intensity functions by:
respectively.
Transient Probabilities
We first determine the probability that the system is under repair at time t. By solving Equation (13) with the second of the initial conditions (16), recalling (17), one obtains the probability that the process is in the state F (“failure” state) at time t, starting from zero at time :
The transient analysis of the process can be performed by relating the transient probabilities to those of the same process in the absence of catastrophes. Indeed, by conditioning on the time of the last catastrophe of before t, the probabilities can be expressed in terms of as follows, for and (cf. [10,15,16]):
We note that the first term on the right-hand side of (19) expresses the probability that process occupies state n at time t and that no catastrophes occurred in . Similarly, the second term gives the probability that process occupies state n at time t and that at least one catastrophe (with successive repair) occurred in , i.e.,
- -
- starting from zero at time , at least a catastrophe and the subsequent repair occur before t; let be the instant at which the last repair occurs, so that a transition entering in the zero state occurs at time with intensity ;
- -
- no catastrophe occurs in the interval ; then the system, starting from the zero state at time , reaches the state n at time t.
Note that Equation (19) is the suitable extension of (2.7) of [10], which refers to the case of constant rates. Furthermore, we remark that from (18) and (19), one obtains:
Making use of (6) and (18) in (19), for and , one has the following expression for the transition probabilities of :
Let us now introduce the r-th conditional moment of , for :
From (19), it is not hard to see that the moments (21) can be expressed in terms of the conditional moments as follows, for and :
Hence, by virtue of (7), from (22), the conditional mean and second order moment of can be evaluated based on the knowledge of the relevant intensity functions.
Hereafter, we see that if the arrival and departure rates are constant, then some simplifications hold for the transition probabilities and conditional moments.
Theorem 1.
For the queueing system with catastrophes and repairs, having constant arrival rates and departure rates , for and , one has:
and, for ,
Furthermore, it results:
Proof.
Since and , by virtue of (18), Relation (23) follows from (19), whereas Equation (24) derives from (22). Moreover, making use of (19) in the right-hand side of (25), one has:
By virtue of (6), we note that for and . Moreover, since and , we obtain:
The integrand on the right-hand side of Equation (25) refers to the sample-paths of that start from zero at time , then reach the state zero at time and, finally, go from zero at time to n at time t for the first time, without the occurrence of catastrophes in .
4. Asymptotic Probabilities
In this section, we analyze the asymptotic behavior of the probabilities and of the process in two different cases:
- (i)
- the intensity functions and admit finite positive limits as ,
- (ii)
- the intensity functions and are constant, whereas the rates and are periodic functions with common period Q.
4.1. Asymptotically-Constant Intensity Functions
In the following theorem, we determine the steady-state probabilities and the asymptotic failure probability of the process when the intensity functions and admit finite positive limits as t tends to .
Theorem 2.
If:
with positive constants, then the steady-state probabilities and the asymptotic failure probability of the process are:
Furthermore, the asymptotic conditional mean, second order moment and variance are:
Proof.
The steady-state probabilities and the asymptotic failure probability of can be obtained by taking the limit as in Equations (13)–(15), and then solving the corresponding balance equations. From (21), making use of (29) and (30), the asymptotic conditional mean and variance (31) immediately follow. ☐
4.2. Periodic Catastrophe and Repair Intensity Functions
Let us assume that the arrival and departure intensity functions are constant, whereas the catastrophe intensity function and the repair intensity function are periodic, such that and for all , , for a given constant period . We denote by:
the average catastrophe and repair rates over the period Q. Since and are periodic functions, from (17), we have, for :
Let us now investigate the asymptotic distribution for the process , which can be defined as follows, for :
Theorem 3.
For the queueing system with catastrophes and repairs, having constant arrival rates and departure rates , with and continuous, positive and periodic functions, with period Q, for , one has:
Furthermore, an alternative expression for the failure asymptotic probability is:
with and given in (32).
Proof.
Since and , from (23), for and , one has:
Due to the periodicity of and , the following equalities hold:
Hence, from (38), it follows:
Then, taking the limit as in (39) and recalling the second of (34), one obtains (35). Hence, we note that:
Consequently, by virtue of (20), Equation (36) immediately follows. To prove Equation (37), we first consider (18), which implies:
Since and are periodic functions, one has:
Under the assumptions of Theorem 3, by virtue of the periodicity of and , from (35)–(37), one has that and are periodic functions with period Q. From (21), making use of (35), the asymptotic conditional moments are expressed as:
with and given in (36) or (37).
Example 1.
Assume that has constant arrival rates and departure rates . Furthermore, let the periodic catastrophe and repair intensity functions be given by:
with , , and . Clearly, from (32) and (44), we have that the averages of and in the period Q are equal to ν and η, respectively. In Figure 3, Figure 4 and Figure 5, the relevant parameters are taken as:
Figure 3.
On the left: the periodic catastrophe intensity function (black curve) and repair intensity function (red curve), with their averages (dashed lines). On the right: the failure probability , given in (18), and the limit (dashed line), given in (29). The parameters are specified in Example 1.
Figure 4.
On the left: and steady-state probability (dashed line). On the right: (blue curve) and (red curve), with steady-state probabilities and (dashed lines), given in (30). The parameters are specified in Example 1.
Figure 5.
Plots of the mean (left) and the variance of (right) of the process , obtained by means of (24). The dashed lines indicate the asymptotic values and . The parameters are specified in Example 1.
On the left of Figure 3, the catastrophe intensity function (black curve) is plotted with its average (black dashed line). The repair intensity function (red curve) is plotted, as well, with its average (red dashed line). On the right of Figure 3, the failure probability , given in (18), is plotted and is compared with the asymptotic failure probability . The latter is obtained by considering constant intensity functions and . As proved in Theorem 3, admits an asymptotic periodic behavior, which is highlighted on the right of Figure 3. Instead, in Figure 4, we plot the probability (magenta curve), on the left. Moreover, on the right of Figure 4, we show the probabilities (blue curve) and (red curve), given in (23). The dashed lines indicate the steady-state probabilities (magenta dashed line), (blue dashed line) and (red dashed line), obtained by considering constant intensity functions and . As shown in Figure 4, the probabilities admit an asymptotic periodic behavior, with period . Finally, in Figure 5, the mean and the variance of the process , obtained via (24), are plotted and compared with the asymptotic values (dashed lines) and , given in (31). Figure 3, Figure 4 and Figure 5 show that the relevant quantities reflect the periodic nature of the rates and illustrate the limiting behavior as t grows.
5. Diffusion Approximation of the Double-Ended Queueing System
With reference to the time-non-homogeneous double-ended queueing system discussed in Section 2, hereafter, we consider a heavy-traffic diffusion approximation of the queue-length process. This is finalized to obtain a more manageable description of the queueing system under a heavy-traffic regime. To this purpose, we shall adopt a suitable scaling procedure based on a scaling parameter . We first rename the intensity functions related to the double-ended process , by setting:
Here, functions , and are positive, bounded and continuous for and satisfy the conditions , and . Furthermore, the constant in the right-hand sides of (45) is positive and plays a relevant role in the following approximating procedure.
Let us consider the Markov process , having state-space . Namely, it is defined as , provided that the intensity functions are modified as in (45). By a customary scaling procedure similar to that adopted in [10,30], under suitable limit conditions and for , the scaled process converges weakly to a diffusion process having state-space and transition probability density function (pdf):
Indeed, with reference to System (1), substituting with in the Chapman–Kolmogorov forward differential-difference equation for , we have:
After setting and , expanding as Taylor series and taking the limit as , we obtain the following partial differential equation:
The associated initial condition is , where is the Dirac delta-function. We remark that, due to (45), the limit leads to a heavy-traffic condition about the rates and of process . Hence, is a time-non-homogeneous Wiener process with drift and infinitesimal variance , with initial state at time . For and , let:
be the characteristic function of . Due to (46), the characteristic function (47) is the solution of the partial differential equation:
to be solved with the initial condition . Hence, for , one has:
where we have set:
Clearly, (48) is a normal characteristic function, so that the solution of (46) is the Gaussian pdf:
Then, the conditional mean and variance are:
Let us now consider a first-passage-time problem for . We denote by the random variable describing the FPT of trough state , starting from at time , with . In analogy to (8), the Markov property yields:
where is the pdf of .
Hereafter, we deal with a special case, in which the functions , and are proportional.
Remark 2.
Let , and , where , ω are positive constants and is a positive, bounded and continuous function for , such that . Then, the transition pdf of becomes:
where is defined in (9). Moreover, the FPT pdf of can be expressed as (see, for instance, [26]):
The corresponding FPT ultimate probability is given by:
Clearly, is a suitable approximation of the busy period considered in Section 2.
Goodness of the Approximating Procedure
Thanks to the above heavy-traffic approximation, the state of the time-non-homogeneous double-ended queue has been approximated by the non-homogeneous Wiener process , with the transition pdf given in (50).
A first confirmation of the goodness of the approximating procedure can be obtained by the comparing mean and variance of with those of , for and chosen as in (45). Recalling (7) and (51), the means satisfy the following identity, for all :
Moreover, for the variances, we have:
so that for close to zero, one has:
The discussion of the goodness of the heavy-traffic approximation involves also the probability distributions. Let us denote by the transition probabilities of the process , for and given in (45), and for , . The following theorem holds.
Theorem 4.
Proof.
To prove (55), we consider separately the following cases: (i) and (ii) , with .
(i) For , from (6), one has:
We recall that (cf. [31], p. 377, n. 9.71) when is large, for fixed. Hence, from (56) as is close to zero, one has:
(ii) For , recalling that , from (6), one has:
Finally, the goodness of the heavy-traffic approximation is confirmed by the approximation:
which is a consequence of Equation (55) and is valid for close to zero.
6. Diffusion Approximation of the Double-Ended Queueing System with Catastrophes and Repairs
In this section, we consider a heavy-traffic approximation of the time-non-homogeneous double-ended queueing system subject to disasters and repairs, discussed in Section 3. The continuous approximation of the discrete model leads to a jump-diffusion process and is similar to the scaling procedure employed in Section 5. The relevant difference is that the state-space of the process presents also a spurious state F.
Let us now consider the continuous-time Markov process , having state-space . Under suitable limit conditions, as , the scaled process converges weakly to a jump-diffusion process having state-space . The limiting procedure is analogous to that used in Buonocore et al. [34], which involves spurious states, as well. As in the previous section, for the approximating procedure, we first assume that the rates and are modified as in (45). Hence, the limit leads to a heavy-traffic condition about such intensity functions. Instead, the catastrophe rate and the repair rate are not affected by the scaling procedure.
We note that describes the motion of a particle, which starts at the origin at time and then behaves as a non-homogeneous Wiener process, with drift and infinitesimal variance , until a catastrophe occurs. We remark that the catastrophes arrive according to a time-non-homogeneous Poisson process with intensity function . As soon as a catastrophe occurs, the process enters into the failure state F and remains therein for a random time (corresponding to the repair time) that ends according to the time-dependent intensity function . Clearly, catastrophes are not allowed during a repair period. The effect of a repair is the instantaneous transition of the process to the state zero. After that, the motion is subject again to diffusion and proceeds as before. We recall that and are positive, bounded and continuous functions for , such that and . We denote by:
the transition density of and by the probability that the process is in the failure-state at time t starting from zero at time . We point out that the adopted scaling procedure does not affect the spurious state, so that is identical to the analogous probability of the process and is given in (18). From (), proceeding similarly as for (46), one obtains that (60) is the solution of the following partial differential equation, for :
to be solved with the initial condition and, in analogy to (20), with the compatibility condition:
6.1. Transient Distribution
Similarly to the discrete model discussed in Section 3, the pdf (60) can be expressed as follows, in terms of the transition pdf of the time-non-homogeneous Wiener process treated in Section 5:
with and given in (18) and (50), respectively. Making use of (18) and (50) in (63), for and , one has:
For , let us now consider the r-th conditional moment of :
From (63), for , it results:
where is the r-th conditional moment of . Hence, by virtue of (51), from (66), we obtain the conditional moments .
In the following theorem, we discuss the special case when the functions and are constant.
Theorem 5.
Consider the process such that and for all . Then, for and , one has:
and, for ,
Proof.
It proceeds similarly to the proof of Theorem 1. ☐
6.2. Goodness of the Approximating Procedure
Let us now analyze the goodness of the heavy-traffic approximation considered above. The time-non-homogeneous process describing the state of the double-ended queueing system with catastrophes and repairs has been approximated by the diffusion process , whose transition pdf is given in (63).
First of all, we compare the mean, second order moment and variance of with those of , when and are chosen as in (45). By virtue of (53) and (54), one has:
Moreover,
so that the variances satisfy the following relation, for close to zero:
Furthermore, we denote by the transition probabilities of the process , when and the intensity functions and are given in (45). The following theorem holds.
Theorem 6.
Proof.
From (19), one obtains:
As a consequence of Theorem 6, for and chosen as in (45) and under heavy-traffic conditions, the probability of the discrete process is close to for near to zero.
7. Asymptotic Distributions
Similar to the analysis performed in Section 4, in this section, we consider the asymptotic behavior of the density of the process in two different cases:
- (i)
- the functions , , , and admit finite positive limits as ,
- (ii)
- the functions , and are constant, and the rates and are periodic functions with common period Q.
7.1. Asymptotically-Constant Intensity Functions
We assume that the functions , , , and admit finite positive limits as t tends to . In this case, the failure asymptotic probability of the process is provided in (29). Moreover, the steady-state density of the process is an asymmetric bilateral exponential density, as given in the following theorem.
Theorem 7.
Assuming that:
with , , , ν, η positive constants, then the steady-state pdf of the process is, for ,
Furthermore, the asymptotic conditional mean, second order moment and variance are:
7.2. Periodic Intensity Functions
Let us assume that the functions , and are constant and that the catastrophe intensity function and the repair intensity function are periodic, so that and for and . The average catastrophe and repair rates in the period Q are defined in (32). The asymptotic distribution of the process is described by the following functions, for ,
Note that the asymptotic failure probability is given in (36) or, alternatively, in (37). Moreover, the asymptotic density is determined in the following theorem.
Theorem 8.
Consider the stochastic process and assume and , and that the intensities and are continuous, positive and periodic functions with period Q. Then, one has:
Proof.
It proceeds similarly to the proof of Theorem 3, by starting from Equation (67). ☐
By virtue of the periodicity of and , from (76), one has that is a periodic function with period Q. From (65), making use of (76), the asymptotic conditional moments are:
where and where is given in (36) or in (37).
The following illustrative example concludes the section.
Example 2.
Let be the approximating jump-diffusion process, subject to disasters and repairs, with drift and infinitesimal variance , where , and and with periodic catastrophe intensity function and repair intensity function given by (44). The parameters ν, a, η, b, Q are taken as in Example 1. For these choices, probability is identical as for the discrete model. It is plotted in Figure 3, on the right.
We now consider the two choices and . Then, the parameters λ and μ are determined according to (45), so that for , we have and , whereas for , we have and . To show the validity of the approximating procedure, we compare the quantity with the probability , for , in Figure 6, Figure 7 and Figure 8, respectively. The case is shown on the left, and is on the right. Recall that is given in (67), whereas is given in (23). We note that the goodness of the continuous approximation for improves as ε decreases, this corresponding to an increase of traffic in the double-ended queue with catastrophes and repairs, due to (45).
Figure 6.
For , , , the function (red curve) is shown with the probability (black dashed curve) for (left) and (right). The parameters and are shown in Example 2, according to (45).
Figure 7.
For the same choices of parameters of Figure 6, the function (red curve) is compared with the probability (black dashed curve) for (left) and (right).
Figure 8.
For the same choices of parameters of Figure 6, the function (red curve) is compared with the probability (black dashed curve) for (left) and (right).
8. Conclusions
We analyzed a continuous-time stochastic process that describes the state of a double-ended queue subject to disasters and repairs. The system is time-non-homogeneous, since arrivals, services, disasters and repairs are governed by time-varying intensity functions. This model is a suitable generalization of the queueing system investigated in [10]. Indeed, the previous model is characterized by constant rates of arrivals, services, catastrophes and repairs. However, motivated by the need to describe more realistic situations in which the system evolution reflects daily or seasonal fluctuations, in this paper, we investigated the case where all such rates are time-dependent. Whereas in the previous model, the approach involved the Laplace transforms, in the present case, the analysis cannot be based on such a method, but rather on a direct analysis of the relevant equations. Our analysis involved also the heavy-traffic approximation of the system, which leads to a time-non-homogeneous diffusion process useful to describe the queue-length dynamics via more manageable formulas. Future developments of the present investigation will be centered on the inclusion of multiple types of customers and more general forms of catastrophe/repair mechanisms.
Author Contributions
All the authors contributed equally to this work.
Acknowledgments
A.D.C., V.G. and A.G.N. are members of the group GNCS of INdAM.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Kashyap, B.R.K. A double-ended queueing system with limited waiting space. Proc. Natl. Inst. Sci. India A 1965, 31, 559–570. [Google Scholar] [CrossRef]
- Kashyap, B.R.K. The double-ended queue with bulk service and limited waiting space. Oper. Res. 1966, 14, 822–834. [Google Scholar] [CrossRef]
- Sharma, O.P.; Nair, N.S.K. Transient behaviour of a double ended Markovian queue. Stoch. Anal. Appl. 1991, 9, 71–83. [Google Scholar] [CrossRef]
- Tarabia, A.M.K. On the transient behaviour of a double ended Markovian queue. J. Combin. Inf. Syst. Sci. 2001, 26, 125–134. [Google Scholar]
- Conolly, B.W.; Parthasarathy, P.R.; Selvaraju, N. Doubled-ended queues with impatience. Comput. Oper. Res. 2002, 29, 2053–2072. [Google Scholar] [CrossRef]
- Elalouf, A.; Perlman, Y.; Yechiali, U. A double-ended queueing model for dynamic allocation of live organs based on a best-fit criterion. Appl. Math. Model. 2018, in press. [Google Scholar] [CrossRef]
- Takahashi, M.; Ōsawa, H.; Fujisawa, T. On a synchronization queue with two finite buffers. Queueing Syst. 2000, 36, 107–123. [Google Scholar] [CrossRef]
- Di Crescenzo, A.; Giorno, V.; Nobile, A.G. Constructing transient birth-death processes by means of suitable transformations. Appl. Math. Comput. 2016, 281, 152–171. [Google Scholar] [CrossRef]
- Di Crescenzo, A.; Giorno, V.; Nobile, A.G. Analysis of reflected diffusions via an exponential time-based transformation. J. Stat. Phys. 2016, 163, 1425–1453. [Google Scholar] [CrossRef]
- Di Crescenzo, A.; Giorno, V.; Krishna Kumar, B.; Nobile, A.G. A double-ended queue with catastrophes and repairs, and a jump-diffusion approximation. Methodol. Comput. Appl. Probab. 2012, 14, 937–954. [Google Scholar] [CrossRef]
- Altiok, T. On the phase-type approximations of general distributions. IIE Trans. 1985, 17, 110–116. [Google Scholar] [CrossRef]
- Altiok, T. Queueing modeling of a single processor with failures. Perform. Eval. 1989, 9, 93–102. [Google Scholar] [CrossRef]
- Altiok, T. Performance Analysis of Manufacturing Systems. Springer Series in Operations Research; Springer: New York, NY, USA, 1997. [Google Scholar]
- Dallery, Y. On modeling failure and repair times in stochastic models of manufacturing systems using generalized exponential distributions. Queueing Syst. 1994, 15, 199–209. [Google Scholar] [CrossRef]
- Economou, A.; Fakinos, D. A continuous-time Markov chain under the influence of a regulating point process and applications in stochastic models with catastrophes. Eur. J. Oper. Res. 2003, 149, 625–640. [Google Scholar] [CrossRef]
- Economou, A.; Fakinos, D. Alternative approaches for the transient analysis of Markov chains with catastrophes. J. Stat. Theory Pract. 2008, 2, 183–197. [Google Scholar] [CrossRef][Green Version]
- Kyriakidis, E.; Dimitrakos, T. Computation of the optimal policy for the control of a compound immigration process through total catastrophes. Methodol. Comput. Appl. Probab. 2005, 7, 97–118. [Google Scholar] [CrossRef]
- Krishna Kumar, B.; Vijayakumar, A.; Sophia, S. Transient analysis for state-dependent queues with catastrophes. Stoch. Anal. Appl. 2008, 26, 1201–1217. [Google Scholar] [CrossRef]
- Di Crescenzo, A.; Giorno, V.; Nobile, A.G.; Ricciardi, L.M. A note on birth-death processes with catastrophes. Stat. Probab. Lett. 2008, 78, 2248–2257. [Google Scholar] [CrossRef][Green Version]
- Zeifman, A.; Korotysheva, A. Perturbation bounds for Mt/Mt/N queue with catastrophes. Stoch. Models 2012, 28, 49–62. [Google Scholar] [CrossRef]
- Zeifman, A.; Satin, Y.; Panfilova, T. Limiting characteristics for finite birth-death-catastrophe processes. Math. Biosci. 2013, 245, 96–102. [Google Scholar] [CrossRef] [PubMed]
- Giorno, V.; Nobile, A.G.; Pirozzi, E. A state-dependent queueing system with asymptotic logarithmic distribution. J. Math. Anal. Appl. 2018, 458, 949–966. [Google Scholar] [CrossRef]
- Di Crescenzo, A.; Giorno, V.; Nobile, A.G.; Ricciardi, L.M. On time non-homogeneous stochastic processes with catastrophes. In Cybernetics and Systems 2010, Proceedings of the Austrian Society for Cybernetics Studies (EMCSR 2010), Vienna, Austria, 6–9 April 2010; Trappl, R., Ed.; Austrian Society for Cybernetic Studies: Vienna, Austria, 2010; pp. 169–174. [Google Scholar]
- Giorno, V.; Nobile, A.G.; Spina, S. On some time non-homogeneous queueing systems with catastrophes. Appl. Math. Comput. 2014, 245, 220–234. [Google Scholar] [CrossRef]
- Dimou, S.; Economou, A. The single server queue with catastrophes and geometric reneging. Methodol. Comput. Appl. Probab. 2013, 15, 595–621. [Google Scholar] [CrossRef]
- Giorno, V.; Nobile, A.G.; Ricciardi, L.M. On some time-non-homogeneous diffusion approximations to queueing systems. Adv. Appl. Probab. 1987, 19, 974–994. [Google Scholar] [CrossRef]
- Liu, X.; Gong, Q.; Kulkarni, V.G. Diffusion models for double-ended queues with renewal arrival processes. Stoch. Syst. 2015, 5, 1–61. [Google Scholar] [CrossRef]
- Büke, B.; Chen, H. Fluid and diffusion approximations of probabilistic matching systems. Queueing Syst. 2017, 86, 1–33. [Google Scholar] [CrossRef]
- Di Crescenzo, A.; Giorno, V.; Nobile, A.G.; Ricciardi, L.M. On the M/M/1 queue with catastrophes and its continuous approximation. Queueing Syst. 2003, 43, 329–347. [Google Scholar] [CrossRef]
- Dharmaraja, S.; Di Crescenzo, A.; Giorno, V.; Nobile, A.G. A continuous-time Ehrenfest model with catastrophes and its jump-diffusion approximation. J. Stat. Phys. 2015, 161, 326–345. [Google Scholar] [CrossRef]
- Abramowitz, M.; Stegun, I. Handbook of Mathematical Functions with Formulas, Graphs and Mathematical Tables; Dover Publications, Inc.: New York, NY, USA, 1972. [Google Scholar]
- Irwin, J.O. The frequency-distribution of the difference between two independent variates following the same Poisson distribution. J. R. Stat. Soc. 1937, 100, 415–416. [Google Scholar] [CrossRef]
- Skellam, J.G. The frequency-distribution of the difference between two Poisson variates belonging to different populations distribution. J. R. Stat. Soc. 1946, 109, 296. [Google Scholar] [CrossRef]
- Buonocore, A.; Di Crescenzo, A.; Giorno, V.; Nobile, A.G.; Ricciardi, L.M. A Markov chain-based model for actomyosin dynamics. Sci. Math. Jpn. 2009, 70, 159–174. [Google Scholar]
© 2018 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/).