Closed opqrst-chen closed 2 weeks ago
Hi, @opqrst-chen – since you're running PyBaMM version 24.1, could you please try out the notebook from the v24.1
branch: https://github.com/pybamm-team/PyBaMM/blob/v24.1/docs/source/examples/notebooks/models/loss_of_active_materials.ipynb? The discretisation_kwargs
argument does not exist in v24.1, but exists in the unreleased develop
branch, which might explain your error. FYI, PyBaMM's pre-releases for v24.5 are available as well, where the notebook from the develop
branch should work. The pre-releases, shall you wish to install them, can be installed with this command: pip install --pre pybamm
It looks like there hasn't been a reply in 30 days, so I'm closing this issue.
PyBaMM Version
24.1
Python Version
3.12.4
Describe the bug
I encountered a TypeError when running the example notebook located at
PyBaMM/docs/source/examples/notebooks/models/loss_of_active_materials.ipynb
.The error occurs with the following code:
The error message is as follows:
Steps to Reproduce
Relevant log output
No response