Skip to content
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

Fixed a bug where the SEI thickness decreased at some intervals when using the 'electron-migration limited' model. #3622

Merged
merged 4 commits into from Jan 18, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions pybamm/models/submodels/interface/sei/sei_growth.py
Expand Up @@ -134,8 +134,7 @@ def get_coupled_variables(self, variables):
elif SEI_option == "electron-migration limited":
# Scott Marquis thesis (eq. 5.94)
eta_inner = delta_phi - phase_param.U_inner
j_sei = phase_param.kappa_inner * eta_inner / L_sei_inner

j_sei = pybamm.EqualHeaviside(eta_inner, 0) * phase_param.kappa_inner * eta_inner / L_sei_inner
kratman marked this conversation as resolved.
Show resolved Hide resolved
elif SEI_option == "interstitial-diffusion limited":
# Scott Marquis thesis (eq. 5.96)
j_sei = -(
Expand Down