Optimization of the lumped parameter thermal model for hard-cased li-ion batteries