Scaling by 1/a missing in double layer expression? #2142
-
I am currently working with simulations that involve electrical double layer capacitance and have come across a scaling (actually lack of a scaling) that might be a bug? I'll give a full derivation of my understanding below, but the short summary is it seems in the nondimensionalization of the non-Faradaic current equation a scaling by 1/a is missing here: If this is not the case, could someone possibly shed some light on where I'm going wrong? If my understanding is wrong I suspect it is somewhere in the dimensional scalings within the codebase. I've attached a pdf that shows my derivation of this particular submodel, as well as the dimensional scalings I have found throughout the codebase. I tried to be brief, but its a bit involved so I wanted to give sufficient details. Please let me know if you need any clarifications on any points. Thanks in advance for any advice. Best, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
You're probably right. Would be interesting to see whether this makes any difference to relevant data (pulsing or EIS). Good to have you looking over the equations so carefully! Sorry about the slow reply on your SEI question, we're looking into it |
Beta Was this translation helpful? Give feedback.
-
I generated a notebook that compares Nyquist EIS plots for two variants of the double layer model (with and without the 1/a scaling), and for two variants of the particle-radii (constant profile and variable profile). As expected, since for spherical particles a = 3*eps/R, the 1/a scaling in the RHS of the overpotential-DE does change the results slightly. I've attached the notebook to this posting (zip and pdf). Let me know if something is unclear, hopefully it is brief enough to follow though. Also, I have forked PyBaMM and made the single-line change (scaling by 1/a) discussed above. I need to clean up the commit message and run the tests, but once that is done I'll put a PR in place. Then if we decide this scaling should be fixed it'll be a straightforward merge. I'll reference this thread when I make the PR. |
Beta Was this translation helpful? Give feedback.
-
PR in draft here: #2175 |
Beta Was this translation helpful? Give feedback.
PR in draft here: #2175