Mathematical Model of a Lithium/Polypyrrole Cell