Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach •...

38
Kinetic Monte Carlo Simulations of Surface Reactions Michail Stamatakis University College London Kinetic Monte Carlo Crash-Course and Workshop http://zacros.org/workshop

Transcript of Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach •...

Page 1: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Kinetic Monte Carlo Simulations of Surface Reactions

Michail Stamatakis

University College London

Kinetic Monte Carlo Crash-Course and Workshop

http://zacros.org/workshop

Page 2: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

• DFT Calculations in Catalysis: Electronic structure of materials Stability of intermediates Chemical pathways and energy barriers

Why Do Kinetic Modelling in Catalysis and Surface Science?2

Need “predictive models able to capture trends in activity and selectivity”

• Parallel or competing pathways?

• Temperature and pressure effects?

• Coverage effects on reaction rates?

Kinetic modelling necessary

Page 3: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

The Kinetic Monte Carlo Approach

• Instead of simulating dynamics, KMC1 focuses on rare events

• Simulates reactions much faster than Molecular Dynamics

• Incorporates spatial information contrary to micro-kinetic models2

3

reactants

products

Potential Energy Surface

Metal surface

CO(gas) + OH COOH

1 M. Neurock and E. W. Hansen, Comput. Chem. Eng. 22, S1045 (1998); K. Reuter and M. Scheffler, Phys. Rev. Lett. 90: 046103 (2003); M. Stamatakis, J. Phys. Condens. Matter. 27: 013001 (2015).

2 J. A. Dumesic et al., The Microkinetics of Heterogeneous Catalysis. (American Chemical Society, 1993).

Page 4: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

The Kinetic Monte Carlo Approach

• Instead of simulating dynamics, KMC1 focuses on rare events

• Simulates reactions much faster than Molecular Dynamics

• Incorporates spatial information contrary to micro-kinetic models2

4

reactants

productstransition

state

B

E‡k TB

rxn

rxn

k T Qk e

h Q

Metal

surface

Potential Energy Surface

CO(gas) + OH COOH

1 M. Neurock and E. W. Hansen, Comput. Chem. Eng. 22, S1045 (1998); K. Reuter and M. Scheffler, Phys. Rev. Lett. 90: 046103 (2003); M. Stamatakis, J. Phys. Condens. Matter, 27: 013001 (2015).

2 J. A. Dumesic et al., The Microkinetics of Heterogeneous Catalysis. (American Chemical Society, 1993).

Page 5: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Outline5

• Atomistic/Molecular level

– Calculating rates for elementary events (transition state theory)

• Mesoscopic level

– Simulating reactions on spatially extended systems

• Accurate modelling of catalytic surface reactions

– Complex materials (lattices)

– Complicated reactions

– Coverage effects

reactants

products

Potential Energy Surface

O* CO* CO2**

Page 6: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Outline6

• Atomistic/Molecular level

– Calculating rates for elementary events (transition state theory)

• Mesoscopic level

– Simulating reactions on spatially extended systems

• Accurate modelling of catalytic surface reactions

– Complex materials (lattices)

– Complicated reactions

– Coverage effects

reactants

products

Potential Energy Surface

O* CO* CO2**

Page 7: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

A B C D

Potential Energy Surface

A + B

C + D

Transition state region

Reaction Coordinate

d

Transition State Theory7

A B

Q

Q Q

• Assumption: quasi-equilibrium between initial state and transition state:

A B3 N

B

1Q exp d where N N N

h k T

H

A B

A BA A B B3 N 3 N

B B

1 1Q exp d and Q exp d

h k T h k T

H H

P. Pechukas, Statistical Approximations in Collision Theory, In Dynamics of Molecular Collisions - Part B, W. Miller, ed. Springer 1976

Page 8: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Transition State Theory8

• Assumption: at the transition state the Hamiltonian can be expressed as:

2‡p

2 m

H H

‡‡

3 N

2

B

1

B

1exp d

h k

pQ exp dp

h 2 m kT T

d

H

Therefore:

kinetic energy (alongreaction coordinate) “everything else”

BQ 2 m k TQh

d

A B C D

Potential Energy Surface

A + B

C + D

Transition state region

Reaction Coordinate

d

P. Pechukas, Statistical Approximations in Collision Theory, In Dynamics of Molecular Collisions - Part B, W. Miller, ed. Springer 1976

Page 9: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Transition State Theory9

• Now number of transitions from reactants to products per unit time is (on average):

TST TSTr dt k A B dt

d

Reaction

CoordinateTransition

stateregion

t t + dt

dx

p/m*

dx = pdt/m*

2

B0

2

B0

p dt pexp dp

m 2 m k T

pexp dp

2 m k T

d

dt m Bk T

m

d B2 m k T

A B C D

P. Pechukas, Statistical Approximations in Collision Theory, In Dynamics of Molecular Collisions - Part B, W. Miller, ed. Springer 1976

Potential Energy Surface

A + B

C + D

Transition state regiond

Page 10: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Transition State Theory10

A B

Q

Q Q

B

TST

B

k Tk

A B 2 m k T

d

BQ Q 2 m k Th

d

• Collecting the relations in red boxes:

… we end up with:‡

BTST

A B

k TQk

Q Q h

Usually, one encounters a slightly modified version:

– Fudge factor accounting for re-crossings

– Potential energy contribution taken out of the partition functions

‡ ‡

BTST

reac B

k T q Ek exp

h q k T

P. Pechukas, Statistical Approximations in Collision Theory, In Dynamics of Molecular Collisions - Part B, W. Miller, ed. Springer 1976

Page 11: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

So What Does It All Mean?11

• = average number of transitions from reactants to products per unit time. But what about the statistics?

Ensemble

TST TSTr k A B dt

• The system is memoryless

– Waiting time for reaction events follows the exponential distribution with rate parameter rTST

– Number of events in given time interval follows the Poisson distribution with rate parameter rTST

TSTr Exp events TSTN rP

Page 12: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Outline12

• Atomistic/Molecular level

– Calculating rates for elementary events (transition state theory)

• Mesoscopic level

– Simulating reactions on spatially extended systems

• Accurate modelling of catalytic surface reactions

– Complex materials (lattices)

– Complicated reactions

– Coverage effects

reactants

products

Potential Energy Surface

O* CO* CO2**

Page 13: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

From One Reaction to Many…13

• Many species on catalytic surface, many possible reaction types,

1 TST,1r Exp

2 TST,2r Exp

n TST,nr Exp

n

i TST,ii

i 1

min r

Exp

each with its own rate constant:

Time of occurrence of next event:

Event to occur: the one with the smallest time.

Page 14: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

From One Reaction to Many…14

• Many species on catalytic surface, many possible reaction types,

each with its own rate constant.

n

i TST,ii

i 1

min r

Exp

Time of occurrence of next event:

Event to occur: the one with the smallest time.

we can simulate a sequence of lattice configurations and take samples

Equation governing the statistics of these configurations?

Page 15: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

The Master Equation15

dPW P W P

dt

σ σ σ σ

σ

σσ σ

Probability of configuration Probability efflux to other configurations

Probability influx from other configurations

0,0,1,1,1,0,0,1,0σ

3 6 9

2 5 8

1 4 7

3 6 9

2 5 8

1 4 7

Adsorption on site 9

0,0,1,1,1,0,0,1, σ 1

0,0,1,1, ,0,0,1,0 0σ

3 6 9

2 5 8

1 4 7

Adsorption on site 5

Page 16: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

The Master Equation16

dPW P W P

dt

σ σ σ σ

σ

σσ σ

Probability of configuration Probability efflux to other configurations

Probability influx from other configurations

• Equation linear with respect to P() but state space often too large,

e.g. for lattice gas 2Nsites = 5.621014 for Nsites = 49

We simulate & sample stochastic trajectories (KMC method)

Jansen, A. P. J. (2012). An introduction to kinetic Monte Carlo simulations of surface reactions. Berlin, Springer-Verlag.Darby, M. T., Piccinin, S. and M. Stamatakis (2016). Chapter 4: First principles-based kinetic Monte Carlo simulation in catalysis” in Kasai, H. and M. C. S. E. Escaño (Eds.), Physics of Surface, Interface and Cluster Catalysis, Bristol, UK: IOP Publishing.

Page 17: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

KMC Algorithm Flowchart17

Initialize all data structures &

populate lattice

Create a queue of all microscopic

processes

t < tfinal?

Advance time to that of the first process to occur

Execute Process

Update state and event queue

Terminate

Define simulation (read input)

Report observables

Preparatory operationsMain KMC loop

Yes

No

Jansen, A. P. J. (2012). An introduction to kinetic Monte Carlo simulations of surface reactions. Berlin, Springer-Verlag.Darby, M. T., Piccinin, S. and M. Stamatakis (2016). Chapter 4: First principles-based kinetic Monte Carlo simulation in catalysis” in Kasai, H. and M. C. S. E. Escaño (Eds.), Physics of Surface, Interface and Cluster Catalysis, Bristol, UK: IOP Publishing.

Page 18: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Typical KMC Output18

Page 19: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Outline19

• Atomistic/Molecular level

– Calculating rates for elementary events (transition state theory)

• Mesoscopic level

– Simulating reactions on spatially extended systems

• Accurate modelling of catalytic surface reactions

– Complex materials (lattices)

– Complicated reactions

– Coverage effects

reactants

products

Potential Energy Surface

O* CO* CO2**

Page 20: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Graph-Theoretical KMC Approach20

• Lattice represented as graph

• Multiple site types

• Arbitrary connectivity of sites

O* CO* CO2**

O* CO*

• State: molecular entity, species, and dentate for every site

• Multi-dentate species allowed

• Orientation explicitly captured

M. Stamatakis and D. G. Vlachos, J. Chem. Phys. 134(21): 214115 (2011).

CO2**

Page 21: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Lattice State Representation21

site1 site2

Multi-dentate species modeled (bind to more than one sites)

Subunit2 Subunit1

Lattice represented as graph

State specifies species & dentation site

1 15 0 1

2 5 0 1

3 16 0 1

7 21 1 1

18 7 2 1

24 31 3 1

31 31 3 2

32 3 0 1

Site Entity Species Dentate

Page 22: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Lattice State Representation22

site1 site2

Multi-dentate species modeled (bind to more than one sites)

Subunit2 Subunit1

Lattice represented as graph

State specifies species & dentation site

Entity Species Sites1 0 4

7 2 18

21 1 7

31 3 24,31

Page 23: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

O* CO* CO2**

Elementary Step Representation23

Elementary steps connected graphs

Subgraph isomorphism used to

• identify possible elementary steps

•map them to lattice processes

O*CO*CO2**

O*CO*CO2**

M. Stamatakis and D. G. Vlachos, J. Chem. Phys. 134(21): 214115 (2011).

Page 24: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Solving the Subgraph Isomorphism24

• Subraph isomorphism:

• Create all permutations of Nsub out of NL lattice sites

• Check each permutation

• Optimizations:

• Check permutations while constructing (Ullmann 1976)

• Consider only sites within certain distance from entity

localized pattern search

CO*N*NO**

CO*

N*

st1st1

NO**

st2

CO2

st1st1

st2

M. Stamatakis and D. G. Vlachos, J. Chem. Phys. 134(21): 214115 (2011).

Page 25: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Lattice Process Lists25

• Given lattice state, each lattice process fully specified by• Type of elementary step

• Site mapping:

Process Elem. Step Sites1 1 4

2 2 5,6

3 1 5

4 1 6

5 3 2,3,1

Entity #Procs Processes1 5 34,12,65,74,10

2 3 12,2,1

3 1 5

4 2 6,8

5 3 43,30,1

Participation ArrayWhich process entity Ei participates in?

Lattice Process Elementary StepWhich sites are involved in process Pi?

M. Stamatakis and D. G. Vlachos, J. Chem. Phys. 134(21): 214115 (2011).

Page 26: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

KMC Book-keeping26

Process Elem. Step Sites1 1 4

2 2 5,6

3 1 5

4 1 6

5 3 2,3,1

Entity #Procs Processes1 5 34,12,65,74,10

2 3 12,2,1

3 1 5

4 2 6,8

5 3 43,30,1

Lattice sites

Entities(adsorbates or

empty sites)

Lattice processes

1 15 0 1

2 5 0 1

3 16 0 1

7 21 1 1

18 7 2 1

24 31 3 1

31 31 3 2

32 3 0 1

Site Entity Species Dentate

1 0 4

7 2 18

21 1 7

31 3 24,31

Entity Species Sites

M. Stamatakis and D. G. Vlachos, J. Chem. Phys. 134(21): 214115 (2011).

Page 27: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Selecting the Next Event to Happen27

40.02

50.08

10.06

80.11

100.23

20.12

70.10

60.28

90.17

30.37

Process #

Time

Top

Process

• Heap structure:

• Partially ordered binary tree

• Each node has priorityover all its children nodes

• Priority determined by event’s execution time

• Insert, update, removeoperations reorder the tree so that the heap property is always satisfied

• Next KMC event always found in the top node

Page 28: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Use of Heap Arrays for Queue Construction28

• Heap structures for the queue of processes to be executed

• Addition, removal, update of a process automatic sorting

40.02

50.08

10.06

80.11

100.23

20.12

70.10

60.28

90.17

30.37

Process #

Time

Top

Process

Page 29: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Heap Removal Operation29

• Assume that process 4 just occurred

• Removal of that process from the heap:

40.02

50.08

10.06

80.11

100.23

20.12

70.10

60.28

90.17

30.37

Process #

Time

40.23

Page 30: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Heap Addition Operation30

• Assume we just found another feasible lattice process

• Addition of the 10th process:

10.06

50.08

80.11

90.17

40.23

20.12

70.10

60.28

30.37

100.01

Page 31: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Heap Addition Operation31

• Assume we just found another feasible lattice process

• Addition of the 10th process:

10.06

50.08

80.11

90.17

100.01

20.12

70.10

60.28

30.37

40.23

Page 32: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Heap Addition Operation32

• Assume we just found another feasible lattice process

• Addition of the 10th process:

10.06

50.08

100.01

90.17

80.11

20.12

70.10

60.28

30.37

40.23

Page 33: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Outline33

• Atomistic/Molecular level

– Calculating rates for elementary events (transition state theory)

• Mesoscopic level

– Simulating reactions on spatially extended systems

• Accurate modelling of catalytic surface reactions

– Complex materials (lattices)

– Complicated reactions

– Coverage effects

reactants

products

Potential Energy Surface

O* CO* CO2**

Page 34: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Number of instances of interactions pattern

Effective cluster interaction

Non-ideal Adlayers34

• Adsorbates on the surface exert attractive/repulsive interactions

• of the adlayer is not (necessarily) equal to the sum of adsorption energies, e.g.:

3 6 9

2 5 8

1 4 7

Etot = 4E( ) + 2E( ) + 2E( ) + …

Single body terms (adsorption energies)

Interaction energies (2-body and many-body)

CN

kk

k 1 k

ECINCE

GM

σ σH

• In the general case: cluster expansion

Graph multiplicity

Patterns represented as graphs, detected using same ideas as for reactions…

J. Nielsen, M. d’Avezac, J. Hetherington and M. Stamatakis, J. Chem. Phys. 139 (22), 224706 (2013).

Page 35: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Modelling Coverage Effects35

• Attractive or repulsive interactions affecting rate, e.g.

i

a int j

j

des,i des i

B

E J

W A expk T

i 2

3

1

4 i 2

3

1

4 i 2

3

1

4 i 2

3

1

4 i 2

3

1

4

Rate increases for repulsive interactions

(Jint > 0)

Treating the general case?

J. Nielsen, M. d’Avezac, J. Hetherington and M. Stamatakis, J. Chem. Phys. 139 (22), 224706 (2013).

Page 36: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Brønsted-Evans-Polanyi Relations

• Linear correlation between activation and reaction energy

• Captures effect of local reaction environment on rate

36E

nerg

y

Reaction Coordinate

Initial

State

Transition State

Final State

Efwd,0

‡ Efwd()‡

Erxn()Erxn,0

‡ ‡fwd fwd,0 rxn rxn,0E E E E σ σ

‡ ‡rev rev,0 rxn rxn,0E E 1 E E σ σ

‡ ‡rxn fwd revE E E σ σ σ

‡ ‡rev,0 fwd,0 rxn,0E E E

… as expected (micro-reversibility)

J. Nielsen, M. d’Avezac, J. Hetherington and M. Stamatakis, J. Chem. Phys. 139 (22), 224706 (2013).

Page 37: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Putting It All Together: Algorithm Outline37

• Initialize all data structures & populate lattice

•Create a heap of all microscopic processes

•While t < tfinal

•Advance time to that of the top process

•Execute corresponding process:

– Remove reactants from lattice, and associated processes and energetics

– Add products into lattice, add new energetic interactions

•Update event queue:

– Add to heap all processes in which newly added products can participate

– Update processes of existing processes if needed (energetic interactions)

•Repeat

Page 38: Kinetic Monte Carlo Simulations of Surface Reactions · The Kinetic Monte Carlo Approach • Instead of simulating dynamics, KMC1 focuses on rare events • Simulates reactions much

Take Home Messages

• Kinetic Monte-Carlo (KMC) simulation:

– Versatile framework applicable to adsorption/desorption, reaction, diffusion (and other) processes

– Attracting growing interest in the last few years

• KMC provides unique insight, by bridging

– molecular scale processes (micro) &

– observable phenomena (meso, macro)

– having a dynamic component…

38

Number of articles published

per year containing the

keywords “kinetic Monte

Carlo” and “catalys*” (data

from Web of Science)