Linearization method in Pybamm #4014
-
Hi team, For DFN model, I am wondering how Pybamm linearizes the strongly non-linear system. I try to develop a microscale lithium-ion battery model and use Newton method to do linearization, but the solution for potential is weird. Can I ask what root-finding algorithm is used in Pybamm? Thank u very much! |
Beta Was this translation helpful? Give feedback.
Answered by
valentinsulzer
Apr 17, 2024
Replies: 1 comment 1 reply
-
We use Sundials (either via CasADi or the IDA KLU solver directly) to solve the non-linear DAE system |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
xyyrly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We use Sundials (either via CasADi or the IDA KLU solver directly) to solve the non-linear DAE system