Replies: 2 comments 1 reply
-
Hi @SimMLPhys, the numerical solvers in PyBaMM will only solve the equations up to a certain tolerance. You are able to reduce the tolerance (i.e. make the solution more accurate) via the arguments to the solvers, see for example https://docs.pybamm.org/en/stable/source/api/solvers/idaklu_solver.html. Numerical errors in the solution can potentially build up over long-running experiments, and will be influenced by discontinuities between different experimental steps. If you are concerned about numerical errors in your solution, I would perform a convergence study, reducing the tolerances and evaluating how quickly your solution converges. |
Beta Was this translation helpful? Give feedback.
-
Also see #4145 |
Beta Was this translation helpful? Give feedback.
-
In the 2019 Marquis paper, the following overall voltage equation is provided:
$$V = U_{\text{eq}} + \eta_r + \eta_c + \Delta\Phi_{\text{Elec}} + \Delta\Phi_{\text{Solid}}$$
However, when I try to check using a SPMe in python, I find this relation does not exactly hold:
This is the model I am using:
It looks like there is a slightly higher overpotential overall than from just the sum:
I am hoping someone can help me find out where this discrepancy is coming from.
Beta Was this translation helpful? Give feedback.
All reactions