Bruggeman transport efficiency submodel #2367
-
Hello, I am trying to make a custom submodel from the Bruggeman submodel, but I can't seem to get the code to run. I am running my code: import pybamm model = pybamm.lithium_ion.DFN(build = False) model.submodels["electrolyte transport efficiency"] = pybamm.transport_efficiency.Bruggeman( model.build_model() |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You need to capitalize "Electrolyte". |
Beta Was this translation helpful? Give feedback.
You need to capitalize "Electrolyte".
Also,
self._get_standard_transport_efficiency_variables
now takes a dictionary, keys should be domain strings (e.g. "negative electrode") and values should be the pybamm expression for that domain. This change is to allow more flexible model and domain definitions (half-cells, symmetric cells, dead lithium layer, etc), which is all work in progress