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.32.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.32-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lmrrfactory-1.0.32.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.32.tar.gz
Algorithm Hash digest
SHA256 fdc02fc02f2d6d4a56070860581f8fa746cc053f7231f4f2658b4fce2bcba0c9
MD5 8e07433129a7caa212cc6ad1625d8103
BLAKE2b-256 3512a4f533f06783a44b16c34cb0c937a2d523ab9b6db5a32bcb1f29cc4ba1f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lmrrfactory-1.0.32-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.32-py3-none-any.whl
Algorithm Hash digest
SHA256 0f69f090a50c6e0ced46d1948338f36ef5d3dd048e863958e9755f2414282dbd
MD5 af6fe6f53dc0ff369ab9223649f67d3d
BLAKE2b-256 b2632c21622d6b5199346d9f8ec38230cbb09053377ec6da3cf9b6344d883234

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