use ensemble.update_weights to simulate a different temperature #163
-
Hi, In the tutorial for second order phase transitions, it is claimed that update_weights can also simulate a different temperature. I am using first-principles methods to calculate ensemble which is very expensive, so I want to know how it is implemented.
Let's say I have two temperatures 100K and 300K. For 100K, I have minimized the free energy with 10 populations of 50 configurations, and I have obtained the 100K hessian with 5000 configurations. So far, I do not have any populations for 300K.
A detailed example for the work flow will be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, To use it, just call the
Indeed, you can enrich the script with the usual tricks to print frequencies and minimization data or to change the convergence parameters. It could be a good idea to reduce the Kong-Liu ratio for the stochastic criterion to avoid an early exit as reweighting on temperature reduces the stochastic accuracy. In this way, you can get the hessian at temperatures near the one you simulated without any extra ab initio simulation. Hope this helps! |
Beta Was this translation helpful? Give feedback.
Hi,
It is possible to reuse the ensemble to minimize at a different temperature, however, the temperature must be relatively close to the one already simulated (100 and 300 K are likely too different, try something like 150 K).
To use it, just call the
update_weights
with the target temperature, and then run again the minimization.For example: