delays james r. burns fall 2010. 11/16/20152 today recitation lecture hands-on

32
Delays James R. Burns Fall 2010

Upload: claud-small

Post on 20-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

Delays

James R. Burns

Fall 2010

Page 2: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 2

Today

• Recitation

• Lecture

• Hands-on

Page 3: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 3

Recitation

• What does it take to create a table lookup function in VENSIM

• The HW problem

Page 4: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 4

White-collarpopulation

Blue-collarpopulation

White In-migration

WhiteOut-migration

Blue In-migration

Blue Out-migration

White to Blue rate

Blue-to-white rate

In-migrationnormal

Out-migrationnormal

WTB Norm

BTW Norm

White hsng req Blue hsng req

White hsng desired Blue hsng desired

White collarhousing

Blue collarhousing

Construction rate WTB Transfer rate Obsolescence rate

White hsng lifetime Blue hsng lifetimeConstruction time

White housingratio

Blue housing ratio

<White housingratio>

<Blue housingratio>

Obsoletehousing

White Jobs req

Blue Jobs req

White jobs desired

Blue jobs desires

Page 5: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 5

Delays

• Delays always breed danger – Miguel de Cervantes (Don Quixote)

• Never do today what you can put off till tomorrow. Delay may give clearer light as to what is best to be done.

– Arron Burr

• What does Peter Senge tell us about Delays in the book THE FIFTH DISCILPLINE?

Page 6: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 6

Where can delays occur?

• In information channels• (In the transmission of information)

• In flows• (of people, resources, goods, money etc.)

Page 7: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 7

Specific instances in which Delays can occur…

• aging populations, mail delays, perception delays, shipping delays, appearance delays, adjustment delays, scheduling delays and queue delays.

Page 8: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 8

Flow Delays

• Pipeline (Boxcar)

• Exponential• Third order

• First order

Page 9: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 9

Some Flow Delays that

we’ve already

looked at

Pop 0-15

Pop 16-45

Pop 46-60

Pop 61-75

Unprovenreserves

Provenreserves

Crude oil

Refined oilproducts

birth rate

r 15to16

r46to46

r60to61

death rate

discovery rate

extraction rate

refinery rate

consumptioin rate

Page 10: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 10

Cascaded Coflow -- "Hines"

Hines 1996characteristicof new stuff

Avgcharacteristicnew material

Change incharacteristic

of new material

dilution time ofnew Material

New materialMaterialmaturing

Time tomature

Materialflowing in

Maturematerial

Old material

Materialaging

Materialflowing out

Time to age Time to flowout

Avgcharacteristic ofMature material

Change incharacteristic ofmature material

Maturematerial

dilution time

Avg Characteristicof Old Material

Change incharacteristicof old material

Old MaterialDilution Time

Page 11: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 11

MaterialMaterialflowing

out

Time to flowout

Material Delay

Materialflowing in

Page 12: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 12

Information Delays

• First order

• Smoothing

Page 13: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 13

Recall the balancing loop structure

inventory

Orders

Adjustment TimeDesired Inventory

Page 14: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 14

Boxcar Delay

actualinventory

day 4pipeline

inventory

day 3pipeline

inventory

day 2pipeline

inventory

day 1pipeline

inventory

order ratedesired inventory adjustment time

Page 15: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 15

Problems with Boxcar Delay

• Pipeline or boxcar delays are considered “pure” in the sense that no output is produced until the delay is over, or until the elapsed time is greater than the delay. Moreover, the output tends to be somewhat discontinuous, causing the model state (or, stock) trajectories to lack smoothness.

Page 16: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 16

Exponential Delay

actualinventory

day 4inventory

day 3inventory

day 2inventory

day 1inventory

order rate

r1to2

r2to3

r3to4

r4to5

desired inventory adjustment time

delay length

Page 17: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 17

• As previously mentioned, the boxcar approach tends to introduce discontinuities into the simulation model. To overcome this problem Forrester replaced the boxcars with levels or states separated by rates whose associated equations were determined to be

• ri = n * xi / D,• where n is the order of the delay in terms of states

and D is the length (in the time units of the simulation) of the delay.

Page 18: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 18

Third-Order Exponential Delay

First orderstock

Secondorder stock

Third orderstock

ActualInventory

Order rateDesired inventory

Adjustment time

r1

r2

r3

delay length/3Inventory on hand

and in pipeline

Page 19: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 19

Information Delay

Page 20: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 20

Delay functions in VENSIM

• DELAY3(input, delay time) – a third-order exponential delay• Input should be a rate

• Output is returned through the name—DELAY3

• Output will also be a rate—a delayed one

• Delay time must have consistent units with the VENSIM time variable

Page 21: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 21

The structure of the DELAY3() function

• DL = delay time/3

• LV1 = INTEGRAL(input-RT1, DL)

• RT1 = LV1/DL

• LV2 = INTEGRAL(RT1 – RT2, DL)

• RT2 = LV2/DL

• LV3 = INTEGRAL(RT2 – DELAY3, DL)

• DELAY3 = LV3/DL

Page 22: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 22

Delay functions in VENSIM

• DELAY3I(input, delay time, initial value)• Same as DELAY3() except each stock is

loaded with an initial value of initial value/3• DELAY1(input, delay time) – a first-order

exponential delay• DELAY1I(input, delay time, initial value) –

a first-order exponential delay with initial value)

Page 23: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 23

More delay functions

• DELAY INFORMATION (input, delay time, initial value) – discrete information delay

• DELAY MATERIAL (input, delay time, initial value, missval) – discrete material or flow delay

Page 24: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 24

Supply Chain 1

actualinventory

desired inventory adjustment time

order/ship rate

Page 25: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 25

Supply Chain 2

actualinventory

desired inventory adjustment time

order/ship rate

informationdelay

Page 26: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 26

Supply Chain 3actual

inventory

desired inventory adjustment time

order/ship rate

informationdelay

actualinventory 0

desired inventory0 adjustment time0

order/ship rate0

informationdelay 0

actualinventory 1

desired inventory1 adjustment time1

order/ship rate1

informationdelay 1

demand rate

demand rate 0

demand rate 1

Customer orders

Page 27: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 27

Supply Chain 4

Actualcondition

desired condition

distributiondelay

adjustment rate

adjustment time

delayed flow

delay time

Page 28: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 28

Supply Chain 5

Actualcondition

desired condition

distributiondelay

adjustment rate

adjustment time

delayed flow

delay time

Page 29: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 29

Supply Chain 6actual

inventory

sales

integratedinventory

orders intransit

prod-trans rate

order rate

production time

monthly carryingcost

OIT carry costper mo

AI carry cost permo

OIT unit cost

AI unit cost

actualinventory 0

sales0

integratedinventory 0

customerpurchases

0

orders intransit 0

prod-trans rate 0

order rate0

productiontime 0

monthly carryingcost 0

OIT carry costper mo 0

AI carry cost permo 0

OIT unitcost 0

AI unit cost0

total inventory cost

Supplier

Firm

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Page 30: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 30

Supply Chain 7

actualinventory

sales

orders intransit

prod-trans rate

order rate

production timeOIT unit cost

AI unit cost

actualinventory 0

sales0

customerpurchases

0orders intransit 0

prod-trans rate 0

order rate0

productiontime 0

OIT unitcost 0

AI unit cost0

Supplier

Firm

SupplierHolding Cost

OIT Holding Costper mo

AI Holding Costper mo

monthly HoldingCost

TOTAL HOLDINGCOST

Firm's HoldingCost

Firm's OIT HoldingCost per mo

Firm's AI HoldingCost per mo

Firm's monthlyholding cost

TOTALINVENTORY

ACCUMINVENTORY

Invent rate

ACCUM SALES

sales rate

-------------------------------------------------------------------------------------------------------

Page 31: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 31

actualinventory

sales

orders intransit

prod-trans rate

order rate

production timeOIT unit cost

AI unit cost

actualinventory 0

sales0

customerpurchases

0orders intransit 0

prod-trans rate 0

order rate0

productiontime 0

OIT unitcost 0

AI unit cost0

Supplier

Firm

SupplierHolding Cost

OIT Holding Costper mo

AI Holding Costper mo

monthly HoldingCost

TOTAL HOLDINGCOST

Firm's HoldingCost

Firm's OIT HoldingCost per mo

Firm's AI HoldingCost per mo

Firm's monthlyholding cost

TOTALINVENTORY

ACCUMINVENTORY

Invent rate

ACCUM SALES

sales rate

-------------------------------------------------------------------------------------------------------

Supply Chain 8

Page 32: Delays James R. Burns Fall 2010. 11/16/20152 Today Recitation Lecture Hands-on

04/21/23 32