Modeling the Dynamics of Materials Processing and Electrochemical Systems for Energy Storage Applications