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.31.tar.gz (14.7 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.31-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lmrrfactory-1.0.31.tar.gz
  • Upload date:
  • Size: 14.7 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.31.tar.gz
Algorithm Hash digest
SHA256 a5fd124665e5a7fe5446da5d11d3bd872eaadb409e97362fc821a9a879f3c03a
MD5 6becfd33471d1de918311dd920fb7dc5
BLAKE2b-256 dbe8a4c9d2d8555054c579c97d3c77a3853805ab467ecd996a84a8e367f7e541

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lmrrfactory-1.0.31-py3-none-any.whl
  • Upload date:
  • Size: 13.8 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.31-py3-none-any.whl
Algorithm Hash digest
SHA256 f0d0e4c774a5f23bfb8f346dbcece5333bd706033faf9243a6a9bcb878920a4f
MD5 452ee3017285b1895c87fbda9d87604b
BLAKE2b-256 30ad583529e197afc86599b9e5d500836287199093a86646abd2bfc06c7f6e4c

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