Ph.D. 2017, Modeling and Control of a Modular Battery Management System for Lithium-Ion Battery Packs