A phenomenological thermodynamic approach for evaluating the energetics involved in the discharge of lithium ion battery