single-part-type, multiple stage systems 2016 stanley b. gershwin. simulation simulation note assume...
TRANSCRIPT
MIT 2.853/2.854
Introduction to Manufacturing Systems
Single-part-type, multiplestage systems
Stanley B. GershwinLaboratory for Manufacturing and Productivity
Massachusetts Institute of Technology
Single-part-type, multiple stage systems 1 Copyright ©c 2016 Stanley B. Gershwin.
Flow Lines
Flow Lines
... also known as a Production or Transfer Line.
M B M B M B M B M B M1 1 2 2 3 3 4 4 5 5 6
Machine Buffer
• Machines are unreliable.• Buffers are finite.• In many cases, the operation times are constant
and equal for all machines.
Single-part-type, multiple stage systems 2 Copyright ©c 2016 Stanley B. Gershwin.
Flow Lines Output Variability
Flow LinesOutput Variability
WeeklyProduction
Week
0 20 40 60 80 1000
2000
4000
Production outputfrom a simulation ofa transfer line.
Single-part-type, multiple stage systems 3 Copyright ©c 2016 Stanley B. Gershwin.
Reliable Machines Single Reliable Machine
Reliable MachinesSingle Reliable Machine
• If the machine is perfectly reliable, and its averageoperation time is τ , then its maximum productionrate is µ = 1/τ .
• Note:? Sometimes cycle time is used instead of operation
time, but BEWARE: cycle time has two meanings!? The other meaning is the time a part spends in a
system. If the system is a single, reliable machine, thetwo meanings are the same.
Single-part-type, multiple stage systems 4 Copyright ©c 2016 Stanley B. Gershwin.
Reliable Machines Two Reliable Machines
Reliable MachinesTwo Reliable Machines
Production rate in atwo-machine reliabletransfer line.
µ
P
0 1 20
0.2
0.4
0.6
0.8
1
2−Reliable−Machine Line
2’
(Prime to be explained later.)Single-part-type, multiple stage systems 5 Copyright ©c 2016 Stanley B. Gershwin.
Reliable Machines Two Reliable Machines
Reliable MachinesTwo Reliable Machines
Inventory in atwo-machine reliabletransfer line.
µ
n
0 1 20
5
10
15
20
2−Reliable−Machine Line
2’
Single-part-type, multiple stage systems 6 Copyright ©c 2016 Stanley B. Gershwin.
Reliable Machines Two Reliable Machines
Reliable MachinesTwo Reliable Machines
Inventory in atwo-machine reliabletransfer line.
µ
n
0 1 20
5
10
15
20
2−Reliable−Machine Line
1’
Single-part-type, multiple stage systems 7 Copyright ©c 2016 Stanley B. Gershwin.
Single Unreliable Machine Failures and Repairs
Single Unreliable MachineFailures and Repairs
• Machine is either up or down .
• MTTF = mean time to fail.
• MTTR = mean time to repair
• MTBF = MTTF + MTTR
Single-part-type, multiple stage systems 8 Copyright ©c 2016 Stanley B. Gershwin.
Single Unreliable Machine Failures and Repairs
Single Unreliable MachineProduction rate
• If the machine is unreliable, and? its average operation time is τ ,? its mean time to fail is MTTF,? its mean time to repair is MTTR,
then its maximum production rate is
1 MTTFτ
(MTTF + MTTR
)
Single-part-type, multiple stage systems 9 Copyright ©c 2016 Stanley B. Gershwin.
Single Unreliable Machine Failures and Repairs
Single Unreliable MachineProof
Machine DOWNMachine UP
• Average production rate, while machine is up, is 1/τ .
• Average duration of an up period is MTTF.
• Average production during an up period is MTTF/τ .
• Average duration of up-down period: MTTF + MTTR.
• Average production during up-down period: MTTF/τ .
• Therefore, average production rate is(MTTF/τ)/(MTTF + MTTR).
Single-part-type, multiple stage systems 10 Copyright ©c 2016 Stanley B. Gershwin.
Single Unreliable Machine Geometric Up- and Down-Times
Single Unreliable MachineGeometric Up- and Down-Times
• Assumptions: Operation time is constant (τ).Failure and repair times are geometricallydistributed.
• Let p be the probability that a machine fails duringany given operation. Then p = τ/MTTF.
Single-part-type, multiple stage systems 11 Copyright ©c 2016 Stanley B. Gershwin.
Single Unreliable Machine Geometric Up- and Down-Times
Single Unreliable MachineGeometric Up- and Down-Times
• Let r be the probability that M gets repairedduring any operation time when it is down. Thenr = τ/MTTR.
• Then the average production rate of M is
1 r
τ
(.
r + p
)
• (Sometimes we forget to say “average.”)
Single-part-type, multiple stage systems 12 Copyright ©c 2016 Stanley B. Gershwin.
Single Unreliable Machine Geometric Up- and Down-Times
Single Unreliable MachineProduction Rates
• So far, the machine really has three productionrates:
? 1/τ when it is up (short-term capacity) ,
? 0 when it is down (short-term capacity) ,
? (1/τ)(r/(r + p)) on the average (long-term capacity) .
Single-part-type, multiple stage systems 13 Copyright ©c 2016 Stanley B. Gershwin.
Single Unreliable Machine Geometric Up- and Down-Times
Single Unreliable MachineODFs
• Operation-Dependent Failures
? A machine can only fail while it is working — not idle.
? (When buffers are finite, idleness also occurs due toblockage.)
? IMPORTANT! MTTF must be measured in workingtime!
? This is the usual assumption.
Single-part-type, multiple stage systems 14 Copyright ©c 2016 Stanley B. Gershwin.
Infinite-Buffer Lines
Infinite-Buffer Lines
M B1 1 M B2 2 B3 3 M B4 4 M B5 5 M6M
• Starvation: Machine Mi is starved at time t ifBuffer Bi is empty at time t.−1
Assumptions:• A machine is not idle if it is not starved.
• The first machine is never starved.
Single-part-type, multiple stage systems 15 Copyright ©c 2016 Stanley B. Gershwin.
Infinite-Buffer Line Bottleneck
Infinite-Buffer LinesBottleneck
M B1 1 M B2 2 B3 3 M B4 4 M B5 5 M6M
• The production rate of the line is the productionrate of the slowest machine in the line — calledthe bottleneck .
• Slowest means least average production rate ,where average production rate is calculated fromone of the previous formulas.
Single-part-type, multiple stage systems 16 Copyright ©c 2016 Stanley B. Gershwin.
Infinite-Buffer Line Bottleneck
Infinite-Buffer LinesBottleneck
M B1 1 M B2 2 B3 3 M B4 4 M B5 5 M6M
• Production rate is therefore
1P = min
i τi
(MTTFi
MTTFi + MTTRi
)
• and Mi is the bottleneck.
Single-part-type, multiple stage systems 17 Copyright ©c 2016 Stanley B. Gershwin.
Infinite-Buffer Line Bottleneck
Infinite-Buffer LinesBottleneck
M B1 1 M B2 2 B3 3 M4 4 M B5 5 M6M B
• The system is not in steady state.
• An increasing amount of inventory accumulates inthe buffer upstream of the bottleneck.
• A finite amount of inventory appears downstreamof the bottleneck.
Single-part-type, multiple stage systems 18 Copyright ©c 2016 Stanley B. Gershwin.
Infinite-Buffer Line Bottleneck
Infinite-Buffer LinesExample 1
M8 8 M B9 9 M10BM B5 5 M B6 6 B7 7MM B3 3 B4 4MM B2 2M B1 1
• Parameters:ri = .1, pi = .01, i = 1, ..., 9; r10 = .1, p10 = .03.
• Therefore, ei = .909, i = 1, ..., 9; e10 = .769.
Single-part-type, multiple stage systems 19 Copyright ©c 2016 Stanley B. Gershwin.
Infinite-Buffer Line Bottleneck
Infinite-Buffer LinesExample 1
M8 8 M B9 9 M10BM B5 5 M B6 6 B7 7MM B3 3 B4 4MM B2 2M B1 1
0
2000
4000
6000
8000
10000
12000
14000
0 20000 40000 60000 80000 100000
n
t
n1
n2
n3
n4
n5
n6
n7
n8
n9
Single-part-type, multiple stage systems 20 Copyright ©c 2016 Stanley B. Gershwin.
Infinite-Buffer Line Bottleneck
Infinite-Buffer LinesExample 1
• Estimate the rate of growth of n9(t), the inventoryin B9.
Single-part-type, multiple stage systems 21 Copyright ©c 2016 Stanley B. Gershwin.
Infinite-Buffer Line Second Bottleneck
Infinite-Buffer LinesSecond Bottleneck
M8 8 M B9 9 M10BM B5 5 M B6 6 B7 7MM B3 3 B4 4MM B2 2M B1 1
• The second bottleneck is the slowest machineupstream of the bottleneck. An increasing amountof inventory accumulates just upstream of it.
• A finite amount of inventory appears between thesecond bottleneck and the machine upstream ofthe first bottleneck.
• A finite amount of inventory appears downstreamof the first bottleneck.
Single-part-type, multiple stage systems 22 Copyright ©c 2016 Stanley B. Gershwin.
Infinite-Buffer Line Second Bottleneck
Infinite-Buffer LinesExample 2
M8 8 M B9 9 M10BM B5 5 M B6 6 B7 7MM B3 3 B4 4MM B2 2M B1 1
• Parameters: ri = .1, pi = .01, i = 1, ..., 4, 6, ..., 9;r5 = .1, p5 = .02, r10 = .1, p10 = .03.
• Therefore, ei = .909, i = 1, ..., 4, 6, ..., 9;e5 = .833, e10 = .769.
Single-part-type, multiple stage systems 23 Copyright ©c 2016 Stanley B. Gershwin.
Infinite-Buffer Line Second Bottleneck
Infinite-Buffer LinesExample 2
M8 8 M B9 9 M10BM B5 5 M B6 6 B7 7MM B3 3 B4 4MM B2 2M B1 1
0
2000
4000
6000
8000
10000
12000
14000
0 20000 40000 60000 80000 100000
n
t
n1
n2
n3
n4
n5
n6
n7
n8
n9
Single-part-type, multiple stage systems 24 Copyright ©c 2016 Stanley B. Gershwin.
Infinite-Buffer Line Second Bottleneck
Infinite-Buffer LinesExample 2
• Estimate the rates of growth of n4(t) and n9(t).
Single-part-type, multiple stage systems 25 Copyright ©c 2016 Stanley B. Gershwin.
Infinite-Buffer Line Second Bottleneck
Infinite-Buffer LinesExample 2
• Note that when t is large enough, n4(t) > n9(t).
• Manufacturing people sometimes say that theeasiest way to find the bottleneck of a line is tolook for the greatest accumulation of inventory. Isthat correct?
Single-part-type, multiple stage systems 26 Copyright ©c 2016 Stanley B. Gershwin.
Infinite-Buffer Line Second Bottleneck
Infinite-Buffer LinesImprovements
Questions:
• If we want to increase production rate, whichmachine should we improve?
• What would happen to production rate if weimproved any other machine?
Single-part-type, multiple stage systems 27 Copyright ©c 2016 Stanley B. Gershwin.
Simulation
Simulation Note
• The simulations shown here were time-basedrather than event-based .
• Time-based simulations are easier to program, butless general, less accurate, and slower, thanevent-based simulations.
• Primarily for systems where all event times aregeometrically distributed.
Single-part-type, multiple stage systems 28 Copyright ©c 2016 Stanley B. Gershwin.
Simulation
Simulation Note
Assume that some event occurs according to ageometric probability distribution and it has a meantime to occur of T time steps. Then the probabilitythat it occurs in any time step is 1/T .
• At each time step , choose a U[0,1] random number.
• If the number is less than or equal to 1/T , the event hasoccurred. Change the state accordingly.
• If the number is greater than 1/T , the event has notoccurred. Change the state accordingly.
Single-part-type, multiple stage systems 29 Copyright ©c 2016 Stanley B. Gershwin.
Zero-Buffer Lines
Zero-Buffer Lines
M1 M2 M3 4M M5 M6
• If any one machine fails, or takes a very long timeto do an operation, all the other machines mustwait.
• Therefore the production rate is usually less —possibly much less – than the slowest machine.
Single-part-type, multiple stage systems 30 Copyright ©c 2016 Stanley B. Gershwin.
Zero-Buffer Lines
Zero-Buffer Lines
M1 M2 M3 4M M5 M6
• Example: Constant, unequal operation times,perfectly reliable machines.
? The operation time of the line is equal to the operationtime of the slowest machine, so the production rate ofthe line is equal to that of the slowest machine.
Single-part-type, multiple stage systems 31 Copyright ©c 2016 Stanley B. Gershwin.
Zero-Buffer Lines Geometric Failures and Repairs
Zero-Buffer LinesConstant, equal operation times, unreliablemachines
M1 M2 M3 4M M5 M6
• Assumption: Failure and repair times aregeometrically distributed.
• Define pi = τ/MTTFi = probability of failureduring an operation.
• Define ri = τ/MTTRi probability of repair duringan interval of length τ when the machine is down.
Single-part-type, multiple stage systems 32 Copyright ©c 2016 Stanley B. Gershwin.
Zero-Buffer Lines Geometric Failures and Repairs
Zero-Buffer LinesProduction Rate
M1 M2 M3 4M M5 M6
Buzacott’s Zero-Buffer Line Formula:
Let k be the number of machines in the line. Then
1P =
τ
1∑k1 + pi
i=1ri
Single-part-type, multiple stage systems 33 Copyright ©c 2016 Stanley B. Gershwin.
Zero-Buffer Lines Geometric Failures and Repairs
Zero-Buffer LinesProduction Rate
M1 M2 M3 4M M5 M6
• Same as the earlier formula (Slides 9 and 12) whenk = 1. The isolated production rate of a singlemachine Mi is
1τ
(1
1 + pi
ri
)= 1τ
(ri
.ri + pi
)
Single-part-type, multiple stage systems 34 Copyright ©c 2016 Stanley B. Gershwin.
Zero-Buffer Lines Geometric Failures and Repairs
Zero-Buffer LinesProof of formula
• Let τ (the operation time) be the time unit.• Approximation: At most, one machine can be
down.• Consider a long time interval of length Tτ during
which Machine Mi fails mi times (i = 1, . . . k).M3 M3M5 2 M1 M4M
All up Some machine down
• Without failures, the line would produce T parts.
Single-part-type, multiple stage systems 35 Copyright ©c 2016 Stanley B. Gershwin.
Zero-Buffer Lines Geometric Failures and Repairs
Zero-Buffer LinesProof of formula
• The average repair time of Mi is τ/ri each time itfails, so the total system down time is close to
k
Dτ =∑miτ
i=1ri
where D is the number of operation times in whicha machine is down.
Single-part-type, multiple stage systems 36 Copyright ©c 2016 Stanley B. Gershwin.
Zero-Buffer Lines Geometric Failures and Repairs
Zero-Buffer LinesProof of formula
• The total up time is approximately
k
Uτ = Tτ −∑miτ
i=1ri
• where U is the number of operation times in whichall machines are up.
Single-part-type, multiple stage systems 37 Copyright ©c 2016 Stanley B. Gershwin.
Zero-Buffer Lines Geometric Failures and Repairs
Zero-Buffer LinesProof of formula
• Since the system produces one part per time unitwhile it is working, it produces U parts during theinterval of length Tτ .
• Note that, approximately,
mi = piU
because Mi can only fail while it is operational.
Single-part-type, multiple stage systems 38 Copyright ©c 2016 Stanley B. Gershwin.
Zero-Buffer Lines Geometric Failures and Repairs
Zero-Buffer LinesProof of formula
• Thus,
k
Uτ = Tτ − Uτ∑ pi
i=1ri,
or,
U 1= EODF =T ∑k
1 + pi
i=1ri
Single-part-type, multiple stage systems 39 Copyright ©c 2016 Stanley B. Gershwin.
Zero-Buffer Lines Geometric Failures and Repairs
Zero-Buffer Linespi and ri and pi/ri
and1
P =τ
1∑k1 + pi
i=1ri
• Note that P is a function of the ratio pi/ri andnot pi or ri separately.
• The same statement is true for the infinite-bufferline.
• However, the same statement is not true for a linewith finite, non-zero buffers.
Single-part-type, multiple stage systems 40 Copyright ©c 2016 Stanley B. Gershwin.
Zero-Buffer Lines Geometric Failures and Repairs
Zero-Buffer LinesImprovements
Questions:
• If we want to increase production rate, whichmachine should we improve?
• What would happen to production rate if weimproved any other machine?
Single-part-type, multiple stage systems 41 Copyright ©c 2016 Stanley B. Gershwin.
Zero-Buffer Lines P as a function of pi
Zero-Buffer LinesP as a function of pi
All machines are the same except Mi. As pi increases,the production rate decreases.
0 0.2 0.4 0.6 0.8 10.05
0.1
0.15
0.2
0.25
0.3
0.35
0.4
0.45
0.5
P
pi
Single-part-type, multiple stage systems 42 Copyright ©c 2016 Stanley B. Gershwin.
Zero-Buffer Lines P as a function of k
Zero-Buffer LinesP as a function of pi
All machines are the same. As the line gets longer, theproduction rate decreases.
0 10 20 30 40 50 60 70 80 90 100
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
k
P
Infinite bufferproduction rate
Capacity loss
Single-part-type, multiple stage systems 43 Copyright ©c 2016 Stanley B. Gershwin.
Finite-Buffer Lines
Finite-Buffer Lines
M B1 1 M B2 2 M B3 3 M B4 4 M B5 5 M6
• Motivation for buffers: recapture some of the lostproduction rate.
• Cost
? in-process inventory/lead time
? floor space
? material handling mechanism
Single-part-type, multiple stage systems 44 Copyright ©c 2016 Stanley B. Gershwin.
Finite-Buffer Lines
Finite-Buffer LinesM B1 1 M B2 2 M B3 3 M B4 4 M B5 5 M6
• Infinite buffers: delayed downstream propagation ofdisruptions(starvation ) and no upstream propagation.
• Zero buffers: instantaneous propagation in both directions.
• Finite buffers: delayed propagation in both directions.
? New phenomenon: blockage .
• Blockage: Machine M is blocked at time t if Buffer B is fullat time
i i
t.
Single-part-type, multiple stage systems 45 Copyright ©c 2016 Stanley B. Gershwin.
Finite-Buffer Lines
Finite-Buffer Lines
M B1 1 M B2 2 M B3 3 M B4 4 M B5 5 M6
• Difficulty:? No simple formula for calculating production rate or
inventory levels.
• Solution:? Simulation
? Analytical approximation
? Exact analytical solution for two-machine lines only.
Single-part-type, multiple stage systems 46 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Markov Chain Model
Two Machine, Finite-Buffer LinesMarkov Chain Model
• Exact solution is available to Markov processmodel of a two-machine line.
• Discrete time-discrete state Markov process:
prob{X(t+ 1) = x(t+ 1)|X(t) = x(t),X(t− 1) = x(t− 1), X(t− 2) = x(t− 2), ...} =
prob{X(t+ 1) = x(t+ 1)|X(t) = x(t)}
Single-part-type, multiple stage systems 47 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Markov Chain Model
Two Machine, Finite-Buffer LinesState Space
Here, X(t) = (n(t), α1(t), α2(t)), where
• n is the number of parts in the buffer;n = 0, 1, ..., N.
• αi is the repair state of Mi; i = 1, 2.
? αi = 1 means the machine is up or operational ;
? αi = 0 means the machine is down or under repair.
Single-part-type, multiple stage systems 48 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Markov Chain Model
Two Machine, Finite-Buffer LinesSimulations
0
2
4
6
8
10
0 200 400 600 800 1000
n(t
)
t
r1 = .1, p1 = .01, r2 = .1, p2 = .01, N = 10
Single-part-type, multiple stage systems 49 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Markov Chain Model
Two Machine, Finite-Buffer LinesSimulations
0
20
40
60
80
100
0 2000 4000 6000 8000 10000
n(t
)
t
r1 = .1, p1 = .01, r2 = .1, p2 = .01, N = 100
Single-part-type, multiple stage systems 50 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Markov Chain Model
Two Machine, Finite-Buffer LinesSimulations
0
20
40
60
80
100
0 2000 4000 6000 8000 10000
n(t
)
t
ri = .1, i = 1, 2, p1 = .02, p2 = .01, N = 100
Single-part-type, multiple stage systems 51 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Markov Chain Model
Two Machine, Finite-Buffer LinesSimulations
0
20
40
60
80
100
0 2000 4000 6000 8000 10000
n(t
)
t
ri = .1, i = 1, 2, p1 = .01, p2 = .02, N = 100
Single-part-type, multiple stage systems 52 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Markov Chain Model
Two Machine, Finite-Buffer Lines
Several models available:
• Deterministic processing time , or Buzacott model:deterministic processing time, geometric failure andrepair times; discrete state, discrete time.
Single-part-type, multiple stage systems 53 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Markov Chain Model
Two Machine, Finite-Buffer Lines
out of transient states
transitions
out of non−transient states
to increasing buffer level
to decreasing buffer level
unchanging buffer level
State Transition Graph for Deterministic Processing Time, Two−Machine Line
n=0 n=1 n=2 n=3 n=4 n=5 n=6 n=7 n=8 n=9 n=10 n=11 n=12 n=13
=N−1 =N(α ,α )
1 2
(0,0)
(0,1)
(1,0)
(1,1)
key
states
transient
non−transient
boundary
internal
Single-part-type, multiple stage systems 54 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Markov Chain Model
Two Machine, Finite-Buffer Lines
• Exponential processing time: exponentialprocessing, failure, and repair time; discrete state,continuous time.
• Continuous material, or fluid: deterministicprocessing, exponential failure and repair time;mixed state, continuous time.
Single-part-type, multiple stage systems 55 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Production rate vs. Buffer Size
Two Machine, Finite-Buffer Lines
τ = 1.p1 = .01r2 = .1p2 = .01
r = .061
r = .121
r = .141
N
P
1r = .08
r = .11
0.78
0.8
0.82
0.84
0.86
0.88
0.9
0.92
0 20 40 60 80 100 120 140 160 180 200
Single-part-type, multiple stage systems 56 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Production rate vs. Buffer Size
Two Machine, Finite-Buffer Lines
r = .061
r = .121
r = .141
N
P
1r = .08
r = .11
0.78
0.8
0.82
0.84
0.86
0.88
0.9
0.92
0 20 40 60 80 100 120 140 160 180 200
Discussion:
• What is P when N = 0?
• Why are the curves increasing?
• Why do they reach an asymptote?
• What is the limit of P as N → ∞?
• Why are the curves with smaller r1lower?
Single-part-type, multiple stage systems 57 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Average Inventory vs. Buffer Size
Two Machine, Finite-Buffer Lines
r = .061
r = .081
r = .11
r = .121
r = .141
N
n
0
20
40
60
80
100
120
140
160
180
200
0 20 40 60 80 100 120 140 160 180 200
Discussion:
• Why are the curves increasing?
• Why different asymptotes?
• What is n̄ when N = 0?
• What is the limit of n̄ as N → ∞?
• Why are the curves with smaller r1lower?
Single-part-type, multiple stage systems 58 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Line Design
Two Machine, Finite-Buffer Lines
r = .061
r = .121
r = .141
N
P
1r = .08
r = .11
0.78
0.8
0.82
0.84
0.86
0.88
0.9
0.92
0 20 40 60 80 100 120 140 160 180 200
r = .061
r = .081
r = .11
r = .121
r = .141
N
n
0
20
40
60
80
100
120
140
160
180
200
0 20 40 60 80 100 120 140 160 180 200
Problem: Select M1 and N to maximize profit (revenue-[capitalcost+inventory cost])
• What can you say (qualitatively) about the optimal buffersize for a given M1?
• How should it be related to ri, pi?
Single-part-type, multiple stage systems 59 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Line Design
Two Machine, Finite-Buffer Lines
N
PProduction rate target
MTTR(1)=12.5
MTTR(1)=16.67
MTTR(1)=10.
MTTR(1)=7.14MTTR(1)=8.33
0.78
0.8
0.82
0.84
0.86
0.88
0.9
0.92
0 20 40 60 80 100 120 140 160 180 200
N
n
0
20
40
60
80
100
120
140
160
180
200
0 20 40 60 80 100 120 140 160 180 200
Problem: Select M1 and N so that P = .88 and profit ismaximized
• Observation: If M1 is better, N can be smaller.
Single-part-type, multiple stage systems 60 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Line Design
Two Machine, Finite-Buffer Lines
Should we prefer short, frequent, disruptions or long,infrequent, disruptions?
r
P
0 0.2 0.4 0.6 0.8 10.75
0.8
0.85
0.9
0.95
1
• r2 = 0.8, p2 = 0.09, N = 10
• r1 and p1 vary together andr1 .
r1+p1= 9
• Answer: evidently, short,frequent failures.
• Why?
Single-part-type, multiple stage systems 61 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Line Design
Two Machine, Finite-Buffer LinesImprovements
Questions:
• If we want to increase production rate, whichmachine should we improve?
• What would happen to production rate if weimproved any other machine?
Single-part-type, multiple stage systems 62 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Production rate vs. storage space
Two Machine, Finite-Buffer Lines
Improvements tonon-bottleneckmachine.
20 40 60 80 100 120 140 160 180 2000.6
0.7
0.8
N
P
Identical machines
Machine 1 improved
Machine 1 more improved
Single-part-type, multiple stage systems 63 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Average inventory vs. storage space
Two Machine, Finite-Buffer Lines
0 20 40 60 80 100 120 140 160 180 2000
20
40
60
80
100
120
140
160
180
200
n
N
• Inventory increases as the(non-bottleneck)upstream machine isimproved and as thebuffer space is increased.
• If the downstreammachine were improved,the inventory would beless and it would increasemuch less as the spaceincreases.
Single-part-type, multiple stage systems 64 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Other models
Two Machine, Finite-Buffer LinesExponential — discrete material, continuous time
• µiδt = the probability that Mi completes anoperation in (t, t+ δt);
• piδt = the probability that Mi fails during anoperation in (t, t+ δt);
• riδt = the probability that Mi is repaired, while itis down, in (t, t+ δt);
Single-part-type, multiple stage systems 65 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Other models
Two Machine, Finite-Buffer LinesContinuous — continuous material, continuous time
• µiδt = the amount of material that Mi processes,while it is up, in (t, t+ δt);
• piδt = the probability that Mi fails, while it is up,in (t, t+ δt);
• riδt = the probability that Mi is repaired, while itis down, in (t, t+ δt);
Single-part-type, multiple stage systems 66 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Other models
Two Machine, Finite-Buffer Lines
• r1 = 0.09, p1 = 0.01,µ1 = 1.1
• r2 = 0.08, p2 = 0.009
• N = 20
• Explain the shapes of thegraphs.
Exponential and Continuous Two−Machine Lines
µ
P
0 1 20
0.2
0.4
0.6
0.8
1
ExponentialContinuous
2
Single-part-type, multiple stage systems 67 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Other models
Two Machine, Finite-Buffer Lines
• Explain the shapes of thegraphs.
µ
n
0 1 20
5
10
15
20
ExponentialContinuous
2
Single-part-type, multiple stage systems 68 Copyright ©c 2016 Stanley B. Gershwin.
Two Machine, Finite-Buffer Lines Other models
Two Machine, Finite-Buffer Lines
µ
P
0 1 20
0.2
0.4
0.6
0.8
1
ExponentialContinuous
No−variability limit
2 µ
n
0 1 20
5
10
15
20
Exponential
No−variability limitContinuous
2
No-variability limit: a continuous model where both machines are reliable, andprocessing rate µ′i of machine i in the no-variability is the same as the isolatedproduction rate of machine i in the other cases. That is, µ′i = µiri/(ri + pi).
Single-part-type, multiple stage systems 69 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines
Long Lines
• Difficulty:
? No simple formula for calculating production rate orinventory levels.
? State space is too large for exact numerical solution.
I If all buffer sizes are N and the length of the line is k, thenumber of states is 1S = 2k(N + 1)k− .
I if N = 10 and k = 20, S = 6.41× 1025.
? Decomposition seems to work successfully.
Single-part-type, multiple stage systems 70 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Decomposition
Decomposition
• Decomposition breaks up systems and then reunites them.
• Conceptually: put an observer in a buffer, and tell him thathe is in the buffer of a two-machine line.
• Question: What would the observer see, and how can he beconvinced he is in a two-machine line? Construct thetwo-machine line. Construct all the two-machine lines.
Single-part-type, multiple stage systems 71 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Decomposition
Decomposition
• Consider an observer in Buffer Bi.? Imagine the material flow process that the observer sees
entering and the material flow process that theobserver sees leaving the buffer.
• We construct a two-machine line L(i)
? ie, we find machines Mu(i) and Md(i) with parametersru(i), pu(i), rd(i), pd(i), and N(i) = Ni)
such that an observer in its buffer will see almost the sameprocesses.
• The parameters are chosen as functions of the behaviors ofthe other two-machine lines.
Single-part-type, multiple stage systems 72 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Decomposition
Decomposition
Mi
M (i) M (i)u d
M B M B B M B M B Mi−2 i−2 i−1 i−1 i i+1 i+1 i+2 i+2 i+3
Line L(i)
Single-part-type, multiple stage systems 73 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Decomposition
Decomposition
There are 4(k − 1) unknowns. Therefore, we need
• 4(k − 1) equations, and
• an algorithm for solving those equations.
Single-part-type, multiple stage systems 74 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Decomposition
DecompositionEquations
• Conservation of flow, equating all productionrates.
• Flow rate/idle time, relating production rate toprobabilities of starvation and blockage.
• Resumption of flow, relating ru(i) to upstreamevents and rd(i) to downstream events.
• Boundary conditions, for parameters of Mu(1) andMd(k − 1).
Single-part-type, multiple stage systems 75 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Decomposition
DecompositionEquations
• This is a set of 4(k − 1) equations.
• All the quantities in these equations are
? specified parameters, or
? unknowns, or
? functions of parameters or unknowns derived from thetwo-machine line analysis.
Single-part-type, multiple stage systems 76 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Algorithm
DecompositionAlgorithm
DDX algorithm : due to Dallery, David, and Xie (1988).
1. Guess the downstream parameters of L(1) (rd(1), pd(1)). Seti = 2.
2. Use the equations to obtain the upstream parameters of L(i)(ru(i), pu(i)). Increment i.
3. Continue in this way until L(k − 1). Set i = k − 2.
4. Use the equations to obtain the downstream parameters ofL(i). Decrement i.
5. Continue in this way until L(1).
6. Go to Step 2 or terminate.Single-part-type, multiple stage systems 77 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Examples
Examples
Three-machine line – production rate..8
.7
.6
.5
.4
.3
.2
.1
.1 .2 .3 .4 .5 .6 .7
p3
E
p2 = .05
.15
.35
.45
.55
.65
.25r1 = r2 = r3 = .2p1 = .05N1 = N2 = 5
M1
r p N r p N r p1 1 1 2 2 2 3 3
B M B M1 2 2 3
Single-part-type, multiple stage systems 78 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Examples
Examples
Three-machine line – total average inventoryp2 = .05
.15
.25
.35
.45
.55
.65
p3
0 .1 .2 .3 .4 .5 .6 .7
2
10
9
8
6
5
4
3
7
Ir1 = r2 = r3 = .2p1 = .05N1 = N2 = 5
Single-part-type, multiple stage systems 79 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Examples
Examples
0
5
10
15
20
0 5 10 15 20 25 30 35 40 45 50
Avera
ge B
uffer
Level
Buffer Number
50 Machines; r=0.1; p=0.01; mu=1.0; N=20.0
Distribution ofmaterial in a linewith identicalmachines and buffers.Explain the shape.
Single-part-type, multiple stage systems 80 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Examples
Examples
0
5
10
15
20
0 5 10 15 20 25 30 35 40 45 50
Avera
ge B
uffer
Level
Buffer Number
50 Machines; r=0.1; p=0.01; mu=1.0; N=20.0 EXCEPT p(10)=0.0375
Effect of abottleneck. Identicalmachines and buffers,except for M10.
Single-part-type, multiple stage systems 81 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Examples
Examples
0
5
10
15
20
25
0 5 10 15 20 25 30 35 40 45 50
n1
n2
n3
n4
n5
n6
n7
N6
Continuous material model.
• Eight-machine,seven-buffer line.
• For each machine,r = .075, p = .009,µ = 1.2.
• For each buffer(except Buffer 6),N = 30.
Single-part-type, multiple stage systems 82 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Examples
Examples
0
5
10
15
20
25
0 5 10 15 20 25 30 35 40 45 50
n1
n2
n3
n4
n5
n6
n7
N6
• Which n̄i aredecreasing and whichare increasing?
• Why?
Single-part-type, multiple stage systems 83 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Examples
Examples
Which has a higher production rate?
• 9-Machine line with two buffering options:
? 8 buffers equally sized; or
M1 B4 M B5 5 M6 B6 M B7 M B8 8 M9B1 M B2 2 M B3 3 M4 7
? 2 buffers equally sized.
M5 M6B3 M7 M8 M9M1 M3M2 M4 B6
Single-part-type, multiple stage systems 84 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Examples
Examples
Total Buffer Space
P
0.65
0.7
0.75
0.8
0.85
0.9
0.95
1
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
8 buffers
0.65
0.7
0.75
0.8
0.85
0.9
0.95
1
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
8 buffers2 buffers
0.65
0.7
0.75
0.8
0.85
0.9
0.95
1
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
8 buffers2 buffers
0.65
0.7
0.75
0.8
0.85
0.9
0.95
1
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
8 buffers2 buffers
• Continuous model; allmachines have r = .019,p = .001, µ = 1.
• What are theasymptotes?
• Is 8 buffers alwaysfaster?
Single-part-type, multiple stage systems 85 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Optimal buffer space distribution
Optimal buffer space distribution
• Design the buffers for a 20-machine productionline.
• The machines have been selected, and the onlydecision remaining is the amount of space toallocate for in-process inventory.
• The goal is to determine the smallest amount ofin-process inventory space so that the line meets aproduction rate target.
Single-part-type, multiple stage systems 86 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Optimal buffer space distribution
Optimal buffer space distribution
• The common operation time is one operation perminute.
• The target production rate is .88 parts per minute.
Single-part-type, multiple stage systems 87 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Optimal buffer space distribution
Optimal buffer space distribution
• Case 1 MTTF= 200 minutes and MTTR = 10.5minutes for all machines (P = .95 parts perminute).
• Case 2 Like Case 1 except Machine 5. ForMachine 5, MTTF = 100 and MTTR = 10.5minutes (P = .905 parts per minute).
• Case 3 Like Case 1 except Machine 5. ForMachine 5, MTTF = 200 and MTTR = 21minutes (P = .905 parts per minute).
Single-part-type, multiple stage systems 88 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Optimal buffer space distribution
Optimal buffer space distribution
Are buffers really needed?
Line Production rate with no buffers,parts per minute
Case 1 .487Case 2 .475Case 3 .475
Yes.
How were these numbers calculated?
Single-part-type, multiple stage systems 89 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Optimal buffer space distribution
Optimal buffer space distribution
Solution
0
10
20
30
40
50
60
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Buffer
Bu
ffe
r S
ize
Case 1 −− All Machines Identical
Case 2 −− Machine 5 Bottleneck −− MTTF = 100
Case 3 −− Machine 5 Bottleneck −− MTTR = 21
Bottleneck
Line SpaceCase 1 430Case 2 485Case 3 523
Single-part-type, multiple stage systems 90 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Optimal buffer space distribution
Optimal buffer space distribution
• Observation from studying buffer space allocationproblems:
? Buffer space is needed most where buffer levelvariability is greatest!
Single-part-type, multiple stage systems 91 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Profit as a function of buffer sizes
Profit as a function of buffer sizes
790
800
810
820
827
830
832
20
40
6080
20
40
60
80
750
760
770
780
790
800
810
820
830
840
N1
N2
Profit • Three-machine,continuous material line.
• ri = .1, pi = .01,µi = 1.• Π = 1000P (N1, N2)
−(n̄1 + n̄2).
Single-part-type, multiple stage systems 92 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Assembly
Assembly
• Decomposition can be extended to assembly systems.
• Propagation of disturbances is more complex:
F
E
E
E E
E
E
F
F
F
FF
F
F
Single-part-type, multiple stage systems 93 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Assembly
Assembly
Question: How should an assembly system bestructured?
• Add parts to a growing assembly or formsubassemblies and then assemble them?
• Production rates are roughly the same, butinventories can be affected.
Single-part-type, multiple stage systems 94 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Assembly
Assembly
Single-part-type, multiple stage systems 95 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Assembly
Assembly
Single-part-type, multiple stage systems 96 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Assembly
Assembly
Single-part-type, multiple stage systems 97 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Assembly
Assembly
Single-part-type, multiple stage systems 98 Copyright ©c 2016 Stanley B. Gershwin.
Long Lines Assembly
Assembly
Single-part-type, multiple stage systems 99 Copyright ©c 2016 Stanley B. Gershwin.
MIT OpenCourseWarehttps://ocw.mit.edu
2.854 / 2.853 Introduction To Manufacturing SystemsFall 2016
For information about citing these materials or our Terms of Use, visit: https://ocw.mit.edu/terms.