Text this: Charging and discharging model of lithium-ion battery for charge equalization control using particle swarm optimization algorithm