Model error #2830
Unanswered
balaji3112
asked this question in
Q&A
Model error
#2830
Replies: 1 comment
-
In the code above you are overwriting the self.rhs = {
T_vol_av: ...,
T_pcm: ...,
} and similar for the initial conditions. It would probably make more sense to eventually have a separate submodel for the phase change material. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I was trying to add a new self.rhs equation inside the lumped.py for calculating the phase change material temperature, I'm receiving the following error:
File "C:\Users\Welcome.virtualenvs\Python_model\lib\site-packages\pybamm\discretisations\discretisation.py", line 157, in process_model
model.check_well_posedness()
File "C:\Users\Welcome.virtualenvs\Python_model\lib\site-packages\pybamm\models\base_model.py", line 697, in check_well_posedness
self.check_well_determined(post_discretisation)
File "C:\Users\Welcome.virtualenvs\Python_model\lib\site-packages\pybamm\models\base_model.py", line 798, in check_well_determined
raise pybamm.ModelError("model is underdetermined (too many variables)")
pybamm.expression_tree.exceptions.ModelError: model is underdetermined (too many variables)
Beta Was this translation helpful? Give feedback.
All reactions