Skip to content

Commit 9ced04d

Browse files
committed
Tweaks in discussion of phases of simulation
1 parent edb0835 commit 9ced04d

File tree

1 file changed

+16
-19
lines changed

1 file changed

+16
-19
lines changed

paper/basic_training.tex

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ \subsection{Force fields}
462462
Most of the terms included in potential energy functions have already been detailed in Section~\ref{sec:mol_interactions}, with the most common being Coulombic, Lennard-Jones, bond, angle, and torsional (dihedral) terms.
463463
Here, we very briefly describe the mathematical forms used to represent such interactions.
464464

465-
Non-bonded interactions of the Lennard-Jones form are well-described throughout the literature (for instance see Ch. 4 of \citet{LeachBook}); these model a short-range repulsion that scales as $1/r^{12}$ and a long-range attraction that scales as $1/r^6}$
465+
Non-bonded interactions of the Lennard-Jones form are well-described throughout the literature (for instance see Ch. 4 of \citet{LeachBook}); these model a short-range repulsion that scales as $1/r^{12}$ and a long-range attraction that scales as $1/r^6$
466466
Coulombic interactions, including both short and long-range components, are described in detail elsewhere in this document.
467467
To represent bonded interactions, harmonic potentials are often employed.
468468
The same is true for angles between three bonded atoms, but the harmonic potential is applied with respect to the angle formed and not the distance between atoms.
@@ -582,13 +582,13 @@ \subsection{Main steps of a molecular dynamics simulation}
582582
In some cases, freely available tools are constructing systems are available and can be a reasonable option (though their mention here should not be taken as an endorsement that they necessarily encapsulate best practices).
583583
Examples include tools for constructing specific crystal structures, proteins, and lipid membranes, such as Moltemplate, Packmol, and Atomsk.
584584
The goal of all of these tools, and system preparation in general, is to create an accurate representation of the system of interest that can be interpreted by the desired simulation package.
585-
It is further desirable that this representation not vary too far from the known, equilibrium structure of the system at the thermodynamic state point of interest.
585+
It is further desirable that this starting structure resemble the equilibrium structure of the system at the thermodynamic state point of interest.
586586
For instance, highly energetically unfavorable configurations of the system, such as blatant atomic overlaps, should be avoided.
587-
However, for a force field that reliably reproduces the energetics of a system, a starting configuration that is close to equilibrium is only a time-saving convenience in that it greatly reduces the equilibration time and overall simulation length by preventing trapping in metastable states.
587+
In some sense, having a good starting structure is only a convenience to reduce equilibration times (if the force field is adequate); however, for some systems, equilibration times might otherwise be prohibitively long.
588588

589589
System preparation is arguably the most critical stage of a simulation and in many cases receives the least attention.
590590
Specifically, if your system preparation is flawed, such flaws may prove fatal.
591-
Potentially the worst possible outcome is if the prepared system is not what you intended (e.g. it contains incorrect molecules or protonation states) but is chemically valid and well described by your force field and thus proceeds without error through the remaining steps --- and in fact this is probably the most frequent outcome of problems in system preparation.
591+
Potentially the worst possible outcome is if the prepared system is not what you intended (e.g. it contains incorrect molecules or protonation states) but is chemically valid and well described by your force field and thus proceeds without error through the remaining steps --- and in fact this is a frequent outcome of problems in system preparation.
592592
It should not be assumed that if a system can proceed in a well-behaved manner through the other steps, it was necessarily prepared correctly; considerable care should be taken here.
593593

594594
The purpose of minimization, or relaxation, is to find a local energy minimum of the starting structure so that the molecular dynamics simulation does not immediately "blow up" (i.e. the forces on any one atom are not so large that the atoms move an unreasonable distance in a single time step).
@@ -600,8 +600,7 @@ \subsection{Main steps of a molecular dynamics simulation}
600600
However, this only represents a static set of positions, while the propagation of dynamics also requires a set of starting velocities.
601601
These may be assigned in a variety of ways, but are usually randomly assigned to atoms such that the correct Maxwell-Boltzmann distribution at the desired temperature is achieved.
602602

