electrochemical simulation