Skip to main content

Auto-generate LMR-R reactions and mechanisms

Project description

Installation

pip install LMRRfactory

DOI

PyPI version

How to Use

import LMRRfactory

To apply LMR-R to all eligible pressure-dependent reactions in your input mech for which ab initio, reaction-specific, temperature-dependent third-body efficiencies are available in the LMRRfactory internal database:

LMRRfactory.makeYAML(mechInput="your_base_model.yaml", outputPath="folder/where/you/want/the/output/file/stored")

To apply ab initio LMR-R as described above AND apply "generic", temperature-independent third-body efficiencies to the remaining pressure-dependent reactions which lack an ab initio set in the database:

LMRRfactory.makeYAML(mechInput="your_base_model.yaml", outputPath="folder/where/you/want/the/output/file/stored", allPdep=True)

To apply LMR-R only to a single reaction (e.g. H + OH (+M) <=> H2O (+M)) and leave the rest of the input mechanism unchanged:

LMRRfactory.makeYAML(mechInput="your_base_model.yaml", outputPath="folder/where/you/want/the/output/file/stored", reaction=' H + OH (+M) <=> H2O (+M)')

To apply LMR-R only to a single reaction AND only provide that reaction with a single third-body efficiency of your choice, e.g. HE:

LMRRfactory.makeYAML(mechInput="your_base_model.yaml", outputPath="folder/where/you/want/the/output/file/stored", reaction=' H + OH (+M) <=> H2O (+M)', collider='HE')

Citation

If you use this tool, please cite:

@misc{LMRRfactory,
  author = {Singal, Patrick J. and Burke, Michael P.},
  title = {LMRRfactory: A Software Toolkit and Database for Implementing Mixture Rules at Scale},
  year = {2025},
  howpublished = {https://github.com/TheBurkeLab/LMRRfactory},
  doi = {10.5281/zenodo.14649195}
}

Acknowledgement

The authors gratefully acknowledge support from the Department of Energy Gas Phase Chemical Physics program (DE-SC0019487).

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

lmrrfactory-1.0.33.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lmrrfactory-1.0.33-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file lmrrfactory-1.0.33.tar.gz.

File metadata

  • Download URL: lmrrfactory-1.0.33.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for lmrrfactory-1.0.33.tar.gz
Algorithm Hash digest
SHA256 1334a70e9e1558c175f43c7309e26edf502cf2a022f4584086cf905799b2ce72
MD5 2b1e91b2aa5a773179c1f08be33cdac6
BLAKE2b-256 d8c51975feb65648aec401531b30f415e036f69af11571cdc8bc407f70b614e6

See more details on using hashes here.

File details

Details for the file lmrrfactory-1.0.33-py3-none-any.whl.

File metadata

  • Download URL: lmrrfactory-1.0.33-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for lmrrfactory-1.0.33-py3-none-any.whl
Algorithm Hash digest
SHA256 37bfae8aea07f8e9281ed0ba292fe3aa6f04e8e89f640fce6d8bec0a05b4083b
MD5 a5d7e30fa6ac50484d371a0d605b8380
BLAKE2b-256 2ab9b27474cb275ea17ecc63268ddbab3fdc5fd0672e670284572b7a8e8533fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page