Replies: 5 comments 1 reply
-
You need to do dfn.submodels["sei"] = pybamm.sei.SEIGrowth(dfn.param, "full electrode", dfn.options) What are you trying to do here? |
Beta Was this translation helpful? Give feedback.
-
The reason I ask is because this code: dfn = pybamm.lithium_ion.DFN(options = submodel_options, build = False)
dfn.submodels["sei"] = pybamm.sei.SEIGrowth(dfn.param, "full electrode", dfn.options)
dfn.build_model() gives the same behavior as this code dfn = pybamm.lithium_ion.DFN(options = submodel_options) So I assume you're preparing your own SEI submodel or something? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the explanation :) I am just looking through all the functionality of PyBaMM atm. Do you have any good examples as to when options (in |
Beta Was this translation helpful? Give feedback.
-
Yes
There are no options to change those, since there are no other submodels for those |
Beta Was this translation helpful? Give feedback.
-
Converted to discussion |
Beta Was this translation helpful? Give feedback.
-
PyBaMM Version
22.3
Python Version
3.9.12
Describe the bug
Have tried all "SEI", "SEI porosity change" and "SEI film resistance" options. Documentation says "full electrode" should be used for DFN. ("x-average yields the same error, "interface" gives another error, makes sense since it is not meant for dfn)
Should I just build the model as usual and use
dfn.update()
instead?Beta Was this translation helpful? Give feedback.
All reactions