Fluid queue

Last updated

In queueing theory, a discipline within the mathematical theory of probability, a fluid queue (fluid model, [1] fluid flow model [2] or stochastic fluid model [3] ) is a mathematical model used to describe the fluid level in a reservoir subject to randomly determined periods of filling and emptying. The term dam theory was used in earlier literature for these models. The model has been used to approximate discrete models, model the spread of wildfires, [4] in ruin theory [5] and to model high speed data networks. [6] The model applies the leaky bucket algorithm to a stochastic source.

Contents

The model was first introduced by Pat Moran in 1954 where a discrete-time model was considered. [7] [8] [9] Fluid queues allow arrivals to be continuous rather than discrete, as in models like the M/M/1 and M/G/1 queues.

Fluid queues have been used to model the performance of a network switch, [10] a router, [11] the IEEE 802.11 protocol, [12] Asynchronous Transfer Mode (the intended technology for B-ISDN), [13] [14] peer-to-peer file sharing, [15] optical burst switching, [16] and has applications in civil engineering when designing dams. [17] The process is closely connected to quasi-birth–death processes, for which efficient solution methods are known. [18] [19]

Model description

A fluid queue can be viewed as a large tank, typically assumed to be of infinite capacity, connected to a series of pipes that pour fluid in to the tank and a series of pumps which remove fluid from the tank. An operator controls the pipes and pumps controlling the rate at which fluid pours in to the buffer and the rate at which fluid leaves. When the operator puts the system in to state i we write ri for the net fluid arrival rate in this state (input less output). When the buffer contains fluid, if we write X(t) for the fluid level at time t, [20]

The operator is a continuous time Markov chain and is usually called the environment process, background process [21] or driving process. [6] As the process X represents the level of fluid in the buffer it can only take non-negative values.

The model is a particular type of piecewise deterministic Markov process and can also be viewed as a Markov reward model with boundary conditions.

Stationary distribution

The stationary distribution is a phase-type distribution [2] as first shown by Asmussen [22] and can be computed using matrix-analytic methods. [10]

The additive decomposition method is numerically stable and separates the eigenvalues necessary for computation using Schur decomposition. [23] [24]

On/off model

For a simple system where service has a constant rate μ and arrival fluctuate between rates λ and 0 (in states 1 and 2 respectively) according to a continuous time Markov chain with generator matrix

the stationary distribution can be computed explicitly and is given by [6]

and average fluid level [25]

Busy period

The busy period is the period of time measured from the instant that fluid first arrives in the buffer (X(t) becomes non-zero) until the buffer is again empty (X(t) returns to zero). In earlier literature it is sometimes referred to as the wet period (of the dam). [26] The Laplace–Stieltjes transform of the busy period distribution is known for the fluid queue with infinite buffer [27] [28] [29] and the expected busy period in the case of a finite buffer and arrivals as instantaneous jumps. [26]

For an infinite buffer with constant service rate μ and arrivals at rates λ and 0, modulated by a continuous time Markov chain with parameters

write W*(s) for the Laplace–Stieltjes transform of the busy period distribution, then [29]

which gives the mean busy period [30]

In this case, of a single on/off source, the busy period distribution is known to be a decreasing failure rate function which means that the longer a busy period has lasted the longer it is likely to last. [31]

There are two main approaches to solving for the busy period in general, using either spectral decomposition or an iterative recurrent method. [32] A quadratically convergent algorithm for computing points of the transform was published by Ahn and Ramaswami. [33]

Example

For example, if a fluid queue with service rate μ = 2 is fed by an on/off source with parameters α = 2, β = 1 and λ =  3 then the fluid queue has busy period with mean 1 and variance 5/3.

Loss rate

In a finite buffer the rate at which fluid is lost (rejected from the system due to a full buffer) can be computed using Laplace-Stieltjes transforms. [34]

Mountain process

The term mountain process has been coined to describe the maximum buffer content process value achieved during a busy period and can be computed using results from a G/M/1 queue. [35] [36]

