1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE 591-009 Prof. C. Heath Turner Lecture 14 Some materials adapted from Prof. Keith E. Gubbins:

Slides:



Advertisements
Similar presentations
Review Of Statistical Mechanics
Advertisements

Lecture 13: Conformational Sampling: MC and MD Dr. Ronald M. Levy Contributions from Mike Andrec and Daniel Weinstock Statistical Thermodynamics.
Markov Chain Monte Carlo Convergence Diagnostics: A Comparative Review By Mary Kathryn Cowles and Bradley P. Carlin Presented by Yuting Qi 12/01/2006.
Monte Carlo Methods and Statistical Physics
11 - Markov Chains Jim Vallandingham.
Lecture 3: Markov processes, master equation
BAYESIAN INFERENCE Sampling techniques
1 CE 530 Molecular Simulation Lecture 8 Markov Processes David A. Kofke Department of Chemical Engineering SUNY Buffalo
Computational statistics 2009 Random walk. Computational statistics 2009 Random walk with absorbing barrier.
The University of Texas at Austin, CS 395T, Spring 2008, Prof. William H. Press IMPRS Summer School 2009, Prof. William H. Press 1 4th IMPRS Astronomy.
MAE 552 – Heuristic Optimization Lecture 6 February 6, 2002.
Machine Learning CUNY Graduate Center Lecture 7b: Sampling.
CE 400 Honors Seminar Molecular Simulation Prof. Kofke Department of Chemical Engineering University at Buffalo, State University of New York Class 4.
Simulated Annealing Van Laarhoven, Aarts Version 1, October 2000.
Introduction to Monte Carlo Methods D.J.C. Mackay.
6. Markov Chain. State Space The state space is the set of values a random variable X can take. E.g.: integer 1 to 6 in a dice experiment, or the locations.
1 CE 530 Molecular Simulation Lecture 7 David A. Kofke Department of Chemical Engineering SUNY Buffalo
Advanced methods of molecular dynamics Monte Carlo methods
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 11 Some materials adapted from Prof. Keith E. Gubbins:
Monte-Carlo simulations of the structure of complex liquids with various interaction potentials Alja ž Godec Advisers: prof. dr. Janko Jamnik and doc.
Free energies and phase transitions. Condition for phase coexistence in a one-component system:
Monte Carlo Simulation of Liquid Water Daniel Shoemaker Reza Toghraee MSE 485/PHYS Spring 2006.
1 CE 530 Molecular Simulation Lecture 17 Beyond Atoms: Simulating Molecules David A. Kofke Department of Chemical Engineering SUNY Buffalo
1 CE 530 Molecular Simulation Lecture 18 Free-energy calculations David A. Kofke Department of Chemical Engineering SUNY Buffalo
Basic Monte Carlo (chapter 3) Algorithm Detailed Balance Other points.
The Local Free Energy Landscape - a Tool to Understand Multiparticle Effects University of Leipzig, Institut of Theoretical Physics Group Molecular Dynamics.
Microscopic states (microstates) or microscopic configurations under external constraints (N or , V or P, T or E, etc.)  Ensemble (micro-canonical, canonical,
1 CE 530 Molecular Simulation Lecture 6 David A. Kofke Department of Chemical Engineering SUNY Buffalo
Monte Carlo Methods1 T Special Course In Information Science II Tomas Ukkonen
Simulated Annealing.
For a new configuration of the same volume V and number of molecules N, displace a randomly selected atom to a point chosen with uniform probability inside.
Markov Chain Monte Carlo and Gibbs Sampling Vasileios Hatzivassiloglou University of Texas at Dallas.
1 CE 530 Molecular Simulation Lecture 22 Chain-Molecule Sampling Techniques David A. Kofke Department of Chemical Engineering SUNY Buffalo
Statistical Mechanics and Multi-Scale Simulation Methods ChBE
Plan Last lab will be handed out on 11/22. No more labs/home works after Thanksgiving. 11/29 lab session will be changed to lecture. In-class final (1hour):
1 M.Sc. Project of Hanif Bayat Movahed The Phase Transitions of Semiflexible Hard Sphere Chain Liquids Supervisor: Prof. Don Sullivan.
Suppressing Random Walks in Markov Chain Monte Carlo Using Ordered Overrelaxation Radford M. Neal 발표자 : 장 정 호.
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 25 Some materials adapted from Prof. Keith E. Gubbins:
Exploring the connection between sampling problems in Bayesian inference and statistical mechanics Andrew Pohorille NASA-Ames Research Center.
NCN nanoHUB.org Wagner The basics of quantum Monte Carlo Lucas K. Wagner Computational Nanosciences Group University of California, Berkeley In collaboration.
1 CE 530 Molecular Simulation Lecture 10 Simple Biasing Methods David A. Kofke Department of Chemical Engineering SUNY Buffalo
Lecture 2 Molecular dynamics simulates a system by numerically following the path of all particles in phase space as a function of time the time T must.
Molecular Modelling - Lecture 2 Techniques for Conformational Sampling Uses CHARMM force field Written in C++
Path Integral Quantum Monte Carlo Consider a harmonic oscillator potential a classical particle moves back and forth periodically in such a potential x(t)=
Bioinformatics: Practical Application of Simulation and Data Mining Markov Modeling I Prof. Corey O’Hern Department of Mechanical Engineering Department.
7. Metropolis Algorithm. Markov Chain and Monte Carlo Markov chain theory describes a particularly simple type of stochastic processes. Given a transition.
Monte Carlo method: Basic ideas. deterministic vs. stochastic In deterministic models, the output of the model is fully determined by the parameter values.
Interacting Molecules in a Dense Fluid
An Introduction to Monte Carlo Methods in Statistical Physics Kristen A. Fichthorn The Pennsylvania State University University Park, PA
Monte Carlo in different ensembles Chapter 5
Monte Carlo methods (II) Simulating different ensembles
MSc in High Performance Computing Computational Chemistry Module Parallel Molecular Dynamics (i) Bill Smith CCLRC Daresbury Laboratory
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 17 Some materials adapted from Prof. Keith E. Gubbins:
Inference of Non-Overlapping Camera Network Topology by Measuring Statistical Dependence Date :
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 19 Some materials adapted from Prof. Keith E. Gubbins:
CS Statistical Machine learning Lecture 25 Yuan (Alan) Qi Purdue CS Nov
Statistical Mechanics and Multi-Scale Simulation Methods ChBE
STAT 534: Statistical Computing
Basic Monte Carlo (chapter 3) Algorithm Detailed Balance Other points non-Boltzmann sampling.
Lecture 14: Advanced Conformational Sampling Dr. Ronald M. Levy Statistical Thermodynamics.
Kevin Stevenson AST 4762/5765. What is MCMC?  Random sampling algorithm  Estimates model parameters and their uncertainty  Only samples regions of.
Computational Physics (Lecture 10) PHY4370. Simulation Details To simulate Ising models First step is to choose a lattice. For example, we can us SC,
Systematic errors of MC simulations Equilibrium error averages taken before the system has reached equilibrium  Monitor the variables you are interested.
The Monte Carlo Method/ Markov Chains/ Metropolitan Algorithm from sec in “Adaptive Cooperative Systems” -summarized by Jinsan Yang.
Computational Physics (Lecture 10)
Markov chain monte carlo
14. TMMC, Flat-Histogram and Wang-Landau Method
Metropolis Light Transit
CE 530 Molecular Simulation
Presentation transcript:

1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 14 Some materials adapted from Prof. Keith E. Gubbins: Some materials adapted from Prof. David Kofke:

2 Review  Monte Carlo simulation Markov chain to generate elements of ensemble with proper distribution  Metropolis algorithm relies on microscopic reversibility two parts to a Markov step úgenerate trial move (underlying transition probability matrix) údecide to accept move or keep original state  Determination of acceptance probabilities detailed analysis of forward and reverse moves we examined molecule displacement, volume-change trials, and insertion trials

3 Grand Canonical Insertions

4 Biasing the Underlying Markov Process  Detailed balance for trial/acceptance Markov process  Often it happens that  ij is small while  is large (or vice-versa) even if product is of order unity,  ij will be small because of min()  The underlying TPM can be adjusted (biased) to enhance movement among states bias can be removed in reverse trial probability, or acceptance require in general ideally,  will be unity (all trials accepted) even for a “large” change úrarely achieve this level of improvement

5 Example: Biased Insertion in GCMC  Grand-canonical Monte Carlo (  VT) fluctuations in N require insertion/deletion trials at high density, insertions may be rarely accepted   ij is small for a j state with additional, non-overlapping molecule at high chemical potential, limiting distribution strongly favors additional molecules   is large for (N+1) state with no overlap apply biasing to improve acceptance first look at unbiased algorithm

6 Insertion/Deletion Trial Move 1. Specification  Gives new configuration of same volume but different number of molecules  Choose with equal probability: insertion trial: add a molecule to a randomly selected position deletion trial: remove a randomly selected molecule from the system  Limiting probability distribution grand-canonical ensemble

7 Insertion/Deletion Trial Move 2. Analysis of Trial Probabilities  Detailed specification of trial moves and and probabilities Forward-step trial probability Reverse-step trial probability  is formulated to satisfy detailed balance

8 Insertion/Deletion Trial Move 3. Analysis of Detailed Balance Detailed balance ii  ij jj  ji = Limiting distribution Forward-step trial probability Reverse-step trial probability

9 Insertion/Deletion Trial Move 3. Analysis of Detailed Balance Detailed balance ii  ij jj  ji = Forward-step trial probability Reverse-step trial probability Limiting distribution

10 Insertion/Deletion Trial Move 3. Analysis of Detailed Balance Detailed balance ii  ij jj  ji = Forward-step trial probability Reverse-step trial probability Acceptance probability for an insertion

11 Biased Insertion/Deletion Trial Move 1. Specification  Trial-move algorithm. Choose with equal probability: Insertion úidentify region where insertion will not lead to overlap  let the volume of this region be  V úplace randomly somewhere in this region Deletion úselect any molecule and delete it Insertable region

12 Biased Insertion/Deletion Trial Move 2. Analysis of Trial Probabilities  Detailed specification of trial moves and and probabilities Forward-step trial probability Reverse-step trial probability Only difference from unbiased algorithm

13 Biased Insertion/Deletion Trial Move 3. Analysis of Detailed Balance Detailed balance ii  ij jj  ji = Acceptance probability Remember This is the acceptance probability for an insertion. Deletions will be slightly different.  must be computed even when doing a deletion, since  depends upon it  for deletion,  is computed for configuration after molecule is removed  for insertion  is computed for configuration before molecule is inserted

14  Advantage is gained when  is small and is large for hard spheres near freezing ú (difficult to accept deletion without bias) ú (difficult to find acceptable insertion without bias) ú  Identifying and characterizing (computing  ) the non-overlap region may be difficult Biased Insertion/Deletion Trial Move 4. Comments

15 Force-Bias Trial Move 1. Specification  Move atom preferentially in direction of lower energy select displacement in a cubic volume centered on present position within this region, select with probability C = c x c y is a normalization constant f Favors  r y in same direction as f y Pangali, Rao, and Berne, Chem. Phys. Lett (1978)

16 Force-Bias Trial Move 2. Analysis of Trial Probabilities  Detailed specification of trial moves and and probabilities Forward-step trial probability Reverse-step trial probability

17 Force-Bias Trial Move 3. Analysis of Detailed Balance Detailed balance ii  ij jj  ji = Limiting distribution Forward-step trial probability Reverse-step trial probability

18 Force-Bias Trial Move 3. Analysis of Detailed Balance Acceptance probability Detailed balance ii  ij jj  ji = Forward-step trial probability Reverse-step trial probability

19  Necessary to compute force both before and after move  From definition of force = 1/2 makes argument of exponent nearly zero = 0 reduces to unbiased case  Force-bias makes Monte Carlo more like molecular dynamics example of hybrid MC/MD method  Improvement in convergence by factor or 2-3 observed worth the effort? Force-Bias Trial Move 4. Comments

20 Association-Bias Trial Move 1. Specification  Low-density, strongly attracting molecules when together, form strong associations that take long to break when apart, are slow to find each other to form associations performance of simulation is a problem  Perform moves that put one molecule preferentially in vicinity of another suffer overlaps, maybe 50% of time compare to problem of finding associate only 1 time in (say) 1000  Must also preferentially attempt reverse move Attempt placement in this region, of volume  V

21 Association-Bias Trial Move 1. Specification  With equal probability, choose a move: Association úselect a molecule that is not associated úselect another molecule (associated or not)  put first molecule in volume  V in vicinity of second Disassociation úselect a molecule that is associated úmove it to a random position anywhere in the system

22 Association-Bias Trial Move 2. Analysis of Trial Probabilities  Detailed specification of trial moves and and probabilities Forward-step trial probability Reverse-step trial probability (*) incorrect

23 Association-Bias Trial Move 3. Analysis of Detailed Balance Acceptance probability Detailed balance ii  ij jj  ji = Forward-step trial probability Reverse-step trial probability

24  This is incorrect!  Need to account for full probability of positioning in r new must look in local environment of trial position to see if it lies also in the neighborhood of other atoms  add a 1/  V for each atom  Algorithm requires to identify or keep track of number of associated/unassociated molecules Association-Bias Trial Move 4. Comments This region has extra probability of being selected (in vicinity of two molecules)

25 Using an Approximation Potential 1. Specification  Evaluating the potential energy is the most time-consuming part of a simulation  Some potentials are especially time-consuming, e.g. three-body potentials Ewald sum  Idea: move system through Markov chain using an approximation to the real potential (cheaper to compute) at intervals, accept or reject entire subchain using correct potential True potentialApproximateTrue potential

26 Approximation Potential 2. Analysis of Trial Probabilities  What are  ij and  ji ?  Given that each elementary Markov step obeys detailed balance for the approximate potential… …one can show that the “super-step” i  j also obeys detailed balance (for the approximate potential) very hard to analyze without this result úwould have to consider all paths from i to j to get transition probability 123n State iState j

27 Approximation Potential 3. Analysis of Detailed Balance  Formulate acceptance criterion to satisfy detailed balance for the real potential 123n State iState j Approximate-potential detailed balance

28 Approximation Potential 3. Analysis of Detailed Balance  Formulate acceptance criterion to satisfy detailed balance for the real potential 123n State iState j Approximate-potential detailed balance

29 Approximation Potential 3. Analysis of Detailed Balance  Formulate acceptance criterion to satisfy detailed balance for the real potential 123n State iState j Close to 1 if approximate potential is good description of true potential

30 Summary  Good Monte Carlo keeps the system moving among a wide variety of states  At times sampling of wide distribution is not done well many states of comparable probability not easily reached few states of high probability hard to find and then escape  Biasing the underlying transition probabilities can remedy problem add bias to underlying TPM remove bias in acceptance step so overall TPM is valid  Examples insertion/deletion bias in GCMC force bias association bias using an approximate potential