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
Pouch cell simulations with voltage or power control fail with the error
TypeError: Initial conditions cannot contain 'Variable' objects, but 'Variable(-0x4b072f39e284004e, Current variable [A], children=[], domains={})' found in initial conditions for 'Current collector current density [A.m-2]'
Steps to Reproduce
importpybammmodel=pybamm.lithium_ion.DFN(
{
"cell geometry": "pouch",
"current collector": "potential pair",
"dimensionality": 1,
"thermal": "x-lumped"
},
)
experiment=pybamm.Experiment(["Hold at 4.2 V until C/20 (5 seconds period)"])
sim=pybamm.Simulation(model, experiment=experiment)
sol=sim.solve()
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
PyBaMM Version
24.1
Python Version
3.11
Describe the bug
Pouch cell simulations with voltage or power control fail with the error
Steps to Reproduce
Relevant log output
No response
The text was updated successfully, but these errors were encountered: