Using the Idaklu Solver causing a memory leak #4801
Unanswered
NicholasBudenberg-CAM
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi! We have now moved our discussions to Discourse. Please post your question there. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am running the following code in order to see how the degradation of the cell is effected by different drive cycles. My drive cycle has spiky currents and I have found that using the Casadi Solver fails unless I use a small timestep which is unreasonable for the other steps. I have tried the IDAKLU solver and this solved that issue but seemed to cause another on.
Here you can see the Casadi solver:

however when using the IDAKLU solver there seems to be a memory leak, however the simulation runs a lot more smoothly:

Any help as to what I am doing wrong would be much appreciated (or other ways of accomplishing what I am trying to do).
Beta Was this translation helpful? Give feedback.
All reactions