Networks of fluid queues

The stationary distribution of two tandem fluid queues has been computed and shown not to exhibit a product form stationary distribution in nontrivial cases. [25] [30] [37] [38] [39]

Feedback fluid queues

A feedback fluid queue is a model where the model parameters (transition rate matrix and drift vector) are allowed to some extent to depend on the buffer content. Typically the buffer content is partitioned and the parameters depend on which partition the buffer content process is in. [40] The ordered Schur factorization can be used to efficiently compute the stationary distribution of such a model. [41]

Second order fluid queues

Second order fluid queues (sometimes called Markov modulated diffusion processes or fluid queues with Brownian noise [42] ) consider a reflected Brownian motion with parameters controlled by a Markov process. [22] [43] Two different types of boundary conditions are commonly considered: absorbing and reflecting. [44]

Related Research Articles

<span class="mw-page-title-main">Exponential distribution</span> Probability distribution

In probability theory and statistics, the exponential distribution or negative exponential distribution is the probability distribution of the time between events in a Poisson point process, i.e., a process in which events occur continuously and independently at a constant average rate. It is a particular case of the gamma distribution. It is the continuous analogue of the geometric distribution, and it has the key property of being memoryless. In addition to being used for the analysis of Poisson point processes it is found in various other contexts.

<span class="mw-page-title-main">Queueing theory</span> Mathematical study of waiting lines, or queues

Queueing theory is the mathematical study of waiting lines, or queues. A queueing model is constructed so that queue lengths and waiting time can be predicted. Queueing theory is generally considered a branch of operations research because the results are often used when making business decisions about the resources needed to provide a service.

In probability theory, a compound Poisson distribution is the probability distribution of the sum of a number of independent identically-distributed random variables, where the number of terms to be added is itself a Poisson-distributed variable. The result can be either a continuous or a discrete distribution.

A continuous-time Markov chain (CTMC) is a continuous stochastic process in which, for each state, the process will change state according to an exponential random variable and then move to a different state as specified by the probabilities of a stochastic matrix. An equivalent formulation describes the process as changing state according to the least value of a set of exponential random variables, one for each possible state it can move to, with the parameters determined by the current state.

The principle of detailed balance can be used in kinetic systems which are decomposed into elementary processes. It states that at equilibrium, each elementary process is in equilibrium with its reverse process.

The birth–death process is a special case of continuous-time Markov process where the state transitions are of only two types: "births", which increase the state variable by one and "deaths", which decrease the state by one. It was introduced by William Feller. The model's name comes from a common application, the use of such models to represent the current size of a population where the transitions are literal births and deaths. Birth–death processes have many applications in demography, queueing theory, performance engineering, epidemiology, biology and other areas. They may be used, for example, to study the evolution of bacteria, the number of people with a disease within a population, or the number of customers in line at the supermarket.

In queueing theory, a discipline within the mathematical theory of probability, a Jackson network is a class of queueing network where the equilibrium distribution is particularly simple to compute as the network has a product-form solution. It was the first significant development in the theory of networks of queues, and generalising and applying the ideas of the theorem to search for similar product-form solutions in other networks has been the subject of much research, including ideas used in the development of the Internet. The networks were first identified by James R. Jackson and his paper was re-printed in the journal Management Science’s ‘Ten Most Influential Titles of Management Sciences First Fifty Years.’

A phase-type distribution is a probability distribution constructed by a convolution or mixture of exponential distributions. It results from a system of one or more inter-related Poisson processes occurring in sequence, or phases. The sequence in which each of the phases occurs may itself be a stochastic process. The distribution can be represented by a random variable describing the time until absorption of a Markov process with one absorbing state. Each of the states of the Markov process represents one of the phases.

In queueing theory, a discipline within the mathematical theory of probability, the Pollaczek–Khinchine formula states a relationship between the queue length and service time distribution Laplace transforms for an M/G/1 queue. The term is also used to refer to the relationships between the mean queue length and mean waiting/service time in such a model.

<span class="mw-page-title-main">M/M/1 queue</span> Queue with Markov (Poisson) arrival process, exponential service time distribution and one server

In queueing theory, a discipline within the mathematical theory of probability, an M/M/1 queue represents the queue length in a system having a single server, where arrivals are determined by a Poisson process and job service times have an exponential distribution. The model name is written in Kendall's notation. The model is the most elementary of queueing models and an attractive object of study as closed-form expressions can be obtained for many metrics of interest in this model. An extension of this model with more than one server is the M/M/c queue.

In queueing theory, a discipline within the mathematical theory of probability, the M/M/c queue is a multi-server queueing model. In Kendall's notation it describes a system where arrivals form a single queue and are governed by a Poisson process, there are c servers, and job service times are exponentially distributed. It is a generalisation of the M/M/1 queue which considers only a single server. The model with infinitely many servers is the M/M/∞ queue.

A geometric stable distribution or geo-stable distribution is a type of leptokurtic probability distribution. Geometric stable distributions were introduced in Klebanov, L. B., Maniya, G. M., and Melamed, I. A. (1985). A problem of Zolotarev and analogs of infinitely divisible and stable distributions in a scheme for summing a random number of random variables. These distributions are analogues for stable distributions for the case when the number of summands is random, independent of the distribution of summand, and having geometric distribution. The geometric stable distribution may be symmetric or asymmetric. A symmetric geometric stable distribution is also referred to as a Linnik distribution. The Laplace distribution and asymmetric Laplace distribution are special cases of the geometric stable distribution. The Mittag-Leffler distribution is also a special case of a geometric stable distribution.

<span class="mw-page-title-main">Lomax distribution</span>

The Lomax distribution, conditionally also called the Pareto Type II distribution, is a heavy-tail probability distribution used in business, economics, actuarial science, queueing theory and Internet traffic modeling. It is named after K. S. Lomax. It is essentially a Pareto distribution that has been shifted so that its support begins at zero.

In probability theory and statistics, the noncentral beta distribution is a continuous probability distribution that is a noncentral generalization of the (central) beta distribution.

In mathematics, the Fox–Wright function (also known as Fox–Wright Psi function, not to be confused with Wright Omega function) is a generalisation of the generalised hypergeometric function pFq(z) based on ideas of Charles Fox (1928) and E. Maitland Wright (1935):

In queueing theory, a discipline within the mathematical theory of probability, the M/M/∞ queue is a multi-server queueing model where every arrival experiences immediate service and does not wait. In Kendall's notation it describes a system where arrivals are governed by a Poisson process, there are infinitely many servers, so jobs do not need to wait for a server. Each job has an exponentially distributed service time. It is a limit of the M/M/c queue model where the number of servers c becomes very large.

In queueing theory, a discipline within the mathematical theory of probability, a heavy traffic approximation is the matching of a queueing model with a diffusion process under some limiting conditions on the model's parameters. The first such result was published by John Kingman who showed that when the utilisation parameter of an M/M/1 queue is near 1 a scaled version of the queue length process can be accurately approximated by a reflected Brownian motion.

In queueing theory, a discipline within the mathematical theory of probability, an M/D/1 queue represents the queue length in a system having a single server, where arrivals are determined by a Poisson process and job service times are fixed (deterministic). The model name is written in Kendall's notation. Agner Krarup Erlang first published on this model in 1909, starting the subject of queueing theory. An extension of this model with more than one server is the M/D/c queue.

<span class="mw-page-title-main">Dual graviton</span> Hypothetical particle found in supergravity

In theoretical physics, the dual graviton is a hypothetical elementary particle that is a dual of the graviton under electric-magnetic duality, as an S-duality, predicted by some formulations of supergravity in eleven dimensions.

In probability theory, a transition-rate matrix is an array of numbers describing the instantaneous rate at which a continuous-time Markov chain transitions between states.

References

  1. Mitra, D. (1988). "Stochastic Theory of a Fluid Model of Producers and Consumers Coupled by a Buffer". Advances in Applied Probability. 20 (3): 646–676. doi:10.2307/1427040. JSTOR   1427040.
  2. 1 2 Ahn, S.; Ramaswami, V. (2003). "Fluid Flow Models and Queues—A Connection by Stochastic Coupling" (PDF). Stochastic Models . 19 (3): 325. doi:10.1081/STM-120023564. S2CID   6733796.
  3. Elwalid, A. I.; Mitra, D. (1991). "Analysis and design of rate-based congestion control of high speed networks, I: Stochastic fluid models, access regulation". Queueing Systems . 9 (1–2): 29–63. doi:10.1007/BF01158791. S2CID   19379411.
  4. Stanford, David A.; Latouche, Guy; Woolford, Douglas G.; Boychuk, Dennis; Hunchak, Alek (2005). "Erlangized Fluid Queues with Application to Uncontrolled Fire Perimeter". Stochastic Models . 21 (2–3): 631. doi:10.1081/STM-200056242. S2CID   123591340.
  5. Remiche, M. A. (2005). "Compliance of the Token-Bucket Model with Markovian Traffic". Stochastic Models . 21 (2–3): 615–630. doi:10.1081/STM-200057884. S2CID   121190780.
  6. 1 2 3 Kulkarni, Vidyadhar G. (1997). "Fluid models for single buffer systems" (PDF). Frontiers in Queueing: Models and Applications in Science and Engineering. pp. 321–338. ISBN   978-0-8493-8076-1.
  7. Moran, P. A. P. (1954). "A probability theory of dams and storage systems". Aust. J. Appl. Sci. 5: 116–124.
  8. Phatarfod, R. M. (1963). "Application of Methods in Sequential Analysis to Dam Theory". The Annals of Mathematical Statistics. 34 (4): 1588–1592. doi: 10.1214/aoms/1177703892 .
  9. Gani, J.; Prabhu, N. U. (1958). "Continuous Time Treatment of a Storage Problem". Nature . 182 (4627): 39. Bibcode:1958Natur.182...39G. doi:10.1038/182039a0. S2CID   42193342.
  10. 1 2 Anick, D.; Mitra, D.; Sondhi, M. M. (1982). "Stochastic Theory of a Data-Handling System with Multiple Sources" (PDF). The Bell System Technical Journal. 61 (8): 1871–1894. doi:10.1002/j.1538-7305.1982.tb03089.x. S2CID   16836549.
  11. Hohn, N.; Veitch, D.; Papagiannaki, K.; Diot, C. (2004). "Bridging router performance and queuing theory". Proceedings of the joint international conference on Measurement and modeling of computer systems - SIGMETRICS 2004/PERFORMANCE 2004. p. 355. CiteSeerX   10.1.1.1.3208 . doi:10.1145/1005686.1005728. ISBN   978-1581138733. S2CID   14416842.
  12. Arunachalam, V.; Gupta, V.; Dharmaraja, S. (2010). "A fluid queue modulated by two independent birth–death processes". Computers & Mathematics with Applications. 60 (8): 2433–2444. doi: 10.1016/j.camwa.2010.08.039 .
  13. Norros, I.; Roberts, J. W.; Simonian, A.; Virtamo, J. T. (1991). "The superposition of variable bit rate sources in an ATM multiplexer". IEEE Journal on Selected Areas in Communications . 9 (3): 378. doi:10.1109/49.76636.
  14. Rasmussen, C.; Sorensen, J. H.; Kvols, K. S.; Jacobsen, S. B. (1991). "Source-independent call acceptance procedures in ATM networks". IEEE Journal on Selected Areas in Communications . 9 (3): 351. doi:10.1109/49.76633.
  15. Gaeta, R.; Gribaudo, M.; Manini, D.; Sereno, M. (2006). "Analysis of resource transfers in peer-to-peer file sharing applications using fluid models". Performance Evaluation . 63 (3): 149. CiteSeerX   10.1.1.102.3905 . doi:10.1016/j.peva.2005.01.001.
  16. Yazici, M. A.; Akar, N. (2013). "Analysis of continuous feedback Markov fluid queues and its applications to modeling Optical Burst Switching". Proceedings of the 2013 25th International Teletraffic Congress (ITC). pp. 1–8. doi:10.1109/ITC.2013.6662952. hdl:11693/28055. ISBN   978-0-9836283-7-8. S2CID   863180.
  17. Gani, J. (1969). "Recent Advances in Storage and Flooding Theory". Advances in Applied Probability. 1 (1): 90–110. doi:10.2307/1426410. JSTOR   1426410.
  18. Ramaswami, V. Smith, D.; Hey, P (eds.). "Matrix analytic methods for stochastic fluid flows". Teletraffic Engineering in a Competitive World (Proceedings of the 16th International Teletraffic Congress). Elsevier Science B.V.
  19. Govorun, M.; Latouche, G.; Remiche, M. A. (2013). "Stability for Fluid Queues: Characteristic Inequalities". Stochastic Models . 29: 64–88. doi:10.1080/15326349.2013.750533. S2CID   120102947.
  20. Rogers, L. C. G.; Shi, Z. (1994). "Computing the Invariant Law of a Fluid Model". Journal of Applied Probability. 31 (4): 885–896. doi:10.2307/3215314. JSTOR   3215314.
  21. Scheinhardt, W.; Van Foreest, N.; Mandjes, M. (2005). "Continuous feedback fluid queues". Operations Research Letters. 33 (6): 551. doi:10.1016/j.orl.2004.11.008.
  22. 1 2 Asmussen, Søren (1995). "Stationary distributions for fluid flow models with or without brownian noise". Communications in Statistics. Stochastic Models . 11: 21–49. doi:10.1080/15326349508807330.
  23. Akar, N.; Sohraby, K. (2004). "Infinite- and finite-buffer Markov fluid queues: A unified analysis" (PDF). Journal of Applied Probability. 41 (2): 557. doi:10.1239/jap/1082999086. hdl: 11693/24279 . JSTOR   3216036.
  24. Telek, M. S.; Vécsei, M. S. (2013). "Analysis of Fluid Queues in Saturation with Additive Decomposition" (PDF). Modern Probabilistic Methods for Analysis of Telecommunication Networks. Communications in Computer and Information Science. Vol. 356. p. 167. doi:10.1007/978-3-642-35980-4_19. ISBN   978-3-642-35979-8.
  25. 1 2 Field, A.; Harrison, P. (2007). "An approximate compositional approach to the analysis of fluid queue networks". Performance Evaluation . 64 (9–12): 1137. doi:10.1016/j.peva.2007.06.025.
  26. 1 2 Lee, Eui Yong; Kinateder, Kimberly K. J. (2000). "The expected wet period of finite dam with exponential inputs". Stochastic Processes and Their Applications. 90: 175–180. doi: 10.1016/S0304-4149(00)00034-X .
  27. Boxma, O. J.; Dumas, V. (1998). "The busy period in the fluid queue". ACM SIGMETRICS Performance Evaluation Review. 26: 100–110. doi:10.1145/277858.277881.
  28. Field, A. J.; Harrison, P. G. (2010). "Busy periods in fluid queues with multiple emptying input states". Journal of Applied Probability. 47 (2): 474. doi: 10.1239/jap/1276784904 .
  29. 1 2 Asmussen, S. R. (1994). "Busy period analysis, rare events and transient behavior in fluid flow models" (PDF). Journal of Applied Mathematics and Stochastic Analysis. 7 (3): 269–299. doi: 10.1155/S1048953394000262 .
  30. 1 2 Kroese, D. P.; Scheinhardt, W. R. W. (2001). "Joint Distributions for Interacting Fluid Queues". Queueing Systems. 37: 99–139. doi:10.1023/A:1011044217695. S2CID   3482641.
  31. Gautam, N.; Kulkarni, V. G.; Palmowski, Z.; Rolski, T. (1999). "Bounds for Fluid Models Driven by Semi-Markov Inputs" (PDF). Probability in the Engineering and Informational Sciences. 13 (4): 429. doi:10.1017/S026996489913403X.
  32. Badescu, Andrei L.; Landriault, David (2009). "Applications of fluid flow matrix analytic methods in ruin theory —a review" (PDF). RACSAM - Revista de la Real Academia de Ciencias Exactas, Fisicas y Naturales. Serie A. Matematicas. 103 (2): 353–372. doi:10.1007/BF03191912. S2CID   53498442.
  33. Ahn, S.; Ramaswami, V. (2005). "Efficient algorithms for transient analysis of stochastic fluid flow models" (PDF). Journal of Applied Probability. 42 (2): 531. doi: 10.1239/jap/1118777186 .
  34. O'Reilly, M. G. M.; Palmowski, Z. (2013). "Loss rates for stochastic fluid models". Performance Evaluation . 70 (9): 593. doi:10.1016/j.peva.2013.05.005.
  35. Boxma, O. J.; Perry, D.; Van Der Duyn Schouten, F. A. (1999). "Fluid Queues and Mountain Processes". Probability in the Engineering and Informational Sciences. 13 (4): 407–427. doi:10.1017/S0269964899134028.
  36. Boxma, O. J.; Perry, D. (2009). "On the Cycle Maximum of Mountains, Dams and Queues". Communications in Statistics - Theory and Methods. 38 (16–17): 2706. doi:10.1080/03610910902936232. S2CID   9973624.
  37. Kella, O. (1996). "Stability and nonproduct form of stochastic fluid networks with Lévy inputs". The Annals of Applied Probability. 6: 186–199. doi: 10.1214/aoap/1034968070 .
  38. Kella, O. (2000). "Non-product form of two-dimensional fluid networks with dependent Lévy inputs". Journal of Applied Probability. 37 (4): 1117–1122. doi:10.1239/jap/1014843090.
  39. Dębicki, K.; Dieker, A. B.; Rolski, T. (2007). "Quasi-Product Forms for Levy-Driven Fluid Networks". Mathematics of Operations Research . 32 (3): 629. arXiv: math/0512119 . doi:10.1287/moor.1070.0259. S2CID   16150704.
  40. Malhotra, R.; Mandjes, M. R. H.; Scheinhardt, W. R. W.; Berg, J. L. (2008). "A feedback fluid queue with two congestion control thresholds". Mathematical Methods of Operations Research. 70: 149–169. doi: 10.1007/s00186-008-0235-8 .
  41. Kankaya, H. E.; Akar, N. (2008). "Solving Multi-Regime Feedback Fluid Queues". Stochastic Models . 24 (3): 425. doi:10.1080/15326340802232285. hdl: 11693/23071 . S2CID   53363967.
  42. Ivanovs, J. (2010). "Markov-modulated Brownian motion with two reflecting barriers". Journal of Applied Probability. 47 (4): 1034–1047. arXiv: 1003.4107 . doi:10.1239/jap/1294170517. S2CID   19329962.
  43. Karandikar, R. L.; Kulkarni, V. G. (1995). "Second-Order Fluid Flow Models: Reflected Brownian Motion in a Random Environment". Operations Research . 43: 77–88. doi:10.1287/opre.43.1.77.
  44. Gribaudo, M.; Manini, D.; Sericola, B.; Telek, M. (2007). "Second order fluid models with general boundary behaviour". Annals of Operations Research . 160: 69–82. CiteSeerX   10.1.1.484.6192 . doi:10.1007/s10479-007-0297-7. S2CID   1735120.