Skip to main content

Interfacing between About:Energy's BPX electrochemical parameter sets for batteries and the PyBaMM package for battery modelling.

Project description

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.2 requires PyBaMM v26.4+ (last supported version PyBaMM v26.4.1) and BPX v0.5.

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.

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

aepybamm-0.2.2.tar.gz (354.6 kB view details)

Uploaded Source

Built Distribution

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

aepybamm-0.2.2-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

Details for the file aepybamm-0.2.2.tar.gz.

File metadata

  • Download URL: aepybamm-0.2.2.tar.gz
  • Upload date:
  • Size: 354.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for aepybamm-0.2.2.tar.gz
Algorithm Hash digest
SHA256 71d551413881c99d6156c6702577b3af5dfadd3187a8c433b8f47d66cc834052
MD5 0e6d7c867d44fccab8be98a86f6e9749
BLAKE2b-256 d18ddc501425162dd4b1d3b5ec70117cae7e8ae49fe84adc2785c8600fb26710

See more details on using hashes here.

File details

Details for the file aepybamm-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: aepybamm-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 26.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for aepybamm-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2380075cfcdc79936c97e16bae1cdb197d60ce9f7c5804049cee048542254989
MD5 d253e1ddf6b01c23f035f254783750cd
BLAKE2b-256 00df67e63faba507a8b3045665c36b767200e5e6a583f6d836a06508f256904f

See more details on using hashes here.

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