Updating temperature in solver.step() - Setting up external thermal model #3206
-
Hi all, I am trying to set up a thermal model where I can calculate the temperature gradient along the radial dimension of a cylindrical cell. I am currently making quite a few assumptions, but essentially I want to run a P2D at each wind along the radial dimension. The P2D's would provide the heat source and a simple thermal model would update the temperature at each wind position. I'm getting stuck on the next part where I take this updated temperature and plug it back into the next time step. The code is below. The Does anyone have any thoughts on how I can approach this?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
"Volume-averaged cell temperature [K]" isn't a parameter, since you used @TomTranter is the real expert here so I'll let him weigh in |
Beta Was this translation helpful? Give feedback.
Hey @ChaddKiggins this approach is the one I use in the jellyroll papers 10.1149/1945-7111/aba44b 10.1149/1945-7111/abd44f and I have the code for it here https://github.com/TomTranter/pybamm_pnm I coupled the PyBaMM models with a network solver called OpenPNM for solving the current and thermal around the rolls and updated the temperatures then stepped the electrochemical sims in parallel and updated internal resistances etc and heat sources. Solving back and forth it runs a single discharge with 1000 models in about 10 minutes. I then took the same logic and put it into a pack simulation which became liionpack. https://liionpack.readthedocs.io/en/latest/ You could potentially use liionp…