Stochastic Systems: Modeling, Optimization, and ApplicationsView this Special Issue
Research Article | Open Access
The Simulation and Minimization of Loss Probability in the Tandem Queueing with Two Heterogeneous Channels
A stochastic model consisting of two heterogeneous channels and having no waiting room in front of each is considered. A customer who has completed his service in channel 1 while channel 2 is busy blocks channel 1 with probability or leaves the system with probability. This model was analysed: expected number of customer and loss probability of customer are calculated and optimal ordering of channels minimizing parameters has been found. Additionally, this model was simulated; furthermore, simulated and exact results of loss probabilities of customers were given in the tables.
Due to the recent developments in the fields of production line and communication, new queuing theory models are needed. In this sense, significant improvements in serial channel models have been observed. A tandem queueing system consist of two stage with waiting in each stage considered and joint limit distribution of waiting times of th customer in this system has been investigated in . When all service times were fixed, it was showed that departure times do not affect the order of service channels, in . It was demonstrated diagrammatically that optimal service parameters were under the condition that in tandem system with two channels having unlimited number of customers in front of each channel and conforming interarrivals and service duration exponential distribution, in . In , it was showed that optimal order of service in tandem system with two channels can be achieved when service time of one channel is fixed and placed in channel-1. It was demonstrated that departure times were stochastically faster when interarrival times are general, the lengths of service are exponential, and service times of channels for tandem queue with more than two single stations are equal, in . The performance of two-stage tandem queuing model with blocking was introduced in . Loss probability of customers, the average number of customers in a system with heterogeneous channels having no waiting rooms were obtained; also optimal values of loss probability of customers, the average number of customers were calculated in . The discrete-time tandem queuing model based on Markov processes was analysed in . A new queuing model with sequential two stations (stages), single server at each station, where no queue is allowed at station 2 and with no restriction at station 1, was introduced in . There is a FCFS service discipline in which the input stream is Poisson having rate . The service time of any customer at server is exponential with parameter . The state probabilities and loss probability of this model are given. The performance measures are obtained and optimized, and, additionally, the model is simulated.
In this study, we discuss a tandem model consisting of two stages channels: a stochastic queueing model consisting of two heterogeneous channels and having no waiting room in front of each is considered. A customer who has completed his service in channel 1 while channel 2 is busy blocks channel-1 with probability or leaves the system with probability . The measures of performance of this model for and loss probabilities of customers are calculated and optimal ordering of channels has been found. Additionally, this model was simulated and compared with the actual results. A two-stage blocking tandem queueing system with no waiting in front of each stage is analysed in . We have obtained the general form of the model given in  depending on . If is taken in our model, the model in  is obtained. While there is generally waiting line in the service systems, because of obligations and urgency and unavailability of desired features, waiting line may not occur as in our proposed model. Therefore, we have decided to construct and analyze such a model it.
2. Definition of the Model
This model is defined as follows: a customer completes his service in channel 1 (when this channel is empty), enters into channel 2 (when channel two is empty), and leaves the system after receiving service. The customer, who has completed his service in channel 1, while channel 2 is busy, blocks channel 1 with probability or leaves the system with probability . Interarrival times and service times in channel 1 and channel 2 are assumed to be independent and have exponential distribution with , and parameters respectively. This model is shown in Figure 1.
2.1. State Probabilities
Channel 1 can be empty, busy, or blocked. Let them be represented them with 0, 1, and , respectively. Channel 2 can be 0 or 1. Let be the state of channel 1 and the state of channel 2 at any time. In this case, is a two-dimensional Markov chain with continuous parameter and state space Kolmogorov differential equation for these probabilities is obtained. The transient probabilities of the process will be found for as , namely, Furthermore, it is supposed that limit probabilities of are existing as follows: where is transition rates and matrix of transition rates is shown as follows: Steady-state equations for from equality (4) are obtained follow as We define for and .
If we solve this steady-state equations, we obtain the probabilities as follows: From equality (7), is obtained.
3. The Measures of Effectiveness
3.1. Loss Probability
Since there is no queue in the system,
Theorem 1. The probability is minimum for .
Proof. Equality (11) defines probability as a function of . We will write equality (11) as follows: The maximum value of is minimum value of where . In equality (12), if we substitute is maximum; that is is minimum. These equalities are denoted in (13) and (14), respectively: Consequently, the loss probability is minimum when blocking is cancelled.
3.2. The Mean Number of Customers
Let be the random variable that describes the number of customers in the system From equality (9) and equality (10), Provided that we get in equality (17) as result of Theorem 1, we can rewrite this equality as follows:
4. Optimal Order of Channels
Considering optimization, let denote channel 1 and denote the channel 2. When we place channel to the first station and channel to the second station, loss probability of a customer is . Similarly, when we place channel to the first station and channel to the second station, loss probability of a customer is , assuming Suppose that channel to the first station and, respectively, channel to the second station is optimal ordering, in other words, it is for this order. When the channels are changed, it is Substituting the equality (13) and equality (19) in inequality (20), is obtained. Namely, this system runs faster when channel with larger parameter should be placed in station 1.
5. Numerical Technique and Simulation
The simulation of queuing system requires keeping of event list to determine what will happen in the next step. Events in simulations occur at random times to imitate randomness in real life (we do not know precisely when a customer arrives or how long the service lasts). Obtaining randomness that is required to simulate real life is possible using “random numbers.” In the system, simulation results obtained from Matlab program for different probabilities of blocking channel 1 are given in tables below. Depending on various probabilities of blocking and for 3 different iterations steps that are 40000, 6000 and 20000 loss probabilities were calculated. Moreover, all results of exact probabilities (Prexact) and simulation probabilities (Prsim) were given in Tables 1, 2, and 3 for . It has been seen that the simulation probabilities approximated to the exact probabilities.
In the study, the loss probability of the customer in two heterogeneous channels tandem system was calculated. Additionally, optimal orders of channels were obtained. Theoretically, simulation study supported obtained system results. Exact and simulation results of the loss probability were given in Tables 1, 2, and 3 for various probabilities and service parameters and . When the number of iterations of the simulation is increased, theoretical and simulation results are observed being closer to each other. Furthermore, optimal ordering was confirmed for , , and in Table 3. In other words, it is seen numerically in Table 3 that the loss probability of a customer is minimized when faster working channel is put in station 1 or optimal ordering is provided. In addition, it can be seen in every three tables that the loss probability of the customer is to increase as values increase. If we get in this model, model in  is obtained.
Finally, much more study can be done on this topic of interest by increasing the number of channels in the system.
- J. Sacks, “Ergodicity of queues in series,” Annals of Mathematical Statistics, vol. 31, no. 3, pp. 579–588, 1960.
- H. D. Friedman, “Reduction methods for tandem queueing systems,” Operations Research, vol. 13, pp. 121–131, 1965.
- R. B. Cooper, Introduction to Queueing Theory, Macmillan, New York, NY, USA, 1972.
- S. V. Tembe and R. W. Wolff, “The optimal order of service in tandem queues,” Operations Research, vol. 22, no. 4, pp. 824–832, 1974.
- T. Lehtonen, “On the ordering of tandem queues with exponential servers,” Journal of Applied Probability, vol. 23, no. 1, pp. 115–129, 1986.
- A. Gómez-Corral and M. E. Martos, “Performance of two-stage tandem queues with blocking: the impact of several flows of signals,” Performance Evaluation, vol. 63, no. 9-10, pp. 910–938, 2006.
- V. Savglam and H. Torun, “On optimization of stochastic service system with two heterogeneous channels,” International Journal of Applied Mathematics, vol. 17, no. 1, pp. 1–6, 2005.
- X. Song and M. A. Mustafa, “A performance analysis of discrete-time tandem queues with Markovian sources,” Performance Evaluation, vol. 66, no. 9-10, pp. 524–543, 2009.
- V. Sağlam and M. Zobu, “A two-stage model queueing with no waiting line between channels,” Mathematical Problems in Engineering, vol. 2013, Article ID 679369, 5 pages, 2013.
- F. Alpaslan, “On the minimization probability of loss in queue two heterogeneous channels,” Pure and Applied Mathematika Sciences, vol. 43, no. 1-2, pp. 21–25, 1996.
Copyright © 2013 Müjgan Zobu et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.