Fluid queue
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.
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 busy periods 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]
External links
- BuTools, a MATLAB, Python and Mathematica implementation of some of the above results.
- PevaTools, MATLAB code for multi-regime models
- Fluid flow models tutorial by V. Ramaswami at MAM8
References
- ↑ 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.
- 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.
- ↑ 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: 29. doi:10.1007/BF01158791.
- ↑ 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.
- ↑ 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.
- 1 2 3 Kulkarni, Vidyadhar G. (1997). "Fluid models for single buffer systems". Frontiers in Queueing: Models and Applications in Science and Engineering (PDF). pp. 321–338. ISBN 0-8493-8076-6.
- ↑ Moran, P. A. P. (1954). "A probability theory of dams and storage systems". Aust. J. Appl. Sci. 5: 116–124.
- ↑ Phatarfod, R. M. (1963). "Application of Methods in Sequential Analysis to Dam Theory". The Annals of Mathematical Statistics. 34 (4): 1588. doi:10.1214/aoms/1177703892.
- ↑ Gani, J.; Prabhu, N. U. (1958). "Continuous Time Treatment of a Storage Problem". Nature. 182 (4627): 39. doi:10.1038/182039a0.
- 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).
- ↑ 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. doi:10.1145/1005686.1005728. ISBN 1581138733.
- ↑ 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.
- ↑ 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.
- ↑ 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.
- ↑ 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. doi:10.1016/j.peva.2005.01.001.
- ↑ 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. ISBN 978-0-9836283-7-8.
- ↑ Gani, J. (1969). "Recent Advances in Storage and Flooding Theory". Advances in Applied Probability. 1 (1): 90–110. doi:10.2307/1426410. JSTOR 1426410.
- ↑ 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.
- ↑ Govorun, M.; Latouche, G.; Remiche, M. A. (2013). "Stability for Fluid Queues: Characteristic Inequalities". Stochastic Models. 29: 64. doi:10.1080/15326349.2013.750533.
- ↑ 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.
- ↑ 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.
- 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.
- ↑ 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. JSTOR 3216036.
- ↑ Telek, M. S.; Vécsei, M. S. (2013). "Analysis of Fluid Queues in Saturation with Additive Decomposition". Modern Probabilistic Methods for Analysis of Telecommunication Networks (PDF). Communications in Computer and Information Science. 356. p. 167. doi:10.1007/978-3-642-35980-4_19. ISBN 978-3-642-35979-8.
- 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.
- 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.
- ↑ Boxma, O. J.; Dumas, V. (1998). "The busy period in the fluid queue". ACM SIGMETRICS Performance Evaluation Review. 26: 100. doi:10.1145/277858.277881.
- ↑ 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.
- 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.
- 1 2 Kroese, D. P.; Scheinhardt, W. R. W. (2001). "Joint Distributions for Interacting Fluid Queues". Queueing Systems. 37: 99. doi:10.1023/A:1011044217695.
- ↑ 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.
- ↑ 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. Springer. 103 (2): 353–372. doi:10.1007/BF03191912.
- ↑ 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.
- ↑ 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.
- ↑ 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). doi:10.1017/S0269964899134028.
- ↑ 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.
- ↑ Kella, O. (1996). "Stability and nonproduct form of stochastic fluid networks with Lévy inputs". The Annals of Applied Probability. 6: 186. doi:10.1214/aoap/1034968070.
- ↑ Kella, O. (2000). "Non-product form of two-dimensional fluid networks with dependent Lévy inputs". Journal of Applied Probability. 37 (4): 1117. doi:10.1239/jap/1014843090.
- ↑ Debicki, 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.
- ↑ 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. doi:10.1007/s00186-008-0235-8.
- ↑ Kankaya, H. E.; Akar, N. (2008). "Solving Multi-Regime Feedback Fluid Queues". Stochastic Models. 24 (3): 425. doi:10.1080/15326340802232285.
- ↑ Ivanovs, J. (2010). "Markov-modulated Brownian motion with two reflecting barriers". Journal of Applied Probability. 47 (4): 1034. arXiv:1003.4107. doi:10.1239/jap/1294170517.
- ↑ Karandikar, R. L.; Kulkarni, V. G. (1995). "Second-Order Fluid Flow Models: Reflected Brownian Motion in a Random Environment". Operations Research. 43: 77. doi:10.1287/opre.43.1.77.
- ↑ Gribaudo, M.; Manini, D.; Sericola, B.; Telek, M. (2007). "Second order fluid models with general boundary behaviour". Annals of Operations Research. 160: 69. doi:10.1007/s10479-007-0297-7.