Chapter 17 - Køteori Flashcards
(106 cards)
What is the basic queueing process?
We have customers that require some kind of service. Customers are generated over time by some kind of input source. These customers enter the queueing system and join a queue IF service is not immediately available.
At certain times, the queueing discipline determines some customer to serve.
The required service is then performed by the “service mechanism”.
After service, the customer leaves the queuing system.
Elaaborate onthe input source
The input source generates customers. We usually just consider infinite popluations, because this is more easy. However, there are important cases where we cannot do this.
We MUST use finite input source popluations if the “rate” at which the source generates customers is significantly affected by the size.
We must also specify the distribution by which the source generates customers. We usually assume Poisson. This means that the number of customers generated will follow some mean rate per time, but randomly.
If we have unusual characteristics, we must also specify them. for instance, “balking” is the process of avoiding a queue if it is too long. This could impact the queueing system.
What is balking?
balking is the process of avoiding a queue if it is too long.
What is the queue?
The queue is where customers wait BEFORE being served.
A queue is charactersized by its capacity, the maximum number of customers it can serve. Sometimes we just assume inifnite.
What is QUEUE DISCIPLINE?
Queue discipline refers to how the queueing process selects custoemrs t obe served. FIFO, LIFO, prioirity.
Elaborate on the service mechanism
The service mechanism refers to the unit(s) serving the customers. It can be a single station, or multiple i parallell. We can also have sequential stations.
It is important to characterize the service time. The service time follow a probability distribution as well. Typically exponential.
Why do we use exponential distribution rather than others?
it is “better” than others. It is not perfect.
we want the markov property. The markov property says that the next state should only depend on the current state, and not on anything else. We can get this exact result from the memoryless property found in the exponential distribution.
How do we typically label a queueing model?
We use the “Kendall-notation”.
Distribution of arrival times / Distribution of service times / Number of servers / Capacity of queue / Size of input source
We use the following letters:
M : Expo
D : Degenerate
Ek : Erlang k
G : General distribution
For instance: M/G/3/8/infinity
We typically omit the last one if it is infinity:
M/G/3/8
What is the “state of the system”?
The state of the system refers to the number of customer in the queuing system.
What is “queue length”?
The number of customers waiting for service to begin
What is N(t)?
The number of custoemrs in the queueing sytem at time t. Basically just “state at time t”.
What is Pn(t)?
The probability of there being exactly “n” customers in the queueing system at time t.
What is “s”?
S is the number of service stations, or “servers”.
What is lambda n?
Lambda n is the mean arrival rate of customers into the queueing system when the number of customers in the queueing system is already “n”.
What is µ n?
µ n is the mean service rate when there are n custoemrs in the queueing system. This is: The expected number of service completions per time when there are n people in the queueing system.
When lambda n is constant, what do we have?
We omit the “n”, and just use lambda. Same with µ
Use lambda and µ, when they are constant, to find expressions for the expected interarrival time, and the expected service time
1/lambda, 1/µ
What is the utilization factor of the service facility?
p = lambda / (sµ)
Recall that s is the number of servers, µ is the mean rate of service completion, lambda is the mean rate of arrivals.
Elaborate on transient and steady states
If enough time pass, the queueing system will become independent of the initial state. It will reach a steady state.
During the time the system is still affected by the initial state, we say the system is in a transient state.
What is Pn?
The probability of there being exactly n customers in a queueing syustem in its steady state.
What is L?
Provide the formula
L is the expected number of customers in the queueing system.
L = ∑nPn [n=0, infinity]
What is Lq?
Lq is expected queue length. It excludes the customers that are currently being served.
Lq = ∑(n-s)Pn [n=s, infinity]
What is W with fucked up notation?
The waiting time in the system for each individual custoemr, including service time.
What is W?
W =ExpectedValue(WfuckedNotaiton)