Skip to content

petrusen/pomsimulator

Repository files navigation

POMSimulator

Introduction

POMSimulator is a software for predicting the aqueous speciation and self-assembly mechanism of polyoxometalates. Based on a pure Python framework, the method generates reaction maps using Graph Theory, and solves the non-linear equations related to the speciation models. The software creates a collection of formation constants for all the species in the simulation, and a list of the chemical reactions. The package also contains a set of python scripts for analysing and plotting this data.

Authors: Enric Petrus, Mireia Segado-Centellas, Carles Bo

Institution: research group of Carles Bo, at the Institute of Chemical Research of Catalonia (ICIQ) - Tarragona, Spain

Developer team: Jordi Buils, Diego Garay-Ruiz, Enric Petrus

Installation

POMSimulator can be installed via git and pip (see below).

git clone <pomsimulator-repo>
cd pomsimulator
pip install -e .

To ensure that the installation has been successful, we recommend to run the test python simulation_test.py from inside the Simulations folder.

Quickstart

The main simulation file of POMSimulator is stored in ./Simulations. The code reads the quantum mechanical outputs in ./Inputs and generates two output files in the folder ./Outputs. These two files correspond to the chemical reaction network, and the list predicted of formation constants. Hitherto, the code parses the input data from the calculations of the SCM ADF 2019 package. Nonetheless, the input data can also be introduced separately.

The run the code, the user has to set the simulation.py file, and the execute it. For example: python simulation_tungstates.py.

With the obtained results, the package offers a set of tools, in the folder ./Utilities, for analysing and plotting the results. Before plotting the speciation and/or phase diagrams, it is necessary to linearly scale the predicted formation constants. This is done with scale_constants.py. The scaling parameters are stored as a text file (scaling_params.pomsim), and then employed by speciation_diagram.py.

The user can find more information about the basis of the method in the PhD thesis of the author. The document is available in the TDX-repository. The user can also find a written manual in .docs/manual.md

How to Cite

When publishing results generated with POMSimulator, we kindly request you to cite the original paper:

Petrus, E.; Segado, M.; Bo, C. Chem. Sci., 2020, 11, 8448-8456 doi.org/10.1039/D0SC03530K

List of peer-reviewed articles featuring POMSimulator:

License and Copyright Information

POMSimulator is distributed under the GNU AFFERO GENERAL PUBLIC LICENSE. For more license and copyright information, see the file LICENSE.txt

Support and Contact

In case you should encounter problems or bugs, please write a short message to one of the following addresses: enricpz@icloud.com, jbuils@iciq.es, dgaray@iciq.es.