Monte Carlo (MC) Simulation Methods. Elisa Fadda

Similar documents
Computer simulation methods (1) Dr. Vania Calandrini

Random Walks A&T and F&S 3.1.2

André Schleife Department of Materials Science and Engineering

Understanding Molecular Simulation 2009 Monte Carlo and Molecular Dynamics in different ensembles. Srikanth Sastry

Monte Carlo Methods in Statistical Mechanics

Monte Carlo. Lecture 15 4/9/18. Harvard SEAS AP 275 Atomistic Modeling of Materials Boris Kozinsky

Electronic Supplementary Information

Copyright 2001 University of Cambridge. Not to be quoted or copied without permission.

Kinetic Monte Carlo (KMC) Kinetic Monte Carlo (KMC)

Basics of Statistical Mechanics

Parallel Tempering Algorithm in Monte Carlo Simulation

3.320 Lecture 18 (4/12/05)

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

Statistical Mechanics in a Nutshell

Advanced sampling. fluids of strongly orientation-dependent interactions (e.g., dipoles, hydrogen bonds)

Classical Monte-Carlo simulations

Distance Constraint Model; Donald J. Jacobs, University of North Carolina at Charlotte Page 1 of 11

Lecture 2+3: Simulations of Soft Matter. 1. Why Lecture 1 was irrelevant 2. Coarse graining 3. Phase equilibria 4. Applications

Pattern Recognition and Machine Learning. Bishop Chapter 11: Sampling Methods

3.320: Lecture 19 (4/14/05) Free Energies and physical Coarse-graining. ,T) + < σ > dµ

Markov Processes. Stochastic process. Markov process

Modeling & Simulation of Glass Structure

The XY-Model. David-Alexander Robinson Sch th January 2012

Chapter 5 - Systems under pressure 62

Any live cell with less than 2 live neighbours dies. Any live cell with 2 or 3 live neighbours lives on to the next step.

ICCP Project 2 - Advanced Monte Carlo Methods Choose one of the three options below

Crystal Structure Prediction using CRYSTALG program

J ij S i S j B i S i (1)

MONTE CARLO METHOD. Reference1: Smit Frenkel, Understanding molecular simulation, second edition, Academic press, 2002.

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

4/18/2011. Titus Beu University Babes-Bolyai Department of Theoretical and Computational Physics Cluj-Napoca, Romania

Monte Carlo Molecular Simulation with Isobaric-Isothermal and Gibbs-NPT Ensembles. Thesis by Shouhong Du

Temperature and Pressure Controls

Simulations with MM Force Fields. Monte Carlo (MC) and Molecular Dynamics (MD) Video II.vi

Lecture 14: Advanced Conformational Sampling

Monte Carlo importance sampling and Markov chain

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

CS 781 Lecture 9 March 10, 2011 Topics: Local Search and Optimization Metropolis Algorithm Greedy Optimization Hopfield Networks Max Cut Problem Nash

3D HP Protein Folding Problem using Ant Algorithm

Monte Carlo Simulation of the Ising Model. Abstract

The Partition Function Statistical Thermodynamics. NC State University

Basics of Statistical Mechanics

Introduction to the Renormalization Group

1. Thermodynamics 1.1. A macroscopic view of matter

Statistical Thermodynamics Exercise 11 HS Exercise 11

Understanding temperature and chemical potential using computer simulations

Answers and expectations

Kinetic Monte Carlo (KMC)

Introduction Statistical Thermodynamics. Monday, January 6, 14

MACROSCOPIC VARIABLES, THERMAL EQUILIBRIUM. Contents AND BOLTZMANN ENTROPY. 1 Macroscopic Variables 3. 2 Local quantities and Hydrodynamics fields 4

Use of Eigen values and eigen vectors to calculate higher transition probabilities

Monte Carlo Methods. Ensembles (Chapter 5) Biased Sampling (Chapter 14) Practical Aspects

1. Introductory Examples

Computer simulations as concrete models for student reasoning

Phase Transition in a Bond. Fluctuating Lattice Polymer

Methods of Computer Simulation. Molecular Dynamics and Monte Carlo

Multi-Ensemble Markov Models and TRAM. Fabian Paul 21-Feb-2018

Monte Carlo integration (naive Monte Carlo)

Random processes and probability distributions. Phys 420/580 Lecture 20

