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
In cell [5] add an initial_soc: e.g. simulation.solve(initial_soc=0.5)
See error (copied below)
Additional context
Tino's comment on it: It looks like it’s trying to solve the eSOH simulation (an algebraic model) with t_eval=[0] but since the current in the parameter set is a drive cycle it goes into the drive cycle branch where it expects t_eval to match the drive cycle. We should make it not go into that branch if t_eval=[0] is provided (which the user would probably not do accidentally)
$ python -m pip show pybamm
: 21.11$ python --version
: 3.7Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behaviour:
initial_soc
: e.g.simulation.solve(initial_soc=0.5)
Additional context
Tino's comment on it: It looks like it’s trying to solve the eSOH simulation (an algebraic model) with
t_eval=[0]
but since the current in the parameter set is a drive cycle it goes into the drive cycle branch where it expectst_eval
to match the drive cycle. We should make it not go into that branch ift_eval=[0]
is provided (which the user would probably not do accidentally)Error
The text was updated successfully, but these errors were encountered: