Fluid queue
   HOME

TheInfoList



OR:

In
queueing theory 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 ...
, a discipline within the mathematical
theory of probability Probability theory is the branch of mathematics concerned with probability. Although there are several different probability interpretations, probability theory treats the concept in a rigorous mathematical manner by expressing it through a set o ...
, a fluid queue (fluid model, fluid flow model or stochastic fluid model) 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
wildfire A wildfire, forest fire, bushfire, wildland fire or rural fire is an unplanned, uncontrolled and unpredictable fire in an area of combustible vegetation. Depending on the type of vegetation present, a wildfire may be more specifically identi ...
s, in
ruin theory In actuarial science and applied probability, ruin theory (sometimes risk theory or collective risk theory) uses mathematical models to describe an insurer's vulnerability to insolvency/ruin. In such models key quantities of interest are the prob ...
and to model high speed data networks. The model applies the leaky bucket algorithm to a stochastic source. The model was first introduced by
Pat Moran Patrick Joseph Moran (February 7, 1876 – March 7, 1924) was an American professional baseball player and manager. He was a catcher in Major League Baseball from 1901 to 1914. The year after his retirement, he became a manager, and he led two ...
in 1954 where a discrete-time model was considered. Fluid queues allow arrivals to be continuous rather than discrete, as in models like the M/M/1 and
M/G/1 queue In queueing theory, a discipline within the mathematical theory of probability, an M/G/1 queue is a queue model where arrivals are Markovian (modulated by a Poisson process), service times have a General distribution and there is a single server ...
s. Fluid queues have been used to model the performance of a
network switch A network switch (also called switching hub, bridging hub, and, by the IEEE, MAC bridge) is networking hardware that connects devices on a computer network by using packet switching to receive and forward data to the destination device. A netw ...
, a router, the
IEEE 802.11 IEEE 802.11 is part of the IEEE 802 set of local area network (LAN) technical standards, and specifies the set of media access control (MAC) and physical layer (PHY) protocols for implementing wireless local area network (WLAN) computer commun ...
protocol,
Asynchronous Transfer Mode Asynchronous Transfer Mode (ATM) is a telecommunications standard defined by American National Standards Institute (ANSI) and ITU-T (formerly CCITT) for digital transmission of multiple types of traffic. ATM was developed to meet the needs of ...
(the intended technology for
B-ISDN In the 1980s, the telecommunications industry expected that digital services would follow much the same pattern as voice services did on the public switched telephone network, and conceived an end-to-end circuit switched service, known as Broadba ...
),
peer-to-peer file sharing Peer-to-peer file sharing is the distribution and sharing of digital media using peer-to-peer (P2P) networking technology. P2P file sharing allows users to access media files such as books, music, movies, and games using a P2P software program th ...
,
optical burst switching Optical burst switching (OBS) is an optical networking technique that allows dynamic sub-wavelength switching of data. OBS is viewed as a compromise between the yet unfeasible full optical packet switching (OPS) and the mostly static optical circui ...
, and has applications in civil engineering when designing
dam A dam is a barrier that stops or restricts the flow of surface water or underground streams. Reservoirs created by dams not only suppress floods but also provide water for activities such as irrigation, human consumption, industrial use ...
s. The process is closely connected to quasi-birth–death processes, for which efficient solution methods are known.


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 ''r''''i'' 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'', :\frac = \begin r_i & \text X(t)>0 \\ \max(r_i,0) & \text X(t)=0.\end The operator is a
continuous time Markov chain Continuity or continuous may refer to: Mathematics * Continuity (mathematics), the opposing concept to discreteness; common examples include ** Continuous probability distribution or random variable in probability and statistics ** Continuous ...
and is usually called the ''environment process'', ''background process'' or ''driving process''. 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 In probability theory, a piecewise-deterministic Markov process (PDMP) is a process whose behaviour is governed by random jumps at points in time, but whose evolution is deterministically governed by an ordinary differential equation between those ...
and can also be viewed as a Markov reward model with boundary conditions.


Stationary distribution

The stationary distribution is a
phase-type distribution 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 ...
as first shown by Asmussen and can be computed using matrix-analytic methods. The additive decomposition method is numerically stable and separates the eigenvalues necessary for computation using
Schur decomposition In the mathematical discipline of linear algebra, the Schur decomposition or Schur triangulation, named after Issai Schur, is a matrix decomposition. It allows one to write an arbitrary complex square matrix as unitarily equivalent to an upper tri ...
.


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 Continuity or continuous may refer to: Mathematics * Continuity (mathematics), the opposing concept to discreteness; common examples include ** Continuous probability distribution or random variable in probability and statistics ** Continuous ...
with generator matrix :Q = \begin-\alpha & \alpha \\ \beta & -\beta \end the stationary distribution can be computed explicitly and is given by :F(x,1) = \frac\left(1-e^\right) :F(x,2) = \frac-\frace^ and average fluid level :\frac(\mu,\lambda-\mu).


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). The
Laplace–Stieltjes transform The Laplace–Stieltjes transform, named for Pierre-Simon Laplace and Thomas Joannes Stieltjes, is an integral transform similar to the Laplace transform. For real-valued functions, it is the Laplace transform of a Stieltjes measure, however it is ...
of the busy period distribution is known for the fluid queue with infinite buffer and the expected busy period in the case of a finite buffer and arrivals as instantaneous jumps. For an infinite buffer with constant service rate μ and arrivals at rates λ and 0, modulated by a continuous time Markov chain with parameters :Q=\begin-\alpha & \alpha \\ \beta &-\beta \end write ''W''*(''s'') for the Laplace–Stieltjes transform of the busy period distribution, then :W^\ast(s) = \frac which gives the
mean There are several kinds of mean in mathematics, especially in statistics. Each mean serves to summarize a given group of data, often to better understand the overall value (magnitude and sign) of a given data set. For a data set, the '' ari ...
busy period :\mathbb E(W) = \frac. 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. There are two main approaches to solving for the busy period in general, using either spectral decomposition or an iterative recurrent method. A quadratically convergent algorithm for computing points of the transform was published by Ahn and Ramaswami.


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.


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.


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 probability theory, a product-form solution is a particularly efficient form of solution for determining some metric of a system with distinct sub-components, where the metric for the collection of components can be written as a product of the ...
in nontrivial cases.


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. The ordered Schur factorization can be used to efficiently compute the stationary distribution of such a model.


Second order fluid queues

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


External links


BuTools
a
MATLAB MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementa ...
,
Python Python may refer to: Snakes * Pythonidae, a family of nonvenomous snakes found in Africa, Asia, and Australia ** ''Python'' (genus), a genus of Pythonidae found in Africa and Asia * Python (mythology), a mythical serpent Computing * Python (pro ...
and Mathematica implementation of some of the above results.
PevaTools
MATLAB MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementa ...
code for multi-regime models
Fluid flow models tutorial
by V. Ramaswami at MAM8


References

{{Stochastic processes Queueing theory