A Brief Introduction to Statistical Mechanics

Metropolis/Variational Monte Carlo. Microscopic Theories of Nuclear Structure, Dynamics and Electroweak Currents June 12-30, 2017, ECT*, Trento, Italy

Absolute Entropy of a 2D Lattice Model for a Denatured Protein

Data Analysis I. Dr Martin Hendry, Dept of Physics and Astronomy University of Glasgow, UK. 10 lectures, beginning October 2006

Foundations of Chemical Kinetics. Lecture 19: Unimolecular reactions in the gas phase: RRKM theory

Markov Chain Monte Carlo. Simulated Annealing.

The Monte Carlo Method

Minicourse on: Markov Chain Monte Carlo: Simulation Techniques in Statistics

General Construction of Irreversible Kernel in Markov Chain Monte Carlo

Learning Bayesian Networks for Biomedical Data

Markov Chain Monte Carlo Method

Temperature and Pressure Controls

Expectations, Markov chains, and the Metropolis algorithm

Computer Vision Group Prof. Daniel Cremers. 11. Sampling Methods: Markov Chain Monte Carlo

Sequential Monte Carlo methods for filtering of unobservable components of multidimensional diffusion Markov processes

Physics 127c: Statistical Mechanics. Application of Path Integrals to Superfluidity in He 4

Phase Transition & Approximate Partition Function In Ising Model and Percolation In Two Dimension: Specifically For Square Lattices

Metropolis Monte Carlo simulation of the Ising Model

The Failure of Classical Mechanics

Statistical Mechanics

Brief Review of Statistical Mechanics

A =, where d n w = dw

A Bayesian Approach to Phylogenetics

Physics is time symmetric Nature is not

UNIVERSITY OF OSLO FACULTY OF MATHEMATICS AND NATURAL SCIENCES

The Monte Carlo Method An Introduction to Markov Chain MC

Monte Carlo simulation of super-selective supramolecular polymers on cell membranes

There are self-avoiding walks of steps on Z 3

Wang-Landau Monte Carlo simulation. Aleš Vítek IT4I, VP3

Monte Carlo Methods for Computation and Optimization (048715)

Teaching Statistical and Thermal Physics Using Computer Simulations

Simulation of the two-dimensional square-lattice Lenz-Ising model in Python

Limitations of temperature replica exchange (T-REMD) for protein folding simulations

1 Geometry of high dimensional probability distributions

Finite Automata, Random Fields, Quantum Fluctuations, and Bell Inequalities

Numerical Analysis of 2-D Ising Model. Ishita Agarwal Masters in Physics (University of Bonn) 17 th March 2011

Two simple lattice models of the equilibrium shape and the surface morphology of supported 3D crystallites

CE 530 Molecular Simulation

Biology as Information Dynamics

Introduction to Path Integral Monte Carlo. Part I.

Gear methods I + 1/18

Transcription:

Monte Carlo (MC) Simulation Methods Elisa Fadda 1011-CH328, Molecular Modelling & Drug Design 2011

Experimental Observables A system observable is a property of the system state. The system state i is defined by its energy E i OESY spectrum All accessible states at a certain temp contribute to the experimental observable values. A method that allows us to generate states at low energy will enable us to evaluate molecular properties and experimental observables accurately. http://spin.magnet.fsu.edu/research/conformation/conformation.htm

Experimental Values The value that we measure experimentally is an average of the property A over the time of the measurement and it is therefore known as time average.

Exp. vs Comp. Timescales Experiments 10-15 s 10-12 s 10-9 s 10-6 s 10-3 s 1 s Time (s) 4

Back to the Conformational Space? 3 degrees of freedom space to explore starting from a partially unfolded structure: How many conformations are accessible to the system at room temperature? 5

How to Explore the Phase Space A single system evolving in time is replaced by a large number of replications of the system that are considered simultaneously. Time averages can be replaced by ensemble averages. In the ergodic hypothesis time averages and ensemble averages are identical. 6

Monte Carlo (MC) Methods MC simulations generate configurations by making random changes to the positions of the species present, together with their orientations. 7

