pyMSER -- An open-source library for automatic equilibration detection in molecular simulations

Felipe Lopes Oliveira,Binquan Luan,Pierre Mothé Esteves,Mathias Steiner,Rodrigo Neumann Barros Ferreira
2024-08-31
Abstract:Automated molecular simulations are used extensively for predicting material properties. Typically, these simulations exhibit two regimes: a dynamic equilibration part, followed by a steady state. For extracting observable properties, the simulations must first reach a steady state so that thermodynamic averages can be taken. However, as equilibration depends on simulation conditions, predicting the optimal number of simulation steps a priori is impossible. Here, we demonstrate the application of the Marginal Standard Error Rule (MSER) for automatically identifying the optimal truncation point in Grand Canonical Monte Carlo (GCMC) simulations. This novel automatic procedure determines the point in which steady state is reached, ensuring that figures-of-merits are extracted in an objective, accurate, and reproducible fashion. In the case of GCMC simulations of gas adsorption in metal-organic frameworks, we find that this methodology reduces the computational cost by up to 90%. As MSER statistics are independent of the simulation method that creates the data, this library is, in principle, applicable to any time series analysis in which equilibration truncation is required. The open-source Python implementation of our method, pyMSER, is publicly available for reuse and validation at <a class="link-external link-https" href="https://github.com/IBM/pymser" rel="external noopener nofollow">this https URL</a>.
Mesoscale and Nanoscale Physics,Computational Physics,Data Analysis, Statistics and Probability
What problem does this paper attempt to address?