Statistical thermodynamics for MD and MC simulations

Similar documents
Thermodynamics and Kinetics

Introduction Statistical Thermodynamics. Monday, January 6, 14

Statistical. mechanics

(# = %(& )(* +,(- Closed system, well-defined energy (or e.g. E± E/2): Microcanonical ensemble

Statistical Thermodynamics and Monte-Carlo Evgenii B. Rudnyi and Jan G. Korvink IMTEK Albert Ludwig University Freiburg, Germany

Free energy simulations

Part II: Statistical Physics

Part II: Statistical Physics

A Brief Introduction to Statistical Mechanics

ChE 503 A. Z. Panagiotopoulos 1

Unusual Entropy of Adsorbed Methane on Zeolite Templated Carbon. Supporting Information. Part 2: Statistical Mechanical Model

to satisfy the large number approximations, W W sys can be small.

Chapter 4: Going from microcanonical to canonical ensemble, from energy to temperature.

Intro/Review of Quantum

Intro/Review of Quantum

Let s start by reviewing what we learned last time. Here is the basic line of reasoning for Einstein Solids

Statistical thermodynamics (mechanics)

Computer simulation methods (1) Dr. Vania Calandrini

Statistical Mechanics in a Nutshell

Transition Theory Abbreviated Derivation [ A - B - C] # E o. Reaction Coordinate. [ ] # æ Æ

Finite Ring Geometries and Role of Coupling in Molecular Dynamics and Chemistry

Statistical thermodynamics L1-L3. Lectures 11, 12, 13 of CY101

2. Thermodynamics. Introduction. Understanding Molecular Simulation

Molecular Interactions F14NMI. Lecture 4: worked answers to practice questions

Molecular Modeling of Matter

Chemistry 431. Lecture 27 The Ensemble Partition Function Statistical Thermodynamics. NC State University

Physics 607 Final Exam

Elements of Statistical Mechanics

PHYSICS 219 Homework 2 Due in class, Wednesday May 3. Makeup lectures on Friday May 12 and 19, usual time. Location will be ISB 231 or 235.

Statistical Mechanics. Atomistic view of Materials

5. Systems in contact with a thermal bath

The Partition Function Statistical Thermodynamics. NC State University

MD Thermodynamics. Lecture 12 3/26/18. Harvard SEAS AP 275 Atomistic Modeling of Materials Boris Kozinsky

9.1 System in contact with a heat reservoir

Biomolecular modeling. Theoretical Chemistry, TU Braunschweig (Dated: December 10, 2010)

Thermodynamics & Statistical Mechanics

Energy Barriers and Rates - Transition State Theory for Physicists

Monatomic ideal gas: partition functions and equation of state.

Part II: Statistical Physics

From quantum to classical statistical mechanics. Polyatomic ideal gas.

10.40 Lectures 23 and 24 Computation of the properties of ideal gases

Grand Canonical Formalism

Lecture 8. The Second Law of Thermodynamics; Energy Exchange

Imperial College London BSc/MSci EXAMINATION May 2008 THERMODYNAMICS & STATISTICAL PHYSICS

Advanced Thermodynamics. Jussi Eloranta (Updated: January 22, 2018)

ChE 210B: Advanced Topics in Equilibrium Statistical Mechanics

Phase Equilibria and Molecular Solutions Jan G. Korvink and Evgenii Rudnyi IMTEK Albert Ludwig University Freiburg, Germany

Lecture 9 Examples and Problems

Physics 213 Spring 2009 Midterm exam. Review Lecture

Statistical Physics. The Second Law. Most macroscopic processes are irreversible in everyday life.

[S R (U 0 ɛ 1 ) S R (U 0 ɛ 2 ]. (0.1) k B

5. Systems in contact with a thermal bath

(i) T, p, N Gibbs free energy G (ii) T, p, µ no thermodynamic potential, since T, p, µ are not independent of each other (iii) S, p, N Enthalpy H

PHY 5524: Statistical Mechanics, Spring February 11 th, 2013 Midterm Exam # 1

Analysis of the simulation

a. 4.2x10-4 m 3 b. 5.5x10-4 m 3 c. 1.2x10-4 m 3 d. 1.4x10-5 m 3 e. 8.8x10-5 m 3

4. Systems in contact with a thermal bath

1. Thermodynamics 1.1. A macroscopic view of matter

Thermal and Statistical Physics Department Exam Last updated November 4, L π

Lecture 15. Available Work and Free Energy. Lecture 15, p 1

Biomolecular modeling I

Entropy and Free Energy in Biology

i=1 n i, the canonical probabilities of the micro-states [ βǫ i=1 e βǫn 1 n 1 =0 +Nk B T Nǫ 1 + e ǫ/(k BT), (IV.75) E = F + TS =

Lecture 27 Thermodynamics: Enthalpy, Gibbs Free Energy and Equilibrium Constants

1 The fundamental equation of equilibrium statistical mechanics. 3 General overview on the method of ensembles 10

ME 262A - Physical Gas Dynamics 1996 Final Exam: Open Book Portion. h = 6.62 x J s Energy conversion factor: 1 calorie = 4.

3.320 Lecture 18 (4/12/05)

Removing the mystery of entropy and thermodynamics. Part 3

Molecular energy levels and spectroscopy

5.62 Physical Chemistry II Spring 2008

Lecture 8. The Second Law of Thermodynamics; Energy Exchange

UNIVERSITY OF OSLO FACULTY OF MATHEMATICS AND NATURAL SCIENCES

although Boltzmann used W instead of Ω for the number of available states.

Classical Statistical Mechanics: Part 1

Basic Concepts and Tools in Statistical Physics

PHYS3113, 3d year Statistical Mechanics Tutorial problems. Tutorial 1, Microcanonical, Canonical and Grand Canonical Distributions

Sub -T g Relaxation in Thin Glass

We already came across a form of indistinguishably in the canonical partition function: V N Q =

Principles of Molecular Spectroscopy

First Problem Set for Physics 847 (Statistical Physics II)

Handout 10. Applications to Solids

Statistical mechanics of biological processes

6.730 Physics for Solid State Applications

510 Subject Index. Hamiltonian 33, 86, 88, 89 Hamilton operator 34, 164, 166

2m + U( q i), (IV.26) i=1

Gherman Group Meeting. Thermodynamics and Kinetics and Applications. June 25, 2009

Modelling of Reaction Mechanisms KJE-3102

IV. Classical Statistical Mechanics

Ideal gases. Asaf Pe er Classical ideal gas


Basics of Statistical Mechanics

Introduction to Statistical Thermodynamics

Energy functions and their relationship to molecular conformation. CS/CME/BioE/Biophys/BMI 279 Oct. 3 and 5, 2017 Ron Dror

Entropy and Free Energy in Biology

Energy functions and their relationship to molecular conformation. CS/CME/BioE/Biophys/BMI 279 Oct. 3 and 5, 2017 Ron Dror

Appendix C extra - Concepts of statistical physics Cextra1-1

Lecture 4: Entropy. Chapter I. Basic Principles of Stat Mechanics. A.G. Petukhov, PHYS 743. September 7, 2017

UC Berkeley. Chem 130A. Spring nd Exam. March 10, 2004 Instructor: John Kuriyan

First Law Limitations

Compressible Flow - TME085

Transcription:

Statistical thermodynamics for MD and MC simulations knowing 2 atoms and wishing to know 10 23 of them Marcus Elstner and Tomáš Kubař 22 June 2016

Introduction Thermodynamic properties of molecular systems statistical mechanics: the way from the properties of particles to the thermodynamic properties of ensembles via the partition function how is the thermodynamic equilibrium characterized? which quantities are of interest? how may these be derived from the partition function? how to derive the ensemble partition function from the partition function of a single molecule? how is partition function connected to phase-space density? MD simulation provides an alternative way to thermodynamic quantities it is difficult to obtain free energies from normal simulations

Introduction Equilibrium and spontaneous processes classical thermodynamics thermodynamic equilibrium and spontaneous process says which quantites are maximized/minimized in equilibrium and show a definite change during spontaneous processes microcanonical ensemble: equilibrium reached if entropy S maximized process spontaneously if entropy increases: S > 0 canonical ensemble more complex, as we need to consider system of interest together with surroundings (to identify equilibrium and spontaneity) to calculate anything for the supersystem impossible alternative needed

Introduction Free energy / enthalpy fundamental property How to keep our molecular system and drop the surroundings? introduce a new thermodynamic function: Helmholtz free energy F in canonical ensemble Gibbs free energy/enthalpy G in NPT ensemble F = U TS G = H TS = U + pv TS F = F (T, V ) or G = G(T, P) depends on experimentally controllable variables T and V /P a stable state of the system minimum of F or G rather than of U equivalent to maximization of entropy of universe F / G decreases in the course of spontaneous process holy grail of MD simulation

Entropy Microscopic definition of entropy W number of ways ( microstates ) in which a certain macrostate may be realized (a certain occupation of energy levels of the system) microscopic entropy: S = k B ln W (k B universal Boltzmann constant)

Entropy Microscopic definition of entropy Ludwig Boltzmann Austrian physicist

Entropy Microscopic definition of entropy S tells us something about the travel of the system through the configuration (phase) space equivalently, S can be related to the order in the system low entropy few states are occupied only a small part of configuration space accessible ordered system high entropy many states are visited extended regions of the configuration space covered less ordered system Example pile of books on a desk Jan Černý (Charles University in Prague, Dept Cellular Biology): anthropy entropy of human origin

Canonical ensemble Introduction... series of molecular structures generated by an MD simulation with the Berendsen thermostat does not represent the correct canonical ensemble what does this mean? The phase space may be sampled (walked through) in various ways just what is the correct way?

Canonical ensemble Closed system canonical ensemble system in thermal contact with the surroundings temperature rather than energy remains constant Boltzmann distribution of p i applies: p i = exp[ β ε i] Q Q = j exp[ β ε j ] Q canonical partition function (Zustandssumme) derive the meaning of β fall back to basic thermodynamics... : β = 1 k B T

Canonical ensemble Canonical partition function Q seems to be purely abstract... but to characterize the thermodynamics of a system Q is completely sufficient, all thermodynamic observables follow as functions of Q how to obtain Q? there will be 2 ways, depending on the system studied partition function connects the microscopic and macroscopic world

Canonical ensemble Using the partition function we can get all thermodynamic functions from Q: U = E = k B T 2 ln Q T S = k B T ln Q T + k B ln Q F = k B T ln Q ( ) ln Q P = k B T (equation of state) V T H = U + pv G = F + pv = H TS Michal Otyepka (Palacký University Olomouc, Dept Physical Chemistry): Just grab the partition function at the tail, and then you have everything!

Canonical ensemble 2 ways to thermodynamic properties simple molecules with 1 or few minima of energy calculate the partition function (trans+vib+rot) (probably employ approximations IG+HO+RR) derive properties from Q

Discrete energy levels Discrete systems system with discrete energy levels E i partition function: Q = i exp[ βe i ] Boltzmann distro function: (prob. of system in state E i ) p i = 1 Q exp[ βe i] example HO: E i = ( i + 1 2) ω

Discrete energy levels Using the partition function of 1 molecule partition function of a large system simplifications possible: system of n identical and indistinguishable particles (gas): Q = qn n! necessary effort reduced greatly! get the molecular partition function q (calculate 1 molecule, or 2) obtain the ensemble partition function Q and all thermodynamic quantities

Discrete energy levels Simple molecules... with 1 or few well characterized minima for a certain minimum consider contributions to energy: E = E el + E trans + E rot + E vib partition function follows as [ ( Q = exp β E el + E trans + E rot + E vib)] = or = exp[ βe el ] exp[ βe trans ] exp[ βe rot ] exp[ βe vib ] = = Q el Q trans Q rot Q vib ln Q = ln Q el + ln Q trans + ln Q rot + ln Q vib

Discrete energy levels Electronic partition function usually: quite high excitation energy electronic ground state only populated: E el (0) = 0 arbitrarily electronic partition function: Q el = exp[ βe el (0)] + exp[ βe el (1)] +... 1 + 0 +... = 1 so this may be neglected

Discrete energy levels Translational partition function calculated for quantum-mechanical particle (mass m) in a 3D box: energy levels: ( ) E nx,n y,n z = h2 nx 2 8m L 2 + n2 y x L 2 + n2 z y L 2 z quantum numbers n i = 1, 2,... partition function: ( Q trans 2πmkB T = h 2 ) 3 2 V

Discrete energy levels Rotational partition function calculated for a rigid rotor (moments of inertia I x ): energy levels: E J = B J(J + 1) quantum number J = 0, 1, 2,..., degeneracy of levels 2J + 1 rotational constant B = h2 (I moment of inertia) 8π 2 I Q rot = (2J + 1) exp J=0 [ J(J + 1) ] B k B T for asymmetric top with rotational constants B x, B y, B z : Q rot π (k B T ) 3 = B x B y B z

Discrete energy levels Vibrational partition function calculated with harmonic vibrational frequencies ω k of the molecule (computation of Hessian in the minimum of potential energy) each vibrational mode k is one harmonic oscillator energy levels: E m k = ( m + 1 2 ) ω k where E 0 k = 1 2 ω k is zero point vibrational energy partition function (using n=0 x n = 1 1 x ): Q vib k = m=0 [ ( exp β m + 1 ) ] ω k 2 = exp [ 1 2 β ω ] k 1 exp [ β ω k ] each molecule: N 6 vibrational modes = N 6 HOs example H 2 O: 3 modes (2 stretches, 1 bend)

Discrete energy levels Thermodynamic properties for enthalpy pv is needed simple for IG: pv = Nk B T then, enthalpy and Gibbs free energy follow: H = U + pv = U + Nk B T G = F + pv = F + Nk B T thermal contributions calculated by default with many QCh and MD programs whenever vibrational analysis is requested reason vibrational frequencies are computationally costly while the thermodynamics is done for free

Discrete energy levels Example vibrational contributions ln Q k = 1 2 β ω k ln [1 exp[ β ω k ]] U k = ln Q k β ( ) 1 = ω k 2 + 1 exp[β ω k ] 1 consider this for all of N 6 vibrational DOFs, dropping ZPVE: N 6 ( ) U vib ω k = exp[β ω k ] 1 k=1 F vib = k B T ln Q vib = S vib = Uvib F vib k B k B T = N 6 k=1 N 6 k=1 ( k B T ln [1 exp[ β ω k ]] β ω k exp[β ω k ] 1 ln [1 exp[ β ω k]] )

2 ways to thermodynamic properties simple molecules with 1 or few minima of energy calculate the partition function (trans+vib+rot) (probably employ approximations IG+HO+RR) derive properties from Q flexible molecules, complex molecular systems quantum mechanical energy levels cannot be calculated a single minimum of energy not meaningful do MD (MC) simulation instead, to sample phase space evaluate time averages of thermodynamic quantities

Continuous distribution of energy Systems with continuous distribution of energy dynamics of molecules at different tot. energies or temperatures, differently extended regions of conformational space are sampled complex energy landscape E pot (x) blue and red trajectories at different total energies different phase-space densities

Continuous distribution of energy Continuous systems canonical ensemble every point in phase space a certain value of energy composed of E pot = E pot ( r) (force field), E kin = E kin ( p) continuous energy levels infinitesimally narrow spacing canonical probability distribution function probability to find the system in state with E: P( r, p) = ρ( r, p) = 1 [ Q exp E( r, p) ] k B T perform MD simulation with a correct thermostat, or MC sim. the goal is to obtain the right probability density ρ partition fction Q integral over phase space rather than sum [ Q = exp E( r, p) ] d r d p k B T

Continuous distribution of energy Thermodynamic quantities sampling ρ( r, p) gives the probability of finding the system at ( r, p) typically: system is sampling only a part of phase space (P 0): sampling in MD or MC undamped and damped classical HO

Continuous distribution of energy Thermodynamic quantities sampling thermodynamic quantities weighted averages: A = A ρ( r, p) d r d p ρ( r, p) d r d p why do MD?... obtain the correct phase-space density ρ ergodic simulation thermodynamic potentials U, H etc. are obtained as time averages A = 1 t1 A(t) dt t 1 t 0 t 0 valid only if the simulation has sampled the canonical ensemble phase-space density is correct the density ρ is present in the the trajectory inherently e.g. structure with high ρ occur more often

Continuous distribution of energy Thermodynamic quantities sampling Thus, we have the following to do: perform MD simulation (with correct thermostat!) trajectory in phase space (simulation has taken care of the phase-space density) get time averages of desired thermodynamic properties A = 1 t1 A(t) dt t 1 t 0 t 0

Aiming at free energies Thermodynamic quantities sampling we have to obtain the phase-space density with MD simulation ρ( r, p) = exp[ βe( r, p)] Q r = {r 1,..., r 3N }, p = {p 1,..., p 3N } which is the probability of system occuring at point ( r, p) How long an MD simulation can we perform? 1 ps 1,000 points in trajectory 10 ns 10M points we cannot afford much more example we have 1,000 points then, we have hardly sampled ( r, p) for which ρ( r, p) 1 1000 points with high energy will be never reached! (while low-energy region may be sampled well)

Aiming at free energies Missing high-energy points in sampling High-energy points B and C may be sampled badly a typical problem in MD simulations of limited length the corresponding large energies are missing in averaging when does this matter? no serious error for the internal energy exponential dependence of phase-space density kills the contribution ρ( r, p) = exp[ βe( r, p)] Q

Aiming at free energies Missing high-energy points in sampling Free energies determine the spontaneity of process NVT canonical Helmholtz function F NPT canonical Gibbs function G the relevant quantity always obtained depending on whether NVT or NPT simulation is performed much more pronounced sampling issues than e.g. for internal energy!

Aiming at free energies Missing high-energy points in sampling F = k B T ln Q = k B T ln 1 Q = = k B T ln c 1 exp[βe( r, p)] exp[ βe( r, p)] d r d p Q = k B T ln exp[βe( r, p)] ρ( r, p) d r d p ln c [ ] E = k B T ln exp ln c k B T = serious issue the large energy values enter an exponential, and so the high-energy regions may contribute significantly! if these are undersampled, then free energies are wrong calculation of free energies impossible! special methods needed!