Skip to main content

Python-based chemical kinetic Model Automatic Reduction Software (pyMARS)

Project description

pyMARS

DOI JOSS DOI CI Coverage Status Anaconda-Server Badge License Code of Conduct

Python-based (chemical kinetic) Model Automatic Reduction Software (pyMARS) implements multiple techniques for reducing the size and complexity of detailed chemical kinetic models.

An installation guide, usage examples, theory details, and API docs are provided in the online documentation: https://Niemeyer-Research-Group.github.io/pyMARS/

pyMARS currently consists of four methods for model reduction:

  1. Directed relation graph (DRG)
  2. Directed relation graph with error propagation (DRGEP)
  3. Path flux analysis (PFA)
  4. Sensitivity analysis (SA)

Sensitivity analysis may be run following one of the first three methods, or directly on the starting model; however, its computational expense is high, and applying this method alone is not recommended.

Installation

pyMARS requires Python 3.10+ and Cantera 3.x.

Via pip (PyPI, recommended):

pip install nrg-pymars

Via conda:

conda install -c niemeyer-research-group -c conda-forge pymars

From GitHub (latest development version):

pip install git+https://github.com/Niemeyer-Research-Group/pyMARS.git

From a cloned repository:

git clone https://github.com/Niemeyer-Research-Group/pyMARS.git
cd pyMARS
pip install .

Note: On PyPI, pyMARS is distributed under the name nrg-pymars, because the pymars name belongs to an unrelated, active project. The import package and command-line tool remain pymars — install with pip install nrg-pymars, then import pymars or run pymars.

Usage

For detailed usage examples, see the online documentation. Once installed, the list of options can be found with:

pymars --help

pyMARS requires models in the Cantera format. However, running pyMARS with a CHEMKIN file will convert it into a Cantera file. pyMARS also provides the --convert option to convert a given model to/from the CHEMKIN format.

Citation

Please refer to the CITATION file for information about citing pyMARS when used in a scholarly work.

If you use this package as part of a scholarly publication, please consider citing the appropriate theory/method papers in addition to the software itself.

License

pyMARS is released under the MIT license; see LICENSE for details.

Code of Conduct

To ensure an open and welcoming community, pyMARS adheres to a code of conduct adapted from the Contributor Covenant code of conduct.

Please adhere to this code of conduct in any interactions you have in the pyMARS community. It is strictly enforced on all official PyKED repositories, websites, and resources. If you encounter someone violating these terms, please let the project lead (@kyleniemeyer) know via email at kyle.niemeyer@gmail.com and we will address it as soon as possible.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nrg_pymars-1.2.0.tar.gz (28.6 kB view details)

Uploaded Source

Built Distribution

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

nrg_pymars-1.2.0-py3-none-any.whl (39.3 kB view details)

Uploaded Python 3

File details

Details for the file nrg_pymars-1.2.0.tar.gz.

File metadata

  • Download URL: nrg_pymars-1.2.0.tar.gz
  • Upload date:
  • Size: 28.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nrg_pymars-1.2.0.tar.gz
Algorithm Hash digest
SHA256 61c72f17f8067c525e6429c6926c16a35d20ef1a79d3b6ca3d33d40a57978774
MD5 f757af548e639afe6984e32738f4950f
BLAKE2b-256 1d2fdee1bedb49fa984d1de241d8e2a4810f57bc322d380c7835e91a3d45c3ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for nrg_pymars-1.2.0.tar.gz:

Publisher: publish.yml on Niemeyer-Research-Group/pyMARS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nrg_pymars-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: nrg_pymars-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 39.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nrg_pymars-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24a0e55450d229ece1ac23e0802e1d9f4ee04263693abb251c2b891df6d2004d
MD5 e4bbeab345a2495c5fbc89b8973361e3
BLAKE2b-256 0400d233157e60ffcccdd304279cd232d3cb920a030780718f3aa3b5f3004280

See more details on using hashes here.

Provenance

The following attestation bundles were made for nrg_pymars-1.2.0-py3-none-any.whl:

Publisher: publish.yml on Niemeyer-Research-Group/pyMARS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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