Modeling Thermal Runaway and Abuse in Batteries