fbpx
Wikipedia

Engset formula

In queueing theory, the Engset formula is used to determine the blocking probability of an M/M/c/c/N queue (in Kendall's notation).

The formula is named after its developer, T. O. Engset.

Example application edit

Consider a fleet of   vehicles and   operators. Operators enter the system randomly to request the use of a vehicle. If no vehicles are available, a requesting operator is "blocked" (i.e., the operator leaves without a vehicle). The owner of the fleet would like to pick   small so as to minimize costs, but large enough to ensure that the blocking probability is tolerable.

Formula edit

Let

  •   be the (integer) number of servers.
  •   be the (integer) number of sources of traffic;
  •   be the idle source arrival rate (i.e., the rate at which a free source initiates requests);
  •   be the average holding time (i.e., the average time it takes for a server to handle a request);

Then, the probability of blocking is given by[1]

 

By rearranging terms, one can rewrite the above formula as[2]

 

where   is the Gaussian Hypergeometric function.

Computation edit

There are several recursions[3] that can be used to compute   in a numerically stable manner.

Alternatively, any numerical package that supports the hypergeometric function can be used. Some examples are given below.

Python with SciPy

from scipy.special import hyp2f1 P = 1.0 / hyp2f1(1, -c, N - c, -1.0 / (Lambda * h)) 

MATLAB with the Symbolic Math Toolbox

P = 1 / hypergeom([1, -c], N - c, -1 / (Lambda * h)) 

Unknown source arrival rate edit

In practice, it is often the case that the source arrival rate   is unknown (or hard to estimate) while  , the offered traffic per-source, is known. In this case, one can substitute the relationship

 

between the source arrival rate and blocking probability into the Engset formula to arrive at the fixed point equation

 

where

 

Computation edit

While the above removes the unknown   from the formula, it introduces an additional point of complexity: we can no longer compute the blocking probability directly, and must use an iterative method instead. While a fixed-point iteration is tempting, it has been shown that such an iteration is sometimes divergent when applied to  .[2] Alternatively, it is possible to use one of bisection or Newton's method, for which an open source implementation is available.

References edit

  1. ^ Tijms, Henk C. (2003). A first course in stochastic models. John Wiley and Sons. doi:10.1002/047001363X.
  2. ^ a b Azimzadeh, Parsiad; Carpenter, Tommy (2016). "Fast Engset computation". Operations Research Letters. 44 (3): 313–318. arXiv:1511.00291. doi:10.1016/j.orl.2016.02.011. ISSN 0167-6377.
  3. ^ Zukerman, Moshe (2000). "An Introduction to Queueing Theory and Stochastic Teletraffic Models" (pdf). Retrieved 2012-11-27.

engset, formula, queueing, theory, used, determine, blocking, probability, queue, kendall, notation, formula, named, after, developer, engset, contents, example, application, formula, computation, unknown, source, arrival, rate, computation, referencesexample,. In queueing theory the Engset formula is used to determine the blocking probability of an M M c c N queue in Kendall s notation The formula is named after its developer T O Engset Contents 1 Example application 2 Formula 2 1 Computation 3 Unknown source arrival rate 3 1 Computation 4 ReferencesExample application editConsider a fleet of c displaystyle c nbsp vehicles and N displaystyle N nbsp operators Operators enter the system randomly to request the use of a vehicle If no vehicles are available a requesting operator is blocked i e the operator leaves without a vehicle The owner of the fleet would like to pick c displaystyle c nbsp small so as to minimize costs but large enough to ensure that the blocking probability is tolerable Formula editLet c gt 0 displaystyle c gt 0 nbsp be the integer number of servers N gt c displaystyle N gt c nbsp be the integer number of sources of traffic l gt 0 displaystyle lambda gt 0 nbsp be the idle source arrival rate i e the rate at which a free source initiates requests h gt 0 displaystyle h gt 0 nbsp be the average holding time i e the average time it takes for a server to handle a request Then the probability of blocking is given by 1 P N 1 c l h c i 0 c N 1 i l h i displaystyle P frac binom N 1 c left lambda h right c sum i 0 c binom N 1 i left lambda h right i nbsp By rearranging terms one can rewrite the above formula as 2 P 1 2 F 1 1 c N c 1 l h displaystyle P frac 1 2 F 1 1 c N c 1 lambda h nbsp where 2 F 1 displaystyle 2 F 1 nbsp is the Gaussian Hypergeometric function Computation edit There are several recursions 3 that can be used to compute P displaystyle P nbsp in a numerically stable manner Alternatively any numerical package that supports the hypergeometric function can be used Some examples are given below Python with SciPy from scipy special import hyp2f1 P 1 0 hyp2f1 1 c N c 1 0 Lambda h MATLAB with the Symbolic Math Toolbox P 1 hypergeom 1 c N c 1 Lambda h Unknown source arrival rate editIn practice it is often the case that the source arrival rate l displaystyle lambda nbsp is unknown or hard to estimate while a gt 0 displaystyle alpha gt 0 nbsp the offered traffic per source is known In this case one can substitute the relationship l h a 1 a 1 P displaystyle lambda h frac alpha 1 alpha 1 P nbsp between the source arrival rate and blocking probability into the Engset formula to arrive at the fixed point equation P f P displaystyle P f P nbsp where f P 1 2 F 1 1 c N c 1 P 1 a displaystyle f P frac 1 2 F 1 1 c N c 1 P 1 alpha nbsp Computation edit While the above removes the unknown l displaystyle lambda nbsp from the formula it introduces an additional point of complexity we can no longer compute the blocking probability directly and must use an iterative method instead While a fixed point iteration is tempting it has been shown that such an iteration is sometimes divergent when applied to f displaystyle f nbsp 2 Alternatively it is possible to use one of bisection or Newton s method for which an open source implementation is available References edit Tijms Henk C 2003 A first course in stochastic models John Wiley and Sons doi 10 1002 047001363X a b Azimzadeh Parsiad Carpenter Tommy 2016 Fast Engset computation Operations Research Letters 44 3 313 318 arXiv 1511 00291 doi 10 1016 j orl 2016 02 011 ISSN 0167 6377 Zukerman Moshe 2000 An Introduction to Queueing Theory and Stochastic Teletraffic Models pdf Retrieved 2012 11 27 Retrieved from https en wikipedia org w index php title Engset formula amp oldid 1069466556, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.