Heat Generation In Lithium-Ion Batteries