A PSPICE macromodel for lithium-ion batteries | Synapse