You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am running Pybamm 22.9 and I am trying to use this (active_material.BaseModel) submodel with DFN since I have an active material fraction that varies with position. However, I get the following error:
ModelError: Missing variable for submodel 'negative particle mechanics': 'Negative electrode surface area to volume ratio'.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am running Pybamm 22.9 and I am trying to use this (active_material.BaseModel) submodel with DFN since I have an active material fraction that varies with position. However, I get the following error:
ModelError: Missing variable for submodel 'negative particle mechanics': 'Negative electrode surface area to volume ratio'.
import pybamm
modelMLA = pybamm.lithium_ion.DFN(build = False,options=options)
options = {
"lithium plating": "partially reversible",
"SEI on cracks":"true",
}
modelMLA.submodels["negative primary active material"] = pybamm.active_material.BaseModel(
modelMLA.param,"negative", options
)
modelMLA.build_model()`
Beta Was this translation helpful? Give feedback.
All reactions