Action: ENERGY
| Module | colvar |
|---|---|
| Description | Usage |
| Calculate the total potential energy of the simulation box. |
Details and examples
Calculate the total potential energy of the simulation box.
As is explained in the papers in the bibliography the potential energy can be biased with umbrella sampling. To print the potential energy from PLUMED you can use an input similar to the one below:
ene: ENERGYCalculate the total potential energy of the simulation box. More details PRINTPrint quantities to a file. More details ARGthe labels of the values that you would like to print to the file=ene FILEthe name of the file on which to output these quantities=colvar
Notice that this CV is not available with all the MD codes. When it is available, and when replica exchange is also available, metadynamics applied to ENERGY can be used to decrease the number of required replicas.
long tail corrections for energy
Some MD engines communicate to PLUMED the energy without the long tail corrections, leading to a small mismatch. If this is the case, use the energy from the MD engine for reweighting. See \issue{567}.
replica exchange
Acceptance for replica exchange when ENERGY is biased is computed correctly only if all the replicas have the same potential energy function. This is for instance not true when using GROMACS with lambda replica exchange or with plumed-hrex branch.
References
More information about how this action can be used is available in the following articles: