Mitigating Risks of Explosion and fire for BESS