Modeling the Local Environment within Porous Electrode during Electrochemical Reduction of Bicarbonate