simulated tempering (re)weighting

The functionality of OpenMM will (eventually) include everything that one would need to run modern molecular simulation.
POST REPLY
User avatar
Daniel Konstantinovsky
Posts: 77
Joined: Tue Jun 11, 2019 12:21 pm

simulated tempering (re)weighting

Post by Daniel Konstantinovsky » Tue May 03, 2022 9:58 am

Hi OpenMM!

I am wondering what is the right way to reweight observables calculated from simulated tempering trajectories with the default weighting algorithm? Is reweighting even necessary? I am new to this technique so I apologize if the question is naive.

Thank you!
Dan

User avatar
Peter Eastman
Posts: 2544
Joined: Thu Aug 09, 2007 1:25 pm

Re: simulated tempering (re)weighting

Post by Peter Eastman » Tue May 03, 2022 10:09 am

On every output, it reports the current temperature. Every conformation visited by the simulation reflects a Boltzmann distribution at the current temperature, so the probability is proportional to exp(-E/kT) where E is the total energy (potential+kinetic). The most common use of simulated tempering is that you want to collect a distribution at one temperature (say 300K) but use higher temperatures to let it cross barriers more easily. In that case you either could ignore all the samples from higher temperatures, or you could reweight them by the ratio of temperature factors, exp(-E/kT1)/exp(-E/kT2).

User avatar
Daniel Konstantinovsky
Posts: 77
Joined: Tue Jun 11, 2019 12:21 pm

Re: simulated tempering (re)weighting

Post by Daniel Konstantinovsky » Tue May 03, 2022 12:18 pm

So the E in the numerator and denominator is the same (it's the current total energy at whatever temperature?), just the temperatures are different?

User avatar
Peter Eastman
Posts: 2544
Joined: Thu Aug 09, 2007 1:25 pm

Re: simulated tempering (re)weighting

Post by Peter Eastman » Tue May 03, 2022 12:22 pm

Exactly. Different samples are drawn from different temperature ensembles. At higher temperatures, most samples will have energies that would be very improbable at the lower temperature, so the weighting factor will be very small.

User avatar
Daniel Konstantinovsky
Posts: 77
Joined: Tue Jun 11, 2019 12:21 pm

Re: simulated tempering (re)weighting

Post by Daniel Konstantinovsky » Tue May 03, 2022 12:25 pm

Got it, thank you Peter!

POST REPLY