Energy Drift
   HOME

TheInfoList



OR:

In
computer simulation Computer simulation is the process of mathematical modelling, performed on a computer, which is designed to predict the behaviour of, or the outcome of, a real-world or physical system. The reliability of some mathematical models can be dete ...
s of mechanical systems, energy drift is the gradual change in the total energy of a closed system over time. According to the laws of mechanics, the energy should be a
constant of motion In mechanics, a constant of motion is a quantity that is conserved throughout the motion, imposing in effect a constraint on the motion. However, it is a ''mathematical'' constraint, the natural consequence of the equations of motion, rather than ...
and should not change. However, in simulations the energy might fluctuate on a short time scale and increase or decrease on a very long time scale due to numerical integration artifacts that arise with the use of a finite time step Δ''t''. This is somewhat similar to the flying ice cube problem, whereby numerical errors in handling equipartition of energy can change vibrational energy into translational energy. More specifically, the energy tends to increase exponentially; its increase can be understood intuitively because each step introduces a small perturbation δv to the true velocity vtrue, which (if uncorrelated with v, which will be true for simple integration methods) results in a second-order increase in the energy :E = \sum m \mathbf^ = \sum m \mathbf_\mathrm^ + \sum m \ \delta \mathbf^ (The cross term in v · δv is zero because of no correlation.) Energy drift - usually damping - is substantial for numerical integration schemes that are not symplectic, such as the Runge-Kutta family. Symplectic integrators usually used in molecular dynamics, such as the Verlet integrator family, exhibit increases in energy over very long time scales, though the error remains roughly constant. These integrators do not in fact reproduce the actual Hamiltonian mechanics of the system; instead, they reproduce a closely related "shadow" Hamiltonian whose value they conserve many orders of magnitude more closely. The accuracy of the energy conservation for the true Hamiltonian is dependent on the time step. The energy computed from the modified Hamiltonian of a symplectic integrator is \mathcal\left(\Delta t^\right) from the true Hamiltonian. Energy drift is similar to
parametric resonance A parametric oscillator is a driven harmonic oscillator in which the oscillations are driven by varying some parameter of the system at some frequency, typically different from the natural frequency of the oscillator. A simple example of a param ...
in that a finite, discrete timestepping scheme will result in nonphysical, limited sampling of motions with
frequencies Frequency is the number of occurrences of a repeating event per unit of time. It is also occasionally referred to as ''temporal frequency'' for clarity, and is distinct from ''angular frequency''. Frequency is measured in hertz (Hz) which is eq ...
close to the frequency of velocity updates. Thus the restriction on the maximum step size that will be stable for a given system is proportional to the period of the fastest
fundamental mode A normal mode of a dynamical system is a pattern of motion in which all parts of the system move sinusoidally with the same frequency and with a fixed phase relation. The free motion described by the normal modes takes place at fixed frequencies ...
s of the system's motion. For a motion with a natural frequency ''ω'', artificial resonances are introduced when the frequency of velocity updates, \frac is related to ''ω'' as :\frac\omega = \frac where ''n'' and ''m'' are integers describing the resonance order. For Verlet integration, resonances up to the fourth order \left(\frac = 4\right) frequently lead to numerical instability, leading to a restriction on the timestep size of :\Delta t < \frac \approx 0.225p where ''ω'' is the frequency of the fastest motion in the system and ''p'' is its period.Schlick T. (2002). ''Molecular Modeling and Simulation: An Interdisciplinary Guide''. Interdisciplinary Applied Mathematics series, vol. 21. Springer: New York, NY, USA. . See pp420-430 for complete derivation. The fastest motions in most biomolecular systems involve the motions of hydrogen atoms; it is thus common to use constraint algorithms to restrict hydrogen motion and thus increase the maximum stable time step that can be used in the simulation. However, because the time scales of heavy-atom motions are not widely divergent from those of hydrogen motions, in practice this allows only about a twofold increase in time step. Common practice in all-atom biomolecular simulation is to use a time step of 1
femtosecond A femtosecond is a unit of time in the International System of Units (SI) equal to 10 or of a second; that is, one quadrillionth, or one millionth of one billionth, of a second. For context, a femtosecond is to a second as a second is to about 31. ...
(fs) for unconstrained simulations and 2 fs for constrained simulations, although larger time steps may be possible for certain systems or choices of parameters. Energy drift can also result from imperfections in evaluating the
energy function Mathematical optimization (alternatively spelled ''optimisation'') or mathematical programming is the selection of a best element, with regard to some criterion, from some set of available alternatives. It is generally divided into two subfi ...
, usually due to simulation parameters that sacrifice accuracy for computational speed. For example, cutoff schemes for evaluating the electrostatic forces introduce systematic errors in the energy with each time step as particles move back and forth across the cutoff radius if sufficient smoothing is not used. Particle mesh Ewald summation is one solution for this effect, but introduces artifacts of its own. Errors in the system being simulated can also induce energy drifts characterized as "explosive" that are not artifacts, but are reflective of the instability of the initial conditions; this may occur when the system has not been subjected to sufficient structural minimization before beginning production dynamics. In practice, energy drift may be measured as a percent increase over time, or as a time needed to add a given amount of energy to the system. The practical effects of energy drift depend on the simulation conditions, the
thermodynamic ensemble In physics, specifically statistical mechanics, an ensemble (also statistical ensemble) is an idealization consisting of a large number of virtual copies (sometimes infinitely many) of a system, considered all at once, each of which represents a ...
being simulated, and the intended use of the simulation under study; for example, energy drift has much more severe consequences for simulations of the microcanonical ensemble than the canonical ensemble where the temperature is held constant. However, it has been shown that long microcanonical ensemble simulations can be performed with insignificant energy drift, including those of flexible molecules which incorporate constraints and Ewald summations. Energy drift is often used as a measure of the quality of the simulation, and has been proposed as one quality metric to be routinely reported in a mass repository of molecular dynamics trajectory data analogous to the Protein Data Bank.{{cite journal , last1=Murdock , first1=Stuart E. , last2=Tai , first2=Kaihsu , last3=Ng , first3=Muan Hong , last4=Johnston , first4=Steven , last5=Wu , first5=Bing , last6=Fangohr , first6=Hans , last7=Laughton , first7=Charles A. , last8=Essex , first8=Jonathan W. , last9=Sansom , first9=Mark S. P. , display-authors=5, title=Quality Assurance for Biomolecular Simulations , journal=Journal of Chemical Theory and Computation , publisher=American Chemical Society (ACS) , volume=2 , issue=6 , date=2006-10-03 , issn=1549-9618 , doi=10.1021/ct6001708 , pages=1477–1481, pmid=26627017 , url=https://eprints.soton.ac.uk/44507/1/Murd_06.pdf


References


Further reading

* Sanz-Serna JM, Calvo MP. (1994). ''Numerical Hamiltonian Problems''. Chapman & Hall, London, England. Molecular dynamics Numerical differential equations