Modeling methods for electrochemical energy storage systems