A battery modular multilevel management system (BM3) for electric vehicles and stationary energy storage systems
algorithms for advanced battery - management systems .