PyBaMM version and Temperature at each time step in a DFN model with thermal submodel #3819
-
Hello everyone, I am new to PyBaMM and I am still trying to figure things out! I appreciate the help, in advance. I recently inherited a model from another team who were using an earlier version of PyBaMM. Building on that, I am working on putting together a DFN model which has various submodels in it. One of them is the thermal submodel (2+1D current collectors thermal submodel). I have 2 questions:
Thank you again for the help! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Looks like you have version 0.4.0, which is very old. I’d recommend updating. The thermal and electrochemical models are solved together, so the electrochemical equations are always using the temperature from the thermal submodel. |
Beta Was this translation helpful? Give feedback.
-
Version 0.4.0 as @rtimms mentioned did not have an upper bound on the Python version required back then, which makes |
Beta Was this translation helpful? Give feedback.
-
Got it! Thank you @rtimms and @agriyakhetarpal Is there any quick way to update the codes from v0.4.0 to v24.1? Or do I need to manually figure out where the changes have been made and modify the codes accordingly? |
Beta Was this translation helpful? Give feedback.
Looks like you have version 0.4.0, which is very old. I’d recommend updating.
The thermal and electrochemical models are solved together, so the electrochemical equations are always using the temperature from the thermal submodel.