Battery System Modeling