PyBaMM
PyBaMM copied to clipboard
Fast and flexible physics-based battery models in Python
### Description According to Birkl, Christoph R., et al. "Degradation diagnostics for lithium ion cells." Journal of Power Sources 341 (2017): 373-386., loss of active material on either positive electrode...
# Description Some changes in preparation for the composite release. No functionality should be affected by this PR, it just introduces phase dependency that will then be used by the...
# Description Revert numpy to >= 1.16 since scikits.odes has released fixed version
Various fixes to increase coverage and improve docstrings.
# Description Created a method `condition_number` in `Solutions` class that calculates and returns the condition number Fixes # (issue) ## Type of change Please add a line in the relevant...
# Description This came up in a discussion with @brosaplanella (about hatch and migration from `setup.py` to `pyproject.toml`) As long as we use the right lower bound, we will never...
I think we should change the default interpolant to be linear. This is normally the default for all other interpolators and is the "safest" option in the sense that you...
### PyBaMM Version 22.7 ### Python Version 3.9 ### Describe the bug https://pybamm.readthedocs.io/en/latest/source/meshes/one_dimensional_submeshes.html ### Steps to Reproduce https://pybamm.readthedocs.io/en/latest/source/meshes/one_dimensional_submeshes.html ### Relevant log output _No response_
### PyBaMM Version 22.7 ### Python Version 3.9 ### Describe the bug  ### Steps to Reproduce ``` import pybamm model = pybamm.lithium_ion.MPM() sim = pybamm.Simulation(model) sim.solve([0, 3600]) sim.plot([ "X-averaged...
When printing parameter info, add an option to separate by submodel name (with repetitions between submodels). This might require storing the parameters when the submodel is created.