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 details)
File details
Details for the file aiida-seigrowth-0.1.0.tar.gz.
File metadata
- Download URL: aiida-seigrowth-0.1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3f8b4ebb397d4f16a0f277072d16d5e3660a86c64c649c942f384176697ac1d
|
|
| MD5 |
e60a59f1f7fac7a9838dc43a6b43fbae
|
|
| BLAKE2b-256 |
433b957cc8f32e6ee9f6953112c206b2fa0dfe2427e2edcd84276b6be15438b2
|