Professional Documents
Culture Documents
SDA 3E Chapter 12
SDA 3E Chapter 12
Queueing Systems
Customer arrivals: people, machines, telephone calls, messages Servers: people, machines, airport runways, ATMs, computers Queue (waiting line): single, parallel, multiple with common line, series
Customer Characteristics
customers arrive randomly and independently with mean rate l customers/time past does not influence the future probability of arrival does not vary over time (stationary)
Service Characteristics
Queue Characteristics
Queue discipline: order in which customers are served FCFS LCFS Priority
System Configuration
One or more parallel servers fed by a single queue. Several parallel servers fed by their own queues. A combination of several queues in series.
Performance Measures
The quality of the service provided to the customer. Waiting time in the queue Time in the system (waiting time plus service time) Completion by a deadline The efficiency of the service operation and the cost of providing the service. Average queue length Average number of customers in the system (queue plus in service) Throughput -- the rate at which customers are served Server utilization -- percentage of time servers are busy Percentage of customers who balk or renege
2007 Pearson Education
Operating Characteristics
Lq = average number in the queue L = average number in the system Wq = average waiting time in the queue W = average time in the system P0 = probability that the system is
empty
Assumptions Single server Poisson arrivals, mean rate = l Exponential services, mean rate = m FCFS queue discipline Other models Arbitrary service times Multiple servers Finite calling populations
2007 Pearson Education
Example
Customers arrive at an airline ticket counter at a rate of l = 2 customers/minute and can be served at a rate of m = 3 customers per minute.
Calculations
Lq = L=
22 3(2)
=1.33 customers
2 33
= 2.00 customers
Wq =
W=
2 3(3 2)
= 0.67 minutes
1 3 2
= 1.00 minutes
P0 = 1 2/3 = 0.33
2007 Pearson Education
Analytical models provide only longterm steady-state results Simulation results show short-rerm transient behavior
Littles Law
Customer leaves
2007 Pearson Education
Observations
If a customer arrives and the server is idle, then service can begin immediately upon arrival. If the server is busy when a customer arrives, then the customer cannot begin service until the previous customer has completed service. The time that a customer completes service equals the time service begins plus the actual service time.
2007 Pearson Education
SimQuick Elements Entrances where objects enter a process. Buffers places where objects can be stored
(inventory storage, queues of people or parts, and so on). Work Stations places where work is performed on objects (machines, service personnel, and so on). Decision Points where an object goes in one of two or more directions (outcomes of processing activities, routings for further processing, and so on). Exits places where objects leave a process according to a specified schedule.
2007 Pearson Education
deviation)
Exponential: Exp(mean) Uniform: Uni(lower, upper) Constant Discrete: Dis(i), where i is the reference to table i of the worksheet
Customers at a car wash arrive randomly at an average of 15 cars per hour (or one car every 4 minutes). A car takes an average of 3 minutes to wash (or 20 cars per hour) Process flow map:
Entrances Worksheet
Buffers Worksheet
Simulation Results
Final status: status of the work station when the simulation ends Final inventory (int. buff.), Mean inventory (int. buff.), and Mean cycle time (int. buff.): Work cycles started: the number of times the work station has started processing Fraction time working: utilization of the work station Fraction time blocked: fraction of time that the work station was waiting to pass on an object to the next element.
2007 Pearson Education
Buffer Statistics
Objects leaving: number of objects that left the buffer Final inventory: Inventory refers to the number of objects in the buffer. Final inventory is the number remaining at the end of the simulation Minimum inventory; Maximum inventory; Mean inventory: statistics on the number of objects during the simulation Mean cycle time: mean time that an object spends in the buffer
2007 Pearson Education
Resources Worksheets
A continuous simulation model defines equations for relationships among state variables so that the dynamic behavior of the system over time can be studied.
Modeling Equations
POPLVL(t) = POPLVL(t - 1) + GROWTH(t) DEMAND(t) = POPLVL(t) - [MEDRATE(t - 1) - MEDRATE(t - 2)] MEDRATE(t) = MEDRATE(t = 1) + POPLVL(t) - POPLVL(t - 1)
Simulation Results