Stochastic weighted particle methods for fragmentation, - - PowerPoint PPT Presentation

stochastic weighted particle methods for fragmentation
SMART_READER_LITE
LIVE PREVIEW

Stochastic weighted particle methods for fragmentation, - - PowerPoint PPT Presentation

Stochastic weighted particle methods for fragmentation, coagulation and spatial inhomogeneity Kok Foong Lee, Robert I. A. Patterson, Wolfgang Wagner and Markus Kraft July 2015 Introduction In this work, we develop stochastic particle


slide-1
SLIDE 1

Kok Foong Lee, Robert I. A. Patterson, Wolfgang Wagner and Markus Kraft July 2015

Stochastic weighted particle methods for fragmentation, coagulation and spatial inhomogeneity

slide-2
SLIDE 2
  • Prof. Markus Kraft

mk306@cam.ac.uk

Introduction

  • In this work, we develop stochastic particle methods to

solve population balance models with multiple compartments.

  • Two popular stochastic particle methods:

– Direct simulation algorithm (DSA) – Stochastic weighted algorithm (SWA)

  • Application of stochastic particle methods in problems

with spatial inhomogeneity is relatively new

  • In particular, this work presents a family of fragmentation

algorithms for SWA

slide-3
SLIDE 3
  • Prof. Markus Kraft

mk306@cam.ac.uk

Introduction

  • In this work, we develop stochastic particle methods to

solve population balance models with multiple compartments.

  • Two popular stochastic particle methods:

– Direct simulation algorithm (DSA) – Stochastic weighted algorithm (SWA)

  • Application of stochastic particle methods in problems

with spatial inhomogeneity is relatively new

  • In particular, this work presents a family of fragmentation

algorithms for SWA

slide-4
SLIDE 4
  • Prof. Markus Kraft

mk306@cam.ac.uk

DSA (Direct Simulation Algorithm)

  • Each computational particle represent the same number
  • f real particles
  • Coagulation events delete the original coalescing

particles to create a new particle. This leads to a numerical issue where the ensemble will eventually deplete:

– A doubling algorithm is used where the ensemble is duplicated when the number of particles falls below 3/8 of ensemble size

  • Breakage increases number of particles

– Downsampling may be necessary to avoid memory problems

slide-5
SLIDE 5
  • Prof. Markus Kraft

mk306@cam.ac.uk

SWA (Stochastic Weighted Algorithm)

  • A statistical weight is attached to each computational

particle

  • The statistical weight is representative of the number of

particles

  • Coagulation events do not change the number of

computational particles, only the weights are adjusted

  • No need for doubling algorithm – ideal for applications

with high coalescence rates

  • Inception (and breakage) introduce new particles and

require downsampling

slide-6
SLIDE 6
  • Prof. Markus Kraft

mk306@cam.ac.uk

Fragmentation: model definition

  • A particle (x) breaks into particles (y) and (x-y) with the

frequency g(x):

  • The fragment particles (y) and (x-y) are defined by a

probability density function

  • where (y) < (x).
slide-7
SLIDE 7
  • Prof. Markus Kraft

mk306@cam.ac.uk

Fragmentation: DSA

x x - y y

Particles break at the frequency: Size of y is selected according to: The second fragment is determined as a function of y: (symmetric) Waiting time =

slide-8
SLIDE 8
  • Prof. Markus Kraft

mk306@cam.ac.uk

Fragmentation: SWA

  • Particle weights are no longer identical
  • Main purpose: Perform breakage processes which

change one particle at a time, i.e.

  • In order to simulate the process accurately, we need to

define an appropriate weight transfer function, ฀ , to calculate

slide-9
SLIDE 9
  • Prof. Markus Kraft

mk306@cam.ac.uk

Fragmentation: SWA

  • Our algorithm will have the correct approximation if alpha

is defined according to the restriction below:

  • Two definitions are used in our studies:

Simplest solution but not efficient Conserves total mass SWA1 SWA2

slide-10
SLIDE 10
  • Prof. Markus Kraft

mk306@cam.ac.uk

Fragmentation: SWA

x

y

Fragmentation frequency: Size of y is selected according to: is determined by the weight transfer function Particles are tagged with statistical weights (No longer symmetric) Waiting time =

slide-11
SLIDE 11
  • Prof. Markus Kraft

mk306@cam.ac.uk

Fragmentation: SWA/DSA alternative

x

y

Fragmentation frequency: Size of y is selected according to: Fragments are given the same weights, but this jump process increase the number of particles

x - y

Waiting time = SWA3

slide-12
SLIDE 12
  • Prof. Markus Kraft

mk306@cam.ac.uk

Fragmentation: simulation algorithm

DSA SWA1 SWA2 SWA3

Waiting time Selection of particle to break Selection of fragment particles Jump process (x)฀ ฀ ฀ (y), (y-x) (x, wx)฀ ฀ (y, wy) (x, wx)฀ ฀ ฀ (y, wx), (y-x, wx) Weight transfer function N/A N/A

slide-13
SLIDE 13
  • Prof. Markus Kraft

mk306@cam.ac.uk

Coagulation: model definition

  • A particle (x) coagulates with particle (y) to form a larger

particle (x+y):

  • The rate is specified by a kernel
slide-14
SLIDE 14
  • Prof. Markus Kraft

mk306@cam.ac.uk

Coagulation: DSA

x x + y

Each pair coagulates at the rate =

y

+ Total waiting time = Both particles are selected uniformly n = normalisation parameter DSA depletes the number of particles Doubling algorithm is necessary to prevent ensemble from depletion

slide-15
SLIDE 15
  • Prof. Markus Kraft

mk306@cam.ac.uk

Coagulation: SWA

  • Particle weights are no longer identical
  • Main purpose: Perform coagulation jumps by changing
  • ne particle at a time, i.e.
  • At the rate
  • The weight wx+y is defined as
slide-16
SLIDE 16
  • Prof. Markus Kraft

mk306@cam.ac.uk

Coagulation: SWA

x x + y

Each pair coagulates at the rate:

y

Total waiting time = n = normalisation parameter

y

+ wx+y is determined by the weight transfer function Only 1 particle is changed at a time

slide-17
SLIDE 17
  • Prof. Markus Kraft

mk306@cam.ac.uk

Coagulation: simulation algorithms

DSA SWA1/2/3 Waiting time Selection of particle 1 Uniform Uniform Selection of particle 2 Uniform Jump process (x), (y) ฀ (x + y) (x, wx), (y, wy) ฀ (x + y, wx+y), (y, wy) Weight transfer function N/A

slide-18
SLIDE 18
  • Prof. Markus Kraft

mk306@cam.ac.uk

Normalisation parameter n(z1) n(z2) n(z3) Residence time ฀(z1) ฀(z2) ฀(z3) Rate of particle leaving Particle destination 100% to z2 50% to z1 50% to z3 100% to z2

Compartmental model - Transport

slide-19
SLIDE 19
  • Prof. Markus Kraft

mk306@cam.ac.uk

Transport: DSA

x

Rate =

x x x

, , … ,

z1 z2 n(z1) n(z2) Number of copies is determined randomly by the ratio of normalisation parameters Usually not an integer Decide randomly between

slide-20
SLIDE 20
  • Prof. Markus Kraft

mk306@cam.ac.uk

Transport: SWA

x

Rate =

x

z1 z2 n(z1) n(z2) No need to determine the number of copies randomly with the presence of statistical weights

slide-21
SLIDE 21
  • Prof. Markus Kraft

mk306@cam.ac.uk

Test system

  • Type space
  • So the system can be written as a series of ODEs
  • Analysed the performances of the algorithms at different

rates

  • Constant coagulation kernel (only differ in different

compartments):

  • Fragmentation: Frequency proportional to size and a

fragmentation probability density

slide-22
SLIDE 22
  • Prof. Markus Kraft

mk306@cam.ac.uk

Normalisation parameter n(z1) n(z2) n(z3) Residence time ฀(z1) ฀(z2) ฀(z3) Rate of particle leaving Particle destination 100% to z2 50% to z1 50% to z3 100% to z2

Test system: compartmental model

slide-23
SLIDE 23
  • Prof. Markus Kraft

mk306@cam.ac.uk

Errors at different frag. rates for each algorithm

slide-24
SLIDE 24
  • Prof. Markus Kraft

mk306@cam.ac.uk

SWA3 – worst algorithm errors increase with frag. rate

slide-25
SLIDE 25
  • Prof. Markus Kraft

mk306@cam.ac.uk

Experimental system

slide-26
SLIDE 26
  • Prof. Markus Kraft

mk306@cam.ac.uk

Experimental system

  • Bench scale system
  • Lactose monohydrate + deionised water
  • Online monitoring
  • Offline particle analysis (sieving)
slide-27
SLIDE 27
  • Prof. Markus Kraft

mk306@cam.ac.uk

Computational efficiency

slide-28
SLIDE 28
  • Prof. Markus Kraft

mk306@cam.ac.uk

Problems with DSA and SWA3

  • fluctuation of mass

DSA: Error mainly from transport SWA3: Error mainly from particle deletions

slide-29
SLIDE 29
  • Prof. Markus Kraft

mk306@cam.ac.uk

Conclusions

  • A new family of fragmentation algorithms for weighted

particles have been introduced in the context of granulation models

  • All the algorithms converge to the same solution, but the

new algorithms are more efficient

  • The fragmentation algorithms are applied to a multi-

dimensional population balance model

  • It is found that the new algorithms provide significant

numerical stability (e.g. negligible fluctuation in total mass)

slide-30
SLIDE 30
  • Prof. Markus Kraft

mk306@cam.ac.uk

Acknowledgements