Closed ejfdickinson closed 10 months ago
On further thinking, it could be argued that this is really a bug in create_from_bpx
, which ought to correct for the difference between Cell volume [m3]
and electrode volume before applying the cell density and specific heat capacities uniformly to the electrodes.
However, the appearance of the true cell_volume
in the heat transfer coefficient term in Lumped
still suggests that it would really be better if Lumped
addressed the total cell volume in all cases, not just the implied volume of electrochemically simulated active material.
Thanks for pointing this out. I think we should add variables for "integrated heat source per unit simulated electrode-pair area (unit: W/m2)" and "... heating [W]" as part of doing this, and make distinctions between "Volume-averaged" i.e. the actual cell volume and "Apparent volume-averaged" over the "actually battery stuff". What are your suggestions for good, informative names for these?
PyBaMM Version
23.9
Python Version
3.9.13
Describe the bug
The lumped thermal model (class
Lumped
) utilises the"Volume-averaged total heating [W.m-3]"
variable for the cell heat equation, in conjunction with cell volume"Cell volume [m3]"
.However, the volume-averaged total heating variable does not respect the cell volume when computed. Instead it uses a successive averaging approach which causes the resulting value to reflect only the apparent volume of the electrodes (as electrode pairs with separator and current collector), as the product of total electrode
thickness * height * width
. Consequently, the resulting applied total heat source on the cell is in error by the ratio of cell volume to electrode volume.A safer computation route for total cell heating would be the product
height * width
with the integrated heat source per unit simulated electrode-pair area (unit: W/m2).Spotters: Darryl Doyle (@darryl-ad ), Ivan Korotkin
Steps to Reproduce
Although the specified cell volume exceeds the product of modelled 1D thickness with electrode area (as expected due to inactive dead space in the cell), the lumped thermal model utilises a volumetric heat source (vs cell volume) that is identical to the X-averaged volumetric heat source at 1D simulation scale.
Relevant log output
No response