1.040/1.401/ESD.018 Project Management - PowerPoint PPT Presentation

About This Presentation
Title:

1.040/1.401/ESD.018 Project Management

Description:

Components of a Queuing System - The Capacity of a Queue - Queuing System Performance ... Examples of Benefits: Equipment Utilization (%), Labor Utilization, etc. ... – PowerPoint PPT presentation

Number of Views:19
Avg rating:3.0/5.0
Slides: 108
Provided by: misc
Learn more at: http://web.mit.edu
Category:

less

Transcript and Presenter's Notes

Title: 1.040/1.401/ESD.018 Project Management


1
1.040/1.401/ESD.018Project Management
  • LECTURE 13
  • RESOURCE ALLOCATION PART 3
  • Integer Programming
  • Analyzing Queues in Project Management

Sam Labi and Fred Moavenzadeh Massachusetts
Institute of Technology

2
Todays conversation
Queuing Systems I
  • Integer Programming as a Tool for Resource
    Allocation in Project Management
  • - Activities only
  • - Activities and Resources
  • Queuing in Project Management
  • - Examples of Queuing Systems
  • - Components of a Queuing System
  • - The Capacity of a Queue
  • - Queuing System Performance
  • - Attributes of a Queuing System

3
  • PART 1
  • Integer Programming for Resource Allocation in
    Project Management

4
Consider the Following Simple Project Activity
Diagram (Activities Only)
X3
X2
X1
X6

X4
X5
  • Types of relationships
  • Complementary Xi should be done with (before or
    after Xj )
  • Substitutionary Either Xi must be done or Xj
    must be done.
  • Precedence Xi must be done before Xj
  • Xi must be done after Xj )
  • 4. Mandatory Xi must be done no matter what

5

Benefit bX2 Cost cX2
Benefit bX3 Cost cX3
X3
X2

X6
X1
Benefit bX6 Cost cX6
Benefit bX1 Cost cX1
X4
X5
Benefit bX5 Cost cX5
Benefit bX4 Cost cX4
6

Examples of Benefits Equipment Utilization (),
Labor Utilization, etc.

Benefit bX2 Cost cX2
Benefit bX3 Cost cX3



X2
X3
X6
X1
Benefit bX6 Cost cX6
Benefit bX1 Cost cX1
X4
X5
Benefit bX5 Cost cX5
Benefit bX4 Cost cX4
7

Examples of Benefits Equipment Utilization (),
Labor Utilization, etc. Examples of Costs
Monetary (), Duration (days), etc.

Benefit bX2 Cost cX2
Benefit bX3 Cost cX3



X2
X3
X6
X1
Benefit bX6 Cost cX6
Benefit bX1 Cost cX1
X4
X5
Benefit bX5 Cost cX5
Benefit bX4 Cost cX4
8

Examples of Benefits Equipment Utilization (),
Labor Utilization, etc. Examples of Costs
Monetary (), Duration (days), etc. Useful to
convert all benefits and cost into a single unit

Benefit bX2 Cost cX2
Benefit bX3 Cost cX3



X2
X3
X6
X1
Benefit bX6 Cost cX6
Benefit bX1 Cost cX1
X4
X5
Benefit bX5 Cost cX5
Benefit bX4 Cost cX4
9

Examples of Benefits Equipment Utilization (),
Labor Utilization, etc. Examples of Costs
Monetary (), Duration (days), etc. Useful to
convert all benefits and cost into a single unit
Scaling, Metricization
Benefit bX2 Cost cX2
Benefit bX3 Cost cX3


X2
X3
X6
X1
Benefit bX6 Cost cX6
Benefit bX1 Cost cX1
X4
X5
Benefit bX5 Cost cX5
Benefit bX4 Cost cX4
10

X3
X2
X1
X6

X4
X5
11

Activity Benefit (Utility) Cost (Dis-utility)
X1 bX1 cX1
X2 bx2 cX2
X3 bX3 cX3
X4 bX4 cX4
X5 bX5 cX5
X6 bX6 cX6
X3
X2
X1
X6

X4
X5
TOTAL B C
12

Activity Benefit (Utility) Cost (Dis-utility)
X1 bX1 cX1
X2 bx2 cX2
X3 bX3 cX3
X4 bX4 cX4
X5 bX5 cX5
X6 bX6 cX6
X3
X2
X1
X6


X4
X5
Activity Benefit Type 1 Benefit Type 2 Benefit Type N Cost Type 1 Cost Type 2 Costs Type M
X1
X2
X3
X4
X5
X6
13

X3
X2

X1
X6
X4
X5



Activity Benefit Type 1 Benefit Type 2 Benefit Type N Cost Type 1 Cost Type 2 Costs Type M
X1 bX1 bX1 bX1 cX1 cX1 cX1
X2 bx2 bx2 bx2 cX2 cX2 cX2
X3 bX3 bX3 bX3 cX3 cX3 cX3
X4 bX4 bX4 bX4 cX4 cX4 cX4
X5 bX5 bX5 bX5 cX5 cX5 cX5
X6 bX6 bX6 bX6 cX6 cX6 cX6
TOTAL B1 B2 BN C1 C2 CM
TOTAL B C
14
  • Some Mathematical Notations and Formulations
  • Constraints
  • Objective function

15

(a) Constraints
16

Activity Benefit (Utility) Cost (Dis-utility)
X1 bX1 cX1
X2 bx2 cX2
X3 bX3 cX3
X4 bX4 cX4
X5 bX5 cX5
X6 bX6 cX6
X3
X2
X1
X6

X4
X5
TOTAL B C
17

Activity Benefit (Utility) Cost (Dis-utility)
X1 bX1 cX1
X2 bx2 cX2
X3 bX3 cX3
X4 bX4 cX4
X5 bX5 cX5
X6 bX6 cX6

X3
X2
X1
X6


X4
X5
TOTAL B C
Xi 1,0 i 1,2,,6
18

Activity Benefit (Utility) Cost (Dis-utility)
X1 bX1 cX1
X2 bx2 cX2
X3 bX3 cX3
X4 bX4 cX4
X5 bX5 cX5
X6 bX6 cX6

X3
X2
X1
X6


X4
X5
TOTAL B C
Xi 1,0 i 1,2,,6 Integer programming
formulation. Carry out Activity i or do not.
19

Activity Benefit (Utility) Cost (Dis-utility)
X1 bX1 cX1
X2 bx2 cX2
X3 bX3 cX3
X4 bX4 cX4
X5 bX5 cX5
X6 bX6 cX6


X3
X2
X1
X6



X4
X5
TOTAL B C
X1 1 Activity 1 is mandatory
20

Activity Benefit (Utility) Cost (Dis-utility)
X1 bX1 cX1
X2 bx2 cX2
X3 bX3 cX3
X4 bX4 cX4
X5 bX5 cX5
X6 bX6 cX6


X3
X2
X1
X6



X4
X5
TOTAL B C
X6 1 Activity 6 is mandatory
21

Activity Benefit (Utility) Cost (Dis-utility)
X1 bX1 cX1
X2 bx2 cX2
X3 bX3 cX3
X4 bX4 cX4
X5 bX5 cX5
X6 bX6 cX6


X3
X2
X1
X6



X4
X5
TOTAL B C
Carry out Activity 2 or 4 but not both.
?
22

Activity Benefit (Utility) Cost (Dis-utility)
X1 bX1 cX1
X2 bx2 cX2
X3 bX3 cX3
X4 bX4 cX4
X5 bX5 cX5
X6 bX6 cX6


X3
X2
X1
X6



X4
X5
TOTAL B C
X2 X4 1 Carry out Activity 2 or 4 but not
both.
23

Activity Benefit (Utility) Cost (Dis-utility)
X1 bX1 cX1
X2 bx2 cX2
X3 bX3 cX3
X4 bX4 cX4
X5 bX5 cX5
X6 bX6 cX6


X3
X2
X1
X6



X4
X5
TOTAL B C
24

Activity Benefit (Utility) Cost (Dis-utility)
X1 bX1 cX1
X2 bx2 cX2
X3 bX3 cX3
X4 bX4 cX4
X5 bX5 cX5
X6 bX6 cX6



X3
X2
X1
X6



X4
X5
TOTAL B C
The average benefit of all selected activities
should be at least b
25

Activity Benefit (Utility) Cost (Dis-utility)
X1 bX1 cX1
X2 bx2 cX2
X3 bX3 cX3
X4 bX4 cX4
X5 bX5 cX5
X6 bX6 cX6




X3
X2
X1
X6




X4
X5
TOTAL B C
The average cost of all selected activities
should not exceed c
26

Activity Benefit (Utility) Cost (Dis-utility)
X1 bX1 cX1
X2 bx2 cX2
X3 bX3 cX3
X4 bX4 cX4
X5 bX5 cX5
X6 bX6 cX6





X3
X2
X1
X6





X4
X5
TOTAL B C
The least benefit of any selected activity
should be b OR No activity selected should have
a benefit that is less than b
27

Activity Benefit (Utility) Cost (Dis-utility)
X1 bX1 cX1
X2 bx2 cX2
X3 bX3 cX3
X4 bX4 cX4
X5 bX5 cX5
X6 bX6 cX6





X3
X2
X1
X6





X4
X5
TOTAL B C
The highest cost of any selected activity
should be c OR No activity selected should have
a cost that is more than c
28

(b) Objective Function
29

Objective Function What is our goal? What are we
seeking to maximize/minimize?
Maximize the sum of all benefits E.g. The set
of activities that involve the lowest total
duration Minimize the sum of all costs E.g. The
set of activities that involve the least
resources Maximize all benefits and minimize all
costs

30

Objective Function What is our goal? What are we
seeking to maximize/minimize?

Maximize the sum of all benefits E.g. The set
of activities that involve the lowest total
duration Minimize the sum of all costs E.g. The
set of activities that involve the least
resources Maximize all benefits and minimize all
costs


OBJ B ( C)
Linear additive
31

Objective Function What is our goal? What are we
seeking to maximize/minimize?

Maximize the sum of all benefits E.g. The set
of activities that involve the lowest total
duration Minimize the sum of all costs E.g. The
set of activities that involve the least
resources Maximize all benefits and minimize all
costs


OBJ B ( C)
Linear additive
Linear additive, equal weight of 1
OBJ 1B 1C
32

Objective Function What is our goal? What are we
seeking to maximize/minimize?

Maximize the sum of all benefits E.g. The set
of activities that involve the lowest total
duration Minimize the sum of all costs E.g. The
set of activities that involve the least
resources Maximize all benefits and minimize all
costs


OBJ B ( C)
Linear additive
Linear additive, equal weight of 1
OBJ 1B 1C
OBJ wBB wCC
Linear additive, non-equal weights
33

Objective Function What is our goal? What are we
seeking to maximize/minimize?


Maximize the sum of all benefits E.g. The set
of activities that involve the lowest total
duration Minimize the sum of all costs E.g. The
set of activities that involve the least
resources Maximize all benefits and minimize all
costs



Linear additive
OBJ B ( C)
Linear additive, equal weight of 1
OBJ 1B 1C
Linear additive, non-equal weights
OBJ wBB wCC
Linear multiplicative
34

EXTENSION OF THE PROBLEM TO RESOURCE ALLOCATION
35

EXTENSION OF THE PROBLEM TO RESOURCE ALLOCATION

X2
X3

X1
X6
X4
X5
Previous formulations X represents an activity
36

EXTENSION OF THE PROBLEM TO RESOURCE ALLOCATION

1
2
3
4
5
J

X2
X3
X2


X3
X1
X1
X6
X6
X4
X5
X4
X5
New formulations (Resource Allocation
formulations) X represents an activityresource
bundle
Previous formulations X represents an activity
37

EXTENSION OF THE PROBLEM TO RESOURCE ALLOCATION

1
2
3
4
5
J
Resources
Xij is a Resource-activity pair Resource j is
allocated to Activity i Activities i 1,
2, I Resources j 1, 2, J X23 means
Resource 3 is allocated to Activity 2 X55 means
Resource 5 is allocated to Activity 5

X23


X31
X15
X64
X44
X55
New formulations (Resource Allocation
formulations) X represents an activityresource
bundle
38

EXTENSION OF THE PROBLEM TO RESOURCE ALLOCATION


1
2
3
4
5
J
Resources
What if more than one resource is allocated to an
activity? Example, Resources 3 and 5 are
allocated to Activity 5 Means that X55 and X53
should exist in the mathematical formulation.

X23



X31
X15
X64
X55
X44
X53
39

EXTENSION OF THE PROBLEM TO RESOURCE ALLOCATION
  • Again, lets see some Mathematical Notations and
    Formulations
  • Constraints
  • Objective function



40

(a) Constraints
41

Activity-Resource Pair Benefit (Utility) Cost (Dis-utility)
X15 bX15 cX15
X23 bx23 cX23
X31 bX31 cX31
X44 bX44 cX44
X55 bX55 cX55
X64 bX64 cX64
X31
X23
X15
X64

X44
X55
TOTAL B C
42

Activity-Resource Pair Benefit (Utility) Cost (Dis-utility)
X15 bX15 cX15
X23 bx23 cX23
X31 bX31 cX31
X44 bX44 cX44
X55 bX55 cX55
X64 bX64 cX64

X23
X31
X15
X64


X44
X55
TOTAL B C
Xij 1,0 i 1,2,, I j 1,2,, J
43

Activity-Resource Pair Benefit (Utility) Cost (Dis-utility)
X15 bX15 cX15
X23 bx23 cX23
X31 bX31 cX31
X44 bX44 cX44
X55 bX55 cX55
X64 bX64 cX64

X31
X23
X15
X64



X44
X55
TOTAL B C
X15 1 Resource-Activity Pair 1-5
definitely needs to be carried out
44

Activity-Resource Pair Benefit (Utility) Cost (Dis-utility)
X15 bX15 cX15
X23 bx23 cX23
X31 bX31 cX31
X44 bX44 cX44
X55 bX55 cX55
X64 bX64 cX64


X31
X23
X15
X64



X44
X55
TOTAL B C
X23 X44 1 Carry out Resource-Activity Pairs
2-3 or 4-4 but not both.
45

Activity-Resource Pair Benefit (Utility) Cost (Dis-utility)
X15 bX15 cX15
X23 bx23 cX23
X31 bX31 cX31
X44 bX44 cX44
X55 bX55 cX55
X64 bX64 cX64



X31
X23
X15
X64



X44
X55
TOTAL B C
The average benefit of all selected
Resource-activity pair should be at least b
46

Activity-Resource Pair Benefit (Utility) Cost (Dis-utility)
X15 bX15 cX15
X23 bx23 cX23
X31 bX31 cX31
X44 bX44 cX44
X55 bX55 cX55
X64 bX64 cX64




X31
X23
X15
X64



X44
X55
TOTAL B C
The average cost of all selected
Resource-activity pairs should not exceed c
47

Activity-Resource Pair Benefit (Utility) Cost (Dis-utility)
X15 bX15 cX15
X23 bx23 cX23
X31 bX31 cX31
X44 bX44 cX44
X55 bX55 cX55
X64 bX64 cX64





X31
X23
X15
X64





X44
X55
TOTAL B C
The least benefit of any selected
Resource-activity pair should be b OR No
Resource-activity pair selected should have a
benefit that is less than b
48

Activity-Resource Pair Benefit (Utility) Cost (Dis-utility)
X15 bX15 cX15
X23 bx23 cX23
X31 bX31 cX31
X44 bX44 cX44
X55 bX55 cX55
X64 bX64 cX64





X31
X23
X15
X64





X44
X55
TOTAL B C
The highest cost of any selected
Resource-activity pair should be c OR No
Resource-activity pair selected should have a
cost that is more than c
49

(b) Objective Function
50

Objective Function What is our goal? What are we
seeking to maximize/minimize?
Maximize the sum of all benefits E.g. The set
of resource-activity pairs that involve the
lowest total duration Minimize the sum of all
costs E.g. The set of resource-activity pairs
that involve the least resources Maximize all
benefits and minimize all costs

51

Objective Function What is our goal? What are we
seeking to maximize/minimize?


Maximize the sum of all benefits E.g. The set
of activities that involve the lowest total
duration Minimize the sum of all costs E.g. The
set of activities that involve the least
resources Maximize all benefits and minimize all
costs



Linear additive
OBJ B ( C)
Linear additive, equal weight of 1
OBJ 1B 1C
Linear additive, non-equal weights
OBJ wBB wCC
Linear multiplicative
52

EXAMPLE A Project Manager seeks to carry out a
certain task that involves a series of
activities. There is more than one way of
carrying out this task as some resources and
activities can be substituted by others. The
table below shows the set of feasible activities
and their associated costs and benefits. What is
the optimal set (not series) of activities if the
PM seeks to maximize the benefits and minimize
the costs in a linear additive fashion.

BENEFITS
COSTS
RESOURCE-ACTIVITY PAIRS Resource Utilization Equivalent (in 1000s) Duration (days) Equivalent (in 1000s)
X15 65 17.1 6 16.5
X23 85 19.4 7 20.5
X31 45 14.0 5 12.0
X44 50 15.0 10 39.8
X55 62 16.2 6 16.1
X64 76 18.0 8 26.1
53

Constraints Minimum average resource
utilization 70 Maximum total duration 28
days X23 X44 1 X31 X55 1 X31 X55
1 X15 1 X64 1 Assume no precedence
conditions

54

Objective Function (a) Maximize benefits
(resource utilizations) bX15 bX23 bX31
bX44 bX55 bX64

55

Objective Function (a) Maximize benefits
(resource utilizations) bX15 bX23 bX31
bX44 bX55 bX64

56

Objective Function (a) Maximize benefits
(resource utilizations) bX15 bX23 bX31
bX44 bX55 bX64

X31


X23
X15
X64
X44
X55
57

Objective Function (a) Maximize benefits
(resource utilizations) bX15 bX23 bX31 bX44
bX55 bX64

X31


X23
X15
X64
X44
X55
Note that for any path, some resource-activity
pairs are inconsequential!
Correct benefit maximization function is bX15X15
bX23X23 bX31X31 bX44X44 bX55X55 bX64X64
58

Correct benefit maximization function is bX15X15
bX23X23 bX31X31 bX44X44 bX55X55 bX64X64

X31
X23
X15


X64
X55
X44
Example For the path X15 X23 X31 X64 The
objective function is bX15X15 bX23X23
bX31X31 bX44X44 bX55X55 bX64X64
0
1
0
1
1
1
The objective function becomes bX15X15 bX23 X23
bX31X31 bX64X64 Therefore the
Resource-activity pairs X44 and X55 and their
benefits become inconsequential!
59

Benefit maximization function is bX15X15
bX23X23 bX31X31 bX44X44 bX55X55 bX64X64
This is the benefit expressed in terms of
resource utilization

60

Objective Function (b) Minimize the total costs
(cost of durations)
In a similar reasoning as done for benefits, the
cost minimization function is cX15X15 cX23X23
cX31X31 cX44X44 cX55X55 cX64X64 This is
the cost in terms of duration (days)

61
  • Combined Objective Function
  • Maximize total benefits in RU
  • Minimize total costs (cost of durations)
  • If functional form is assumed to be linearly
    additive, then
  • OBJ B C
  • B (-C)
  • bX15X15 bX23X23 bX31X31 bX44X44
    bX55X55 bX64X64
  • cX15X15 cX23X23 cX31X31 cX44X44
    cX55X55 cX64X64

62

But there is a problem! These are in different
units (bs are in RU, cs are in days. How do we
add or subtract? Convert them into a single
metric of utility, in this case, dollars!

63

BENEFITS
COSTS
Recall data given in the problem
RESOURCE-ACTIVITY PAIRS Resource Utilization Equivalent (in 1000s) Duration (days) Equivalent (in 1000s)
X15 65 17.1 6 16.5
X23 85 19.4 7 20.5
X31 45 14.0 5 12.0
X44 50 15.0 10 39.8
X55 62 16.2 6 16.1
X64 76 18.0 8 26.1

64

Combined Objective Function OBJ bX15X15
bX23X23 bX31X31 bX44X44 bX55X55 bX64X64
cX15X15 cX23X23 cX31X31 cX44X44
cX55X55 cX64X64

Replace all bs by the equivalent monetary
function Replace all cs by the equivalent
monetary function
Lets try using MS Excel Solver to solve this
problem.
65

PART 2 Resource Allocation for Queues
Encountered in Project Management

66

Queuing Systems I

What is a Queue?Examples.
67
Queuing Systems I
What is a Queue?
  • Simply A line waiting to be served

68
Queuing Systems I
Examples of Queuing Systems in Everyday Life
  • Vehicles waiting to be served at a drive-through
  • pharmacy, fast-food restaurant, bank,
    toll-booth
  • Individuals (in person) waiting to be served at
  • various service counters and stations, such
    as
  • check-out lanes for groceries, supermarkets,
    etc.
  • Patients scheduled for use of hospital operation
  • theater

69

Queuing Systems I
Queuing Systems in Everyday Life (contd)
  • Football fans waiting to get into stadium
  • Football fans waiting to get out of stadium
  • Operations of a vending machine
  • Candy dispenser
  • Human urinary system

70
Examples of Queuing Systems in Project Management
Queuing Systems I
Vendors supply vehicles waiting to unload
Project vehicles waiting to unload finished
materials on site Construction trucks waiting to
be loaded with raw materials
Queuing in Project Management is it a big
deal? Yes and No
71
Queuing Systems I
Queuing Units
The flow entity (queuing unit) in a queuing
system is typically a discrete element, and is
represented by a discrete random variable
(trucks, cars, people, etc.). But
72
Queuing Units
Queuing Systems I
  • . queuing systems may also involve continuous
    flow entities, (and hence, continuous random
    variables, such as
  • Water (in gallons, say) in a large reservoir
    waiting to be served daily to a project site
  • Aggregates, cement, etc. in storage bins,
    waiting to be shipped to site or to processing
    plants

73

Queuing Systems I
Components of a Queuing System
74
Components of a Queuing System
Queuing Systems I
Flow Entity Arrival Pattern (of the queuing
units) Queue Multiplicity (Nr. of
Queues) Queue Discipline Number of
Servers Service Arrangement Service Pattern

75

Queuing Systems I
Components of a Queuing System
Flow Entity (vehicles, people, materials,
etc.) Arrival Pattern (of the queuing units)
Queue Multiplicity (Nr. of Queues) Queue
Discipline Number of Servers Service
Arrangement Service Pattern

76
Components of a Queuing System
Queuing Systems I
Queue Discipline
  • Service Facility
  • - Number of Servers
  • - Service Arrangement
  • Service Pattern

Queue Dissipation (vehicles leaving the queuing
system after being served)
Equipment for Loading or unloading
Arrival Pattern
77
Queuing Systems I
A Arrival Pattern
  • Describes the way (usually a rate) in which the
    arrivals enter the queuing system
  • May be Frequency-based or Interval-based. That
    is, arrivals can be described on the basis of
  • --- the number of arrivals that arrive in a
    given time interval
  • --- the average interval of time that passes
    between successive arrivals.
  • Conversion between (a) and (b) is possible.

78
Queuing Systems I
Arrival Pattern (contd)
  • Maybe deterministic or probabilistic
  • Deterministic fixed number of arrivals per unit
    time or fixed length of time interval between
    arrivals
  • (b) Probabilistic Stochastic number of arrivals
    per unit time or stochastic length of time
    interval between arrivals
  • (e.g., Negative exponential)

79
Queuing Systems I
Arrival Pattern (contd)
  • Probabilistic frequency of arrivals may be
    described by Poisson distribution or other
    appropriate discrete probability distribution
  • Probabilistic interval of time between arrivals
    may be described by the negative exponential
    distribution or other appropriate continuous
    probability distribution.

80
B Service Facility Characteristics
R2
Linear
0.365
0.293
0.322
0.254
Queuing Systems I
  • Number of servers
  • (1 or more?)
  • (ii) Arrangement of servers
  • (parallel or series or combo?)
  • (iii) Service pattern
  • What distribution? How fast (average), etc.)

81

Queuing Systems I
B Service Facility Characteristics (contd)
  • Number of Servers
  • Single Server
  • Examples Only one counter open at bank
  • Candy dispenser,
  • Coke vending machine
  • Single truck loader at project site
  • Multi-server
  • Examples Several counters open at bank
  • Multi-lane freeway toll booth
  • Multiple truck loader at project site

82
Queuing Systems I
B Service Facility Characteristics (contd)
(ii) Arrangement of servers Parallel
arrangement of servers e.g., Bank
counters Serial arrangement of
servers e.g., Some McDonald
drive-thrus S1- PLACE ORDER S2- PAY
MONEY S3- COLLECT FOOD
S1
S2
S3
S1
S2
S3
83
(ii) Arrangement of servers (contd)
Queuing Systems I
Combination of Parallel and Serial Arrangements
S3
S2
S4
S3
84

Queuing Systems I
(ii) Arrangement of servers (contd)

Combination of Parallel and Serial Arrangements 2
channels and 2 phases


S3
S2
Departures
Channel 1
Arrivals
S4
S3
Departures
Channel 2
85

Queuing Systems I

(ii) Arrangement of servers (contd)
Combination of Parallel and Serial Arrangements 2
channels and 2 phases


S3
S2
Departures
Arrivals
S4
S3
Departures
Phase 1
Phase 2
86

Queuing Systems I

(ii) Arrangement of servers (contd)
Combination of Parallel and Serial Arrangements 2
channels and 2 phases


S3
S2
Departures
Channel 1
Arrivals
S4
S3
Departures
Channel 2
Phase 1
Phase 2
87

Queuing Systems I

Server
1
Arrivals
Departure
Single Phase, Single Channel


88

Queuing Systems I


Server
1
Arrivals
Departure
Single Phase, Single Channel
Server



Multiple Phase, Single Channel
1
Arrivals
Departure
2
3
89

Queuing Systems I


Server
1
Arrivals
Departure
Single Phase, Single Channel
Server



Multiple Phase, Single Channel
1
Arrivals
Departure
2
3
1
2
Arrivals
Departures
Single Phase, Multiple Channel
3
Servers
90

Queuing Systems I


Server
1
Arrivals
Departure
Single Phase, Single Channel
Server



Multiple Phase, Single Channel
1
Arrivals
Departure
2
3
1
2
Arrivals
Departures
Single Phase, Multiple Channel
3
Servers
1
2
3
Multiple Phase, Multiple Channel
4
Departures
5
6
Arrivals
7
8
9
91

Queuing Systems I
B Service Facility Characteristics (contd)
  • Service Pattern
  • Describes the way (usually a rate) by which
    arrivals are processed
  • May be frequency-based or interval-based. That
    is, service can be described based on
  • the number of arrivals that are served in a given
    time interval
  • The average interval of time that is used to
    serve the arrivals
  • Conversion between (a) and (b) is possible

92
Queuing Systems I
(iii) Service pattern (contd)
  • Maybe deterministic or probabilistic
  • Deterministic fixed number of served arrivals
    per unit time or fixed length of time interval
    between services
  • (b) Probabilistic Stochastic number of servings
    per unit time or stochastic length of time
    interval between servings

93
C Queue Multiplicity
Queuing Systems I
  • Refers to the number of queues being served
    simultaneously
  • Single queue (Examples most drive thrus, banks,
    narrow toll bridges, traffic green lights serving
    only one lane)
  • Multiple queue (assuming no preference between
    each queue)
  • Examples Most dining counters, toll booths
    traffic green light serving two or more lanes)
  • Typically number of queues number of servers,
    but when number of queues gt number of servers,
    then some extra rules for queue discipline are
    needed

94
1 queue, 1 server
Queuing Systems I
Some Queuing Configurations

S1
95

Queuing Systems I
Some Queuing Configurations

S1
S2
1 queue, 2 servers
96

Queuing Systems I
Some Queuing Configurations

S1
S2
2 queues, 2 servers
97

Queuing Systems I
Some Queuing Configurations

S1
S2
S3
S4
S5
2 queue, 5 servers
98

Queuing Systems I
Some Queuing Configurations

S1
4 queues, 1 server
99
D Queue Discipline
Queuing Systems I
  • This refers to the rules by which the queue is
    served
  • Relates serving priority to
  • Order of arrival times, or
  • Order of arrival urgencies
  • Order of expected length of service time
  • Order of desirability of arrival of specific
    flow entities

100
D Queue Discipline (contd)
Queuing Systems I
  • Serving priority by order of arrival times
  • FIFO (First in, first out)
  • First come, first served
  • Last in, last out
  • e.g., Truck in front is always served first.
  • FIFO is a non-discriminatory queue discipline,
    very fair
  • LIFO (Last in, first out)
  • e,g., Truck at tail end of queue always served
    first
  • e.g., Candy dispenser
  • e.g., Often crowded elevator mostly serving 2
    floors
  • LIFE is not fair!

LIFO
101
D Queue Discipline (contd)
Queuing Systems I
  • (ii) Serving priority by order of arrival
    urgencies
  • Trucks needing attention most urgently is served
    first, regardless of when they arrived
  • Examples in everyday life
  • - scheduling patients for surgery in order of
    sickness severity
  • - Giving way to fire trucks at intersections

