A Numerical Framework for Electrochemistry by