Queuing theory history, model, what it is for and examples

3634
Anthony Golden

The  theory of tails It is the branch of mathematics that studies the phenomena and behaviors in waiting lines. They are defined when a user who demands a certain service decides to wait for the server to be processed.

Study the elements that are present in the waiting lines of any type, whether they are human elements, or data processing or operations. His conclusions are of constant application in production, registration and processing lines..

Pexels font

Its values ​​serve in the parameterization of processes prior to their implementation, serving as a key organizational element for the correct planning management.

Article index

  • 1 History
  • 2 Model and elements
    • 2.1 -Elements
    • 2.2 -The queue system
    • 2.3 -Service mechanism
    • 2.4 -Customer
    • 2.5 -Queue capacity
    • 2.6 -Discipline of the queue
  • 3 Models
  • 4 Types of queuing systems
  • 5 Terminology
  • 6 What is the theory for?
  • 7 Elements present in formulas
  • 8 Examples
    • 8.1 Part a
    • 8.2 Part b
  • 9 References

Story

The main person responsible for its development was the Danish-born mathematician Agner Kramp Erlang, who worked in the telecommunications company Copenhagen telephone Exchange.

Agner observed the growing needs arising in the company's telephone service delivery system. That is why the study of mathematical phenomena that could be quantified in the waiting line system began.

His first official publication was an article titled Theory of tails, which saw the light in 1909. His approach was directed mainly to the problem of sizing lines and telephone switching centers for call service.

Model and elements

There are different models of queues where some aspects are responsible for defining and characterizing each of them. Before defining the models, the elements that make up every queue model are presented..

-Elements

Source of entry or potential population

It is the set of possible applicants for the service. This applies to any type of variable, from human users to data packet sets. They are classified into finite and infinite according to the nature of the set.

The tail

It refers to the set of elements that are already part of the service system. Which have already agreed to wait for the availability of the operator. They are in a state of waiting for system resolutions.

-The queue system

It is made up of the triad formed by the queue, the service mechanism and the discipline of the queue. Gives structure to the system protocol, governing the selection criteria for queue elements.

-Service mechanism

It is the process by which the service is provided to each user.

-Client

It is any element belonging to the potential population that demands a service. It is important to know the rate of entry of clients, as well as the probability that the source has of generating them.

-Queue capacity

It refers to the maximum capacity of items that can be waiting to be served. It can be considered finite or infinite, being in most cases infinite by criteria of practicality.

-Queue discipline

It is the protocol by which the order in which the client is served is determined. It serves as a processing and order channel for users, being responsible for their arrangement and movement within the queue. According to your criteria, it can be of different types.

- FIFO: From the acronym in English First in first out, also known as FCFS first come first served. What they mean respectively First in first out Y first come first served. Both forms denote that the first customer to arrive will be the first to be served.

- LIFO: Last in first out also known as stack or LCFS last come first served. Where the last customer is served first.

- RSS: Random selection of service also called SIRO service in random order, where customers are selected based on random or random criteria.

Models

There are 3 aspects that govern the queuing model to consider. These are as follows:

- Distribution of time between arrivals: refers to the rate at which units are added to the queue. They are functional values ​​and are subject to different variables depending on their nature..

- Distribution of service time: time spent by the server in processing the service demanded by the client. Varies according to the number of operations or procedures that are established.

These 2 aspects can take the following values:

M: exponential exponential distribution (Markoviana).

D: Degenerate distribution (constant times).

ANDk: Erlang distribution with parameter of form k.

G: General distribution (any distribution).

- Number of servers: Service gates open and available to process clients. They are essential in the structural definition of each queuing model.

In this way, the queuing models are defined, first taking the initials in capital letters of the arrival time distribution and the service time distribution. Finally, the number of servers is studied.

A fairly common example is M M 1, which refers to an exponential type of arrival and service time distribution, while working with a single server.

Other types of queue models are M M s, M G 1, M E 1, D M 1, among others.

Types of queuing systems

There are several types of queuing systems where multiple variables serve as indicators of the type of system presented. But fundamentally it is governed by the number of queues and the number of servers. The linear structure to which the user is subjected to obtain the service also applies..

- A queue and a server. It is the usual structure, where the user through the arrival system enters the queue, where after completing his wait according to the discipline of the queue, and is processed by the only server.

- One queue and multiple servers. The user, at the end of their waiting time, can go to different servers that can be executors of the same processes, as well as they can be private for different procedures.

- Multiple queues and multiple servers. The structure can be divided for different processes or serve as a wide channel to cover a high demand for common service.

- A queue with sequential servers. Users go through different stages. They enter and take a position in the queue, and when they are served by the first server, they pass to a new stage that requires previous fulfillments made in the first service.

Terminology

- λ: This symbol (Lambda) represents in queuing theory the expected value of inputs per time interval.

- 1 / λ: Corresponds to the expected value between the arrival times of each user who enters the system.

- μ: The symbol Mu corresponds to the expected number of clients that complete the service per unit of time. This applies for every server.

- 1 / μ: Service time expected by the system.

- ρ: The symbol Rho denotes the utilization factor of the server. It is used to measure what portion of time the server will be busy processing users.

ρ = λ / sμ

If p> 1 the system will be transitory, it will tend to grow, because the utility rate of the server is below the entry of users to the system.

Yep < 1 el sistema se mantendrá estable.

What is the theory for?

It was created in order to optimize the telephone service provision processes. This demarcates a utility with respect to the phenomena of waiting lines, where it is sought to reduce the time values ​​and cancel any type of re-work o redundant process that slows down the process of users and operators.

Pexels font

At more complex levels, where the input and service variables take mixed values, calculations performed outside of queuing theory are almost unthinkable. The formulas provided by the theory opened up advanced calculus within this branch.

Elements present in formulas

- Pn: Value referring to the probability that “n” units are within the system.

- Lq: Length of the queue or average value of users in it.

- Ls: Average number of units in the system.

- Wq: Average wait rate in queue.

- Ws: Average wait rate in the system.

- _λ: Average number of clients that enter the service.

- Ws (t): Value referring to the probability that a customer remains more than “t” units in the system.

- Wq (t): Value referring to the probability that a customer remains more than “t” units in the queue.

Examples

A registry has a single server to process the passports of the users who come. An average of 35 users per hour attend the registry. The server has the capacity to serve 45 users per hour. It is previously known that users spend an average of 5 minutes in the queue.

You want to know:

  1. Average time each user spends on the system
  2. Average number of customers in the queue

We have λ = 35/45 Clients / minutes

μ = 45/60 clients / minutes

Wq = 5 minutes

Part A

Average time in the system can be calculated with Ws

Ws = Wq + 1 / μ = 5 minutes + 1.33 = 6.33 minutes

In this way, the total time that the user will be in the system is defined, where 5 minutes will be in the queue and 1.33 minutes with the server.

Part b

Lq = λ x Wq

Lq = (0.78 clients minutes) x (5 minutes) = 3.89 clients

There can be more than 3 clients in the queue simultaneously.

References

  1. Operations management. Editorial Vértice, Apr 16. 2007
  2. Theory of queues or waiting line. Germán Alberto Córdoba Barahona. Pontificia Universidad Javeriana, 2002
  3. Systems theory solved problems. Roberto Sanchis Llopis. Publications of the Universitat Jaume I, 2002
  4. Quantitative methods of industrial organization II. Joan Baptista Fonollosa Guardiet, José María Sallán Laws, Albert Suñé Torrents. Univ. Politèc. from Catalunya, 2009

Yet No Comments