Python-based chemical kinetic Model Automatic Reduction Software (pyMARS)
Project description
pyMARS
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:
- Directed relation graph (DRG)
- Directed relation graph with error propagation (DRGEP)
- Path flux analysis (PFA)
- 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 thepymarsname belongs to an unrelated, active project. The import package and command-line tool remainpymars— install withpip install nrg-pymars, thenimport pymarsor runpymars.
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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61c72f17f8067c525e6429c6926c16a35d20ef1a79d3b6ca3d33d40a57978774
|
|
| MD5 |
f757af548e639afe6984e32738f4950f
|
|
| BLAKE2b-256 |
1d2fdee1bedb49fa984d1de241d8e2a4810f57bc322d380c7835e91a3d45c3ae
|
Provenance
The following attestation bundles were made for nrg_pymars-1.2.0.tar.gz:
Publisher:
publish.yml on Niemeyer-Research-Group/pyMARS
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nrg_pymars-1.2.0.tar.gz -
Subject digest:
61c72f17f8067c525e6429c6926c16a35d20ef1a79d3b6ca3d33d40a57978774 - Sigstore transparency entry: 1945883319
- Sigstore integration time:
-
Permalink:
Niemeyer-Research-Group/pyMARS@cf287f5ba760be143722722bba528d6528c3db79 -
Branch / Tag:
refs/tags/v1.2.0 - Owner: https://github.com/Niemeyer-Research-Group
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cf287f5ba760be143722722bba528d6528c3db79 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24a0e55450d229ece1ac23e0802e1d9f4ee04263693abb251c2b891df6d2004d
|
|
| MD5 |
e4bbeab345a2495c5fbc89b8973361e3
|
|
| BLAKE2b-256 |
0400d233157e60ffcccdd304279cd232d3cb920a030780718f3aa3b5f3004280
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nrg_pymars-1.2.0-py3-none-any.whl -
Subject digest:
24a0e55450d229ece1ac23e0802e1d9f4ee04263693abb251c2b891df6d2004d - Sigstore transparency entry: 1945883429
- Sigstore integration time:
-
Permalink:
Niemeyer-Research-Group/pyMARS@cf287f5ba760be143722722bba528d6528c3db79 -
Branch / Tag:
refs/tags/v1.2.0 - Owner: https://github.com/Niemeyer-Research-Group
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cf287f5ba760be143722722bba528d6528c3db79 -
Trigger Event:
push
-
Statement type: