Replies: 2 comments 1 reply
-
Hi! We have now moved our discussions to Discourse. Please post your question there. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This looks like an issue with boundary conditions. You need boundary conditions for |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem` Description
I'm trying to implement a thermal model within the DFN base model by extending the standard DFN model to include temperature dynamics instead of using a constant temperature. The model implementation includes heat generation terms (irreversible, ohmic, ionic, reversible entropic, and contact resistance heat) and a thermal diffusion equation.
Code Implementation
I've extended the
BaseModel
class to create aThermalDFN
class that includes temperature dynamics.Error
(well i had some problems in importing the model but tried to solve them and don't have any error in the thermalmodel) but When trying to solve the model ( with experiment .. sim.solve.. ) I get a ShapeError: pybamm.expression_tree.exceptions.ShapeError: Cannot find shape (original error: inconsistent shapes)
Questions
Any guidance on correctly implementing thermal dynamics in a DFN model would be greatly appreciated.
@brosaplanella @rtimms @tinosulzer
This is the code i am implimenting:
import pybamm class ThermalDFN(pybamm.lithium_ion.BaseModel): """Doyle-Fuller-Newman (DFN) model of a sodium-ion battery, from :footcite:t:
Marquis2019`.`
Beta Was this translation helpful? Give feedback.
All reactions