Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Python Library for Monte Carlo Simulations with Ab Initio and Machine-Learned Interatomic Potentials

Journal Article · · Journal of Chemical Theory and Computation
 [1];  [2];  [3]
  1. Mississippi State University, MS (United States); The University of Alabama, Tuscaloosa, AL (United States)
  2. National Renewable Energy Laboratory (NREL), Golden, CO (United States)
  3. Mississippi State University, MS (United States)
There is a growing need in the simulation community for software that provides a transparent, reproducible, usable, and extensible (TRUE) Monte Carlo (MC) simulation framework employing energies from ab initio methods and machine-learning interatomic potentials (MLIPs). We introduce a Python library (ASE-MC) that adds Monte Carlo functionality to the Atomic Simulation Environment (ASE) package. Now, we can combine the powerful tools used to build systems and perform ab initio and MLIP in ASE with MC simulation algorithms to sample the configurational space with a concise Python script. After presenting the design philosophy, we demonstrate the flexibility of our approach using selected examples. These example simulations include liquid water described with a message-passing MLIP in the canonical and isothermal–isobaric ensembles, sampling the characteristic dihedral angle of biphenyl and comparing an MLIP to first-principles calculations, and a grand canonical Monte Carlo simulation of ammonia adsorption on Pt(111). These examples showcase the main features of the software, which include flexibility in the choice of ab initio or MLIP engine, ab initio or MLIP grand canonical MC with cavity bias insertions and deletions, the ability to add custom MC moves to the move set, and how users can condense complex MC workflows into a single Python script. Finally, this library serves as a framework for reproducible Monte Carlo simulations, facilitating easy reproduction of the work and application to new systems.
Research Organization:
Mississippi State University, MS (United States); National Renewable Energy Laboratory (NREL), Golden, CO (United States)
Sponsoring Organization:
National Science Foundation (NSF); USDOE Laboratory Directed Research and Development (LDRD) Program; USDOE Office of Science (SC), Basic Energy Sciences (BES). Chemical Sciences, Geosciences & Biosciences Division (CSGB); USDOE Office of Science (SC), Basic Energy Sciences (BES). Scientific User Facilities (SUF); USDOE Office of Science (SC), Office of Workforce Development for Teachers & Scientists (WDTS)
Grant/Contract Number:
AC02-05CH11231; AC36-08GO28308; SC0014664; SC0018211
Other Award/Contract Number:
CBET-1752036
OSTI ID:
3011911
Alternate ID(s):
OSTI ID: 3004686
Report Number(s):
NREL/JA--2800-95783
Journal Information:
Journal of Chemical Theory and Computation, Journal Name: Journal of Chemical Theory and Computation Journal Issue: 20 Vol. 21; ISSN 1549-9618; ISSN 1549-9626
Publisher:
American Chemical SocietyCopyright Statement
Country of Publication:
United States
Language:
English

References (98)

Progress in Green Ammonia Synthesis Technology: Catalytic Behavior of Ammonia Synthesis Catalysts journal April 2024
Open‐source molecular modeling software in chemical engineering focusing on the Molecular Simulation Design Framework journal February 2021
Analysis of NH3‐TPD Profiles for CuSSZ‐13 SCR Catalyst of Controlled Al Distribution – Complexity Resolved by First Principles Thermodynamics of NH3 Desorption, IR and EPR Insight into Cu Speciation** journal November 2021
Isobaric-Isothermal Monte Carlo Simulations from First Principles: Application to Liquid Water at Ambient Conditions journal September 2005
Understanding the Reactive Adsorption of H 2 S and CO 2 in Sodium-Exchanged Zeolites journal January 2018
Cassandra: An open source Monte Carlo package for molecular simulation journal April 2017
Performance of density functionals for modeling vapor liquid equilibria of CO 2 and SO 2 journal November 2017
MoSDeF Cassandra: A complete Python interface for the Cassandra Monte Carlo software journal April 2021
Phase Equilibria and Condensed Phase Properties of Fluorinated Alkanes via First Principles Simulations journal December 2017
cp2k: atomistic simulations of condensed matter systems
  • Hutter, Jürg; Iannuzzi, Marcella; Schiffmann, Florian
  • Wiley Interdisciplinary Reviews: Computational Molecular Science, Vol. 4, Issue 1 https://doi.org/10.1002/wcms.1159
journal June 2013
VMD: Visual molecular dynamics journal February 1996
Efficiency of ab-initio total energy calculations for metals and semiconductors using a plane-wave basis set journal July 1996
The adsorption mechanisms of organic micropollutants on high-silica zeolites causing S-shaped adsorption isotherms: An experimental and Monte Carlo simulation study journal June 2020
Enhancement of formic acid production from carbon dioxide hydrogenation using metal-organic frameworks: Monte Carlo simulation study journal July 2023
Adsorption and separation of ethane/ethylene on ZIFs with various topologies: Combining GCMC simulation with the ideal adsorbed solution theory (IAST) journal March 2015
HOOMD-blue: A Python package for high-performance molecular dynamics and hard particle Monte Carlo simulations journal February 2020
Toward a Monte Carlo program for simulating vapor–liquid phase equilibria from first principles journal July 2005
Effect of the partial charge distributions in the ZIF-8 framework on the adsorption of CO2 as assessed by Gibbs Ensemble Monte Carlo simulations journal March 2016
Monte Carlo simulations of water solubility in ionic liquids: A force field assessment journal January 2016
Solubility study of binary systems containing sulfur dioxide and water: A combination of Raman spectroscopy and Monte Carlo molecular simulation journal November 2023
Catalytic activity of Co/γ-Al2O3 catalysts for decomposition of ammonia to produce hydrogen journal September 2024
Grand Canonical Monte Carlo simulations of hydrogen and methane storage capacities of two novel Al-nia MOFs at room temperature journal January 2024
Differences in solvation thermodynamics of oxygenates at Pt/Al2O3 perimeter versus Pt(111) terrace sites journal February 2023
High-throughput screening of hypothetical aluminosilicate zeolites for CO2 capture from flue gas journal December 2020
Adsorption of furan, hexanoic acid, and alkanes in a hierarchical zeolite at reaction conditions: Insights from molecular simulations journal January 2021
Methane in zeolitic imidazolate framework ZIF-90: Adsorption and diffusion by molecular dynamics and Gibbs ensemble Monte Carlo journal November 2016
Monte Carlo simulation for the antiscaling performance of Gemini ionic liquids journal July 2019
CO2 sorption in triethyl(butyl)phosphonium 2-cyanopyrrolide ionic liquid via first principles simulations journal October 2019
Computation of gas solubilities in choline chloride urea and choline chloride ethylene glycol deep eutectic solvents using Monte Carlo simulations journal October 2020
GOMC: GPU Optimized Monte Carlo for the simulation of phase equilibria and physical properties of complex fluids journal January 2019
Update 2.70 to “GOMC: GPU Optimized Monte Carlo for the simulation of phase equilibria and physical properties of complex fluids” journal January 2021
Ammonia activation on platinum {111}: A density functional theory study journal May 2006
Grand canonical Monte Carlo (GCMC) study on adsorption performance of metal organic frameworks (MOFs) for carbon capture journal July 2022
Adsorption of Carbon Dioxide in Non-Löwenstein Zeolites journal June 2023
Prediction of Radon-222 Phase Behavior by Monte Carlo Simulation journal March 2016
MoSDeF-GOMC: Python Software for the Creation of Scientific Workflows for the Monte Carlo Simulation Engine GOMC journal February 2023
Enhancing Water Sampling in Free Energy Calculations with Grand Canonical Monte Carlo journal September 2020
Effects of Framework Flexibility on the Adsorption and Diffusion of Aromatics in MFI-Type Zeolites journal October 2020
Competitive Adsorption of Xylenes at Chemical Equilibrium in Zeolites journal February 2021
First-Principles Grand-Canonical Simulations of Water Adsorption in Proton-Exchanged Zeolites journal March 2021
Simulating Vapor–Liquid Equilibria of PH3, AsH3, and SbH3 from First Principles journal March 2021
Monte Carlo Simulations of Water Adsorption in Aluminum Oxide Rod-Based Metal–Organic Frameworks journal April 2023
Metal–Organic Frameworks with Metal–Catecholates for O 2 /N 2 Separation journal May 2019
Improving Ammonia Production Using Zeolites journal July 2019
Adsorption of Light Alcohols in a High Hydrophobic Metal Azolate Framework journal September 2019
Understanding Pore Filling Processes and Adsorption/Desorption Hysteresis in Nanoporous Metal–Organic Frameworks: Insights from Grand Canonical Monte Carlo Simulations and Free Energy Calculations journal June 2025
First-Principles Monte Carlo Simulations of Reaction Equilibria in Compressed Vapors journal April 2016
On the Use of Water and Methanol with Zeolites for Heat Transfer journal March 2023
Grand Canonical Monte Carlo Simulation of Ligand−Protein Binding journal November 2005
Continuous Fractional Component Monte Carlo:  An Adaptive Biasing Method for Open System Atomistic Simulations journal May 2007
Kinetics of NH3 Desorption and Diffusion on Pt: Implications for the Ostwald Process journal October 2021
Water Sites, Networks, And Free Energies with Grand Canonical Monte Carlo journal November 2015
A Set of Molecular Models for Symmetric Quadrupolar Fluids journal December 2001
Zeolitic Imidazolate Frameworks as H 2 Adsorbents: Ab Initio Based Grand Canonical Monte Carlo Simulation journal June 2010
H2, N2, and CH4 Gas Adsorption in Zeolitic Imidazolate Framework-95 and -100: Ab Initio Based Grand Canonical Monte Carlo Simulations journal November 2013
Transferable Potentials for Phase Equilibria. 1. United-Atom Description of n-Alkanes March 1998
Novel Configurational-Bias Monte Carlo Method for Branched Molecules. Transferable Potentials for Phase Equilibria. 2. United-Atom Description of Branched Alkanes journal May 1999
Active learning of reactive Bayesian force fields applied to heterogeneous catalysis dynamics of H/Pt journal September 2022
Precision and efficiency in solid-state pseudopotential calculations journal December 2018
On-the-fly active learning of interpretable Bayesian force fields for atomistic rare events journal March 2020
Bayesian force fields from active learning for simulation of inter-dimensional transformation of stanene journal March 2021
Sampling of the conformational landscape of small proteins with Monte Carlo methods journal October 2020
The design space of E(3)-equivariant atom-centred interatomic potentials journal January 2025
First principles Monte Carlo simulations of unary and binary adsorption: CO 2 , N 2 , and H 2 O in Mg-MOF-74 journal January 2018
Nature of molybdenum carbide surfaces for catalytic hydrogen dissociation using machine-learned potentials: an ensemble-averaged perspective journal January 2025
Grand canonical Monte Carlo simulations of water in protein environments journal October 2004
A general and efficient Monte Carlo method for sampling intramolecular degrees of freedom of branched and cyclic molecules journal October 2011
Comparison of simple potential functions for simulating liquid water journal July 1983
Commentary: The Materials Project: A materials genome approach to accelerating materials innovation journal July 2013
Predicting vapor liquid equilibria using density functional theory: A case study of argon journal June 2018
Q uantum ESPRESSO toward the exascale journal April 2020
CP2K: An electronic structure and molecular dynamics software package - Quickstep: Efficient and accurate electronic structure calculations journal May 2020
Effect of fluorination on the partitioning of alcohols journal October 2019
Towards molecular simulations that are transparent, reproducible, usable by others, and extensible (TRUE) journal April 2020
A cavity-biased ( T, V, μ ) Monte Carlo method for the computer simulation of fluids journal July 1980
On the inner workings of Monte Carlo codes journal December 2013
RASPA: molecular simulation software for adsorption and diffusion in flexible nanoporous materials journal February 2015
Solubilities of CO2, CH4, C2H6, CO, H2, N2, N2O, and H2S in commercial physical solvents from Monte Carlo simulations journal June 2023
Theoretical Calculation of the Liquid—Vapor Coexistence Curve of Water, Chloroform and Methanol with the Cavity-Biased Monte Carlo Method in the Gibbs Ensemble journal January 1992
QUANTUM ESPRESSO: a modular and open-source software project for quantum simulations of materials journal September 2009
Electronic structure calculations with GPAW: a real-space implementation of the projector augmented-wave method journal June 2010
Norm-conserving and ultrasoft pseudopotentials for first-row and transition elements journal October 1994
The atomic simulation environment—a Python library for working with atoms journal June 2017
Advanced capabilities for materials modelling with Quantum ESPRESSO journal October 2017
Computer Simulation of Liquids book June 2017
Ab initiomolecular dynamics for liquid metals journal January 1993
Ab initio molecular-dynamics simulation of the liquid-metal–amorphous-semiconductor transition in germanium journal May 1994
Efficient iterative schemes for ab initio total-energy calculations using a plane-wave basis set journal October 1996
From ultrasoft pseudopotentials to the projector augmented-wave method journal January 1999
Reply to “Comment on ‘Energy and pressure versus volume:  Equations of state motivated by the stabilized jellium model’ ” journal January 2003
Real-space grid implementation of the projector augmented wave method journal January 2005
Atomic cluster expansion for accurate and transferable interatomic potentials journal January 2019
Generalized Gradient Approximation Made Simple journal October 1996
Spin-mediated promotion of Co catalysts for ammonia synthesis journal March 2024
On the geometric ergodicity of Hamiltonian Monte Carlo journal November 2019
PyTorch: An Imperative Style, High-Performance Deep Learning Library preprint January 2019
MACE: Higher Order Equivariant Message Passing Neural Networks for Fast and Accurate Force Fields preprint January 2022
A foundation model for atomistic materials chemistry preprint January 2024