P T A typical experiment in a real (not virtual) space 1.Some material is put in a container at fixed T & P. 2.The material is in a thermal fluctuation,

Slides:



Advertisements
Similar presentations
Time averages and ensemble averages
Advertisements

PRAGMA – 9 V.S.S.Sastry School of Physics University of Hyderabad 22 nd October, 2005.
Monte Carlo Simulation
Monte Carlo Simulation Wednesday, 9/11/2002 Stochastic simulations consider particle interactions. Ensemble sampling Markov Chain Metropolis Sampling.
Statistical mechanics
Molecular Dynamics at Constant Temperature and Pressure Section 6.7 in M.M.
Lecture 13: Conformational Sampling: MC and MD Dr. Ronald M. Levy Contributions from Mike Andrec and Daniel Weinstock Statistical Thermodynamics.
Measuring Fluid Velocity and Temperature in DSMC Alejandro L. Garcia Lawrence Berkeley National Lab. & San Jose State University Collaborators: J. Bell,
Monte Carlo Methods and Statistical Physics
Sensitivity Analysis In deterministic analysis, single fixed values (typically, mean values) of representative samples or strength parameters or slope.
FIN 685: Risk Management Topic 5: Simulation Larry Schrenk, Instructor.
Advanced Computer Graphics (Spring 2005) COMS 4162, Lectures 18, 19: Monte Carlo Integration Ravi Ramamoorthi Acknowledgements.
Random Number Generators.  Based upon specific mathematical algorithms  Which are repeatable and sequential.
Chapter 14 Simulation. Monte Carlo Process Statistical Analysis of Simulation Results Verification of the Simulation Model Computer Simulation with Excel.
The Monte Carlo Method: an Introduction Detlev Reiter Research Centre Jülich (FZJ) D Jülich
Simulations Patrice Koehl Department of Biological Sciences National University of Singapore
1 CE 530 Molecular Simulation Lecture 7 David A. Kofke Department of Chemical Engineering SUNY Buffalo
Buffon’s Needle Todd Savage. Buffon's needle problem asks to find the probability that a needle of length ‘l’ will land on a line, given a floor with.
Simulation of Random Walk How do we investigate this numerically? Choose the step length to be a=1 Use a computer to generate random numbers r i uniformly.
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:
Introduction to (Statistical) Thermodynamics
MSEG 803 Equilibria in Material Systems 6: Phase space and microstates Prof. Juejun (JJ) Hu
Marko Tainio, marko.tainio[at]thl.fi Modeling and Monte Carlo simulation Marko Tainio Decision analysis and Risk Management course in Kuopio
1 Physical Chemistry III Molecular Simulations Piti Treesukol Chemistry Department Faculty of Liberal Arts and Science Kasetsart University :
Room 2032 China Canada Winnipeg Manitoba.
Statistical Thermodynamics CHEN 689 Fall 2015 Perla B. Balbuena 240 JEB
Monte Carlo Simulation and Personal Finance Jacob Foley.
General Principle of Monte Carlo Fall 2013 By Yaohang Li, Ph.D.
Monte Carlo and Statistical Methods in HEP Kajari Mazumdar Course on Particle Physics, TIFR, August, 2009.
Basic Monte Carlo (chapter 3) Algorithm Detailed Balance Other points.
Module 1: Statistical Issues in Micro simulation Paul Sousa.
1 CE 530 Molecular Simulation Lecture 6 David A. Kofke Department of Chemical Engineering SUNY Buffalo
Random Numbers and Simulation  Generating truly random numbers is not possible Programs have been developed to generate pseudo-random numbers Programs.
Monte Carlo Methods in Statistical Mechanics Aziz Abdellahi CEDER group Materials Basics Lecture : 08/18/
Experimental Method and Data Process: “Monte Carlo Method” Presentation # 1 Nafisa Tasneem CHEP,KNU
Monte Carlo Methods Versatile methods for analyzing the behavior of some activity, plan or process that involves uncertainty.
Hit-and-Miss (or Rejection) Monte Carlo Method:
14.3 Simulation Techniques and the Monte Carlo Method simulation technique A simulation technique uses a probability experiment to mimic a real-life situation.
Outline of Chapter 9: Using Simulation to Solve Decision Problems Real world decisions are often too complex to be analyzed effectively using influence.
Monte Carlo Simulation Presented by Megan Aldrich and Tiffany Timm.
Hit-and-Miss (or Rejection) Monte Carlo Method: a “brute-force” method based on completely random sampling Then, how do we throw the stones and count them.
, Patrik Huber.  One of our goals: Evaluation of the posterior p(Z|X)  Exact inference  In practice: often infeasible to evaluate the posterior.
Monté Carlo Simulation  Understand the concept of Monté Carlo Simulation  Learn how to use Monté Carlo Simulation to make good decisions  Learn how.
P T A typical experiment in a real (not virtual) space 1.Some material is put in a container at fixed T & P. 2.The material is in a thermal fluctuation,
Monte Carlo Process Risk Analysis for Water Resources Planning and Management Institute for Water Resources 2008.
M ONTE C ARLO SIMULATION Modeling and Simulation CS
NCN nanoHUB.org Wagner The basics of quantum Monte Carlo Lucas K. Wagner Computational Nanosciences Group University of California, Berkeley In collaboration.
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)=
Computer simulation Sep. 9, QUIZ 2 Determine whether the following experiments have discrete or continuous out comes A fair die is tossed and the.
Monte Carlo Simulation Natalia A. Humphreys April 6, 2012 University of Texas at Dallas.
1 1 Slide Simulation Professor Ahmadi. 2 2 Slide Simulation Chapter Outline n Computer Simulation n Simulation Modeling n Random Variables and Pseudo-Random.
CHAPTER 5 Simulation Modeling. Introduction In many situations a modeler is unable to construct an analytic (symbolic) model adequately explaining the.
Statistical Mechanics and Multi-Scale Simulation Methods ChBE
G. Cowan Lectures on Statistical Data Analysis Lecture 5 page 1 Statistical Data Analysis: Lecture 5 1Probability, Bayes’ theorem 2Random variables and.
Basic Monte Carlo (chapter 3) Algorithm Detailed Balance Other points non-Boltzmann sampling.
Lecture 14: Advanced Conformational Sampling Dr. Ronald M. Levy Statistical Thermodynamics.
Computational Physics (Lecture 11) PHY4061. Variation quantum Monte Carlo the approximate solution of the Hamiltonian Time Independent many-body Schrodinger’s.
Computational Physics (Lecture 8) PHY4061. Inverse of a matrix The inverse of a matrix A using linear equating approach: A −1 i j = x i j, – for i, j.
The Monte Carlo Method/ Markov Chains/ Metropolitan Algorithm from sec in “Adaptive Cooperative Systems” -summarized by Jinsan Yang.
Boltzmann statistics, average values
Monte Carlo Methods and Grid Computing
Dynamical correlations & transport coefficients
1. What is a Monte Carlo method ?
Monte Carlo methods 10/20/11.
Dynamical correlations & transport coefficients
Lecture 2 – Monte Carlo method in finance
Statistical Data Analysis: II
Presentation transcript:

P T A typical experiment in a real (not virtual) space 1.Some material is put in a container at fixed T & P. 2.The material is in a thermal fluctuation, producing lots of different configurations (a set of microscopic states) for a given amount of time. It is the Mother Nature who generates all the microstates. 3.An apparatus is plugged to measure an observable (a macroscopic quantity) as an average over all the microstates produced from thermal fluctuation. P T How do we mimic the Mother Nature in a virtual space to realize lots of microstates, all of which correspond to a given macroscopic state? How do we mimic the apparatus in a virtual space to obtain a macroscopic quantity (or property or observable) as an average over all the microstates? P T

microscopic states (microstates) or microscopic configurations under external constraints (N or , V or P, T or E, etc.)  Ensemble (micro-canonical, canonical, grand canonical, etc.) Average over a collection of microstates Macroscopic quantities (properties, observables) thermodynamic –  or N, E or T, P or V, C v, C p, H,  S,  G, etc. structural – pair correlation function g(r), etc. dynamical – diffusion, etc. These are what are measured in true experiments. they’re generated naturally from thermal fluctuation In a real-space experimentIn a virtual-space simulation How do we mimic the Mother Nature in a virtual space to realize lots of microstates, all of which correspond to a given macroscopic state? By MC or MD method! it is us who needs to generate them by MC or MD methods. t1t1 t2t2 t3t3 ~10 23 particles

Molecular Dynamics (MD) vs. Monte Carlo (MC) Molecular Dynamics Simulation (Deterministic) Starts from the initial microstate (a collection of positions & velocities) Solves the Newton equation of motion under the inter-particle potential V (and force F) Microstates generated by integration over time Time evolution (trajectory), dynamic behavior over time Gives a direct connection with true experiments Gives both equilibrium properties and dynamic properties Monte Carlo Simulation (Stochastic = random or based on random numbers) Microstates generated by stochastic sampling involving a random number generator Gives equilibrium properties only (no time dependence, no dynamics!) Solves mathematical problems using stochastic sampling (like rolling a dice) Performs simulation of any process whose development is influenced by random factors, but also the method enables artificial construction of a probabilistic model Randomly selects values to fit a probability distribution (e.g. bell curve, linear distribution, etc.) to create scenarios of a problem Apt to consume large computing resources (“method of last resort”) Historically executed on the fastest computers available at the time V

“Monte Carlo” Casino

John von Neumann, Stan Ulam, and Nick Metropolis are considered to found the method from the collaboration at Los Alamos on the Manhattan project during the World War II. The name "Monte Carlo" comes from the Monte Carlo Casino (gambling house) in Monaco and first appeared in the article "The Monte Carlo Method" by Metropolis and Ulam (1949). Well before 1949, certain problems in statistics were solved by means of random sampling. Buffon experimentally determined a value of  by casting a needle on a ruled grid (1768) and Fredericks & Levy showed how it can be used to solve boundary value problems (1928). Kelvin used random sampling techniques to initialize trajectories of particles undergoing elastic collision with container walls (1901). This led to the failure of the equi-partition law and the to foundation of statistical mechanics. Fermi used this method in the calculation of neutron diffusion in nuclear reactors (1930's). A formal foundation for the method was developed by von Neumann (PDE) (1940’s). However, simulation of random variables by hand was a laborious process. Stan Ulam realized the importance of the computer in the implementation of the approach. Using MC as a universal numerical technique became practical only with the advent of computers (ENIAC, MANIAC, etc.) and high-quality pseudorandom number generators. History of Monte Carlo Simulation

Various Applications of Monte Carlo Techniques Integration (especially of high-dimensional functions) System simulation Physical phenomena – nuclear power, radiation, thermodynamics, etc. (The use of MC in the area of nuclear power has undergone an important evolution.) Quantum Monte Carlo – wave functions and expectation values (QMC gives most accurate method for general quantum many-body systems.) Simulation of games (bingo, solitaire, etc.) Weather, Equipment Productivity, Risk Analysis and Management VLSI designs - tolerance analysis Computer graphics – rendering Projects are often associated with a high degree of uncertainty and complexity resulting from the unpredictable nature of events and the multi-dimensionality. MC generates multiple scenarios depending upon the assumptions fed into the model. MC calculates multiple scenarios by repeatedly inserting different sampling values from probability distribution for the uncertain variables into the computerized spread-sheet.

1.Analytical integration, if possible Not for many functions (very limited) 2.Numerical integration (summation) Rectangular/trapezoidal/parabolic rules 3.Numerical integration (Monte Carlo) Random sampling of the area enclosed by a<x<b and 0<y<f max (x) MC Application No. 1. How to evaluate integrals f(x) ab x A 0

3.Numerical integration (Hit-and-Miss Monte Carlo) Random sampling of the area enclosed by a<x<b and 0<y<f max (x) MC Application No. 1. How to evaluate integrals f(x) ab x A f max (x) f(x) ab f max (x) x  Choose at random M points in x  [a,b]. Designate the number of points lying under the curve y = f(x) by M'. It is geometrically obvious that the area of A is approximately equal to the ratio M'/M. The greater the number of drawings or trials (M), the greater the accuracy of this estimate.

 = 4 A where A = area of the first quadrant of a circle of the radius r = 1 1st example of MC: Let’s calculate  ! Hit-and-Miss (or Rejection) MC Method Equivalent to integrating the equation of the circle x y A O (x i,y i )

 = … 1st example of MC: Let’s calculate  ! Hit-and-Miss (or Rejection) MC Method

N = 10,000Pi= N = 100,000Pi= N = 1,000,000Pi= N = 10,000,000Pi= … 1st example of MC: Let’s calculate  ! Hit-and-Miss (or Rejection) MC Method