Modeling and simulation of heat of mixing in li ion batteries