[Bug]: ShapeError
(same issue as #3630) when using nonlinear transference number
#4670
Labels
bug
Something isn't working
PyBaMM Version
24.11
Python Version
3.9.13
Describe the bug
Issue #3630 (
ShapeError
when using apybamm.Interpolant
of time only to specify"Ambient temperature [K]"
as a thermal drive cycle), fixed in #3761, appears to still be causing a solve error due to aShapeError
in the presence of a product of temperature with a concentration variable in the"Cation transference number"
parameter (possibly also in"Thermodynamic factor"
?).I'm afraid I haven't the insight to discern why the domains of definition are still mismatched here.
This only seems to happen if the thermal model is isothermal. With
options={ "thermal": "lumped" }
, the simulation runs.Steps to Reproduce
The following repeat is the issue repeat from #3630 with the additional inclusion of a nonlinear expression in the transference number definition.
Relevant log output
The text was updated successfully, but these errors were encountered: