AiiDA plugin to model SEI growth by population balance modeling
Project description
aiida-seigrowth
A plugin to Python3.8 to model SEI growth
Repository contents
.github/: Github Actions configurationci.yml: runs tests, checks test coverage and builds documentation at every new commitpublish-on-pypi.yml: automatically deploy git tags to PyPI - just generate a PyPI API token for your PyPI account and add it to thepypi_tokensecret of your github repository
aiida_seigrowth/: The main source code of the plugin packagecalculations.py: A newPbeSeiCalculationCalcJobclass
docs/: A documentation template ready for publication on Read the Docsexamples/: An example of how to submit a calculation using this plugin.gitignore: Telling git which files to ignore.pre-commit-config.yaml: Configuration of pre-commit hooks that sanitize coding style and check for syntax errors. Enable viapip install -e .[pre-commit] && pre-commit install.readthedocs.yml: Configuration of documentation build for Read the DocsLICENSE: License for your pluginREADME.md: This fileconftest.py: Configuration of fixtures for pytestpyproject.toml: Python package metadata for registration on PyPI and the AiiDA plugin registry (including entry points)
Installation
-
Before proceeding with the installation make sure that you have the right version of Pybamm installed correctly using the developer version
-
Download the External Code folder and include the python script pb.py by modifying the script code.yml accordingly:
- Include the code by using
verdi code setup --config code.yml
- Proceed to install the plugin
pip install aiida-seigrowth==0.0.4
verdi quicksetup # better to set up a new profile
verdi plugin list aiida.calculations # should now show your calclulation plugins
Usage
Here goes a complete example of how to submit a test calculation using this plugin.
A quick demo of how to submit a calculation:
- Activate the pybamm environment
$ source /absoulte/path/to/PyBaMM/.tox/dev/bin/activate
- Proceed to launch the example
verdi daemon start # make sure the daemon is running
cd examples
./example_01.py # run test calculation
verdi process list -a # check record of calculation
License
MIT
Contact
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
aiida-seigrowth-0.1.0.tar.gz
(4.3 kB
view hashes)