RuntimeError while trying to run drive cycle in experiment with initial SOC #2489
Replies: 1 comment
-
Hi, I think this error you showed is related to the solver, which is quite difficult to debug. PyBaMM tries to give as much information as possible such as exceptions. However, there are always some other problems out of these exceptions. That is the tricky part of simulation which I think it is quite generous. However, based on my personal experience, there are still something worth checking:
Other things to try are to reduce dt_max, try another solver, etc.. Also, I found that reducing the time to exactly when the model fails can probably give you more information. To do that, you can divide your whole experiments / cycles into smaller pieces and use the Also, it is worth reading through the examples that PyBaMM provides here, sometimes you may find some useful scripts/functions. I currently have not found any shortcuts in debugging or avoiding errors. Though I wish I have~ lol. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I am trying to run a drive cycle in an experiment but it keeps failing. Part of the code as follows:
It gives the error:
But when I remove the lithium plating option, the code works well.
Why? Can you help me handle this? @rtimms @tinosulzer
Beta Was this translation helpful? Give feedback.
All reactions