Stocks and Flows Jayendran Venkateswaran IE 604 IEOR, IIT Bombay - - PowerPoint PPT Presentation

stocks and flows
SMART_READER_LITE
LIVE PREVIEW

Stocks and Flows Jayendran Venkateswaran IE 604 IEOR, IIT Bombay - - PowerPoint PPT Presentation

Stocks and Flows Jayendran Venkateswaran IE 604 IEOR, IIT Bombay INTRODUCTION Stock and flows, along with feedback are the two central concepts of system dynamics theory But before that, a brief history IEOR, IIT Bombay IE 604:


slide-1
SLIDE 1

Stocks and Flows

Jayendran Venkateswaran IE 604 IEOR, IIT Bombay

slide-2
SLIDE 2

IEOR, IIT Bombay IE 604: System Dynamics Modelling & Analysis Jayendran Venkateswaran

INTRODUCTION

  • Stock and flows, along with feedback are the

two central concepts of system dynamics theory

  • But before that, a brief history…
slide-3
SLIDE 3

IEOR, IIT Bombay IE 604: System Dynamics Modelling & Analysis Jayendran Venkateswaran

A Brief History

  • System Dynamics was developed during mid-1950s by
  • Prof. Jay W. Forrester (1918-2016) of M.I.T
  • J. W. Forrester, electrical engineer by training, headed

Whirlwind Project in 1940s-50s: storage device development, forerunner of today’s RAM.

  • In 1950’s when Sloan School of Management was setup,

he was invited to be part of it.

  • Developed System Dynamics to study industrial systems.

– Book: Industrial Dynamics (1961)

  • Business structure, Sales, Inventory, Ordering policies
  • Looked at expanding effects on supply chain due to fluctuating

demands (now known as bullwhip effect)

  • Helped develop/ use computer simulation: SIMPLEà DYNAMO
slide-4
SLIDE 4

IEOR, IIT Bombay IE 604: System Dynamics Modelling & Analysis Jayendran Venkateswaran

A Brief History (contd.)

  • Other Books by J.W. Forrester

– Urban Dynamics (1969): Problems of cities and urban development – World Dynamics (1971): World population, energy needs, environment

  • These helped initiate the feasibility of modelling societal

problems (still an ongoing debate though!)

  • Forrester argues … “use of computerized system models to

inform social policy is far superior to simple debate, both in generating insight into the root causes of problems and in understanding the likely effects of proposed solutions.” (Counterintuitive Behavior of Social Systems, 1971 paper by JWF).

slide-5
SLIDE 5

IEOR, IIT Bombay IE 604: System Dynamics Modelling & Analysis Jayendran Venkateswaran

Modeling Basics

  • Stocks or Level: Accumulate over time
  • Flow or Rate: Causes Stocks to change over

time

  • Auxiliary variable or Information: Helps

define other instantaneous variables/ calculations

  • Mathematical representation

Stock Inflow Outflow Inventory Production rate Shipment rate

Example:

slide-6
SLIDE 6

IEOR, IIT Bombay IE 604: System Dynamics Modelling & Analysis Jayendran Venkateswaran

Example

Water level Desired water level Faucet Position Water Flow Gap

  • +

+ + +

Desired water level Gap Water Level Water Flow Rate

  • +

+

slide-7
SLIDE 7

IEOR, IIT Bombay IE 604: System Dynamics Modelling & Analysis Jayendran Venkateswaran

Role of Stocks

  • Stocks characterize the state of system

– Provide snapshot status of system – Data to help make decisions

  • Stocks provide system with inertia & memory

– Stocks only change through rates

  • Stocks are source of delays

– All delays involve stocks

  • Stocks decouple rates of flow and create

disequilibrium dynamics

– Absorbs differences between inflow & outflow

slide-8
SLIDE 8

IEOR, IIT Bombay IE 604: System Dynamics Modelling & Analysis Jayendran Venkateswaran

Identify stock and flows

  • Using units of measure

– Stocks are a quantity – Associated rates are same units per time period

  • The Snapshot test

– Imagine freezing the scene

  • Stocks can be physical quantity, Information or

Memories & beliefs

  • Choice of time unit must be consistent
  • Flow can be positive or negative
  • Contents of stock-flow network is conserved
slide-9
SLIDE 9

IEOR, IIT Bombay IE 604: System Dynamics Modelling & Analysis Jayendran Venkateswaran

Examples

  • Identification of Stock and Flows
  • Mapping SFD model example

A manufacturing firm orders raw materials from outside, which it processes and produces finished products. The firm maintains an inventory of finished goods from which it ships to customers. Customer order when received, is not immediately

  • fulfilled. There is a delay caused by order processing,

credit checks, etc, after which the order is fulfilled, subject to availability.

slide-10
SLIDE 10

IEOR, IIT Bombay IE 604: System Dynamics Modelling & Analysis Jayendran Venkateswaran

Dynamics of Stocks and Flows

  • Behavior of stock, given the flow rates
  • Graphical integration
  • Net Rate Example

Stock Net Flow

1 2

  • 1
  • 2

10 20 30 40 50 60

Time

Net Flow (units/ time)

slide-11
SLIDE 11

IEOR, IIT Bombay IE 604: System Dynamics Modelling & Analysis Jayendran Venkateswaran

Dynamics of Stocks and Flows

  • Computing Net Rate
  • Net Rate(t) = Inflow(t) – Outflow(t)

Stock Net Flow Stock Inflow Outflow

10 5 10 15 20 25 30 20

  • 20
  • 10

time

Flows (units/ time)

inflow

  • utflow

è Netflow? è

slide-12
SLIDE 12

IEOR, IIT Bombay IE 604: System Dynamics Modelling & Analysis Jayendran Venkateswaran

Dynamics of Stocks and Flows

  • Behavior of flows, given stock behavior
  • Graphical differentiation
  • Can only compute NetFlowRate(t)

20 4 8 12 16 20 40

  • 40
  • 20

time

STOCK (units)

è NetFlow?

slide-13
SLIDE 13

Patterns of Behavior

Jayendran Venkateswaran IE604

slide-14
SLIDE 14

IEOR, IIT Bombay Jayendran Venkateswaran

Behavior of Dynamic Systems

  • Behavior of a system arises from its

structure.

  • Agenda:
  • Overview of the dynamics, focusing on the

relationship between structure and behavior.

  • The basic modes of behavior in dynamic

systems along with the feedback structures generating them.

slide-15
SLIDE 15

IEOR, IIT Bombay Jayendran Venkateswaran

Common Modes of Behavior

slide-16
SLIDE 16

IEOR, IIT Bombay Jayendran Venkateswaran

Exponential Growth

Exponential growth arises from positive (self-reinforcing) feedback. The larger the quantity, the greater its net increase, further augmenting the quantity and leading to ever- faster growth

R Net Increase Rate State of the System + + Time State of the System

slide-17
SLIDE 17

IEOR, IIT Bombay Jayendran Venkateswaran

Average growth rate 3.45%/Year Doubling time 20 Years Billion $/Year Average growth rate 1926-1995 3.5%/Year D.time 20 Years 1970-1995 6.8%/Year D.time 10 Years

Average growth rate

1900-1950 0.86%/Year D.time 80 Years 1950-2000 1.76%/Year D.time 40 Years Average growth rate 34%/Year D.time 2 Years Upper Bound Best Fit Exponantial

Exponential Growth: Example

slide-18
SLIDE 18

IEOR, IIT Bombay Jayendran Venkateswaran

  • Positive feedback need not always generate growth. It can

also create self-reinforcing decline

  • A drop in stock prices erodes investor confidence which

leads to more selling, lower prices, and still lower confidence.

  • What about linear growth?
  • Linear growth is actually quite rare.
  • Linear growth requires that there be no feedback from

the state of the system to the net increase rate, because the net increase remains constant even as the state of the system changes.

  • What appears to be linear growth is often actually

exponential, but viewed over a time horizon too short to

  • bserve the acceleration.

Exponential Growth (contd)

slide-19
SLIDE 19

IEOR, IIT Bombay Jayendran Venkateswaran

Goal Seeking Behavior

Negative loops seek balance, equilibrium, and stasis. Negative feedback loops act to bring the state of the system in line with a goal

  • r

desired state.

Time State of the System Goal Corrective Action B Discrepancy +

  • +

Goal (Desired State of System) State of the System +

slide-20
SLIDE 20

IEOR, IIT Bombay Jayendran Venkateswaran

Goal Seeking Behavior: Examples

slide-21
SLIDE 21

IEOR, IIT Bombay Jayendran Venkateswaran

OSCILLATIONS

  • Oscillation: third fundamental mode of dynamic behavior
  • Like

goal-seeking behavior,

  • scillations

caused by negative feedback loops.

  • In

an

  • scillatory

system, the state

  • f

the system constantly

  • vershoots

its goal

  • r

equilibrium state, reverses, then undershoots, and so on.

  • Overshooting arises from presence of significant time

delays in the negative loop.

  • The time delays cause corrective actions to continue

even after the state of the system reaches its goal, forcing the system to adjust too much, and triggering a new correction in the opposite direction

slide-22
SLIDE 22

IEOR, IIT Bombay Jayendran Venkateswaran

OSCILLATIONS

It takes time for a company to measure and report inventory levels, time for management to meet and decide how much to produce, and more time while raw materials procurement, the labor force, and other needed resources respond to the new production schedule. Sufficiently long delays at anyone of these points could cause inventory to oscillate.

slide-23
SLIDE 23

IEOR, IIT Bombay Jayendran Venkateswaran

OSCILLATION: STRUCTURE

slide-24
SLIDE 24

IEOR, IIT Bombay Jayendran Venkateswaran

Oscillations Examples

slide-25
SLIDE 25

IEOR, IIT Bombay Jayendran Venkateswaran

Interactions of Fundamental Modes

Three basic modes of behavior

l

Exponential Growth (positive loop)

l

Goal Seeking (negative loop)

l

Oscillations (negative loop with delays) More complex patterns of behavior arise through the nonlinear interaction of these structure with one another

l

S-shaped Growth

l

S-shaped Growth with overshoot

l

Overshoot and collapse

slide-26
SLIDE 26

IEOR, IIT Bombay Jayendran Venkateswaran

S-Shaped Growth

No real quantity can grow forever: eventually one or more constraints halt the growth. A commonly observed mode of behavior in dynamic systems is S-shaped growth → Growth is exponential at first, but then gradually slows until the state of the system reaches an equilibrium level. The shape of the curve resembles a stretched-out "S"

slide-27
SLIDE 27

IEOR, IIT Bombay Jayendran Venkateswaran

S-Shaped Growth

To understand the structure underlying S-shaped growth it is helpful to use the ecological concept of carrying capacity. The carrying capacity of any habitat is the number of

  • rganisms of a particular type it can support and is

determined by the resources available in the environment and the resource requirements of the population. As a population approaches its carrying capacity, resources per capita diminish thereby reducing the fractional net increase rate until there are just enough resources per capita to balance births and deaths

slide-28
SLIDE 28

IEOR, IIT Bombay Jayendran Venkateswaran

S-Shaped Growth

slide-29
SLIDE 29

IEOR, IIT Bombay Jayendran Venkateswaran

S-Shaped Growth Examples

Source: Sterman, John D. Business Dynamics (Fig 4-9)

slide-30
SLIDE 30

IEOR, IIT Bombay Jayendran Venkateswaran

S-shaped growth with overshoot

S-shaped growth requires the negative feedbacks that constrain growth to act swiftly as the carrying capacity is approached. Often, however, there are significant time delays in these negative loops. Time delays in the negative loops lead to the possibility that the state of the system will overshoot and oscillate around the carrying capacity

slide-31
SLIDE 31

IEOR, IIT Bombay Jayendran Venkateswaran

S-hsaped growth with overshoot

slide-32
SLIDE 32

IEOR, IIT Bombay Jayendran Venkateswaran

S-shaped w/ overshoot: Example

slide-33
SLIDE 33

IEOR, IIT Bombay Jayendran Venkateswaran

OVERSHOOT AND COLLAPSE

The second critical assumption underlying S-shaped growth is that the carrying capacity is fixed. Often, however, the ability of the environment to support a growing population is eroded or consumed by the population itself. For example, the population of deer in a forest can grow so large that they over-browse the vegetation, leading to starvation and a precipitous decline in the population.

slide-34
SLIDE 34

IEOR, IIT Bombay Jayendran Venkateswaran

OVERSHOOT AND COLLAPSE

slide-35
SLIDE 35

IEOR, IIT Bombay Jayendran Venkateswaran

slide-36
SLIDE 36

IEOR, IIT Bombay Jayendran Venkateswaran

Why care about behavior modes?

The principle that the structure of the system generates its behavior is a useful heursitic

l

Helps modeler discover the feedback structure

  • f system

l

When we see data/pattern of behavior, we can then know which basic feedback structure must have been dominant CAUTION

l

Modelers to take care to try and include in their model the feedback structures that have not been important in generating dynamics to date, but that may become active as system evolves.