102
D Queue Discipline (contd)
Queuing Systems I
  • (iii) Serving priority by order of expected
    service period
  • Trucks whose service will take shorter times are
    served first, regardless of the time they joined
    the queue
  • Examples
  • - Express lanes at supermarkets (shoppers with
    less than 5 items)
  • - Trucks taking away items that take a very
    short time to load
  • - Trucks delivering items that take very short
    time to unload

103
Performance of Queuing Systems
Queuing Systems I
104
Performance of Queuing Systems
Queuing Systems I
  • Class Question
  • How would you assess the performance of a queuing
    system?
  • That is, what criteria would you use?

105
MOE
Queuing Systems I
Performance criteria for queuing systems -
Average queue length - Maximum queue length -
Average waiting period per truck - Maximum
waiting period per truck - of time each server
is idle - Physical and operating cost of the
queuing systems - Number of customers served per
unit time
Minimize this, or truck time is wasted
Minimize this, or project resources are wasted
Maximize this, or Both truck time and project
resources are wasted
106

Queuing Systems I

Attributes of a Queuing System
107

Queuing Systems I
QUEUING SYSTEM ATTRIBUTES These describe the
way the system is structured, its operating
procedure, and how well it performs. Consists
of system components, and other attributes
Physical System Components Flow Entities
(trucks), Queues, Servers (serving
facilities/equipment) Operational System
Components Pattern of Arrivals, Number of
Queues, Pattern of Service, Number of Servers,
Queue Discipline, Queue Capacity System
Performance Queue length, waiting time, server
idle time, etc.
Write a Comment
User Comments (0)
About PowerShow.com