Simulation of abuse tolerance of lithium-ion battery packs