You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PyBaMM version - $ python -m pip show pybamm: 21.9
Python version - $ python --version: any
Describe the bug
When plotting the default plot for a simulation of a DFN half-cell model it crashes because it tries to plot the "Negative particle surface concentration [mol.m-3]" which does not exist for that model. Instead, the variables for the lithium counter electrode should be plotted (similar to how lead-acid is handled).
The key to fix this is to add a new case statement in line 163 of quick_plot.py.
$ python -m pip show pybamm
: 21.9$ python --version
: anyDescribe the bug
When plotting the default plot for a simulation of a DFN half-cell model it crashes because it tries to plot the
"Negative particle surface concentration [mol.m-3]"
which does not exist for that model. Instead, the variables for the lithium counter electrode should be plotted (similar to how lead-acid is handled).The key to fix this is to add a new case statement in line 163 of
quick_plot.py
.To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
Plot the relevant variables for the model
The text was updated successfully, but these errors were encountered: