Electrochemical Reactor Performance Optimization and Modeling