Learn R Programming

queueing (version 0.2.3)

queueing-package: Analysis of Queueing Networks and Models.

Description

It provides a versatile tool for analysis of birth and death based Markovian Queueing Models and Single and Multiclass Product-Form Queueing Networks. It implements the following basic markovian models: llll{ M/M/1, M/M/c, M/M/Infinite, M/M/1/K, M/M/c/K, M/M/c/c, M/M/1/K/K, M/M/c/K/K, M/M/c/K/m, M/M/Infinite/K/K }

It also solves the following types of networks:

  • Multiple Channel Open Jackson Networks.
  • Multiple Channel Closed Jackson Networks.
  • Single Channel Multiple Class Open Networks.
  • Single Channel Multiple Class Closed Networks
  • Single Channel Multiple Class Mixed Networks

Also it provides B-Erlang, C-Erlang and Engset calculators. This work is dedicated to the memory of D. Sixto Rios Insua.

Arguments

docType

package

Details

All models are used in the same way:
  1. Create inputs calling the appropiateNewInput.model. For example,x <- NewInput.MM1(lambda=0.25, mu=1, n=10)for a M/M/1 model. To know the exact acronymn model to use forNewInputfunction, you can search the html help or writehelp.search("NewInput")at the command line.
  2. Optionally, as a help for creating the inputs, theCheckInput(x)function can be called
  3. Solve the model callingy <- QueueingModel(x). In this step, theCheckInput(x)will be called. That is the reason that the previous step is optional
  4. Finally, you can get a performance value asW(y),Wq(y)or a report of the principals performace values callingsummary(y)

See the examples for more detailed information of the use.

References

[Sixto2004] Sixto Rios Insua, Alfonso Mateos Caballero, M Concepcion Bielza Lozoya, Antonio Jimenez Martin (2004). Investigacion Operativa. Modelos deterministicos y estocasticos. Editorial Centro de Estudios Ramon Areces.

Examples

Run this code
## M/M/1 model
summary(QueueingModel(NewInput.MM1(lambda=1/4, mu=1/3, n=0)))

## M/M/1/K model
summary(QueueingModel(NewInput.MM1K(lambda=1/4, mu=1/3, k=3)))

Run the code above in your browser using DataLab