Fault Tolerance Optimization of a Lithium Battery Pack Having a Damaged Unit