Modeling Lithium-Based Batteries with Simscape