AEPyBaMM
AEPyBaMM (aepybamm) is a Python library that supports the use of About:Energy's Electrochemical models (such as About:DFN) in the PyBaMM implementation.
AEPyBaMM is an interface between the PyBaMM package for battery modelling and the BPX package for expression of electrochemical parameter sets. AEPyBaMM v0.2.3 requires PyBaMM v26.7+ (last supported version PyBaMM v26.7.1) and BPX v1.1.1.
The core functionality of AEPyBaMM is expressed through the function get_params, which combines a BPX parameter set and any user-defined options to yield a tuple of self-consistent pybamm.ParameterValues and pybamm.lithium_ion.{model} objects.
Example use case:
import pybamm
from aepybamm import get_params
fp_bpx = "*.json" # filepath of BPX JSON file containing parameter set
parameter_values, model = get_params(
fp_bpx,
**kwargs, # additional options to get_params()
)
sim = pybamm.Simulation(
model,
parameter_values=parameter_values,
**kwargs, # additional options to pybamm.Simulation
)
# The pybamm.Simulation 'sim' can now be solved and post-processed as desired.
AEPyBaMM additionally provides functions solve_from_expdata and compare, to aid simple solution and comparison operations on experimental data without using the PyBaMM API directly.
Metadata
Release files for aepybamm 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aepybamm-0.2.3.tar.gz | 528.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aepybamm-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 556.5 kB
Release files / aepybamm-0.2.3.tar.gz
| Download URL | aepybamm-0.2.3.tar.gz |
|---|---|
| Size | 528.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fbfbfd961e0ff35079b49d06b1ecab6acaa280b9ce0b1b03f99234d41a00ae05
|
|
BLAKE2b-256 checksum How to use checksums |
28c15f8f0207d7e15246ad53a764b5bf8fb1cb432092bc010661d22f373c9b3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.11
|
Release files / aepybamm-0.2.3-py3-none-any.whl
| Download URL | aepybamm-0.2.3-py3-none-any.whl |
|---|---|
| Size | 28.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1435bfbfb8fad280585ab192ec9b23f66a4c0960a4a28c6f19f30f184a74034e
|
|
BLAKE2b-256 checksum How to use checksums |
28d7641fcc24542829720acb08a55475f89e1466cf1bc009b32af8b7ee178270
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.11
|