ArticleslgStudy

science

Mean value analysis

Mean value analysis 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 Mean value analysis rather than just read about it. In short: In queueing theory, a discipline within the mathematical theory of probability, mean value analysis (MVA) is a recursive technique for computing expected queue lengths, waiting time at queueing nodes and throughput in equilibrium for a closed separable system of queues. The first approximate techniques were published independently by Schweitzer and Bard, followed later by an exact version by Lavenberg and Reiser pub…

Key takeaways

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

Reference excerpt

In queueing theory, a discipline within the mathematical theory of probability, mean value analysis (MVA) is a recursive technique for computing expected queue lengths, waiting time at queueing nodes and throughput in equilibrium for a closed separable system of queues. The first approximate techniques were published independently by Schweitzer and Bard, followed later by an exact version by Lavenberg and Reiser published in 1980. It is based on the arrival theorem, which states that when one customer in an M-customer closed system arrives at a service facility he/she observes the rest of the system to be in the equilibrium state for a system with M − 1 customers.

Problem setup Consider a closed queueing network of K M/M/1 queues, with M customers circulating in the system. Suppose that the customers are indistinguishable from each other, so that the network has a single class of customers. To compute the mean queue length and waiting time at each of the nodes and throughput of the system we use an iterative algorithm starting with a network with 0 customers. Write μi for the service rate at node i and P for the customer routing matrix where element pij denotes the probability that a customer finishing service at node i moves to node j for service. To use the algorithm, we first compute the visit ratio row vector v, a vector such that v = v P. Now write Li(n) for the mean number of customers at queue i when there is a total of n customers in the system (this includes the job currently being served at queue i) and Wj(n) for the mean time spent by a customer in queue i when there is a total of n customers in the system. Denote the throughput of a system with m customers by λm.

Algorithm The algorithm starts with an empty network (zero customers), then increases the number of customers by 1 at each iteration until there are the required number (M) of customers in the system. To initialise, set Lk(0) = 0 for k = 1,...,K. (This sets the average queue length in a system with no customers to zero at all nodes.) Repeat for m = 1,...,M:

1. For k = 1, ..., K compute the waiting time at each node using the arrival theorem:

W k ( m ) = 1 + L k ( m − 1 ) μ k . {\displaystyle W_{k}(m)={\frac {1+L_{k}\left(m-1\right)}{\mu _{k}}}.}

2. Then compute the system throughput using Little's law:

λ m = m ∑ k = 1 K W k ( m ) v k . {\displaystyle \lambda _{m}={\frac {m}{\sum _{k=1}^{K}W_{k}(m)v_{k}}}.}

3. Finally, use Little's law applied to each queue to compute the mean queue lengths for k = 1, ..., K:

L k ( m ) = v k λ m W k ( m ) . {\displaystyle L_{k}(m)=v_{k}\lambda _{m}W_{k}(m).}

End repeat.

Bard–Schweitzer method The Bard–Schweitzer approximation estimates the average number of jobs at node k to be:

L k ( m − 1 ) ≈ m − 1 m L k ( m ) {\displaystyle L_{k}(m-1)\approx {\frac {m-1}{m}}L_{k}(m)}

which is a linear interpolation. From the above formulas, this approximation yields fixed-point relationships which can be solved numerically. This iterative approach often goes under the name of approximate MVA (AMVA) and it is typically faster than the recursive approach of MVA.

Pseudocode

Multiclass networks In the case of multiclass networks with R classes of customers, each queue k can feature different service rates μk,r for each job class r=1,...,R, although certain restrictions exist in the case of first-come first-served stations due to the assumptions of the BCMP theorem in the multiclass case. The waiting time Wk,r experienced by class-r jobs at queue k can still be related to the total mean queue-length at node k using a generalization of the arrival theorem:

W k , r ( m ) = 1 + L k ( m − 1 r ) μ k , r . {\displaystyle W_{k,r}(\mathbb {m} )={\frac {1+L_{k}\left(\mathbb {m} -1_{r}\right)}{\mu _{k,r}}}.}

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Mean value analysis

Start with the simplest possible case. Write down what Mean value analysis 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 Mean value analysis 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 Mean value analysis 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 Mean value analysis

In research
Mean value analysis 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 Mean value analysis 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
Mean value analysis 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 Mean value analysis 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.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Mean value analysis in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Mean value analysis 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 Mean value analysis out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Mean value analysis in simple terms?

In queueing theory, a discipline within the mathematical theory of probability, mean value analysis (MVA) is a recursive technique for computing expected queue lengths, waiting time at queueing nodes and throughput in equilibrium for a closed separable system of queues. The first approximate techni…

Why does Mean value analysis 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 Mean value analysis?

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 Mean value analysis.

Tags

  • Queueing theory

Keep exploring