microkinetic modeling code for homogeneous catalytic reactions
Project description
mikimo: microkinetic modeling and microkinetic volcano plots for homogeneous catalytic reactions
☄️ Why use microkinetic modelling? ☄️
☄️ What are microkinetic volcano plots? ☄️
Contents
Dependencies ↑
The code runs on pure python with the following dependencies:
numpy
scipy
autograd
matplotlib
pandas
scipy
h5py
fire
navicat_volcanic
Install ↑
pip install .
or
python setup.py install
Usages ↑
The code requires two essential inputs for the analysis: energy data, reaction network (along with initial concentrations to be incorporated in the reaction network). All these files must be in the same directory.
- energy data: reaction_data (in csv or xlsx format)
- reaction network: rxn_network (in csv or xlsx format)
- (optional) kinetic data: kinetic_data (in csv or xlsx format)
The energy data must be named "reaction_data" and share similar format as in navicat_volcanic
. In cases involving multiple reaction pathways, the final column of each pathway (including those pathways leading to the resting state) should contain "Prod" (case-insensitive).
The reaction network must be provided as a CSV or XLSX file named "rxn_network". Each row in the network represents an elementary step, while the columns represent the chemical species involved in the mechanism, excluding transition states. When filling in the reaction network, it is crucial to ensure that the species names match those in the energy data.
For each step (denoted as i) in the reaction network, assign a value of -n to the species on the left side of the equation and +n (or simply n) to the species on the right side, where n represents the stoichiometric coefficient. If a chemical species is not involved in step i, leave the corresponding cell empty or fill it with 0.
The initial concentrations should be specified in the last row of the reaction network file. This row can be named "c0", "initial_conc," or "initial conc."
Once all input files are ready and mikimo
is installed, several run options are available:
- Call just kinetic solver:
python -m navicat_mikimo mkm -d [DIR]
- Microkinetic modelling for all reaction profiles:
python -m navicat_mikimo vp -d [DIR] -nd 0
- To construct microkinetic volcano plot:
python -m navicat_mikimo vp -d [DIR] -nd 1
- To construct microkinetic activity/selectivity map:
python -m navicat_mikimo vp -d [DIR] -nd 2
- To screen over reaction time and temperature:
python -m navicat_mikimo cond -d [DIR]
- To smooth the volcano plots generated:
python replot.py [i]
Examples ↑
- Microkinetic modelling for Pd-catalyzed carbocyclization-borylation of enallene in the presence of chiral phosphoric acid at room temperature for 1 min of reaction time:
python -m navicat_mikimo mkm -d test_cases/pd_carbocylic_borylation/ -t 298.15 -Tf 60
- Microkinetic modelling for all profiles of the catalytic competing carboamination and cyclopropanation of N-enoxyphathanalimides with alkenes (353.15 K, 1 d):
python -m navicat_mikimo vp -d volcanic_test/CA_CP_selectivity/ -t 353.15 -nd 0
- Constructing the microkinetic volcano plot for the catalytic competing carboamination and cyclopropanation of N-enoxyphathanalimides with alkenes (353.15 K, 1 d):
python -m navicat_mikimo vp -d volcanic_test/CA_CP_selectivity/ -t 353.15 -nd 1 -ncore 24
- Constructiong the microkinetic activity/selectivity map for the catalytic competing carboamination and cyclopropanation of N-enoxyphathanalimides with alkenes (353.15 K, 1 d):
python -m navicat_mikimo vp -d volcanic_test/CA_CP_selectivity/ -t 353.15 -nd 2 -ncore 24
- Constructing the activity/selectivity map with time [2-24 hr] and temperature [273.15-423.15 K] as descriptors:
python -m navicat_mikimo cond -d test_cases/pincer_CO2_jacs/ -tt -Tf 7200 86400 -t 273.15 423.15 -ncore 24
- Using filtering to smooth the plot:
python replot.py examples/data/data.h5 -p 3 3 3 -w 20 20 20
You can find examples of reading h5 files and regenerating plots in the "examples" folder.
If the kinetic profile is detected in the directory, the code will prompt the user with an option to choose between using the kinetic profile instead of the energy profile. However, it's important to note that selecting the kinetic profile will restrict the user from screening over a range of temperatures or utilizing different temperature settings.
Known Limitations ↑
-
Overlapping states of different pathways before the reference state (starting point).
-
Bridging states between otherwise separate pathways.
-
Different TSs connecting the same 2 intermediates: just choose the lowest one.
To overcome these limitations and offer more flexibility, users have the option to input a kinetic profile named "kinetic_profile" in either CSV or XLSX format, replacing the conventional energy profile. However, this choice comes with the trade-off of disabling the ability to screen over a range of temperatures or use different temperature settings.
Citation ↑
If you use navicat_mikimo in your work, please cite our work and the forthcoming publication.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for navicat_mikimo-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 044bdc5d21bd60a679e22886e84a3219aac9d4a985eba253a441c89b52fe14f1 |
|
MD5 | 5f2851241920a5fb67c765f20226de8d |
|
BLAKE2b-256 | c00edf0118afb35433e3370d86b609e0e43cf612755c9835be82aef56bf6368a |