-
-
Notifications
You must be signed in to change notification settings - Fork 546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify definition of PyBaMM's SPMe #4274
Comments
Sounds good to me |
Me too, thanks! |
brosaplanella
added a commit
that referenced
this issue
Aug 9, 2024
brosaplanella
added a commit
that referenced
this issue
Aug 9, 2024
12 tasks
brosaplanella
added a commit
that referenced
this issue
Aug 9, 2024
brosaplanella
added a commit
that referenced
this issue
Aug 25, 2024
brosaplanella
added a commit
that referenced
this issue
Aug 28, 2024
brosaplanella
added a commit
that referenced
this issue
Aug 28, 2024
brosaplanella
added a commit
that referenced
this issue
Oct 16, 2024
brosaplanella
added a commit
that referenced
this issue
Oct 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The definition of the SPMe remains a sticking point in PyBaMM. Even though the cited article for its definition is the Marquis et al (2019) paper, the actual implementation is a bit different (more accurate) as some terms have been "unlinearised"*. As part of improving the Creating Models notebooks (#3844) I wanted to write a BasicSPMe file and document the SPMe definition better. However, I have also noticed that the current approach falls somewhat in the middle: some terms are unlinearised and some are not. The marginal cost of doing the SPMe fully "unlinearised". All this discussion pertains to
composite_conductivity.py
*by "unlinearised" I mean that some terms in the asymptotic expansion get later grouped again in their nonlinear form.
Current implementation
Proposed implementation
I suggest moving to this version, which I believe is the most general one (I have dropped T dependence from parameters for simplicity, but will be accounted for). The version is taken from Brosa Planella & Widanage (2022), but the derivation is not explained with a lot of detail as the focus was the side reaction. My older paper Brosa Planella et al (2021) has a lot more detail but still assumes$\chi$ to be constant. This would make the integrated conductivity model redundant so we can get rid of it.
The text was updated successfully, but these errors were encountered: