Lithium-Ion Battery Safety Analysis With Physical Sub-Models