Monte Carlo (MC) Simulations Unlike in MD simulations, in MC we sample from a 3-dimensional phase space (no momentum contributions). Potential energies and thermodynamic properties are calculated from the positions of the atoms in states at low energy. V ( r ) = dr V ( r ) ρ( r ) Probability of obtaining the configuration r ρ( r ) = dr exp [ V r kt ] ( ) exp V ( r ) kt == exp [ V r kt ] ( ) Z Configurational integral 8

Monte Carlo Integration Method Is a numerical integration using random numbers. We can determine the area of the circle, therefore π, by generating random numbers within the square. r 9

Monte Carlo Integration Method Square s area = 4r 2 Then the area of the circle can be estimated by the ratio of the points inside the circle to the total number of points, yielding an approximation for π. r Circle Total Circle Total π = 3.2 4r 2 = 40 = 50 = A Circle = π r 2 10

In Order to Calculate Z(T) 1. Randomly generate a configuration (3 coordinates) 2. Calculate the potential energy for such configuration V(r ) 3. Calculate the Boltzmann factor exp [ V ( r ) kt ] 4. Add the Boltzmann factor to an accumulated sum and the V(r ) contribution to its accumulated sum, and go back to 1 5. After a number of trials the mean value of the potential energy is given by: V ( r ) trials V ( r i i= 1 = trials i= 1 exp )exp [ ] V ( r ) kt [ ] V ( r ) kt i i 11

Monte Carlo (MC) Integration In MC simulations the location, orientation and perhaps the geometry of a molecule or a collection of molecules are chosen according to a statistical distribution. Many possible conformations of a molecule could be examined by choosing the conformation angles randomly. If enough iterations are done and the results are weighted by a Boltzmann distribution this gives a statistically valid result. 12

Issues with straight MC Integration Straight MC integration leads to the evaluation of high energy as well as low energy conformations, which contribute negligibly to the thermodynamic properties. Only low energy conformations coincide with the physically observed phases. These conformation are characterized by a high probability of occurring and are the only states that make a significant contribution to the integral. The Metropolis MC method biases the generation of configurations towards those that make the most significant contribution to the integral: Metropolis MC generates only the most probable configurations and counts them equally MC integration generates random configurations and then weights them based on their probability.

Boltzmann Distribution For a single system at a well-defined temperature it gives the probability that the system has a specific energy (it is in a specified state). In a more general case the Boltzmann distribution indicates the fraction of particles occupying a set of states: States degeneracy Energy Total number of particles Partition function umber of particles 14

Metropolis Monte Carlo In many thermodynamic properties of a molecular system, those states with a high probability ρ(r ) are also the ones which make a significant contribution to the integral. In the Metropolis method the generation of configuration is biased towards the ones which make the highest contribution, i.e. states with probability exp[ V ( r ] ) kt and then counts each of them equally (trials). 15

Implementation At each iteration of the simulation a new configuration is generated: 1. A random number 0 ζ 1 is chosen and the coordinates are changed as: x y z new new new = = = x y z old old old + + + ( 2ζ 1) rmax ( 2ζ 1) r ( 2ζ 1) rmax max 2. The energy of the new configuration is calculated V(r ). 3. Check Point: a. If the energy of the new configuration is lower than the old then the new configuration is used for the next iteration. b. If the energy of the new configuration is higher than the old then the Boltzmann factor is compared to a random number between 0 and 1. If the Boltzmann factor is greater than the random number then the new configuration is accepted, if not it is rejected. 16

Main Differences Between MD and MC The Metropolis algorithm generates a Markov Chain of states: 1. The outcome of each trial depends OLY upon the preceding trial and not upon any previous trials (stochastic method). 2. Each trial belongs to a finite set of possible outcomes. Contrary to MC, in MD all states are connected in time: MD is a deterministic method. o temporal relationship between successive MC configurations (no temporal properties, e.g. no transport coefficients) In MD there s a kinetic energy contribution to the energy, whereas in MC the total energy is determined OLY from the potential energy function. 17

Main Differences Between MD and MC MC simulations converge quite fast and accurate values of properties can be obtained more rapidly than in MD. However. The very essence of the M-MC makes the treatment of large flexible molecules rather difficult, unless some of the internal degrees of freedom are frozen. In MC simulation it s easier than in MD simulation to hold P and T constant. MC is more suitable than MD for the simulation of lattice models. In appropriate system the ability of MC to make non-physical moves facilitates the identification of large conformational changes, however it lacks the ability of MD to explore extensively local sites in the phase space. 18