PyBaMM
PyBaMM copied to clipboard
[Bug]: latexify issue while displaying lithium plating equations
PyBaMM Version
24.1
Python Version
3.10.13
Describe the bug
Gives error when try to display model with lithium plating option.
KeyError: 'min'
Steps to Reproduce
import pybamm
model = pybamm.lithium_ion.SPM(
options={
"lithium plating": "irreversible"
}
)
model.latexify()
Relevant log output
No response
Hi! 👋 I'm new to PyBaMM and interested in contributing. I’d love to take up this issue and help resolve the LaTeX formatting for the lithium plating equations. Could you please assign this to me if it's still available?
Done, @Manimaran-tech. Thanks for taking this on!
Hi! I noticed this issue was still open and decided to look into it. I’ve implemented a fix and opened PR #5245, I'm open to any feedback or suggestions. Thanks.