

















Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!


















The queue management is another way in which companies can manage their internal capacity. Through queue
management, companies can understand criticalities and where they are concentrated in order to provide a better
service. Modelling through queuing theory supports companies in order take better operations decisions for example,
they can manage how many row materials they need to have by understand better their system.
It studies the waiting times of customers/products : we are able to understand where our customers within our system
are. We want to reduce at minimum the time that our customers are spending in the queue, so we need to manage the
system in order to avoid them.
A queuing system is formed by one or more “customers” waiting to be served by one or more “servers”.
Some examples are: people waiting at the cashier ’s desk for a bank operation, pieces waiting to be processed by a
lathe in a job-shop and a container waiting to be loaded on chassis.
In a life time, the average American will spend 5 years waiting line à the high impact in terms of time makes this
argument relevant.
Example – bank historical data show that on Monday there are on average 12 customers/hour at the only counter and
the counter operator is able to serve 10 customers/hour on average. Is queue going to form? Yes, because the counter is
able to serve less customers than it would need (mu>lambda à mu = service rate and lambda = demand rate or
arrival rate ).
Example – bank historical data show that on Monday between 10 and 11 am there are on average 10 customers/hour (
customer every 6 minutes on average) at the only counter. The counter operator is able to serve 12 customers/hour on
average (1 customer every 5 minutes on average). Is queue going to form? It’s possible that a queue will still form
since in real life there is variability à in a perfect stable context, if mu
Each activity takes around 10
minutes. At the beginning with unit A
we have no problem, the unit B
arrives 2 minutes after, we spent 10
minutes for the activity. The problem
is that at time 20, we were there
managing the activity for B so C has
to wait for 2 minutes, and it is going
to start its activity at 22 and it will finish at 32. D arrives at 34 and the server starts immediately. We would have time
to manage them, but we do not know when they arrive. Unfortunately, someone is going to wait for our service à
over the same period, there are units waiting to be processed and there can be under-utilisation of the processes’
resources (when the server waits for a customer to arrive).
Usually, the tendency is to consider average values only; however, there is always a variability that needs to be
considered and managed. Forecast and historical data help in mitigating possible queue impacts on system
performances, but they are not the only solution. The structural condition of a system is that the average pace of
customers’ arrival into the system is lower than the average of the server’s serving rate , otherwise we are in the case
of structural imbalance and queues are a result, a symptom of this condition and of some issues in the queueing system
that needs to be solved.
There are some differences between waiting lines and stocks :
Regarding quality, the waiting causes a negative impression in customers’ mind because they are losing time.
Regarding coordination, having people in the queue allows to deploy the service but we cannot precisely balance
demand and offer.
Why are queues particularly critical in the service companies rather than in manufacturing companies? Customers
can complaint and they receive a negative service, because of the word of mouth it can have a negative impact on the
revenues of the company; therefore, we will focus more on service companies.
Concerning customers’ behaviours , we can
observe different situations:
is rejected by the system because
she doesn’t respect acceptance
requirements (e.g. we don’t accept
people without an appointment).
decides not to enter a queue
because it’s already too long.
faster.
respect to the multiple queue case.
o MULTIPLE QUEUE à there is a line for each server, so there are multiple queues for multiple
servers (e.g. cashier at the supermarket).
there is a diversification of the service.
are different options.
waiting time is greater with respect to single
queue – different servers may have different
abilities to serve customers.
o TAKE A NUMBER à variation of the single queue, where the customer takes a number that
represents its position in the queue (e.g. poste)
could be faster.
dedicate themselves to other things during
the wait.
its turn.
have anything else to do.
o INFINITE SERVERS à there is an infinite number of servers that can serve customers (e.g. call
centres, websites); it is often self-service since the customer is its own server.
If there is a high level of service customization, it’s necessary to diversify the service and use multiple queue
configuration. Whereas, if variability and unpredictability are high, it’s better to use the single queue.
As regards QUEUE CAPACITY , we can distinguish between:
o LIMITED QUEUE = the number of customers in line plus the ones that are being served is limited
and defined. Customers who arrive, after the capacity is overfilled, are rejected.
o UNLIMITED QUEUE = the number of customers in line plus the ones who are being served is
potentially unlimited (e.g. websites).
are served, it’s often strictly related to the queue configuration. It can be:
o STATIC = the pertaining order among the customers in queue doesn’t change in time and/or at the
changing of the system conditions (ex. FCFS).
o DYNAMIC = the pertaining order between the customers can change in time and/or at the changing
of the system conditions (in the warehouse it’s possible to store items using the FCFS or the LCFS).
Some possible methods that can be used are the following, with increasing degree of precision and detail:
system is empty, there is a transitory period when
the service is being opened until it’s up and running.
into account.
time can be predicted.
into account.
(Wq, Lq, Pn).
even intractable in case of complex waiting lines.
jockeying).
shaped, for the type of data that can be obtained (ex.
times (%) that a specific customer waits more than 1
minute) and economic and user friendly softwares
are always more widespread.
static process; it changes during the day. For example, in a bank, there are very different values of arrival rates
in a whole day → a possible solution is to make more analysis considering different time slot.
Kendall's codification turns out to be A/B/c/K/m/Z :
Usually stop at the first 3 components (ex. M/G/1), in detail:
A queue system is formed by 1 queue and one or
more servers to offer the service. Therefore,
hypothesizing that arrivals and service rates are
deployed as negative exponentials.
The most common models are:
Particularly useful in estimating lost sales due to an inadequate waiting area or to an excessive long queue:
There is also the General Self Service M/G/∞ à the total number of customers in the process varies due to arrival
and service times variability. This model is also useful to shape, rounding situations where you rarely have to wait (ex.
emergency services).
As we increase the number of servers in the
system, the waiting in the system and per
customer is reduced à the optimum number
of counters is 12, since it guarantees that
customers wait in line for less than 15 minutes.
Increasing by 1 the number of servers
from 9 to 10 (+11%) decreases the
throughput time of 60% à the trend
is not linear. When the number of
counters increases, there is a
reduction of the utilization since each
counter will serve a smaller number
of customers.
The waiting time doesn’t grow in a linear way
with the increase of the system saturation
time. Even with a system utilization rate
rather low (around 60%) there will be waiting
times.
Queueing theory is addressed because of:
consultant who needs to understand how many counters at least have to be left open)
customers more satisfied) à analysis of the queue length (long lines suggest a poor customer service and
cause congestion and dissatisfaction), the average waiting time in line (long waits are linked to a poor
service), the average waiting time in the system (it can suggest problems with customers, servers’ efficiency or
capacity) and system utilization rate (check costs without unacceptable reductions in services).
Two achievable goals when sizing a system relate to:
1. “SERVICE QUALITY” PRINCIPLES : we want to manage the capacity by setting a quality level. - For banks and restaurants, AVERAGE WAITING TIME OF THE CUSTOMER = 𝐄(𝐖 ∗) < 𝛃 à sizing
with the goal that the expected value of the time that the customer has to wait before sitting at a table is less
than 10 minutes.
with the goal of wanting that the probability that the client has to wait more than 5 minutes (w) before
receiving the service is less than 5%.
cost will increase (more employees); but customers will wait less and their waiting cost will decrease –
necessary to find the right balance to minimize the total cost.
Variability is important to explain the behaviour of the system à if the variability of the system increases, there are
underutilized resources and customers may see an increase in the waiting time.
If I know that it is the distribution of our customers is always the same (so they arrive always at the same time), the
variability is low and we can decide to have a higher utilization rate. On the contrary, if the variability is too high , we
need to change our capacity and add at least one server. The higher is the variability, the lower must be the
utilization rate and so the higher must be the server in our service system.
(X) is the AS-IS system performance. The queue is too long (then also the waiting time is too long). We set a new
queue length target. How to get there? There are two ways to reach the same target:
§ (Y) utilization reduction : increasing the number of resources with the same system conditions (we act on the
supply side).
§ (Z) system variability
reduction : booking
system introduction,
with the same
number of resources
(we act on the
demand side).
Managers modify queueing system in order to get better performances, and they use a different set of levers:
changes, add/remove/move resources, decrease service time (technology utilization and training), increase
resource flexibility and decrease service times variability.
uncertainty level (booking and improve forecasts) and decreasing the variance (incentives for non-rush hours
moments and booking).
different service laws: (I) satisfaction = perception – expectation since perception is more important than
reality, for example waiting with other people and doing something during the waiting time makes the wait
perceived as shorter; (II) it’s hard to play catch-up ball since the first impression is the most important.
Measuring the customer satisfaction is important to
understand where the critical point of the system is à
waiting is associated with a low level of customers
satisfaction and therefore it has to be minimized by the
system.
This is a customer experience map of a visit for an X-ray
investigation. The customer does not find immediately
the parking, then he goes to check in and the servers are
quite good, so he is pleased, then between the check in
and the X ray has to wait so he is annoyed, after everyone
is polite and he is pleased. Even though we know how to
manage the time where the customer is with us, we also
need to think when the customer is not with us.
PROSPECT THEORY = if the customer waits, the negative
impact on the service is greater than a positive impact from the
system – very important to keep a good performance. Gain and loss
perception depends on the benchmark and loss sensitivity is
greater than gain sensitivity.
Probability: P = P0photocopier * P0fax * P0cashcounter
P0 = 1 – ρ = 1 – λ / μ à probability = 5,55%
System expected throughput time = weighted sum of all types of customers' throughput times :
photocopier customers → cash counter: 20 / 30 customers
fax customers → cash counter: 10 / 30 customers
Ws = 20/30 * (6 min + 2 min) + 10/30 * (12 min + 2 min) = 10 minutes
Lq = ρ*λ / (μ - λ) = (30/60 * 30)/ (60-30) = 0,5 customers
Ls shop = Ls photo + Ls fax + Ls cash counter
Ls= λ / (μ - λ)
Probability to have less than k customers in the system (= LINE + IN SERVICE) à P(n Nodes have to be located inside the system in order to compute the rate arrival and in every case the inputs
must be equal to the output à NODE BALANCING = everything that enters in the node is equal to everything that
comes out from it, as in the system there isn't any flow loss (the service process works on customers, with neither
creating nor destroying any).
The testing machine is composed of 1 server (M/M/1), the service rate is 660 pc/hour and part of X and Xb has to be
worked and tested again (15% of them), moreover we know that pieces that have been rejected are the 50% of the
pieces that have been tested twice. So, 15% of the products must be tested again and, in addition, those pieces that
have been tested twice, the 50% in discarded. In order to estimate the input A and input B (Xa and Xb) we need to do
the node balancing: every time we have more than 1 product, we must focus at one single products per time and after
the other.
A) 300 + 0,15Xa +
0,5 * 0,15Xa = Xa →
Xa = 387,09 pc/h
Input A: input A +
0,15Xa=Xa → input
A = 329,02 pc/h
B) 200 + 0,15Xb +
0,5 * 0,15Xb = Xb →
Xb = 258,06 pc/h
Input B: input B +
0,15Xb=Xb → input
B = 219,35 pc/h
“Rinascimento” clinic is a small health care facility, located in Austin, Texas. The medical examinations take place
without an appointment and the flow is described as follows: a patient enters the clinic and goes to reception, where
the receptionist, according to the patient’s problem, sends her to Dr. Carter, a general practitioner, or sends her to Dr.
Romano, a specialized physician.
In some cases, the patient could
be seen by both Dr. Carter and
Dr. Romano. The collected data
are depicted in the following
table. Arrival rate and service
rate follow a negative
exponential distribution.
The system expected throughput time refers to an " average product ". It doesn't have to be taken as an absolute
benchmark.It's crucial to know the system and to map it: which phases? which products? Which problems?
Each type of product has its variability
and if it's possible to assign the type of
product at the beginning of the process,
the uncertainty decreases and it's
possible to better align performances to
expectations, therefore it's possible to
start effective countermeasures
(2) Rinascimento clinic is considering implementing a priority system to manage in a different way the visits held by
Dr. Romano. The idea is that the patients going to Dr. Romano after being seen by Dr. Carter, have a non-pre-emptive
priority on the patients that arrive directly to Dr. Romano. Which are, in your point of view, the main effects
introducing this priority rule has on the LT (for the 3 typologies and the generic patient)?
just one server who is able to serve two classes of customers (1 and 2) that have a different service admission.
Hp: customers of class 1 have a service admission priority higher than customers of class 2
We can have two different cases: preemptive or non-preemptive priority.
PREEMPTIVE PRIORITY = if a customer of class 1 enters the system while a
customer of class 2 is being served, the service to the customer of class 2 is
interrupted in order to give immediate precedence to the customer of class 1.
Example
l 1 = arrival rate of type 1 customers= 0,
l2= arrival rate of type 2 customers = 0,
μ= service rate = 1
NON-PREEMPTIVE PRIORITY = if a customer of class 1 enters the system
while a customer of class 2 is being served, the service to the customer of class 2
is completed and then the customer of class 1 is taken care of.
Example
l 1 = arrival rate of type 1 customers= 0,
l2= arrival rate of type 2 customers = 0,
μ= service rate = 1
In the case of the Rinascimento Clinic, the class with higher priority are customers arriving from doc. Carter (S1),
while the class with lower priority are customers arriving from the reception (S2).
ρ1 = λ1 / μ = 3/15 = 0,
ρ2 = λ2 / μ = 10/15 = 0,
E(S1) = ((1 + ρ2)/ μ)/(1- ρ1) = ((1,667)/15)
/ (1 – 0,2) = 0,1389 h = 8,333 minutes
E(S2) = (((1 - ρ1*(1- ρ1- ρ2))/ μ)/((1-
ρ1)*(1- ρ1- ρ2)) = 0,6083 h = 36,5 minutes
The expected throughput time is the same as before because we did not change anything: We have the same quantity
of resources and the same types of patients, the only difference is in the type of service we are going to provide to
people. The alteration of the priority logic doesn't change the system expected throughput time ; however, in
some cases it's essential to increase the customer's satisfaction degree and to improve customer service.
Verdi SPA has a final demand of 500 pieces/ hour. The process is composed of an assembly line and a final packaging
stage. The assembly line is composed of 3 stages in series (sequential), decoupled by stock (there is some buffer and
inventories). There is no setup in the assembly line. The product, at the beginning of the process, is checked by an
automatic quality control stage. 15 % of the products provided by the supplier are identified as scrap. The 85% of the
products provided by the supplier are good , so they can be processed by the assembly line. After stage 1 there is
another quality control and, 20% of the time, items worked in stage 1 are categorized as nonstandard, so they have to
be reworked by stage 1. Once stage 1 reworks this 20%, it will be considered ok, so it can go to stage 2. After stage 2
there are 3 different cases:
lower price, and because of this it will continue with a lower priority just on stage 3. ( 15% of the products
worked in stage 2). In the packaging stage, products do not have different priorities. In stage 3, good products
have _non-preemptive priority_* on slightly damaged products.
Stage 3 is quite a simple process, so it doesn’t give any quality problems. The packaging stage is composed of two
different machines that work in parallel. Each one can work 300 pieces/hour. The input of the packaging stage must be
500 pieces/hour (à since there are no quality problems, also the output would be 500 pieced/hour). The products are
processed by FIFO and the configuration is a single queue with two servers (the two machines).
The three stages of the assembly line are manual and each one is composed by an operator. The table below is related
to the service rates à Lambda is the arrival rate and indicates the number of pieces that arrive per hour, while Mu is
the time needed to complete the service for each piece.
(1) You are required to model the system, highlighting all the important parameters.
the value of the Input we can simply compute the % of reworks on the Input; instead, when the number of Input is not
known, we have to introduce the variable A that represents the number of units entering the stage and for which the %
1.0,85Input + 0,2A = A →
Input = 619,19 pieces/hour
pieces/hour
pieces/hour
In the packaging there is a M/M/
system, where λ/μ = 500/300 =1,
and c = 2.
Therefore, from the table we find that
Lq = 4,
and categorize one kit every 2 minutes. Only in this stage, there is a distinction between urgent kits and non-
urgent kits; after this stage, they are characterized by the same priority.
amount of kit in entrance go to the General Surgery cleaning area, the 30% of the whole amount of kit in
entrance go to the Gynaecology cleaning area, the 20% of the whole amount of kit in entrance go to the
Ophthalmology cleaning area.
total amount in the entrance at the Ophthalmology cleaning area) or “special” (60% on the total amount in the
entrance at the Ophthalmology cleaning area). The special ones have a non pre-emptive priority over the
normal ones.
Another data, collected by Eng. Smith, is that 15% of the instruments kit cleaned in the Orthopaedics cleaning
area, once cleaned in this area, are sent to the General Surgery cleaning area , where will be cleaned another time.
The service rate and the number of operators involved in the flow are depicted in the following table:
Service rates and arrival rates are distributed according to a negative exponential. Queues are managed with a FCFS
rule.
a) Map the system in a detailed and precise way, putting all the important parameters.
In order to calculate all the parameters, we need to start from the first stage and from the text.
When they enter in the
ophthalmology they are divided in
special and normal (60% and 40%);
in order to calculate the arrival rate,
we need to take into consideration
the fact that the 20% of the 15 kits
are sent there (so 3 kits in the
ophthalmology) and we need to
multiply them according to the
percentage of the “special” and the
percentage of the “normal”:
▪ Special= 60%*3=1,
▪ Normal=40%*3=1,
We do the same calculation in order to find the arrival rate for all the other departments; for the general surgery we
also have to calculate the kits that are first sent to the orthopaedics à 20%15+15%30%*15 = 3,.
For the preparing arrival rate: overall amount of kits divided by two, because each server will see only part of the
queue and on average (since they are 2 servers) they will see only half of the queue. The service rate was simply the
conversion from the table that was done in minutes into hours. In the table there are all the information but then we
must estimate the Ws that can be estimated only if we know what type of customer and what type of products we take.
In fact, there is a total of 12 typologies of “customers” (12 kinds of products):
o Nurse urgent kit
o Nurse not urgent kit
o Nurse à Ophthalmology (special) à OSS
o Nurse à Ophthalmology (normal) à OSS
o Nurse à Orthopaedics à OSS
o Nurse à Orthopaedics à surgery à OSS
o Nurse à surgery à OSS
o Nurse à Gynaecology à OSS
So we have twelve types of customers and once we have mapped the types of products in our system, we must
understand what the frequency and the occurrences is, in order to find the average waiting time of the system because
we multiply each path for the occurrence and find the overall throughput time.
b) Calculate the average time between an instruments kit entering the sterilization center, until it is ready to be put
into the sterilization machines.
How can we compute the
occurrences? (the 15 at the
denominator is the total input)
5/15(30% - 15%30%) = 8,5% it
is the percentage (5/15) that
corresponds to the urgent sets, this
is then multiplied by those products
sent to the orthopaedics minus the
one sent also to the general surgery.
products that once they are sent to the orthopaedics, they are also sent to the general surgery, so this are the urgent
(5/15) multiplied by the 15% of the 30% (those sent to the general surgery, once sent to the orthopaedics).
preparation.
the distinction is not only on the urgent, but on the ophthalmology, we have normal or special kits, so there are
different types of products.
The same must be done for the non-urgent, we have exactly the same values but we need to multiply them for 10/15:
MECCANICA Spa is a little manufacturing company. The customers ask the company for a rate of 100 pieces per
hour. The selection is composed of 3 types of products: type A (50% of the demand), type B (30% of the demand),
and type C (20% of the demand).
The production system is simple, it is formed by:
hour.
The assumption is that all the service times are described by a negative exponential distribution. The flow is the same
for each type of product: MILLING → DRILLING → TESTING → PACKAGING
In particular, at the milling stage , both the machines can work all types of products and the company decided to
dedicate one machine to type A products and the other machine to products of type B and type C. In the drilling stage,
there are three identical machines, each one dedicated to working on one type of product. The testing machine reveals
that sometimes type B and type C products have to be worked again because of an error during the drilling process.
These products have to be processed again by the drilling machine and the re-working time is the same as the first
time. On average, 20% of type B and 10% of type C products that are introduced in the system have to be worked
twice. About the twice worked pieces, 85% are good and 15% are rejected and trashed. At the packaging stage a
product of type C has a priority: when a server is free type C product is next to be processed.
Shape Meccanica S.p.a. System, define relevant parameters (arrival rates, service rates, queue type, inactivity time of
resources), and map all the flows and paths of products.
First of all, we know that we have to deliver 100 good pieces each hour , divided as: 50 types A; 30 types B and 20
types C.
We have product A that enters the
drilling machine that is dedicated to this
product type, then it is sent to the testing
and packaging machine, that are for all
the types of products. Type B and C are
both worked on one milling machine
(the second one), then they are sent to
each type of drilling machine according
to the product (product B in drilling
machine B and product C in drilling
machine C); they are both sent to the
testing machine and some of products B
are reworked, others are discarded and
the same happens for product C.
We know that for PRODUCT A nothing happens (nothing is scrapped or re-worked), so what enters is exactly what
goes out from the system. So A = out. A = 50 pc/h
PRODUCT B enters in the milling machine, to the drilling machine, to the testing machine and then it is re worked.
On average 20% of B that are introduced in the system have to be re-worked so 0,2*B has to be re-worked. We know
that between drilling and testing machine we have 1,2 of input B (because it is the sum of input B + 0,2*B) so 1,2 *B.
After the testing machine, the product can be also scrapped and this happens to the 15% of the products that are tested
twice. So before the packaging we have an output that is equal to the output B. So the output B is: Out.B + (0,2*B +
0,20,15B) = 1,2B 30 = 0.97B à B = 30.93 pc/h
The PRODUCT C follows the same path of B but the 10% of C are re-worked and then the 15% of the product
worked twice are discarded (1510C), so: Out.C+0,1C + 0,150,1C = 1,1C 20 = C-0,015C = 0.985C à C =
20.304 pc/h.
Now we have all the values and we can put these information in the table:
λTesting = A+ 1.1C+ 1,2B = 50 + 1,120,304 + 1,230,93= 109,
λMilling2 = C + B = 20,304 + 30,93 = 51,
λPackaging = OutA + OutB + OutC = 100 (I sum the output since there aren’t scraps in the packaging machine)
λDrillingB = 1,2B = 1,230,93 = 37,
Each machine has an arrival rate that could be of one single typology or could be characterized by more than one
product type (for instance, milling machine 2 is characterized by both product B and C). When we perform the
calculation we must compute every calculation for EACH product type. Everything was characterized by M/M/1, the
drilling for instance is 3M/M/1, but in reality they are different because they work in a single product and in the test is
not written that it is a multiple queue. The idle time is (1-ρ) * 60.
Key message: the mapping phase is fundamental to understand the system and its inefficiency.
A company has a central document-copying service where employees of this company go occasionally to make copies.
Arrivals are assumed to follow the Poisson probability distribution , with a mean rate of 15 per hour. Also, service
times are assumed to follow the Poisson distribution. With the present copying equipment, the average service time is
3 minutes. A new machine is available that will have a mean service time of 2 minutes. The average wage of the
employees who bring the documents to be copied is €8 an hour. Employees need to wait at the machine while it’s
copying, and all employees are fully saturated during their work.
1) If the machine can be rented for €2 per hour more than the old machine, should the company rent the new
machine? Consider lost productive time of employees as the time they spent waiting in the system.
There is a M/M/1 system with Ws = 1/(μ - λ)
Ws1 = 1/(20-15) = 0.2 h = 12 min à 8 €/h * 15 employees * 0.2 h/employees = 24 €/h
Ws2 = 1/(30-15) = 0.06 h = 4 min à 8 €/h * 15 employees * 0.06 h/employees + 2 €/h = 10 €/h
The company should rent the new machine since c2 < c1.
2) The area around the copy machine can accommodate only three employees. What percentage of time will this area
be inadequate for waiting employees when using just the old copy machine?
n ≥ 4
= pk =
λ/μ
$
$
= 0. 3164 ∗ 60min/h = 18. 98 min
3) Due to the very low prices, the company thinks about purchasing many small-scale copy machines. Assume the
small-scale copy machines are set up with a first come first serve queue policy in a single queue system, and that each
small-scale copy machine has an average service rate of 5 employees per hour. Determine the smallest number of
copy machines the company needs to provide to keep the average waiting time in the system for the employees lower
than 15 minutes.
λ = 15 employees and μ = 5 employees and r = 3 à Ws = Lq / λ + 1/μ ≤ 15 min à Lq ≤ 0.75 and c = 5