Holistic battery management system design for lithium-ion battery systems via physics-based modeling, estimation, and control