Exchange current density options in COMSOL model #2238
-
Hello PyBaMM Team, Let me say again how much I appreciate you creating and maintaining this software. Our group is hoping to move away from COMSOL simulations and more exclusively use PyBaMM but we are running into difficulties recreating your DFN COMSOL comparisons. In particular, we were curious how you handled the "Electrode Kinetics" in COMSOL? Until now, we have been trying to use the 'Lithium insertion' option for the "Kinetics expression type" which defines a leading coefficient We believe that this is similar to how PyBaMM defines Any insights on how PyBaMM handles the exchange current density compared to COMSOL would be greatly appreciated. Thanks again and kind regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi! You need to define your dimensional You shouldn't manipulate |
Beta Was this translation helpful? Give feedback.
Hi! You need to define your dimensional
j0
in your parameter set, which can be defined to match your COMSOL expression. For example, if you checkpybamm/input/parameters/lithium_ion/positive_electrodes/nmc_Chen2020/nmc_LGM50_electrolyte_exchange_current_density_Chen2020.py
, you can see how it is defined.You shouldn't manipulate
lithium_ion_parameters.py
as that includes all the nondimensionalisations that PyBaMM uses which are strongly dependent from each other, so changing one can break many things.