1 Introduction
Queues with disasters have been intensively studied in the past by various researchers due to their great applications in complex modern communication systems, networks and manufacturing systems. The interested readers are referred to [
1−
10] and references therein. Since the discrete-time queue is more suitable for describing the telecommunication network, digital communication systems and other related areas, there is a growing interest in the analysis of the discrete-time queues with disasters. For example, Atencia and Moreno
[11] studied a Geo/Geo/1 queue with negative customers and disasters, and derived an explicit expression for the stationary distribution. Laterly, Yi, et al.
[12] analyzed the queue length of a Geo/G/1 queue with disasters and obtained the stationary queue length distribution. Moreover, using the results, the authors also analyzed a Geo/G/1 queue with multiple working vacations. Park, et al.
[13] extended the Geo/Geo/1 queue with negative customers and disasters to the Geo/G/1 queue, and provided the probability generating functions (PGFs) of the stationary queue length and sojourn time. In succession, the authors
[14] extended the Geo/Geo/1 queue with disasters to the GI/Geo/1 queue, in which the interarrival times of customers follow a general distribution. Furthermore, Lee, et al.
[15] discussed a discrete-time single server Geo/G/1 queue with disasters and general repair time. Lee and Yang
[16] studied an
-policy of a discrete-time Geo/G/1 queue with disasters in order to analyze the power saving scheme in wireless sensor networks under unreliable network connections.
The motivation for treating this type of queueing systems comes from several fields, especially in complex modern communication networks, transportation and manufacturing networks, etc. For example, in an unreliable multi-product manufacturing network, the service intensities to different production centers may vary depending on the type of jobs it is processing, environmental conditions and operator experience, and service process may be interrupted by some external factors. Also, the queueing model can be applied to a power saving scheme in wireless sensor networks (WSNs) under unreliable network connections where data packets may be lost by external attacks or shocks. Inspired by these applications, we aim to study a Geo/G/1 queue operating in a multi-phase service environment with disasters. More important, in this present paper, we derive the explicit PGF of the sojourn time of an arbitrary customer and the PGF of the server's working time in a cycle, which are the important performance measures in analyzing the queueing system. We also provide the cycle analysis and the relationship between the discrete-time system to its continuous-time counterpart.
The rest of the paper is organized as follows. In Section 2, we describe our queueing model. In Section 3, by using the supplementary variable technique, we define a Markov process and derive the PGF of the stationary queue size at an arbitrary epoch. Section 4 and Section 5 are devoted to giving the expected length of cycle time and the sojourn time distribution of an arbitrary customer. In Section 6, we give the relationship between the discrete-time system to its continuous-time counterpart. Some examples and numerical results are presented in Section 7. We conclude the paper in Section 8.
2 Model Description
In this paper, we consider a discrete-time Geo/G/1 queue operating in a multi-phase random environment with disasters. The queuing model is described in detail below:
1) Under operative phase , customers arrive according to a Bernoulli arrival process with parameter , where is the probability that an arrival occurs in a slot. That is, in operative phase , the interarrival times of customers follow a geometric distribution. The probability mass function and its PGF are respectively denoted by
2) Service times are independent and identically distributed (iid) with a general (arbitrary) distribution with mean . The probability mass function and its PGF are respectively denoted by
3) In operative phase , the interarrival times of disasters are geometrically distributed with parameter . The probability mass function and its PGF are respectively denoted by
4) When the system is in operative phase , it occasionally suffers a disastrous breakdown, forcing all customers to leave the system simultaneously. At a failure instant, the system moves to phase 0 (repair phase) and undergoes a repair process immediately with stopping service completely. Repair times follow a geometric distribution with parameter . The probability mass function and its PGF are respectively denoted by
5) In phase 0, the parameter of the Bernoulli arrival process is , that is, the interarrival times of customers in repair period follow a geometric distribution. The probability mass function and its PGF are respectively denoted by
We assume that the arriving customers enter the system in accordance with the first-come-first-served (FCFS) discipline. After the system is repaired, it moves from the repair phase to operative phase with probability , where . In this system, there is no direct jump among the operative phases. When a disaster occurs, the system must move to the repair phase, and then moves back to the operative phase with probability .
For the discrete-time queueing system in consideration, we consider the late arrival system (LAS) in which the time axis is divided into a sequence of intervals of equal length (i.e., slots) and the time axis is marked by . According to the LAS model, a potential customer arrival occurs during the interval , and a potential service completion takes place in , where and represent and , respectively. We also assume that a disaster arrival or its repair completion occurs at the instant , that is, an arrival occurs at the epoch just before a slot boundary, a disaster arrival or a repair completion just at a slot boundary, and a service completion just after the slot boundary. We further assume that a disaster arrival and a repair completion don't occur simultaneously at the same slot boundary.
3 Stationary Queue Size Distribution
In this section, we use the supplementary variable technique to derive the stationary queue size at an arbitrary epoch. We note that as long as , that is, the existence of disasters, the system in consideration is stable. So we could analyze the system in steady state.
At an arbitrary time , the system can be described by the process
where is the number of customers in the system at time , denotes the phase in which the system operates at time . If , , then represents the remaining service time of the customer currently being served during operative phase . Hence, is a discrete-time Markov chain in which the supplementary variables are with the state space
We first define the following limiting probabilities:
Using these limiting probabilities and the supplementary variable technique, we can easily establish the following balance equations:
where .
In order to obtain the solutions of the set of equations, we further define the following generating functions:
First, from (2), we have
Then, can be obtained by
Multiplying (4) and (5) by and , summing over , and then simplifying the result with (3), we have
where .
Multiplying (8) by , and then summing over , we obtain
Choosing and substituting it into (9), we have
Lemma 1 has a unique root in , where .
Proof The method for the proof of Lemma 1 is similar to Appendix A of [
15], and we do not explain it here any more.
By Lemma 1, can be obtained by
where is the unique root of in .
Substituting (10) into (9), we have
By using the normalizing condition
we have
where , and it represents the expected length of time between two consecutive epochs at which a repair phase commences.
Define as the PGF of the queue length, then, can be obtained by
where
4 Performance Measures
In this section, based on the obtained results, we give some performance measures. First, let denote the stationary random variable for the number of customers in the system.
The expected number of customers in the system is
The system is empty with probability
The system is in phase with probability
Notice that the stochastic process in consideration can be reduced to a modified alternating renewal process. Since there are phases in this queueing model, we can define types of cycle and give the cycle analysis. First, let denote the length of time between two consecutive epochs at which phase commences, , i.e., the length of type- cycle. Obviously, , that is the expected length of type- cycle equals to . Next, we aim to derive the expected length of type- cycle for .
It is not difficult to see that the probability that the system goes through the repair phase times between two successive visits at phase is , and the expected length of time between two consecutive epochs at which phase commences in this case is . Therefore, can be obtained by
Next, we will derive the PGF of the stationary sojourn time of an arbitrary customer by considering a tagged customer, which is defined to be the overall time since the arrival till the departure from the system, by either the service completion or occurrence of a disaster. Let and respectively denote the stationary sojourn time of an arbitrary customer and its PGF. For this discrete-time queueing system, a tagged customer's arriving which occurs in may belong to one of the following four possible cases:
Case 1: the tagged customer arrives in the state ;
Case 2: the tagged customer arrives in the state ;
Case 3: the tagged customer arrives in the state ;
Case 4: the tagged customer arrives in the state .
For the further calculation, we first give a lemma below.
Lemma 2 Let be the discrete random variables with positive integer value, and , where follows a general arbitrary distribution with mean . The probability mass function and its PGF are respectively denoted by and , follows an geometric distribution with parameter , and and are assumed to be independent. Define as the PGF of random variable . Then
Proof First, we have the distribution law of ,
Then, the PGF of can be expressed as
So, we can obtain the conclusion.
Define as the duration of time that the system resides in operative phase , as the total service time of customers in operative phase . In Case 1, upon the tagged customer arrives, he immediately receives service and leaves the system by either the service completion or the occurrence of a disaster. Let denote the sojourn time of the tagged customer who arrives in Case 1, and define
At a tagged customer arriving epoch, if the occurrence of diaster does not happen simultaneously at the slot boundary, then has the relation: , otherwise the sojourn time of this tagged customer is zero. So we have
In Case 2, let denote the sojourn time of the tagged customer who arrives in this case. Define
Then, we have
Define
then,
In Case 3, let denote the sojourn time in this case. Define
then, we obtain
In Case 4, let denote the sojourn time in this case. Define
then, we have
Finally, we obtain the PGF of the stationary sojourn time of an arbitrary customer
5 The Length of Working Time in a Cycle
In this section, we give the PGF of the server's working time in type-0 cycle. To avoid confusion, the working time is a period that the server is in working state in type-0 cycle. In order to derive the results, we first consider two types of cases:
Case 1: No arrivals during phase 0 (repair period);
Case 2: arrivals during phase 0 (repair period).
Next, we define as the length of working time in operative phase under case 1, as the length of working time in operative phase under case 2, as the length of busy period caused by , customers in operative phase .
In case 1, we further consider two cases: one is that no arrivals in operative phase , and the other one is that customer arrivals occurring during phase . Then, we have
So, the PGF of and can be obtained as follows:
Substituting (26) and (27) into
we have
and
Simplifying (28), we have
where satisfies .
Similarly to case 1, for case 2, can be obtained by
where and . And the PGF of and can be obtained as follows:
Substituting and into , we have
where , and satisfies .
Finally, we define and as the length of working time in a type-0 cycle and its PGF, as the probability that there are arrivals during phase 0, and as the probability that no arrivals during phase 0. Then, it is easy to derive that
Finally, can be obtained by
6 Relation to the Continuous-Time System
In this section, if we assume that the length of a slot is equal to a constant value
, not a time unit, we can use the similar method by referring to [
17,
18] to analyze the relationship between the discrete-time system to its continuous-time counterpart by taking the limit
, that is, the continuous-time queueing system can be approximated by its corresponding discrete-time system.
We consider the continuous-time M/G/1 queue in multi-phase service environment with disasters. Under operative environment , the Poisson arrival rate is , and the service times follow a general (arbitrary) distribution with mean . The distribution function and its Laplace Stieltjes transform (LST) respectively denoted by and . The duration of time that the system resides in phase follows an exponential distribution with parameter . If we assume that time is slotted into intervals of equal length , we can approximate the continuous-time system by a discrete-time system for which
where is sufficiently small so that and are probabilities.
Next, we can show that is the PGF of the number of customers in the continuous-time counterpart. First, we have
Second, using the same approach in [
17,
18], we have
and
Finally, we have
and the PGF of the queue length of the continuous-time system can be obtained as follows
7 Some Numerical Examples
In this section, we present some examples for which the service times in phase , are geometric distribution, Pascal(negative binomial) distribution, and discrete uniform distribution with mean .
First, we assume that the service times in phase follow a geometric distribution with parameter . Then, the system translates into a Geo/Geo/1 queue in a multi-phase random environment. Therefore, is the unique root of in (0, 1) with . So, we have
Second, we assume that the service times in phase are Pascal (negative binomial) distribution with parameters and , i.e., . Then, is the unique root of in (0, 1), and
Finally, we assume that the service times in phase follow a discrete uniform distribution with parameter , i.e., , where is positive integer. Then is the unique root of in (0, 1), and
Now, we present some numerical examples to study the impact of the parameters on the mean queue length. Especially, we assume the service time distributions in operative phases are Geometrical, Pascal (Negative Binomial), and discrete Uniform. Without loss of generality, we assume , then the system has three phases, i.e., a repair phase and two operative phases.
First, we consider the Geo/Geo/1 queueing model, where the system parameters , , , , , . Taking different values , Fig. 1(a) and Fig. 1(b) show the impacts of and on the expected number of customers in the system for different values of , respectively. Obviously, from Fig. 1(a) and Fig. 1(b), the mean queue length decreases with the increase of and . Furthermore, from Fig. 1(a) or Fig. 1(b), if and are fixed, the smaller is, the larger becomes, which are identical to the intuitive expectations. Additionally, we should note that the smaller of , the faster decrease of with the increase of . On the contrary, the larger of , the slower decrease of with the increase of . We also find that as reaches to 0, tends to a fix value no matter the values of . It is reasonable that when approaches to 0, the system reduces to a 2-phase random environment(repair phase and one operating environment), and has no impact on , which also agrees with the intuitive expectation.
Figure 1 versus and for different (Geo/Geo/1) |
Full size|PPT slide
Second, we consider the Geo/NB/1 queueing model, where is a Pascal distribution with parameters , is also a Pascal distribution with parameters , , , , , . Taking different values , Figure 2(a) and Figure 2(b) show the impacts of and on the expected number of customers in the system for different values of , respectively. Evidently, Figure 2(a) and Figure 2(b) show that the mean queue length has the same variation tendency as that for the Geo/Geo/1 queue.
Figure 2 versus and for different (Geo/NB/1) |
Full size|PPT slide
Third, we discuss the Geo/U/1 queueing model, where is a discrete uniform distribution with parameter 5 and mean 3, (i.e., ), and is a discrete Uniform distribution with parameter and mean , , , , , . Taking different values , Figure 3(a)and Figure 3(b) show the effects of and on the expected number of customers in the system for different values of , respectively. From Figure 3(a) and Figure 3(b), it is obviously that for the Geo/U/1 queue, the mean queue length also has the same variation trend.
Figure 3 versus and for different (Geo/U/1) |
Full size|PPT slide
Finally, Figure 4 shows that with the same service rate, different service time distributions have different impacts on the expected number of customers in the system , where , , , , , , . As shown in Figure 4, with the same mean service time, different service time distributions have the different impacts on the mean queue length. The Geo/NB/1 queue has the largest value, the Geo/U/1 queue has the lowest value. Moreover, the overall results confirm that is a decreasing function of and for the three queueing models. The numerical example also implies that if we want to develop a better service, we need to select an appropriate service type.
Figure 4 versus and with different service time distributions |
Full size|PPT slide
8 Conclusions
This paper discussed a Geo/G/1 queue in a multi-phase service environment with disasters. By using the supplementary variable technique, we defined a Markov process and presented the analytically explicit expressions for the PGF of the queue length distribution at an arbitrary epoch. Some important performance measures such as the expected length of cycle time, the PGF of the stationary sojourn time of an arbitrary customer, and the PGF of the server's working time in a service cycle were obtained. It is noted that the continuous-time M/G/1 queue can be approximated by the discrete-time queue, and we also showed the relationship between the discrete-time system and its continuous-time counterpart. Finally, we provided some examples and numerical results to demonstrate the impacts of parameters on the mean queue length.
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}