-
-
Notifications
You must be signed in to change notification settings - Fork 537
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
SEI + Composite j_sei undefined #4164
Comments
@parkec3 Do you want to continue looking into this since you worked on the other PR? |
Never mind, @valentinsulzer already made a branch for a fix |
I will just add that I am trying to explore whats possible for coupled degradation when were using a composite electrode. It's somewhat unclear if I am just making syntax mistakes or if there are limitations to the current approach for separate SEI models on the anode, or other coupled degradation models (LAM, etc) So far I have observed a few things
@valentinsulzer just FYI |
Report from @mpegis:
The PR (#4153) seemed to fix my issue (#4123) when I declared SEI on both Si/Gr phases in Chen2020, but now I am seeing a different error when defining a single SEI on one phase with "none" on the other/cathode.
Is giving me this error
UnboundLocalError Traceback (most recent call last)
))
--> 182 j_inner = inner_sei_proportion * Arrhenius * j_sei
183 j_outer = (1 - inner_sei_proportion) * Arrhenius * j_sei
185 variables.update(self._get_standard_concentration_variables(variables))
UnboundLocalError: cannot access local variable 'j_sei' where it is not associated with a value
Was curious if I missed another model option or if this is expected behavior?
Thanks!
Originally posted by @mpegis in #4123 (comment)
The text was updated successfully, but these errors were encountered: