some aspects of first principle models for production...

57
Some Aspects of First Principle Models for Production Systems and Supply Chains Christian Ringhofer (Arizona State University) Some Aspects of First Principle Models for Production Systems and Supply Chains – p. 1/?

Upload: others

Post on 19-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Some Aspects of First Principle Models for Production Syste ms and Supply

Chains

Christian Ringhofer (Arizona State University)

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 1/??

Page 2: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Introduction

Topic: Overview of conservation law (traffic - like) models for large

supply chains.

Joint work with....

• S. Gottlich, M. LaMarca, D. Marthaler, A. Unver

• D. Armbruster (ASU), P. Degond (Toulouse), M. Herty (Aachen)

• K. Kempf (INTEL Corp.)

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 2/??

Page 3: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Definition of a supply chain

One supplier takes an item, processes it, and hands it over to the next

supplier.

Suppliers ( Items):

Machines on a factory floor (product item),

Agent (client),

Factory, many items,

Processors in a computing network (information),

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 3/??

Page 4: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Example: Protocol for a Wafer in a Semiconductor Fab

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 4/??

Page 5: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

OUTLINE03

Traffic flow like models

Clearing functions: Quasi - steady state models - queueing theory.

Similarities and differences to traffic flow models.

First principle models for non - equilibrium regimes (kinetic

equations and conservation laws.)

• Stochasticity (transport in random medium).

• Non Markov dynamics and fluctuations.

• Hyperbolicity vs. diffusion. (???)

• Policies and networks (traffic rules).

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 5/??

Page 6: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Traffic flow - like models

Introduce the stage of the whole process as an artificial ’spatial’

variable. Items enter as raw product at x = 0 and leave as

finished product at x = X .

Define microscopic rules for the evolution of each item.

• many body theory, large time averages

• fluid dynamic models (conservation laws).

Analogous to traffic flow models (items ↔ vehicles).

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 6/??

Page 7: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Quasi - Steady State Models and Clearing functions 07

A clearing function relates the expectation of the throughput time

in steady state of each item for a given supplier to the expectation

of the load, the ’Work in Progress’.

Derived from steady state queuing theory.

Yields a formula for the velocity of an item through the stages

(Graves ’96) and a conservation law of the form

∂tρ+ ∂x[v(x, ρ)ρ] = 0

ρ: item density per stage,

x ∈ [0, X]: stage of the process.

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 7/??

Page 8: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Example: M/M/1 queues and simple traffic flow models

Arrivals and processing times governed by Markov processes:

v(x, ρ) = c(x)1+ρ

, c(x) = 1〈processing times〉

c(x): service rate or capacity of the processor at stage x.

Simplest traffic flow model (Lighthill - Whitham - Richards)

v(x, ρ) = v0(x)(1 −ρ

ρjam)

In supply chain models the density ρ can become arbitrarily large,

whereas in traffic the density is limited by the space on the road

ρjam.

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 8/??

Page 9: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

phase velocity: vphase = ∂∂ρ

[ρv(x, ρ)]

vphase = c(x)(1+ρ2)

> 0, vphase−traffic = v0(x)[1 −2ρ

ρmax]

In supply chain models the propagation of information (shock

speeds) is strictly forward vphase > 0, whereas in traffic flow

models shock speeds can have both signs.

Problem: Queuing theory models are based on quasi - steady

state regime. Modern production systems are almost never in

steady state. (short product cycles, just in time production).

Goal: Derive non - equilibrium models from first principles (first for

automata) and then including stochastic effects.

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 9/??

Page 10: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

First principle models for automata12

Assume processors work deterministically like automata. A

processor located in the infinitesimal stage interval of length ∆x

needs a time τ(x) = ∆xv0(x)

to process an item.

It cannot accept more than c(x)∆t items per infinitesimal time

interval ∆t.

Theorem (Armbruster, CR SIAM.J.MMS’03): In the limit

∆x→ 0, ∆tT

→ 0. this yields a conservation law for the density ρ of

items per stage of the form

∂tρ+ ∂xF (x, ρ) = 0, F (x, ρ) = minc(x), v0(x)ρ

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 10/??

Page 11: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Bottlenecks

∂tρ+ ∂xF (x, ρ) = 0, F (x, ρ) = minc(x), v0(x)ρ

No maximum principle (similar to pedestrian traffic with obstacles).

The capacity c(x) is discontinuous if nodes in the chain form a

bottleneck.

Flux F discontinuous ⇒ density ρ distributional. (alternative

model by Klar, Herty ’04).

Random server shutdowns ⇒ bottlenecks shift stochastically.

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 11/??

Page 12: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

A bottleneck in a continuous supply chain

Temporary overload of the bottleneck located at x = 1.

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 12/??

Page 13: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

OUTLINE

First principle models for non - equilibrium regimes (kinetic

equations and conservation laws.)

• Stochasticity (transport in random medium).

• Non Markov dynamics and fluctuations.

• Hyperbolicity vs. diffusion.

• Policies and networks (traffic rules).

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 13/??

Page 14: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Stochasticity: Random breakdowns and random media 15

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 14/??

Page 15: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Availability

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 15/??

Page 16: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Random capacities

Random breakdowns modeled by a Markov process setting the capacity

to zero in random intervals.

∂tρ+ ∂x[minc(x, t), v0ρ] = 0

0 0.5 1 1.5 2 2.5 3 3.5−1

−0.5

0

0.5

1

1.5

2

2.5

3

t

sample capacity mu

One realization of the capacity c(x, t) for one processor x.

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 16/??

Page 17: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

The Markov process: 17

c(x, t) switches randomly between c = cup and c = 0

c(x, t+ ∆t) =

c(x, t) prob = 1 − ∆tω(x, c)

cup(x) − c(x, t) prob = ∆tω(x, c)

Frequency ω(x, c) given by mean up and down times of the

processors.

Particle moves in random medium given by the capacities.

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 17/??

Page 18: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

One realization with flux F = minc, vρ using a stochastic c

00.5

11.5

22.5

33.5

0

0.2

0.4

0.6

0.8

10

0.5

1

1.5

2

2.5

3

3.5

4

t

density rho

x

Goal: Derive equation for the evolution of the expectation 〈ρ〉 and the

variance. Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 18/??

Page 19: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

The many body problem 19

Formulate deterministic model in Lagrangian coordinates. ξn(t):

position of part n at time t.

A ’follow the leader’ model:

ddtξn = minc(ξn, t)[ξn − ξn−1], v0(ξn)

Particles move in a random medium, given by stochastic

capacities c(ξn, t)

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 19/??

Page 20: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Kinetic equation for the many body probability density 20

F (t, x1, .., xN , y1, ., yK): probability that

ξ1(t) = x1, .., ξN (t) = xN and c1(t) = y1, .., cK(t) = yK .

Satisfies a Boltzmann equation in high dimensional space.

∂tF (t,X, Y ) + ∇X · [V (X,Y )F ] = Q[F ]

Q[F ] =∫

K(X,Y, Y ′)F (t,X, Y ′)Ω(X,Y ′) dY ′ − Ω(X,Y )F

X = (x1, .., xN ): positions

Y = (y1, .., yK), Y ∈ 0, cupK : kinetic variable ( discrete velocity

model).

Q[F ]: interaction with random background.

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 20/??

Page 21: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Discrete event simulation corresponds to solving the kinetic many

body equation by Monte Carlo.

Use methodology for many particle systems. Mean field theory,

long time averages, Chapman - Enskog.

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 21/??

Page 22: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Mean field theory 23

Assume identical particles and statistical independence (molecular

chaos).

Molecular chaos assumption for the conditional probability.

F (t,X, Y ) = F (t,X | Y )G(t, Y )

G(t, Y ) =dP

dY[c1 = y1, .., cK = yK ]

G: probability density of the state of the machines (independent of the

ensemble).

F (t,X | Y ): conditional probability, given one realization of the

machine background.

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 22/??

Page 23: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

F (t,X | Y ) =dP

dX[ξ1 = x1, ..ξN = xN | c1 = y1, .., cK = yk]

Molecular chaos ansatz for F (t,X | Y ):

F (t,X | Y ) =∏N

n=1 f(t, xn, Y )

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 23/??

Page 24: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Theorem (Degond, CR, SIAP’06):25

For a large ensemble (N → ∞) the conditional density f(t, x, Y )

satisfies

∂tf + ∂xΦ = Q[f ], Φ(t, x, Y ) = c(t, x, Y )[1 − exp(−v0f

c)]

, f << 1 ⇒ Φ ≈ v0f, f >> 1 ⇒ Φ ≈ c

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 24/??

Page 25: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Large time asymptotics 27

c(x, t+ ∆t) =

c(x, t) prob = 1 − ∆tω(x, c)

cup(x) − c(x, t) prob = ∆tω(x, c)

Consider time scales >> 1ω

∂tf(t, x, Y ) + ∂xΦ = 1εQ[f ],

Chapman - Enskog expansion

f(t, x, Y ) = ψ(ρ(t, x), Y, ε), ρ =

ψ(ρ, Y, ε) dY ∀ρ

ψ: shape function, parameterized by its mean in Y . expand

ψ(ρ, Y, ε) = ψ0(ρ, y) + εψ1(ρ, Y ) + ...Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 25/??

Page 26: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Equation for mean and variance

∂tρ(t, x) + ∂xacup(x)[1 − exp(−v0ρ

cup)] − aεD(ρ)V2∂xρ = 0

a(x): availability = 〈Tup〉

〈Tup〉+〈Tdown〉, (〈T 〉 = 1

ω)

V = σ〈T 〉

: variation coefficient (= 1 for a Markov process).

compare to

∂tf + ∂xΦ = 1εQ[f ], Φ(t, x, Y ) = c(t, x, Y )[1 − exp(−v0f

c))]

c replaced by cup

Flux multiplied by the average availability a.

Fluctuations enter as a (higher order) diffusive term.

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 26/??

Page 27: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

OUTLINE

First principle models for non - equilibrium regimes (kinetic

equations and conservation laws.)

• Stochasticity (transport in random medium).

• Non Markov dynamics and fluctuations.

• Hyperbolicity vs. diffusion.

• Policies and networks (traffic rules).

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 27/??

Page 28: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Non - Markov processes 30

Problem:

c(x, t+ ∆t) =

c(x, t) prob = 1 − ∆tω(x, c)

cup(x) − c(x, t) prob = ∆tω(x, c)

No memory of how long the processor has been running or down.

Tup, Tdown distributed according to exponential distributions

⇒ V = 1.

Analogy to ’intelligent particles’ with memory (drivers).

Model an arbitrary stochastic process, by enlarging the space.

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 28/??

Page 29: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

A different game

τ : time elapsed since the last change of state of the processor.

c(x, t+ ∆t) =

c(x, t) prob = 1 − ∆tω(x, c, τ)

cup(x) − c(x, t) prob = ∆tω(x, c, τ)

τ(x, t+ ∆t) =

τ(x, t) + ∆t prob = 1 − ∆tω(x, c, τ)

0 prob = ∆tω(x, c, τ)

Larsen (’07) (Radiative transfer models in clouds)

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 29/??

Page 30: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Lemma 32

u(x, c, s) ds : distribution of the time between scattering events.

u(x, c, s) ds = dP [τ = s] = ω(x, c, s) exp[−∫ s

0ω(x, c, q) dq] ds

⇒ given any kind of probability distribution u(x, c, τ) dτ of up / down

times, we define a (τ dependent) frequency ω

ω(x, c, τ) = u(x,c,τ)1−

∫ τ

0u(x,c,s) ds

giving

ω(x, c, τ) exp[−

∫ τ

0

ω(x, c, s) ds] = u(x, c, τ)

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 30/??

Page 31: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

This is a generalization of the Markov process, since, for

ω(x, c, τ) = ω(x, c) we have

ω(x, c) exp[−τω(x, c)] = u(x, c, τ)

Using this trick, everything stays the same, except for the fact that the

conditional probability (in the mean field assumption) satisfies

∂tf(t, x, Y,−→τ ) + ∂xΦ = 1εQ[f ],

Q[f ] =

−∇−→τ f +∑

j δ(τj)∫

K(x, Y, Y ′)Ωf(t, x, Y ′, τ ′) dY ′τ ′ − Ω(x, Y, τ)

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 31/??

Page 32: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

CE for the modified process

Large time asymptotics (Chapman - Enskog) gives the same result

∂tρ(t, x) + ∂xacup(x)[1 − exp(−v0ρ

cup)] − aεD(ρ)V2∂xρ

V : Variation coefficient for the up and down times of the general

underlying switching process.

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 32/??

Page 33: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

OUTLINE

First principle models for non - equilibrium regimes (kinetic

equations and conservation laws.)

• Stochasticity (transport in random medium).

• Non Markov dynamics and fluctuations.

• Hyperbolicity vs. diffusion.

• Policies and networks (traffic rules).

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 33/??

Page 34: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Diffusion vs. Hyperbolicity 35

The basic problem:

A diffusion equation (as a result of Chapman - Enskog) propagates

information in both directions.

Parts (or drivers in traffic flow) do not react to what is happening

behind them.

This is an artifact of the Chapman - Enskog procedure which

transforms diffusion (arising from the random fluctuations in the

flow) in velocity into spatial diffusion in a macroscopic limit.

General problem for directional flows and fluctuations.

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 34/??

Page 35: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

In practice, the equation

∂tρ(t, x) + ∂xacup(x)[1 − exp(−v0ρ

cup)] − aεD(ρ)V2∂xρ

needs a boundary condition at x = 1 and there is no ’physics’ to

determine this condition.

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 35/??

Page 36: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Hyperbolic Relaxation Models - Basic Idea38

Solve the kinetic equation by a moment closure, taking additional

(not conserved) moments.

⇒ a hyperbolic system, still containing ε.

Close the moment hierarchy by an ansatz, such that ε→ 0

asymptotics on the macroscopic level would reproduce the

diffusion picture.

Don’t do it. Use the hyperbolic model instead.

Natalini, Jin, Slemrod (’95): Regularization of the Burnett and

super - Burnett equations.

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 36/??

Page 37: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

One more moment

∂tρ+ ∂x(uρ) = 0, ∂t(uρ) + ∂x[u2ρ+ Pρ] = ρ

ε(u0 − u)

P : pressure (from the closure).

Asymptotics on the hyperbolic level:

u(x, t) = u0 −ε

ρ∂x[Pρ]

Close with the asymptotic form given by Chapman - Enskog:

ρu2 + ρP =

V 2ψε(ρ, Y, t) dY

Show that characteristic speeds ≥ 0 (at least for ε << 1).

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 37/??

Page 38: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Open Problem

Doable for linear problems V (ρ, Y ) = V (y). (Armbruster, Unver,

CR, Proc. AMS ’08)

Only for small densities ρ in the nonlinear case.

Derive a closure for which the phase velocities have the right sign

(> 0) in the nonlinear setting.

Need some form of unidirectional diffusion model.

Same problem in traffic flow if random fluctuations in driver

behavior are considered.

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 38/??

Page 39: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

One realization

00.5

11.5

22.5

33.5

0

0.2

0.4

0.6

0.8

10

0.5

1

1.5

2

2.5

3

3.5

4

t

density rho

x

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 39/??

Page 40: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

The steady state case

00.5

11.5

22.5

33.5

0

0.2

0.4

0.6

0.8

10

0.2

0.4

0.6

0.8

1

t

density rho

x 00.5

11.5

22.5

33.5

0

0.2

0.4

