-
I'm a French student and I need to simulate a battery cell in Python using PyBaMM. def heat_transfer_coefficient(y): #Where y is the position parameters.update({"Total heat transfer coefficient [W.m-2.K-1]": heat_transfer_coefficient}) And I have this answers from python : File "c:\Users\AJOUSLI\env\simulation.py", line 36, in heat_transfer_coefficient Do you know how I can do this? Your answers would be very helpful to me :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
There's two things happening here:
In your case, if 470 and 520 are really the true values, I wouldn't bother with any of this and just use a single value that is the appropriate area-weighted average of the two. The difference between 470 and 520 is much smaller than the error introduced by some of the simplifying assumptions in the model |
Beta Was this translation helpful? Give feedback.
You can already do this for pouch geometries by setting the parameters “ Edge heat transfer coefficient [W.m-2.K-1]“ (see
PyBaMM/pybamm/parameters/thermal_parameters.py
Line 60 in afbf21d
PyBaMM/pybamm/parameters/thermal_parameters.py
Line 104 in afbf21d
The total heat transfer is only used in lumped thermal models, so cannot depend on space. See https://github.com/pybamm-team/PyBaMM/blob/develop/docs/source/examples/notebooks/models/thermal-models.ipynb for an overview of the thermal model…