603-
604-
Following minimization, equilibration is typically needed.
603+
Following minimization, equilibration is typically needed to bring the system to the desired conditions (e.g. temperature and pressure, or energy).
605604
Specifically, even though velocities are assigned according to the correct distribution, the selected thermostat will still usually need to add heat to or remove heat from the system as it approaches the correct partitioning of kinetic and potential energies.
606605
For this reason, it is advised that a thermostatted simulation is performed prior to a desired production simulation, even if the production simulation will ultimately be done in the NVE ensemble.
607606
Once the kinetic and potential energies fluctuate around constant values, the thermostat may be removed (if an NVE simulation is desired) and a snapshot selected that is simultaneously as close to the average kinetic and potential energies as possible.
@@ -617,37 +616,35 @@ \subsection{Main steps of a molecular dynamics simulation}
617616
%DLM: Should we be saying something here about how long to equilibrate? My short version is "until the properties of the system stop changing on average", but there could be a whole set of properties one might want to look at. Clearly you should look at anything which is important to you, but also perhaps things which tend to be relatively slow, such as water, etc.
618617
%JIM: I tried this out above.
619618

619+
\todo[inline, color={yellow!20}]{DLM: Note to self, I should add a bit more discussion of what equilibration \emph{means} somewhere in this section, probably along with a discussion of equilibration vs convergence. For example, equilibration means not just that temperature and pressure stop changing but that the overall properties of teh system stop changing (e.g. if temperature and pressure is constant but your protein is unfolding you are not yet equilibrated...)}
620+
\todo[inline, color={yellow!20}]{DLM: There are a lot of long paragraphs here that are perhaps too long; the above is one example. I should police to make sure the one-point-per-paragraph rule is used and shorten some of these.}
621+
620622
\begin{figure}[h]
621623
\centering
622624
\includegraphics[width=\linewidth]{Equilibration_Workflow.pdf}
623625
\caption{Common equilibration work-flows}
624626
\label{eqworkflow}
625627
\end{figure}
628+
\todo[inline, color={yellow!20}]{DLM: Caption needs updating to make clear why you would choose different options here, especially the two different NVT options.}
626629

627-
Once equilibration is complete, the production simulation may be performed.
630+
Once equilibration is complete, production data may be collected.
628631
The production simulation is that from which specific properties of the system of interest will be calculated.
629632
As mentioned above, the equilibration procedure should be selected that is appropriate for the desired production ensemble.
630-
It should be noted that ``equilibration'' within the production run may still be necessary before properties or metrics are computed from this simulation (see \citet{ShellNotes}, lecture on Computing properties).
631-
%DLM: See comments above about migrating to GitHub/citing.
632-
This falls under the category of correctly obtaining unbiased statistics and convergence, which is covered in a separate Best Practices document (\url{https://github.com/dmzuckerman/Sampling-Uncertainty}).
633+
It should be noted that ``equilibration'' within the production run may still be necessary before properties or metrics are computed from this simulation (see \citet{ShellNotes}, lecture on Computing Properties).
633634
Otherwise, if a brief simulation in the same ensemble is not performed during the equilibration step immediately prior to production, any period of the production simulation should be ignored where drift is observed in the energies, temperatures, pressures, densities, or other defining state-variables of the ensemble.
634635
This of course precedes estimation of convergence in property calculation.
636+
Data collection then falls under the category of correctly obtaining unbiased statistics and convergence, which is covered in a separate Best Practices document (\url{https://github.com/dmzuckerman/Sampling-Uncertainty}).
635637
For more specific details on procedures and parameters used in production simulations, see the appropriate best practices document for the system of interest.
638+
\todo[inline, color={yellow!20}]{DLM: Possibly clarify distinction between production and equilibration (just whether data is retained, in some cases)}
636639

637640
\subsection{Thermostats}
638641
\label{sec:thermostats}
639-
\begin{itemize}
640-
\item Motivation
641-
\item Background
642-
\item Brief description of how it works
643-
\item Popular thermostats
644-
\item Summary
645-
\end{itemize}
642+
643+
Here, we discuss why thermostats are (often) needed for molecular simulations, then discuss their background and how they work, and survey some popular thermostats, closing with some recommendations.
646644

647645
% Motivation for using thermostats
648646
\subsubsection{Thermostats seek to maintain a target temperature}
649-
As mentioned throughout the article above, molecular dynamics simulations are used to observe and glean properties of interest from some system of
650-
study.
647+
As mentioned above, molecular dynamics simulations are used to observe and glean properties of interest from some system of study.
651648
However, these properties traditionally are not measurable from the initial configuration of the system, nor is that usually physically meaningful.
652649
This generally requires transitioning the system to some other state point to collect the proper data once the system has equilibrated.
653650
In many cases, to emulate experiments done in laboratory conditions (exposed to the surroundings), sampling from the canonical (constant-temperature) ensemble is desired\cite{thermostatAlgorithms2005}.

0 commit comments

Comments
 (0)