0.6

0.8

10

0.2

0.4

0.6

0.8

1

t

mean field rho

x

60 stages, bottleneck processors for 0.4 < x < 0.6

Constant influx;

F (x = 0) = 0.5× bottleneck capacity

Left: DES (100 realizations), Right: mean field equations

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 40/??

Page 41: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Verification of the transient case

00.5

11.5

22.5

33.5

0

0.2

0.4

0.6

0.8

10

1

2

3

4

5

t

density rho

x 00.5

11.5

22.5

33.5

0

0.2

0.4

0.6

0.8

10

1

2

3

4

5

t

mean field rho

x

Influx F (x = 0) temporarily at 2.0× the bottleneck capacity

Left: 500 realizations, Right: mean field equations

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 41/??

Page 42: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

OUTLINE

First principle models for non - equilibrium regimes (kinetic

equations and conservation laws.)

• Stochasticity (transport in random medium).

• Non Markov dynamics and fluctuations.

• Hyperbolicity vs. diffusion.

• Policies and networks (traffic rules).

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 42/??

Page 43: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Re - entrant Networks and Scheduling Policies 40

Re - entrant manufacturing lines: One and the same tool is used at

different stages of the manufacturing process.

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 43/??

Page 44: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

0 1 2 3 4 5 6 7 8 9 100

1

2

3

4

5

6

7

8

9

10

1 2 3

5 6

4

7

89

10

1211 13

Conservation laws on graphs. Implies that the velocity is computed

non - locally. (Different stages of the process correspond to the same

physical node.)

Requires the use of a policy governing in what sequence to serve

different lines ( ’the right of way’: FIFO, FISFO, PULL, PUSH).Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 44/??

Page 45: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Priority scheduling 42

Equip each part with an attribute vector y ∈ RK .

Define the priority of the part by p(y) : RK → R

The velocity of the part is determined by all the parts using the

same tool at the same time with a higher priority.

Leads to a (nonlocal) kinetic model for stages and attributes (high

dimensional).

Recover systems of conservation laws by using multi - phase

approximations for level sets in attribute space.

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 45/??

Page 46: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Kinetic model (Degond, Herty, CR ’07)

(Vlasov - type)

∂tf(x, y, t) + ∂x[v(φ(x, p(y)))f ] + ∇y[Ef ] = 0

f : kinetic density of parts at stage x with attribute y.

p(y): priority of parts with attribute y.

φ(x, q): cumulative density of parts with priority higher than q.

φ(x, q) =∫

H(p(y) − q)f(x, y, t) dy

or (for re-entrant systems):

φ(x, q) =∫

H(p(y) − q)K(x, x′)f(x′, y, t) dx′dy

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 46/??

Page 47: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Choices:

Attributes y;

p(y) determines the policy;

the velocity v(φ) (the flux model).

Example: y ∈ R3

y1: cycle time (time the part has spent in the system).

y2: time to due date.

y3: type of the part (integer valued).

∂tf + ∂x[vf ] + ∇y · [Ef ] = 0⇒ E =

1

−1

0

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 47/??

Page 48: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Policies:

FISFO: p(y) = y1

Due date scheduling: p(y) = −y2.

Combined policy (c.f. for perishable goods)

p(y) = y1H(y1 − d(y3)) − y2H(d(y3) − y1)

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 48/??

Page 49: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

The phase velocity:

The microscopic velocity v(φ) has to be chosen as the phase velocity∂F (φ)

∂φof a macroscopic conservation law.

Theorem (CR, CMMS ’09) 29: The total density of parts (with all

attributes) ρ(x, t) =∫

f(x, y, t) dy satisfies the conservation law

∂tρ+ ∂xF (ρ) = 0, F (ρ) =∫ ρ

−∞v(φ) dφ

Decide on an over all flux model F (ρ). Set v(φ) = ∂φF (φ).

Example: Deterministic flux model.

F (ρ) = minc, v0ρ ⇒ v(φ) = v0H(c− v0φ)

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 49/??

Page 50: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Multi - phase approximations

Leads to high dimensional kinetic equation. Reduce to

conservation laws via a multi - phase ansatz.

Approximate f(x, y, t) by a combination of δ− measures in y.

f(x, y, t) =∑

n ρn(x, t)δ(y − Yn(x, t))

Derive conservation laws for the number densities ρn(x, t) with

attributes y = Yn(x, t).

Standard approach (Jin, Li 03): Moment closures

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 50/??

Page 51: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Level Sets 48

Almost all information about the microscopic transport picture is

contained in the evolution of the level sets of parts with equal priority

Λ(x, q, t) =

δ(p(y) − q)f(x, y, t) dy= −∂qφ(x, q, t)

Level set equation:

∂tΛ(x, q, t) + ∂x[v(φ(x, q))Λ] + ∂qA[f ] = 0, Λ = −∂qφ

A[f ](x, q, t) =

δ(q − p)f [∂tp+ v(φ(x, p))∂xp+ E∇yp]dy

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 51/??

Page 52: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

The Riemann Problem

The multi - phase approximation implies for the level sets Λ(x, q, t) and

the cumulative densities φ(x, q, t)

Λ(x, q, t) =∑

n ρn(x, t)δ(Pn − q)

φ(x, q, t) =∑

n ρn(x, t)H(Pn − q),

with Pn(x, t) = p(Yn(x, t)) ∈ R1.

The cumulative density φ(x, q, t) is piecewise constant in q⇒ solve a

Riemann problem for φ and compute the motion of p(Yn) from the

Rankine - Hugoniot condition for the shock speeds.

ddtPn + vn∂xPn = An(Y ), vn = limε→0

F (φ(Pn+ε))−F (φ(Pn−ε))φ(Pn+ε)−φ(Pn−ε)

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 52/??

Page 53: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

The densities ρn are evolved according to

∂tρn + ∂x(vnρn) = 0

For y ∈ R1, Yn = Pn this is an exact (weak) solution of the kinetic

transport equation.

For more than one dimensional attributes the actual attributes Yn are

evolved according to

∂tYn + vn∂xYn − E = 0, vn = limε→0F (φ(Pn+ε))−F (φ(Pn−ε))

φ(Pn+ε)−φ(Pn−ε)

within the level set - subject to the constraints p(Yn) = Pn (enforced by

a projection method).

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 53/??

Page 54: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Policy effect on cycle time

20 40 60 80 100 120 140 16036

38

40

42

44

46

48

50

52

t

cycl

e tim

e

20 40 60 80 100 120 140 16036

38

40

42

44

46

48

50

52

tcy

cle

time

2 products with 2 different delivery due dates.

+:slow lots, − hot lots.

Left: FISFO, Right: PERISH

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 54/??

Page 55: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Time to due date at exit

20 40 60 80 100 120 140 160−5

0

5

10

15

20

25

30

35

40

45

t

time

to d

ueda

te

20 40 60 80 100 120 140 160−5

0

5

10

15

20

25

30

35

40

45

ttim

e to

due

date

2 products with 2 different delivery due dates.

+:slow lots, − hot lots.

Left: FISFO, Right: PERISH

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 55/??

Page 56: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Conclusions 50

Value of PDE models: Intermediate tool between heuristic, fluid

and DES - models. (Includes more detail, but still a conservation

law.)

Less versatile than DES, but amenable to optimization.

Conservation laws on graphs (nonlocal constitutive relations).

Issues:

• Stochastic fluctuations on a macro level ⇒ Non - Markovian

behavior.

• Directional flows and ’infinite’ propagation speeds.

• More complicated graphs (branching and downbinning).

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 56/??

Page 57: Some Aspects of First Principle Models for Production ...helper.ipam.ucla.edu/publications/ktws3/ktws3_8486.pdf · Traffic flow - like models Introduce the stage of the whole process

Some Aspects of First Principle Models for Production Syste ms and Supply Chains – p. 57/??