ArticleslgStudy

science

Fluid queue

Fluid queue is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Fluid queue rather than just read about it. In short: In queueing theory, a discipline within the mathematical theory of probability, 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.

Key takeaways

  • Fluid queue belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Fluid queue to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Fluid queue from memory before moving on to harder problems.

Reference excerpt

In queueing theory, a discipline within the mathematical theory of probability, 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 wildfires, in ruin theory 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 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 queues. Fluid queues have been used to model the performance of a network switch, a router, the IEEE 802.11 protocol, Asynchronous Transfer Mode (the intended technology for B-ISDN), peer-to-peer file sharing, optical burst switching, and has applications in civil engineering when designing dams. 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 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,

dX(t)dt={ri if X(t)>0max⁡(ri,0) if X(t)=0. The operator is a continuous time Markov chain 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 and can also be viewed as a Markov reward model with boundary conditions.

Stationary distribution The stationary distribution is a phase-type distribution 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.

On/off model A simple service has a constant rate μ, while arrival can change from rate λ and 0 (in states 1 and 2 respectively), that is,

R=(λ−μ00−μ). Arrival fluctuates between states 1 and 2 according to a continuous time Markov chain with generator matrix

Q=(−ααβ−β). The condition of stability is

βμ−αλ−μ<0 and the stationary distribution can be computed explicitly as

F(x,1)=βα+β(1−e(βμ−αλ−μ)x) F(x,2)=αα+β−β(λ−μ)(α+β)μe(βμ−αλ−μ)x and average fluid level

(λ−μ)β(μ(α+β)−βλ)(α+β)(μ,λ−μ).

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 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=(−ααβ−β) write W*(s) for the Laplace–Stieltjes transform of the busy period distribution, then

W∗(s)=βλ+sλ−βμ+αμ−4βαμ(μ−λ)+(sλ+β(λ−μ)+αμ)22β(λ−μ) which gives the mean busy period

𝔼(W)=λαμ+β(λ−μ). 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 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, 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

Worked examples

Example 1 — a first encounter with Fluid queue

Start with the simplest possible case. Write down what Fluid queue claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Fluid queue before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Fluid queue ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Fluid queue

In research
Fluid queue appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Fluid queue in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Fluid queue is common in secondary-school and first-year university syllabi. It links to neighbouring topics Queueing theory, so understanding it makes those chapters shorter.
In everyday life
Look for Fluid queue outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Fluid queue” →

How to study Fluid queue in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Fluid queue means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Fluid queue out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Fluid queue in simple terms?

In queueing theory, a discipline within the mathematical theory of probability, 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 da…

Why does Fluid queue matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Fluid queue?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Fluid queue.

Tags

  • Queueing theory

Keep exploring