<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Chem. Eng.</journal-id>
<journal-title>Frontiers in Chemical Engineering</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Chem. Eng.</abbrev-journal-title>
<issn pub-type="epub">2673-2718</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">796805</article-id>
<article-id pub-id-type="doi">10.3389/fceng.2021.796805</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Chemical Engineering</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>The Rational Design of a Financially Viable Microbial Electrolysis Cell for Domestic Wastewater Treatment</article-title>
<alt-title alt-title-type="left-running-head">Aiken et&#x20;al.</alt-title>
<alt-title alt-title-type="right-running-head">Financially Viable MEC Design</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Aiken</surname>
<given-names>Daniel C.</given-names>
</name>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1362899/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Curtis</surname>
<given-names>Thomas P.</given-names>
</name>
<uri xlink:href="https://loop.frontiersin.org/people/64046/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Heidrich</surname>
<given-names>Elizabeth S.</given-names>
</name>
<uri xlink:href="https://loop.frontiersin.org/people/520055/overview"/>
</contrib>
</contrib-group>
<aff>
<institution>School of Engineering</institution>, <institution>Newcastle University</institution>, <addr-line>Newcastle-upon-Tyne</addr-line>, <country>United&#x20;Kingdom</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/197230/overview">Albert Guisasola</ext-link>, Universitat Aut&#xf2;noma de Barcelona, Spain</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/93858/overview">Antonio Moran</ext-link>, Universidad de Le&#xf3;n, Spain</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/452550/overview">Nicolas Bernet</ext-link>, Institut National de Recherche pour l&#x2019;Agriculture, l&#x2019;Alimentation et l&#x2019;Environnement (INRAE), France</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Daniel C. Aiken, <email>aiken.dx@gmail.com</email>
</corresp>
<fn fn-type="other">
<p>This article was submitted to Environmental Chemical Engineering, a section of the journal Frontiers in Chemical Engineering</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>03</day>
<month>02</month>
<year>2022</year>
</pub-date>
<pub-date pub-type="collection">
<year>2021</year>
</pub-date>
<volume>3</volume>
<elocation-id>796805</elocation-id>
<history>
<date date-type="received">
<day>17</day>
<month>10</month>
<year>2021</year>
</date>
<date date-type="accepted">
<day>27</day>
<month>12</month>
<year>2021</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2022 Aiken, Curtis and Heidrich.</copyright-statement>
<copyright-year>2022</copyright-year>
<copyright-holder>Aiken, Curtis and Heidrich</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these&#x20;terms.</p>
</license>
</permissions>
<abstract>
<p>Microbial electrolysis cells (MECs) are yet to achieve commercial viability. Organic removal rates (ORR) and capital costs dictate an MEC&#x2019;s financial competitiveness against activated sludge treatments. We used numerical methods to investigate the impact of acetate concentration and the distance between opposing anodes&#x2019; surfaces (anode interstices width) on MEC cost-performance. Numerical predictions were calibrated against laboratory observations using an evolutionary algorithm. Anode interstices width had a non-linear impact on ORR and therefore allowable cost. MECs could be financially competitive if anode interstices widths are carefully controlled (2.5&#xa0;mm), material costs kept low (&#xa3;5&#x2013;10/m<sup>2</sup>-anode), and wastewater pre-treated, using hydrolysis to consistently achieve influent acetate concentrations &#x3e;100&#xa0;mg-COD/l.</p>
</abstract>
<kwd-group>
<kwd>cost</kwd>
<kwd>viability</kwd>
<kwd>rational</kwd>
<kwd>commerical</kwd>
<kwd>anode</kwd>
<kwd>design</kwd>
<kwd>microbial electrolysis cell</kwd>
</kwd-group>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>Bio-electrochemical systems (BES) promise to revolutionise the wastewater industry by reducing the energy required in wastewater treatment whilst concurrently producing renewable products (<xref ref-type="bibr" rid="B29">Rabaey and Verstraete, 2005</xref>). Microbial electrolysis cells (MEC), a type of BES, may pose a viable solution to large-scale energy recovery as they can produce hydrogen gas, a storable form of energy. MEC do not require oxygenated cathode chambers removing the costs associated with aeration. But, possible revenue from hydrogen in MEC over a 20-year period is low relative to the capital costs. Consequently, the largest financial benefit of the technology is in reducing the energy costs of conventional activated sludge (AS) treatments (<xref ref-type="bibr" rid="B2">Aiken et&#x20;al., 2019</xref>). MEC organic removal rates (ORR) must therefore be sufficient to compete with well-established technologies. Our previous financial analyses (<xref ref-type="bibr" rid="B2">Aiken et&#x20;al., 2019</xref>) provided targets for capital costs (c.&#xa3;600-&#xa3;1,600/m3.d) and organic removal rates (ORR) (800&#x2013;1,400g-COD/m3/d) to achieve an MEC that could be financially competitive with AS. Other studies have considered MEC economics but either failed to link costs to ORR (or organic loading rates, OLR) (<xref ref-type="bibr" rid="B33">Sleutels et&#x20;al., 2012</xref>), or calibrated their results against MEC operated at unrealistically warm temperatures (30&#xb0;C) (<xref ref-type="bibr" rid="B11">Escapa et&#x20;al., 2012</xref>), where microbial activity is a function of temperature (<xref ref-type="bibr" rid="B20">Kolmos, 2012</xref>; <xref ref-type="bibr" rid="B26">Lu et&#x20;al., 2012</xref>). This paper seeks to determine whether our targets are achievable, and if so, how. Thereby providing engineers and researchers with a design guide towards a commercially viable MEC for domestic wastewater treatment. Moreover, we seek to do this in a timely fashion. For though MEC have been proposed as a waste treatment technology for nearly 20&#xa0;years, pilot plant studies are rare and expensive. Exploring performance and design <italic>in silico</italic> will save both time and money. Previous BES modelling efforts predominantly considered 1D &#x201c;Monod&#x201d;-type models for MFC performance (<xref ref-type="bibr" rid="B39">Xia et&#x20;al., 2018</xref>). None have sought to provide a guide towards commercial viability.</p>
<p>Such a simulation must be based on realistically available acetate concentrations. Biofilms are dependent upon the mass transport of substrate from the bulk liquid to the anode. Electrogenic species can only, directly, uptake specific substrates (<xref ref-type="bibr" rid="B34">Speers and Reguera, 2012</xref>) to fuel their growth and thus electrical generation. Known electrogenic food sources are acetate, formate and hydrogen. Of these, acetate provides the highest current densities when used as a single food source (<xref ref-type="bibr" rid="B34">Speers and Reguera, 2012</xref>; <xref ref-type="bibr" rid="B41">Zhao, 2018</xref>). As such, acetate concentrations are limiting (<xref ref-type="bibr" rid="B37">Velasquez-Orta et&#x20;al., 2011</xref>; <xref ref-type="bibr" rid="B10">Dhar and Lee, 2014</xref>). To provide an empirical baseline for model calibration we observed substrate degradation rates, current response and coulombic efficiencies in a batch-style laboratory set-up fed with realistic acetate concentrations. Our laboratory set-up used controlled conditions, that although idealistic were analogous with the &#x201c;real-world.&#x201d; For the purpose of simplicity we neglected hydrolysis (and other compounds), but acknowledge that it is limiting. Reactors were fed with a range of acetate concentrations (10-50&#xa0;mg-COD/l) that reflected the concentration available in domestic wastewater (c.10&#xa0;mg-COD/l) (<xref ref-type="bibr" rid="B17">Henze and Comeau, 2008</xref>; <xref ref-type="bibr" rid="B18">Huang et&#x20;al., 2010</xref>; <xref ref-type="bibr" rid="B31">Shi, 2011</xref>) and a lower range of what may be attainable through hydrolysis (20-100&#xa0;mg-COD/l) (<xref ref-type="bibr" rid="B23">Ligero et&#x20;al., 2001</xref>).</p>
<p>Varying the space between anodes incurs a trade-off between cost and ORR. For MEC to be viable, we need a decrease in cost and an increase in ORR. Increases in current and hydrogen production rates are secondary (<xref ref-type="bibr" rid="B2">Aiken et&#x20;al., 2019</xref>). Viable large-scale designs often have two anodes facing one another with a &#x201c;chamber&#x201d; in-between (<xref ref-type="bibr" rid="B16">Heidrich et&#x20;al., 2013</xref>; <xref ref-type="bibr" rid="B12">Escapa et&#x20;al., 2015</xref>; <xref ref-type="bibr" rid="B8">Cotterill et&#x20;al., 2017</xref>; <xref ref-type="bibr" rid="B3">Baeza et&#x20;al., 2017</xref>), these can vary in width but are usually greater than 10&#xa0;mm (<xref ref-type="sec" rid="s10">Supplementary Figure S1A</xref>). Alternative porous designs possess anode surfaces that surround a &#x201c;pore&#x201d; and similarly oppose one another and are usually less than 1&#xa0;mm in width (<xref ref-type="bibr" rid="B7">Chong et&#x20;al., 2019</xref>) (<xref ref-type="sec" rid="s10">Supplementary Figure S1B</xref>). We refer to these as the anode &#x201c;interstices":&#x201d; the space between anodes&#x2019; surfaces. As biofilms reside on an anode&#x2019;s surface, packing anode surfaces closer together reduces substrate travel time and thus increases mass transport and subsequently ORR. Though limitations occur at very low interstices&#x2019; widths (<xref ref-type="bibr" rid="B7">Chong et&#x20;al., 2019</xref>). However, packing anodes closer together also increases anode area requirements. As the majority of capital costs are in the electrodes (<xref ref-type="bibr" rid="B30">Rozendal et&#x20;al., 2008</xref>; <xref ref-type="bibr" rid="B2">Aiken et&#x20;al., 2019</xref>), a cost-performance trade-off is incurred. The two key design questions we attempted to answer are therefore: 1) what interstices width maximises ORR whilst minimising cost? 2) at what acetate concentration can MEC be financially competitive with&#x20;AS?</p>
<p>We used numerical modelling to obtain MEC cost-performance predictions for a range of acetate concentrations and anode interstices widths. We integrated our previous financial viability targets (<xref ref-type="bibr" rid="B2">Aiken et&#x20;al., 2019</xref>) with numerical predictions for ORR and calibrated our models against empirically derived laboratory results. The methods used in this paper were conducted in five phases: &#x201c;laboratory operation,&#x201d; &#x201c;biofilm model development,&#x201d; &#x201c;scheme setup,&#x201d; &#x201c;calibration&#x201d; and &#x201c;extrapolation.&#x201d; To calibrate our numerical model to our laboratory observations we used an evolutionary algorithm, because they are efficient solvers of multi-objective optimisation problems (<xref ref-type="bibr" rid="B38">Weicker and Weicker, 2003</xref>). In our final phase, &#x201c;extrapolation,&#x201d; we consider two scenarios: one in which biomass concentrations were the same as found during calibration and one in which the ultimate biofilm concentration scaled linearly with acetate concentration. ORR outputs were linked with cost-performance targets (<xref ref-type="bibr" rid="B2">Aiken et&#x20;al., 2019</xref>). We varied substrate concentration and anode interstices width, and reported outputs for: ORR, time until 90% substrate removal, anode area requirements and allowable standard costs (/m<sup>2</sup>-anode). We used OpenFOAM as the basis for numerical simulations.</p>
</sec>
<sec id="s2">
<title>2 Methods</title>
<sec id="s2-1">
<title>2.1 Phase One: Laboratory Operation</title>
<sec id="s2-1-1">
<title>2.1.1 Laboratory Set-Up</title>
<p>Our laboratory set-up used controlled conditions, that although idealistic were analogous with the &#x201c;real-world.&#x201d; We carefully controlled acetate concentrations (10-50&#xa0;mg-COD/l), conductivity (770&#x20;&#xb1; 15<italic>&#x3bc;</italic>S/cm), temperature (10&#x20;&#xb1; 0.5&#xb0;C) and pH (7.50&#x20;&#xb1; 0.15) to reflect realistic values for an MEC operated with domestic wastewater in a temperate climate. Importantly, acetate concentrations were low to reflect acetate concentrations available in domestic wastewater (c.10&#xa0;mg-COD/l) (<xref ref-type="bibr" rid="B17">Henze and Comeau, 2008</xref>; <xref ref-type="bibr" rid="B31">Shi, 2011</xref>; <xref ref-type="bibr" rid="B40">Xin et&#x20;al., 2018</xref>). Additionally, anolyte contained ammonium chloride (20&#xa0;mg-NH4-equiv/l), a vitamin solution and trace element solution based on wolfe&#x2019;s vitamin solution (ATCC&#x00AE; MD-VS<sup>TM</sup>) and trace element solution (ATCC&#x00AE; MD-TMS<sup>TM</sup>), respectively. We used phosphate buffer (NaH<sub>2</sub>PO<sub>4</sub>, Na<sub>2</sub>HPO<sub>4</sub>) to control pH and conductivity in both the anolyte and catholyte and a cooled incubator (Samsung, United&#x20;Kingdom) to control temperature.</p>
<p>We ran eight reactors (<xref ref-type="sec" rid="s10">Supplementary Figure S2</xref>) in &#x201c;batch&#x201d; to reduce the impact from convection. Internal compartments for both electrodes were: 40&#xa0;mm deep, 60&#xa0;mm wide and 50&#xa0;mm in height. Reactors each contained a single graphite plate anode (50&#xa0;mm &#xd7; 50&#xa0;mm &#xd7; 2.5&#xa0;mm, GPE Scientific UK, machined by Erodex, United Kngdom). Graphite plates were used to create a &#x2019;flat&#x2019; surface. Anodes were placed 35&#xa0;mm from the outer wall and 2.5&#xa0;mm from the membrane and sides and thus both sides were exposed to the anolyte. Anolyte volume (V) was 112&#xa0;ml when displaced by the anode. We glued cost-effective membranes (Rhinohide, Entek, United&#x20;Kingdom) in between two neoprene frames to provide a watertight seal between chamber compartments. Cost-effectively chosen cathodes (SS316L) were large (A<sub>
<italic>cat</italic>
</sub> &#x3d; 20<italic>A</italic>
<sub>
<italic>an</italic>
</sub>) so as not to limit current and were placed 2.5&#xa0;mm from the membrane. We inserted reference electrodes (Ag/AgCl, Cole Parmer, United&#x20;Kingdom) into salt bridges (1.5%w/v agar (no 1), 1M of KCl) to protect them from the anolyte.</p>
</sec>
<sec id="s2-1-2">
<title>2.1.2&#x20;Start-Up</title>
<p>Using potentiostats (Whistonbrook, United&#x20;Kingdom), we controlled the anode potential of four reactors (&#x2212;300&#xa0;mV vs SHE) and applied 600&#xa0;mV to the other four reactors. We inoculated the reactors with nitrogen sparged settled wastewater taken from a local wastewater treatment works (Chester-le-Street, UK) until we observed the first increase in current. Following this, we fed the reactors with approximately 10&#xa0;mg-COD/l every 3&#x2013;4&#xa0;days. After 4&#xa0;weeks, 3/8 reactors produced current. After another 4&#xa0;weeks we changed the feeding window to a 48&#xa0;h period and 5/8 reactors started up. After another 4&#xa0;weeks all 8 reactors were producing current. We removed vitamin solution for 2&#xa0;weeks after we found it to contain lactic acid. Current dropped in all eight of the reactors. Acetate concentrations were then increased to 16.1&#x20;&#xb1; 3.4&#xa0;mg-COD/l and a new vitamin solution was administered. Current increased in all 8 reactors and stabilised after 4&#xa0;weeks.</p>
</sec>
<sec id="s2-1-3">
<title>2.1.3 Operation and Analysis</title>
<p>Following start-up, we fed reactors with sodium acetate every 48&#x20;&#xb1; 2&#xa0;h and measured current using the potentiostats (Whistonbrook, United&#x20;Kingdom). For two separate &#x201c;feeding runs&#x201d; during the &#x201c;plateau phase,&#x201d; we took four anolyte samples (0.5&#xa0;ml) over a 6&#xa0;h period (5&#xa0;min, 1&#xa0;h, 3&#xa0;h and 6&#xa0;h after feeding) to determine acetate degradation rates. We filtered the samples to remove biological material (0.22&#xa0;<italic>&#x3bc;</italic>m filter) and flash froze them with liquid nitrogen (&#x2212;80&#xb0;C). Upon thawing, we centrifuged samples to remove proteins (10&#xa0;kDa centrifuge filters, 4&#xb0;C, confirmed with gel electrophoresis imaging). We measured acetate concentrations (C<sub>
<italic>s</italic>
</sub>) using Acetate Colorimetric Kits (MAK086-1KT, Sigma Aldrich, United&#x20;Kingdom) and a 450&#xa0;nm absorbance spectra (SpectraMax M3, Molecular Devices, United&#x20;Kingdom). Using SciPy, we determined acetate degradation rates with linear regression (<xref ref-type="disp-formula" rid="e1">Eq. 1</xref>).<disp-formula id="e1">
<mml:math id="m1">
<mml:mi>q</mml:mi>
<mml:mo>&#x2248;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>6</mml:mn>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>p</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>/</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>6</mml:mn>
<mml:mi>h</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:math>
<label>(1)</label>
</disp-formula>
</p>
<p>Once current generation was relatively stable, we observed maximum current (<italic>I</italic>
<sub>max</sub>) and current densities (I<sub>
<italic>d</italic>,&#x2009;max</sub>, <xref ref-type="disp-formula" rid="e2">Eq. 2</xref>, A<sub>
<italic>an</italic>
</sub> &#x3d; 0.005&#xa0;m<sup>2</sup>) typically 1&#x2013;2&#xa0;h following &#x201c;feeding&#x201d; (t<sub>
<italic>peak</italic>
</sub>, <xref ref-type="disp-formula" rid="e3">Eq. 3</xref>). The change in current (current degradation rate) followed an approximately exponential decay curve (<xref ref-type="disp-formula" rid="e4">Eq. 4</xref>). We defined the current degradation rate as the exponent (<italic>&#x3bb;</italic>) and computed rates using SciPy. We calculated coulombic efficiencies (Ce<sub>
<italic>peak</italic>
</sub>, <xref ref-type="disp-formula" rid="e5">Eq. 5</xref>) from peak current density and assumed: all substrate (&#x394;C<sub>
<italic>s</italic>
</sub>) was removed after 48&#xa0;h, acetate removal followed linear degradation between the &#x201c;feeding&#x201d; time (t<sub>
<italic>feed</italic>
</sub>) and &#x201c;maximum current&#x201d; time (<inline-formula id="inf1">
<mml:math id="m2">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="normal">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>I</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>), Faraday&#x2019;s constant (96,485C/mol) and the number of electrons supplied from organic mater oxidation (<italic>n</italic>&#x20;&#x3d; 8mol-e<sup>&#x2212;</sup>/g-COD).<disp-formula id="e2">
<mml:math id="m3">
<mml:msub>
<mml:mrow>
<mml:mi>I</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="italic">max</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>I</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">max</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>A</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
<label>(2)</label>
</disp-formula>
<disp-formula id="e3">
<mml:math id="m4">
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>I</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">max</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
</mml:math>
<label>(3)</label>
</disp-formula>
<disp-formula id="e4">
<mml:math id="m5">
<mml:mi>I</mml:mi>
<mml:mo>&#x2248;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>I</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">max</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msup>
<mml:mrow>
<mml:mi>e</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3bb;</mml:mi>
<mml:mo>.</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>c</mml:mi>
</mml:math>
<label>(4)</label>
</disp-formula>
<disp-formula id="e5">
<mml:math id="m6">
<mml:mi>C</mml:mi>
<mml:mi>e</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>n</mml:mi>
<mml:munderover accentunder="false" accent="false">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:munderover>
<mml:mi>I</mml:mi>
<mml:mo>.</mml:mo>
<mml:mi mathvariant="normal">&#x394;</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>/</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi mathvariant="normal">&#x394;</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>F</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:math>
<label>(5)</label>
</disp-formula>
</p>
<p>Following our &#x201c;sampling runs,&#x201d; we increased acetate concentrations at a rate of approximately 1.5x the previous concentration (21.8&#x20;&#xb1; 3.7&#xa0;mg-COD/l). Actual acetate concentrations varied between reactors and &#x201c;feeding runs&#x201d; (<xref ref-type="sec" rid="s10">Supplementary Table S1</xref>). We refreshed media once every 2&#xa0;weeks and found minor variations in pH (7.50&#x20;&#xb1; 0.33pH) in both compartments. Three to 4&#xa0;weeks following an increase in acetate concentration, maximum current stabilised between &#x2019;feeding runs&#x2019;. We repeated our sampling process, increased concentration up to 37.4&#x20;&#xb1; 9.9&#xa0;mg-COD/l, waited for current generation to stabilise and sampled again. We used results for acetate degradation rates, maximum current density, current degradation rate and coulombic efficiency from all eight reactors to calibrate our numerical model (<xref ref-type="sec" rid="s10">Supplementary Table S1</xref>). Using these four outputs reduced the degrees of freedom during calibration. There was no statistically significant difference between the systems where anode potential was controlled and voltage applied.</p>
</sec>
</sec>
<sec id="s2-2">
<title>2.2 Phase Two: Biofilm Model Development</title>
<p>For our numerical simulation, we adapted the scalar transport equation for diffusion and convection to calculate substrate concentration (C<sub>
<italic>s</italic>
</sub>) and included source terms for substrate removal from the biofilm (q<sub>
<italic>bf</italic>
</sub>) and the microbial community (q<sub>
<italic>bc</italic>
</sub>, <xref ref-type="disp-formula" rid="e6">Eq. 6</xref>). Field calculations were conducted within the PIMPLE loop. We set the diffusion coefficient (D<sub>
<italic>C</italic>
</sub>) for acetate as 1.2 &#xd7; 10<sup>&#x2212;9&#xa0;</sup>m/s (<xref ref-type="bibr" rid="B22">Leaist and Lyons, 1984</xref>). Fluxes (<italic>&#x3d5;</italic>) were computed using &#x201c;icoFoam&#x201d; during &#x201c;scheme setup&#x201d;<disp-formula id="e6">
<mml:math id="m7">
<mml:mi>d</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mo>&#x2207;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2207;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2010;</mml:mo>
<mml:mo>&#x2207;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi>&#x3d5;</mml:mi>
<mml:mspace width="0.3333em"/>
<mml:mi>C</mml:mi>
<mml:mi>s</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mi>f</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
<label>(6)</label>
</disp-formula>
</p>
<p>We added five additional fields within the loop: substrate removal rates from the biofilm (q<sub>
<italic>bf</italic>
</sub>) and the bulk community (q<sub>
<italic>bc</italic>
</sub>), biomass concentrations of the biofilm (C<sub>
<italic>bf</italic>
</sub>) and the bulk community (C<sub>
<italic>bc</italic>
</sub>) and volumetric current density (I<sub>
<italic>v</italic>
</sub>). Removal rates (q<sub>
<italic>i</italic>
</sub>, <xref ref-type="disp-formula" rid="e8">Eq. 8</xref>) were computed using Monod kinetics. Monod parameters included terms for the half-velocity constant (Ks<sub>
<italic>i</italic>
</sub>) and the maximum specific substrate removal rates (q<sub>
<italic>i</italic>,&#x2009;max</sub>, <xref ref-type="disp-formula" rid="e7">Eq. 7</xref>), equivalent to the product of the maximum growth rates (<italic>&#x3bc;</italic>
<sub>
<italic>i</italic>,&#x2009;max</sub>) and the inverse of the yields (Y<sub>
<italic>i</italic>
</sub>).<disp-formula id="e7">
<mml:math id="m8">
<mml:msub>
<mml:mrow>
<mml:mi>q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="italic">max</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="italic">max</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
<label>(7)</label>
</disp-formula>
<disp-formula id="e8">
<mml:math id="m9">
<mml:msub>
<mml:mrow>
<mml:mi>q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="italic">max</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>K</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:math>
<label>(8)</label>
</disp-formula>
</p>
<p>
<xref ref-type="disp-formula" rid="e9">Equation 9</xref> linked changes in biomass (dC<sub>
<italic>i</italic>
</sub>/dt) to removal rates (q<sub>
<italic>i</italic>
</sub>), growth yields (Y<sub>
<italic>i</italic>
</sub>) and death rates (kd<sub>
<italic>i</italic>
</sub>) for both microbial communities.<disp-formula id="e9">
<mml:math id="m10">
<mml:mi>d</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mspace width="0.3333em"/>
<mml:msub>
<mml:mrow>
<mml:mi>q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>k</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mspace width="0.3333em"/>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
<label>(9)</label>
</disp-formula>
</p>
<p>Adapting <xref ref-type="bibr" rid="B25">Logan (2008)</xref> equation gave us volumetric current density (I<sub>
<italic>v</italic>
</sub>, <xref ref-type="disp-formula" rid="e10">Eq. 10</xref>, F &#x3d; 96,485C/mol-e<sup>&#x2212;</sup>, <italic>n</italic>&#x20;&#x3d; 8mol-e<sup>&#x2212;</sup>/g-COD). We substituted change in concentration for biofilm substrate removal (q<sub>
<italic>bf</italic>
</sub>) and assumed that 100% of the electrons released by the biofilm were measured in the cell as current (Ce<sub>
<italic>bf</italic>
</sub>). This reduced the degrees of freedom during calibration. In reality, this percentage will be less than 100% and will be dependent upon microbial growth, maintenance and activation losses (<xref ref-type="bibr" rid="B24">Logan et&#x20;al., 2006</xref>), but these contributions are likely to be small (<xref ref-type="bibr" rid="B32">Sleutels et&#x20;al., 2011</xref>).<disp-formula id="e10">
<mml:math id="m11">
<mml:msub>
<mml:mrow>
<mml:mi>I</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>v</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>C</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>e</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mi>f</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mspace width="0.3333em"/>
<mml:msub>
<mml:mrow>
<mml:mi>q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mi>f</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi>F</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>n</mml:mi>
</mml:math>
<label>(10)</label>
</disp-formula>
</p>
<p>To bound the model, we scaled time-step increments in-line with the maximum cell value for substrate removal. No cell within the scheme had greater than 90% removal for any time-step.</p>
</sec>
<sec id="s2-3">
<title>2.3 Phase Three: Scheme Setup</title>
<p>In OpenFOAM, we designed our first discretised scheme to reflect a horizontal &#x201c;cut-out&#x201d; of our laboratory based anode chamber, using &#x201c;blockMeshDict&#x201d; (<xref ref-type="sec" rid="s10">Supplementary Figures S2, S3A</xref>). The scheme consisted of 8&#x20;&#x201c;blocks,&#x201d; which were situated around the &#x201c;anode&#x201d;: represented by boundary walls. We added starting biofilm concentrations to cells adjacent to the anode using &#x201c;setFieldsDict,&#x201d; creating a &#x201c;cross-like&#x201d; pattern&#x2013;starting bulk biomass concentration to all other cells&#x2013;and substrate concentration to all cells. Mesh resolution was 0.5&#xa0;mm in both the <italic>x</italic> and <italic>y</italic> direction. There was only 1&#xa0;cell in the z-direction.</p>
<p>Following calibration, we created a second discretised scheme. This scheme was made to represent a section of an idealised anode chamber with two &#x2019;flat&#x2019; anode surfaces on either side of the channel (<xref ref-type="sec" rid="s10">Supplementary Figure S3B</xref>). Alternatively, this could be viewed as an idealised pore channel within a 3D anode - though in reality, anode surfaces are unlikely to be completely flat. The scheme consisted of a single block and the biofilm was situated in a single layer of cells on two opposing sides of the scheme. Again, the bulk community was present in all other cells and starting substrate concentration present in all&#x20;cells.</p>
<p>Within the &#x201c;fvSchemes&#x201d; dictionary: we set time schemes to Euler, gradient schemes to Gauss linear, divergence schemes to Gauss linearUpwind, the Laplacian scheme for substrate concentration to Gauss linear corrected, interpolation schemes to linear and all surface normal gradient terms to orthogonal.</p>
<p>Starting values for fields: biomass and substrate concentrations were controlled within &#x201c;setFieldsDict.&#x201d; All other constants and inputs were controlled and inputted in &#x201c;transportScalarDict.&#x201d;</p>
<p>Schemes were initialised using &#x201c;blockMesh.&#x201d; We set&#x20;all initial velocities to zero, and pressure across boundary walls to zero. We used &#x201c;icoFoam,&#x201d; which uses the &#x201c;PISO&#x201d; algorithm to solve the incompressible Navier-Stokes equations for continuity (<xref ref-type="disp-formula" rid="e11">Eq. 11</xref>) and momentum (<xref ref-type="disp-formula" rid="e12">Eq. 12</xref>). The kinematic viscosity (<italic>&#x3bd;</italic>) was 1.3&#xa0;mm<sup>2</sup>/s, an estimate for (waste)water at 10&#xb0;C (<xref ref-type="bibr" rid="B28">Metcalf et&#x20;al., 2003</xref>).<disp-formula id="e11">
<mml:math id="m12">
<mml:mo>&#x2207;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi>U</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
<label>(11)</label>
</disp-formula>
<disp-formula id="e12">
<mml:math id="m13">
<mml:mi>d</mml:mi>
<mml:mi>U</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mo>&#x2207;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>U</mml:mi>
<mml:mo>&#x2297;</mml:mo>
<mml:mi>U</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mo>&#x2207;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3bd;</mml:mi>
<mml:mo>&#x2207;</mml:mo>
<mml:mi>U</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:mo>&#x2207;</mml:mo>
<mml:mi>p</mml:mi>
</mml:math>
<label>(12)</label>
</disp-formula>
</p>
</sec>
<sec id="s2-4">
<title>2.4 Phase Four: Calibration</title>
<p>Using Python, we created a program to calibrate our model against our empirical observations. The program automatically generated inputs, created our initial scheme, ran our biofilm model, outputted our five fields for each time-step to a csv file and computed model outputs. Computations began from the second-time step to remove simplification errors created during discretisation and initialisation of biofilm concentration values. Inputs included: maximum substrate removal rates (q<sub>
<italic>bf</italic>,&#x2009;max</sub>, q<sub>
<italic>bc</italic>,&#x2009;max</sub>), death rates (k<sub>
<italic>d</italic>,<italic>bf</italic>
</sub>, k<sub>
<italic>d</italic>,<italic>bc</italic>
</sub>), maximum growth rates (<italic>&#x3bc;</italic>
<sub>
<italic>bf</italic>,&#x2009;max</sub>, <italic>&#x3bc;</italic>
<sub>
<italic>bc</italic>,&#x2009;max</sub>), initial biomass concentrations (C<sub>
<italic>bf</italic>
</sub>, C<sub>
<italic>bc</italic>
</sub>), half velocity constants (Ks<sub>
<italic>bf</italic>
</sub>, Ks<sub>
<italic>bc</italic>
</sub>) and yields (<italic>Ys</italic>
<sub>
<italic>bf</italic>
</sub>, <italic>Ys</italic>
<sub>
<italic>bc</italic>
</sub>). Outputs were: substrate degradation rates (<xref ref-type="disp-formula" rid="e1">Eq. 1</xref>), maximum current density (<xref ref-type="disp-formula" rid="e2">Eq. 2</xref>), current degradation rate (<xref ref-type="disp-formula" rid="e4">Eq. 4</xref>) and coulombic efficiency (<xref ref-type="disp-formula" rid="e5">Eq.&#x20;5</xref>).</p>
<p>Within this program, we developed an evolutionary algorithm to optimise model inputs (<xref ref-type="fig" rid="F5">Figure&#x20;5</xref>) whose resulting outputs were most similar to empirical observations (<xref ref-type="sec" rid="s10">Supplementary Table S1</xref>). The algorithm randomly selected one of the six &#x201c;feeding run&#x201d; starting substrate concentrations measured in the laboratory (A-F, <xref ref-type="sec" rid="s10">Supplementary Table S1</xref>). For generation zero&#x2013;the algorithm generated random values for all inputs for each permutation, within predetermined limits (<xref ref-type="fig" rid="F5">Figure&#x20;5</xref>), and ran 100 model permutations in parallel. The algorithm compared model outputs with empirical observations (<xref ref-type="sec" rid="s10">Supplementary Table S1</xref>) using a fitness function (<xref ref-type="disp-formula" rid="e13">Eq. 13</xref>). The fitness included &#x201c;accuracies,&#x201d; for substrate degradation rate, maximum current density, coulombic efficiency and current degradation rate. Accuracies were calculated by dividing the output by the mean empirical observation (target) and inversing the result if it was greater than one. We assumed that biomass concentrations were somewhat stable between the start and end of the run due to the &#x201c;plateau&#x201d; phase observed in the laboratory. We included two additional parameters into the fitness function to stabilise biomass. The parameters, used biomass concentrations at the second time-step as the target and biomass concentrations in the final time-step as the output.<disp-formula id="e13">
<mml:math id="m14">
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mo movablelimits="false" form="prefix">&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>6</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">max</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
<mml:mspace width="0.3333em"/>
<mml:mi>x</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfenced open="{" close="">
<mml:mrow>
<mml:mtable class="cases">
<mml:mtr>
<mml:mtd columnalign="left">
<mml:mfrac>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>g</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
<mml:mspace width="1em"/>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mtext>if</mml:mtext>
<mml:mspace width="0.3333em"/>
<mml:mfrac>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>g</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x3c;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:mfrac>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>g</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
<mml:mspace width="1em"/>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mtext>if</mml:mtext>
<mml:mspace width="0.3333em"/>
<mml:mfrac>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>g</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x3e;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:math>
<label>(13)</label>
</disp-formula>
</p>
<p>To reduce overfitting, the function ranked the &#x201c;normalised scores&#x201d; in ascending order for each of the six starting substrate concentrations, divided the rank by the total number of iterations (100) and added it to the original fitness score (<xref ref-type="disp-formula" rid="e14">Eq. 14</xref>).<disp-formula id="e14">
<mml:math id="m15">
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>C</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>r</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>k</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>/</mml:mo>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>i</mml:mi>
</mml:math>
<label>(14)</label>
</disp-formula>
</p>
<p>For reporting purposes, mean accuracy was computed as the ratio between model outputs the mean of the four empirical observations: substrate degradation rates, maximum current densities, current degradation rates and coulombic efficiencies (<italic>n</italic>&#x20;&#x3d; 4) (<xref ref-type="disp-formula" rid="e15">Eq. 15</xref>).<disp-formula id="e15">
<mml:math id="m16">
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>y</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mrow>
<mml:mover>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>4</mml:mn>
</mml:mrow>
</mml:mover>
</mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>/</mml:mo>
<mml:mi>n</mml:mi>
</mml:math>
<label>(15)</label>
</disp-formula>
</p>
<p>To compute subsequent &#x201c;generations,&#x201d; the algorithm selected models with the top 50% of fitness scores. Each selected scheme&#x2019;s input values was used as a &#x201c;parent.&#x201d; The algorithm iteratively selected two &#x201c;parents&#x201d; at random and randomly combined their input parameters, using a variable crossover point, to produce a pool of 100&#x20;&#x201c;children.&#x201d; The algorithm further &#x201c;mutated&#x201d; one in six of the &#x201c;children&#x201d; by altering one of their 12 inputs at random (&#xb1;0&#x2013;2%). The new generation of input permutations were iteratively assigned to a scheme. New substrate concentrations were selected at random and models were run in parallel. This process repeated for 20 generations.</p>
<p>Evolutionary algorithms are stochastic. This means that re-running the calibration will produce marginally different outputs each time. To ensure results were replicable, we ran the model in two batches of 50, compared any differences and took results from the first. To obtain a &#x201c;global&#x201d; solution, we selected &#x201c;best fit&#x201d; from this plethora of results for the top 10 model permutations for each of the starting concentrations, models also had to have at least 90% similarity between the end and starting biofilm, and outputs had to fall within the ranges observed for maximum substrate degradation rate, current density, coulombic efficiency and current degradation rate. One of the starting concentrations (16.4&#xa0;mg-COD/l) had no permutations that fell within all four ranges and was excluded from the final result due to incongruency. This process selected a total of 50 input permutations as &#x201c;best fit.&#x201d; Viewing the distribution of these &#x201c;best fit&#x201d; models gave an estimation of uncertainty from parameter calibration.</p>
</sec>
<sec id="s2-5">
<title>2.5 Phase Five: Extrapolation</title>
<p>We imported each of the &#x201c;best fit&#x201d; calibration schemes&#x2019; inputs into extrapolation schemes. Our python program varied the width of the channel (2.5&#x2013;50&#xa0;mm, 2.5&#xa0;mm increments) and the starting acetate concentration (10-500&#xa0;mg-COD/l,10&#xa0;mg-COD/l increments) before running &#x201c;blockMesh,&#x201d; &#x201c;icoFoam&#x201d; and the biofilm solver for each scheme. As biomass concentrations are likely a function of acetate concentration, we modelled upper and lower projections for starting biofilm concentrations. Our upper projection assumed that acetate was limiting and that the starting biofilm biomass scaled linearly with starting acetate concentration: &#x201c;linear biofilm development,&#x201d; whilst our lower projection assumed that the biofilm concentration remained the same as values found during calibration: &#x201c;no biofilm development.&#x201d; Bulk community biomass concentrations remained the same for both scenarios, lest we over-predict substrate degradation&#x20;rates.</p>
<p>Following model completion, we conducted mesh independence tests to ascertain errors in the discretisation of the scheme. Three cell thicknesses were considered: the original 0.5&#xa0;mm, as well as two finer resolutions of 0.25 and 0.125&#xa0;mm. Biofilm thickness was adjusted to be 1&#xa0;cell thick and the corresponding biofilm concentrations were adjusted to keep biofilm biomass equivalent across comparisons. Discretisation errors were negligible and therefore the models were convergent. Models were also bounded, coulombic efficiency tended towards but was never greater than 100%. However, energy was not 100% conserved by design. Dead microbial cells were not accounted for in our analysis. All &#x201c;best fit&#x201d; permutations were stable.</p>
<sec id="s2-5-1">
<title>2.5.1&#x20;Cost-Performance Analysis</title>
<p>We conducted further analysis to tie our simulated MEC performance with our previous cost-performance targets (<xref ref-type="bibr" rid="B2">Aiken et&#x20;al., 2019</xref>). Our python program computed ORR (<xref ref-type="disp-formula" rid="e16">Eq. 16</xref>) across time and reported ORR at time (<italic>&#x3c4;</italic>), the point at which 90% substrate removal was achieved, a target for wastewater removal (<xref ref-type="bibr" rid="B14">European Economic Community Council, 1991</xref>).<disp-formula id="e16">
<mml:math id="m17">
<mml:mi>O</mml:mi>
<mml:mi>R</mml:mi>
<mml:mi>R</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0.9</mml:mn>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:mi>&#x3c4;</mml:mi>
</mml:math>
<label>(16)</label>
</disp-formula>
</p>
<p>Our program determined the allowable capital cost per unit-flowrate (Cost<sub>
<italic>Q</italic>
</sub>, <xref ref-type="disp-formula" rid="e17">Eq. 17</xref>) using our previous financial model: &#x201c;target finder&#x201d; (<xref ref-type="bibr" rid="B2">Aiken et&#x20;al., 2019</xref>). Within &#x201c;target finder&#x201d; we removed the costs associated with electrical input and output from the baseline scenario. We equated OLR with ORR and plotted a logarithmic regression between ORR and allowable cost with constants (a,b,c) for 5, 10 and 20&#x20;year life-times (n). The program added newly calculated net present costs for electrical input and hydrogen revenue.<disp-formula id="e17">
<mml:math id="m18">
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>a</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi mathvariant="italic">ln</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>O</mml:mi>
<mml:mi>R</mml:mi>
<mml:mi>R</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>c</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mover>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mover>
</mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>r</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>v</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>u</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>e</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>/</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msup>
</mml:math>
<label>(17)</label>
</disp-formula>
</p>
<p>Using an adaption of <xref ref-type="bibr" rid="B25">Logan (2008)</xref> equation for current production from organic matter, we computed annual electricity costs (cost<sub>
<italic>elec</italic>
</sub>, <xref ref-type="disp-formula" rid="e18">Eq. 18</xref>, F &#x3d; 96,485C/mol, n&#x20;&#x3d; 8mol-e<sup>&#x2212;</sup>/g-COD) from the time until 90% removal (<italic>&#x3c4;</italic>), coulombic efficiency (Ce<sub>
<italic>an</italic>
</sub>), change in substrate concentration (&#x394;<italic>C</italic>
<sub>
<italic>s</italic>
</sub>), and an assumed price of electricity [&#xa3;0.10/kWh, <xref ref-type="bibr" rid="B4">Business Electricity Prices (2016)</xref>] and voltage requirement (V<sub>
<italic>add</italic>
</sub> &#x3d; 1.0V).<disp-formula id="e18">
<mml:math id="m19">
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>365</mml:mn>
<mml:mi>p</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>c</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>e</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>d</mml:mi>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi>C</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>e</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi>F</mml:mi>
<mml:mi mathvariant="normal">&#x394;</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:math>
<label>(18)</label>
</disp-formula>
</p>
<p>The program determined annual hydrogen revenue (<xref ref-type="disp-formula" rid="e19">Eq. 19</xref>) from a target price of hydrogen for 2020 [&#xa3;3.55/kg-H<sub>2</sub>, (<xref ref-type="bibr" rid="B13">Europa, 2008</xref>)], concentration of hydrogen produced over 365&#xa0;days (<inline-formula id="inf2">
<mml:math id="m20">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="normal">C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>), and the density of hydrogen (<inline-formula id="inf3">
<mml:math id="m21">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3c1;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> &#x3d; 0.08&#x2009;988&#xa0;kg/m<sup>3</sup>).<disp-formula id="e19">
<mml:math id="m22">
<mml:mi>r</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>v</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>u</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>e</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>365</mml:mn>
<mml:mi>p</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>c</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>e</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3c1;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:mi>&#x3c4;</mml:mi>
</mml:math>
<label>(19)</label>
</disp-formula>
</p>
<p>To calculate the intermediate hydrogen concentration (<inline-formula id="inf4">
<mml:math id="m23">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="normal">C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>) we adapted the equations for current production from organic matter (<xref ref-type="bibr" rid="B25">Logan, 2008</xref>) and Faraday&#x2019;s law of electrolysis (<xref ref-type="disp-formula" rid="e20">Eq.20</xref>, n&#x20;&#x3d; 8mol-e<sup>&#x2212;</sup>/g-COD), inputted the change in substrate concentration (&#x394;<italic>C</italic>
<sub>
<italic>s</italic>
</sub>) and coulombic efficiency (Ce<sub>
<italic>an</italic>
</sub> &#x3d; 90%), and assumed: cathodic efficiency (Ce<sub>
<italic>cat</italic>
</sub> &#x3d; 50%), molecular weight (<inline-formula id="inf5">
<mml:math id="m24">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="normal">M</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> &#x3d; 2g/mol) and valency (z &#x3d; 2) of hydrogen.<disp-formula id="e20">
<mml:math id="m25">
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="normal">&#x394;</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi>C</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>e</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi>C</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>e</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mo>/</mml:mo>
<mml:mrow>
<mml:mi>z</mml:mi>
</mml:mrow>
</mml:math>
<label>(20)</label>
</disp-formula>
</p>
<p>Penultimately, we computed anode area requirements per unit-flowrate (A<sub>
<italic>Q</italic>
</sub>) from the time until 90% removal (t<sub>90</sub>, <xref ref-type="disp-formula" rid="e21">Eq. 21</xref>), the distance between the centre of the bulk liquid and the biofilm (w<sub>
<italic>int</italic>
</sub>/2), and the thickness of the anode (w<sub>
<italic>an</italic>
</sub>)&#x2013;equivalent to specific surface area on a &#x201c;flat&#x201d; anode.<disp-formula id="e21">
<mml:math id="m26">
<mml:msub>
<mml:mrow>
<mml:mi>A</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3c4;</mml:mi>
<mml:mo>/</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>0.5</mml:mn>
<mml:msub>
<mml:mrow>
<mml:mi>w</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>w</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:math>
<label>(21)</label>
</disp-formula>
</p>
<p>Finally, we computed standard cost of an MEC reactor (/m<sup>2</sup>-anode) (Cost<sub>
<italic>A</italic>
</sub>) as the product of the allowable capital cost per unit-flowrate (Cost<sub>
<italic>Q</italic>
</sub>) and the inverse of the anode area requirements (A<sub>
<italic>Q</italic>
</sub>, <xref ref-type="disp-formula" rid="e22">Eq. 22</xref>).<disp-formula id="e22">
<mml:math id="m27">
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>A</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
<label>(22)</label>
</disp-formula>
</p>
<p>We report and compare cost-performance analysis for three acetate concentrations: 10&#xa0;mg-COD/l, which is reflective of acetate concentrations found in domestic wastewater and two scenarios whose wastewater was assumed to be pre-hydrolysed and achieved influent acetate concentrations of 50-mg-COD/l and 100&#xa0;mg-COD/l. Outputs are presented as probable outcomes based on the parameters found during calibration. Predictions are described as either the max and minimum or the median plus or minus the interquartile range. Predictions distributions are displayed in figures and are used to measure uncertainty from parameter estimation. Stronger shading relates to more likely outcomes for each scenario and fainter shading relates to less likely outcomes.</p>
</sec>
</sec>
</sec>
<sec sec-type="results|discussion" id="s3">
<title>3 Results and Discussion</title>
<sec id="s3-1">
<title>3.1 Organic Removal Rate</title>
<p>Domestic wastewater contains too little acetate for MECs to be financially competitive with AS (<xref ref-type="fig" rid="F1">Figure&#x20;1</xref>). Under the &#x2019;simulated domestic wastewater&#x2019; scheme (Ac &#x3d; 10&#xa0;mg-COD/l), the highest ORR for any scenario (149g-COD/m<sup>3</sup>/d) was too low to be financially competitive. Higher ORR have been observed in pilot reactors fed with &#x201c;real&#x201d; domestic wastewater (130-940g-COD/m<sup>3</sup>/d) (<xref ref-type="bibr" rid="B9">Cusick et&#x20;al., 2011</xref>; <xref ref-type="bibr" rid="B16">Heidrich et&#x20;al., 2013</xref>; <xref ref-type="bibr" rid="B12">Escapa et&#x20;al., 2015</xref>; <xref ref-type="bibr" rid="B3">Baeza et&#x20;al., 2017</xref>; <xref ref-type="bibr" rid="B8">Cotterill et&#x20;al., 2017</xref>). However, domestic wastewater contains other lipids, carbohydrates and proteins (<xref ref-type="bibr" rid="B18">Huang et&#x20;al., 2010</xref>) that can contribute to ORR but are not directly oxidised by electrogenic species (<xref ref-type="bibr" rid="B34">Speers and Reguera, 2012</xref>). Consequently, pilot MECs that did not exhibit hydrogen cycling had low coulombic efficiencies (13&#x2013;31%) (<xref ref-type="bibr" rid="B16">Heidrich et&#x20;al., 2013</xref>; <xref ref-type="bibr" rid="B3">Baeza et&#x20;al., 2017</xref>; <xref ref-type="bibr" rid="B8">Cotterill et&#x20;al., 2017</xref>). Regardless, empirically observed ORR (<xref ref-type="bibr" rid="B9">Cusick et&#x20;al., 2011</xref>; <xref ref-type="bibr" rid="B16">Heidrich et&#x20;al., 2013</xref>; <xref ref-type="bibr" rid="B12">Escapa et&#x20;al., 2015</xref>; <xref ref-type="bibr" rid="B3">Baeza et&#x20;al., 2017</xref>; <xref ref-type="bibr" rid="B8">Cotterill et&#x20;al., 2017</xref>) are low when compared to AS (450&#x2013;1,425g-BOD/m<sup>3</sup>/d) (<xref ref-type="bibr" rid="B35">Stanbury et&#x20;al., 2017</xref>). And lower still than ORR targets for financial competitiveness (800&#x2013;1,400g-COD/m<sup>3</sup>/d) (<xref ref-type="bibr" rid="B2">Aiken et&#x20;al., 2019</xref>).</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>ORR at 90% substrate removal for simulated wastewaters with different acetate concentrations (10-100&#xa0;mg-COD/l) and anode interstices widths (2.5&#x2013;50&#xa0;mm) [2 columns].</p>
</caption>
<graphic xlink:href="fceng-03-796805-g001.tif"/>
</fig>
<p>Pre-hydrolysing wastewater will allow for financially-competitive MECs provided anode interstices are sufficiently narrow and biofilms are well-developed. The highest ORR occurred when acetate concentrations were 100&#xa0;mg-COD/l and interstices were 2.5&#xa0;mm. Under &#x201c;linear biofilm development,&#x201d; ORR (1,630&#x20;&#xb1; 380g-COD/m<sup>3</sup>/d) surpassed targets for financial viability (800&#x2013;1,400g-COD/m<sup>3</sup>/d) (<xref ref-type="bibr" rid="B2">Aiken et&#x20;al., 2019</xref>). And, was more than double the ORR achieved when widths were twice as broad (765&#x20;&#xb1; 155g-COD/m<sup>3</sup>/d). Previously, acetate concentrations of 100mg/L have been achieved by hydrolysing domestic wastewater (<xref ref-type="bibr" rid="B23">Ligero et&#x20;al., 2001</xref>)&#x2013;though unreliably (20-100&#xa0;mg-COD/l). ORR are highly sensitive to acetate concentrations (<xref ref-type="fig" rid="F1">Figure&#x20;1</xref>). For a more conservative 50&#xa0;mg-COD/l with an interstices width of 2.5&#xa0;mm, ORR were 69% lower than achieved at 100&#xa0;mg-COD/l (508&#x20;&#xb1; 126g-COD/m<sup>3</sup>/d, &#x201c;linear biofilm development,&#x201d; <xref ref-type="fig" rid="F1">Figure&#x20;1</xref>). Accounting for additional substrate removal expected in the &#x201c;real-world&#x201d;&#x2013;this may still be sufficient to achieve viability targets if costs are sufficiently&#x20;low.</p>
<p>Hydrolysis alone is insufficient for MECs to be viable. Rather, it is the relationship between interstices width and acetate concentration that controls an MECs&#x2019; financial competitiveness. MECs can achieve significantly higher ORR when interstices are between 2.5 and 10&#xa0;mm, under both development scenarios and at all acetate concentrations. Interestingly, this relationship is non-linear. When interstices are greater than 10&#xa0;mm, interstices width had very little effect on ORR. When anodes were 20&#x2013;50&#xa0;mm apart ORR were low (117-185g-COD/m<sup>3</sup>/d, 100&#xa0;mg-COD/l). Any successful reactor will therefore need to design anode chambers and treatment systems accordingly. MECs with narrower interstices perform best because organic removal rates (ORR) from biofilm activity are higher than from the bulk community, likely due to higher biofilm biomass concentrations, though we were unable to confirm this due to issues with equifinality. As interstices reduce, more organics are readily available for uptake from the biofilm.</p>
<p>The model failed to compute ORR for the &#x201c;linear biofilm development&#x201d; scenario when interstices were less than or equal to 2&#xa0;mm as the model became unbounded, strongly suggesting that in these narrow chambers there was insufficient acetate to support a sufficiently large biofilm. This was also shown empirically by <xref ref-type="bibr" rid="B5">Chen et&#x20;al. (2012)</xref>, who observed MEC current production declining when interstices were less than 2.2&#xa0;mm and not before. Therefore anodes that have narrower interstices may be limited. Previous pilot reactors have predominantly used &#x201c;3 dimensional&#x201d; anode structures such as carbon felt (<xref ref-type="bibr" rid="B16">Heidrich et&#x20;al., 2013</xref>; <xref ref-type="bibr" rid="B12">Escapa et&#x20;al., 2015</xref>; <xref ref-type="bibr" rid="B3">Baeza et&#x20;al., 2017</xref>; <xref ref-type="bibr" rid="B8">Cotterill et&#x20;al., 2017</xref>) and carbon brushes (<xref ref-type="bibr" rid="B9">Cusick et&#x20;al., 2011</xref>). Both materials have high surface area, but also extremely narrow interstices (c.100&#xa0;&#x3bc;m). The latter may explain why no pilot reactor to date has excelled. If so, novel materials will be needed to achieve suitably high performances.</p>
<p>High quality control during anode manufacturing is needed to ensure all interstices are sufficiently narrow (2.5&#xa0;mm). However, narrower interstices (<inline-formula id="inf6">
<mml:math id="m28">
<mml:mo>&#x3c;</mml:mo>
</mml:math>
</inline-formula>10&#xa0;mm) are likely to result in clogging when fed with &#x201c;real&#x201d; domestic wastewater due to the presence of suspended particles (<xref ref-type="bibr" rid="B1">Aelterman et&#x20;al., 2008</xref>). If used for pre-treatment, up-flow hydrolysis reactors can retain some, but likely not all, suspended solids (SS). Further pre-treatment, such as screening, will be required to remove and dispose of SS, increasing cost. Wider interstices (10&#xa0;mm) would mitigate this problem, but would significantly reduce ORR (78% lower). To facilitate sufficient mass transport in narrow interstices large MEC may require a modular design, increasing cost. Alternatively, convection may be increased, though an increase in turbulence could reduce biofilm size (<xref ref-type="bibr" rid="B15">Fink et&#x20;al., 2016</xref>).</p>
<p>If biofilm development is poor then ORR will not reach targets. Poor biofilm development had the highest impact on ORR. The difference in ORR between the &#x201c;no biofilm development&#x201d; scenario (473&#x20;&#xb1; 141g-COD/m<sup>3</sup>/d, 2.5&#xa0;mm, 100&#xa0;mg-COD/l) and &#x201c;linear biofilm development&#x201d; scenario (1,630&#x20;&#xb1; 380g-COD/m<sup>3</sup>/d, 2.5&#xa0;mm, 100&#xa0;mg-COD/l) is highly significant. As biofilm development likely lies between our two projections, further empirical work will be needed to confirm the results from these, though we hope that these projections provide researchers and technologists with a floor and ceiling for MEC performance, in temperate conditions, with respect to acetate concentrations and interstices&#x2019; widths. Moreover, biofilms typically undergo growth and death cycles and further work will also be needed to investigate the risk of biofilm failure.</p>
</sec>
<sec id="s3-2">
<title>3.2 MEC Anode Chamber Design</title>
<p>Faster reactors are smaller reactors. The colonisable anode surface area needed to support sufficient biofilm development to treat a given flowrate is a function of the interstices width and the size of the reactor (<xref ref-type="fig" rid="F2">Figure&#x20;2</xref>). Under &#x201c;linear biofilm development,&#x201d; when widths are broad (<inline-formula id="inf7">
<mml:math id="m29">
<mml:mo>&#x3e;</mml:mo>
</mml:math>
</inline-formula>12&#xa0;mm) and concentrations are high, time taken to reach 90% substrate removal is longer. However, when widths are narrow (<inline-formula id="inf8">
<mml:math id="m30">
<mml:mo>&#x3c;</mml:mo>
</mml:math>
</inline-formula>12&#xa0;mm) and concentrations are high, time taken to reach 90% substrate removal is shorter. Narrower interstices (<inline-formula id="inf9">
<mml:math id="m31">
<mml:mo>&#x3c;</mml:mo>
</mml:math>
</inline-formula>12&#xa0;mm) therefore reduce both an MEC&#x2019;s retention time, size and anode surface area when acetate concentrations are high (100&#xa0;mg-COD/l).</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Time until 90% substrate removal and associated anode surface area requirements per unit-flowrate for effective treatment of simulated wastewaters with different acetate concentrations (10-100&#xa0;mg-COD/l) and anode interstices widths (2.5&#x2013;50&#xa0;mm) [2 columns].</p>
</caption>
<graphic xlink:href="fceng-03-796805-g002.tif"/>
</fig>
<p>The fastest, and thus the smallest reactor (100&#xa0;mg-COD/l, 2.5&#xa0;mm, &#x201c;linear biofilm development&#x201d;) was predicted to achieve 90% removal of acetate in 1h18&#x20;&#xb1; 0h23 and will require 21.7&#x20;&#xb1; 6.4m<sup>2</sup>/m<sup>3</sup>.d to support &#x201c;sufficient&#x201d; biofilm biomass. If interstices are narrow but pre-hydrolysis is poor (50&#xa0;mg-COD/l, 2.5mm, &#x201c;linear biofilm development&#x201d;) 90% removal will be marginally slower (2h06&#x20;&#xb1; 0h30) and larger anodes are needed to support a more diffuse biofilm (35.1&#x20;&#xb1; 8.4m<sup>2</sup>/m<sup>3</sup>.d). If anode quality control is poor (100&#xa0;mg-COD/l, 5&#xa0;mm, &#x201c;linear biofilm development&#x201d;) then removal will be significantly longer (2h49&#x20;&#xb1; 0h35)&#x2013;though area requirements are only marginally higher (23.4&#x20;&#xb1; 4.9&#xa0;m<sup>2</sup>/m<sup>3</sup>.d). Furthermore, if interstices are wide, to prevent blockages (100&#xa0;mg-COD/l, 10&#xa0;mm, &#x201c;linear biofilm development&#x201d;), then retention times will be significantly larger (6h05&#x20;&#xb1; 1h21), and increases in anode area are needed to treat the same flowrate (45.8&#x20;&#xb1; 8.7m<sup>2</sup>/m<sup>3</sup>.d). Most importantly, biofilms must be well developed and relatively stable. Poor biofilm development (100&#xa0;mg-COD/l, 2.5&#xa0;mm, &#x201c;no biofilm development&#x201d;) will require significant increases in both removal time (4h35&#x20;&#xb1; 1h16) and anode area (76.4&#x20;&#xb1; 21.0m<sup>2</sup>/m<sup>3</sup>.d).</p>
<p>If interstices are narrow (<inline-formula id="inf10">
<mml:math id="m32">
<mml:mo>&#x3c;</mml:mo>
</mml:math>
</inline-formula>10&#xa0;mm) and acetate concentrations high (100&#xa0;mg-COD/l), MECs could have significantly smaller HRT than typical for AS (5&#x2013;14&#xa0;h) (<xref ref-type="bibr" rid="B36">Stott, 2003</xref>). Therefore, an MEC would be retrofittable into aeration chambers, provided cathodes are small. However, this presupposes that most of the COD in the influent is converted into acetate or other quickly digested VFAs. Failing this, MECs will require longer retention times or cheaper post-treatments to &#x201c;polish&#x201d; effluent to standard. Moreover, removal times will likely vary with substrate concentrations and biofilms undergo growth and death cycles (<xref ref-type="bibr" rid="B19">Judd, 2013</xref>) and therefore larger anode areas are needed. Considering biofilm stability and applying a safety factor around 2&#x2013;5x our ideal scenario, a rough conservative measure for anode area per flowrate could be 50&#x2013;100&#xa0;m<sup>2</sup>/m<sup>3</sup>.d, depending on the material, cost, prior testing and risk tolerance. Material surface area should only count towards area requirements if the surface is accessible and capable of supporting an electroactive biofilm. Materials with very high specific surface areas, such as activated carbon cannot have the majority of their surface counted, as the high surface area is predominantly in the form of a multitude of pores with small diameters (<inline-formula id="inf11">
<mml:math id="m33">
<mml:mo>&#x3c;</mml:mo>
<mml:mn>50</mml:mn>
<mml:mi>&#x3bc;</mml:mi>
</mml:math>
</inline-formula>m). The most suitable materials will be flat carbon surfaces that can be packed tightly together and porous carbon materials with pores greater than 2&#xa0;mm. We challenge researchers and technologists to acquire or create new anodes that fit this requirement.</p>
</sec>
<sec id="s3-3">
<title>3.3 Standard Unit Cost</title>
<p>Reactors with densely packed anodes benefit from higher ORR and thus higher allowed capital costs (<xref ref-type="bibr" rid="B2">Aiken et&#x20;al., 2019</xref>). Moreover, sufficient anode area requirements reduce when interstices are narrow and concentrations are high (2.5&#xa0;mm, 100&#xa0;mg-COD/l, &#x201c;linear biofilm development&#x201d; <xref ref-type="fig" rid="F2">Figure&#x20;2</xref>). Consequently, allowable standard costs for MEC reactors (standardised/m<sup>2</sup>-anode) to break-even are significantly higher in our best scenario (2.5&#xa0;mm, 100&#xa0;mg-COD/l, &#x201c;linear biofilm development,&#x201d; <xref ref-type="fig" rid="F3">Figure&#x20;3</xref>) due to this &#x201c;double positive&#x201d; effect. Standard costs to break-even were &#xa3;16&#x20;&#xb1; 2/m<sup>2</sup>, &#xa3;21&#x20;&#xb1; 2/m<sup>2</sup> and &#xa3;30&#x20;&#xb1; 4/m<sup>2</sup> for 5, 10 and 20&#xa0;year time-frames, respectively. However, if biofilm development is poor (2.5&#xa0;mm, 100&#xa0;mg-COD/l, &#x201c;no biofilm development&#x201d;) standard costs are &#xa3;1.60&#x20;&#xb1; 1.04/m<sup>2</sup>, &#xa3;2.40&#x20;&#xb1; 1.30/m<sup>2</sup> and &#xa3;3.60&#x20;&#xb1; 2.00/m<sup>2</sup> for 5,10 and 20&#xa0;years, respectively.</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Allowable standard costs (/m<sup>2</sup>-anode) for MECs to break-even with AS treating simulated wastewaters with different acetate concentrations (10-100&#xa0;mg-COD/l), anode interstices widths (2.5&#x2013;50&#xa0;mm) and service life-times (5&#x2013;20&#xa0;years) [2 columns].</p>
</caption>
<graphic xlink:href="fceng-03-796805-g003.tif"/>
</fig>
<p>Biofilm growth was the largest factor affecting standard costs (<xref ref-type="fig" rid="F3">Figure&#x20;3</xref>). If biofilm development is close to the &#x201c;linear biofilm development&#x201d; scenario then allowable standard costs appear sufficiently high that future MEC technologists should be able to work with materials whose prices are within these bounds. However, if biofilm development is closer to the &#x201c;no biofilm development&#x201d; scenario It is unlikely that sufficiently cheap materials can be sourced: the cheapest material in a recent MEC pilot was the membrane (&#xa3;1/m<sup>2</sup>-membrane, Rhinohide, Entek, United&#x20;Kingdom) (<xref ref-type="bibr" rid="B2">Aiken et&#x20;al., 2019</xref>).</p>
<p>In reality it is most likely that mean performance will be somewhere between the &#x201c;linear biofilm development&#x201d; and &#x201c;no biofilm development&#x201d; scenarios, and removal will not consistently meet standards (<xref ref-type="bibr" rid="B14">European Economic Community Council, 1991</xref>). Reducing material costs to around &#xa3;5&#x2013;10/m<sup>2</sup> would allow for some tolerance in development, whilst still retaining the possibility of being cost-effective in the long-term. Though, this will not protect against completely poor performance. Researchers and technologists will need to base any costs on their own reactor&#x2019;s performance.</p>
</sec>
<sec id="s3-4">
<title>3.4 Biofilm Activity</title>
<p>ORR is higher with narrower interstices&#x2019; because biofilm activity is greater than bulk community activity (<xref ref-type="fig" rid="F5">Figure&#x20;5</xref>). As interstices&#x2019; become narrower, the biofilm plays a larger role in substrate degradation as shown by the increase in coulombic efficiency (<xref ref-type="fig" rid="F4">Figure&#x20;4</xref>). There is insufficient substrate available to replace that which is consumed by the biofilm. Maximum current density remains the same at narrower interstices but substrate and current both degrade faster (<xref ref-type="fig" rid="F4">Figure&#x20;4</xref>). This was true of both scenarios, regardless of parameter uncertainty.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>Model predictions with respect to anode interstices&#x2019; width (mm) at 50&#xa0;mg-COD/l.</p>
</caption>
<graphic xlink:href="fceng-03-796805-g004.tif"/>
</fig>
<p>Our model assumes that biomass concentrations remain the same regardless of width. As current density is a function of the biofilm, we believe this serves as a proxy. <xref ref-type="bibr" rid="B5">Chen et&#x20;al. (2012)</xref> observed that in an MFC fed with 20&#xa0;mM of acetate (1,260&#xa0;mg-COD/l) current densities declined when interstices&#x2019; widths were reduced below 2.2&#xa0;mm and not before. At interstices widths of 2.2, 2.9 and 3.2&#xa0;mm current densities were around 7.0A/<italic>m</italic>
<sup>2</sup>. Whilst at 1.4&#xa0;mm current density reduced to 4.7&#xa0;A/m<sup>2</sup>. <xref ref-type="bibr" rid="B7">Chong et&#x20;al. (2019)</xref> conducted a review of 71 papers and found that the greatest reduction in planar current densities occurred when pore sizes were &#x3c;0.5&#xa0;mm due to pH inhibition. This was further speculated as an important limiting factor by <xref ref-type="bibr" rid="B24">Logan et&#x20;al. (2006)</xref>. However, only 5 out of the 71 papers had anode interstices with widths &#x3e;0.5&#xa0;mm and broader chambers (&#x3e;1&#xa0;mm) were not considered.</p>
<p>We did not consider the impact of a reduced HRT on biofilm development. If all substrate is consumed in a short period of time reactors could be fed more frequently, and could hypothetically support a larger biofilm as more substrate would enter the biofilm. However, this would only further highlight our findings on the importance of the relationship between anode interstices&#x2019; width and cost-performance. We encourage experimentalists to investigate further.</p>
</sec>
<sec id="s3-5">
<title>3.5 Calibration</title>
<p>In multi-objective problems, there exist a set of optimal solutions that trade off between different objectives, known as the Pareto Front (<xref ref-type="bibr" rid="B38">Weicker and Weicker, 2003</xref>). Obtaining higher accuracies beyond this front is impossible as any improvement in one objective leads to a deterioration in one or more of the other objectives. The two best fitting schemes had a &#x201c;mean accuracy&#x201d; of 96.4% with starting acetate concentrations of 21.2&#xa0;mg-COD/l and 39.4&#xa0;mg-COD/l. The best fitting schemes for the remaining concentrations: 14.7&#xa0;mg-COD/l, 16.4&#xa0;mg-COD/l, 22.4&#xa0;mg-COD/l and 35.4&#xa0;mg-COD/l, had mean accuracies of 87.6%, 88.4% 94.6 and 86.9%, respectively. As the algorithm was not designed to map the whole parameter space, it is possible that better fitting parameters exist for these concentrations but that the fitness function was unable to select for them. However, as accuracy was measured against a particular concentration, a higher accuracy does not necessarily mean that the parameters of that run fit well with the other concentrations.</p>
<p>Moreover, empirical observations are themselves a model. Measurements were made using a combination of chemical and electronic signals that present information about an underlying reality but do not exactly map it. Uncertainties in empirical measurements mean that the lab results themselves cannot be entirely relied upon. Indeed, one of the starting concentrations (16.4&#xa0;mg-COD/l) failed to find any combination of parameters that had outputs that were within all four of the observed ranges. This is likely because the feeding run at 16.4&#xa0;mg-COD/l had a lower maximum current density and coulombic efficiency than the feeding run at 14.7&#xa0;mg-COD/l, despite containing a higher starting acetate concentration and having a larger substrate degradation&#x20;rate.</p>
<p>We present our results to demonstrate uncertainties resulting from parameter estimation of mean observations for microbial electrolysis cells with well-developed biofilms. Uncertainty increased as concentration increased. In the laboratory we fed our reactors with low acetate concentrations (10-50&#xa0;mg-COD/l). As a result, the model was not constrained above these concentrations and as the concentration of acetate became greater than 50&#xa0;mg-COD/l the predictions from the model were more uncertain due to uncertainties in the parameters (<xref ref-type="fig" rid="F5">Figure&#x20;5</xref>). By uniformly randomising the starting concentrations for each iteration within each of the generations, the algorithm was only softly constrained by any one measurement. Permutations were assessed, each generation, based on their selective fit against any one of the concentrations and in the subsequent generation the parameters were rearranged and assessed against any other. If one concentration, or a group of concentrations, fit better than another, then the permutations that had poorer fit would be selected against, thus reducing overfitting. However, due to the stochastic nature of the algorithm, there still lies a small possibility, that a high accuracy measurement fits one of the starting concentrations very well but not the others. Therefore, observing the extrapolation results as probabilistic and viewing the median gives a more accurate picture of the &#x201c;global&#x201d; solution. Furthermore, rerunning the algorithm many times further reduces this possibility and the impact that random starting permutations, and combinations have on the final output. By looking at the top results for each starting concentration, rather than the most accurate solutions, we consider both the global solution and the uncertainties in parameter estimation.</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>Box-plot description for &#x201c;best fit&#x201d; parameters following calibration. Largest difference between biofilm and bulk community observed for biomass concentration [1 column].</p>
</caption>
<graphic xlink:href="fceng-03-796805-g005.tif"/>
</fig>
<p>Parameter estimation was further confounded by issues with equifinality in some of the parameters. A notable example is that of maximum substrate degradation rate and biomass. The substrate degradation, which we calibrated for took the product of these parameters (<xref ref-type="disp-formula" rid="e1">Eq. 1</xref>) and neither was constrained by observation. Extrapolating to higher concentrations beyond 100&#xa0;mg-COD/l showed a wider range of predicted substrate degradations and current densities. Yet, despite this solutions converged when interstices widths were narrower. Moreover the non-linear relationship between width and ORR held for all permutations regardless of whether the concentration of biomass increased or remained stable with changes in acetate concentration. This is because in order for the mechanics of the system to fit with observed current densities and substrate degradation rates microbial activity in the biofilm must have been higher than in the bulk liquid.</p>
</sec>
<sec id="s3-5-1">
<title>3.6 Validation</title>
<p>None of our observations particularly favoured either the &#x201c;no growth&#x201d; or &#x201c;linear growth&#x201d; scenarios when plotted against acetate concentration (<xref ref-type="fig" rid="F6">Figure&#x20;6</xref>). Moreover, very few studies investigate electrogenic biofilm activity at low temperatures despite activity being a function of temperature, and those that do consider different substrates at much higher COD concentrations (<xref ref-type="bibr" rid="B21">Larrosa-Guerrero et&#x20;al., 2010</xref>; <xref ref-type="bibr" rid="B26">Lu et&#x20;al., 2012</xref>). In all likelihood performance lies somewhere between these two scenarios and we present these as a floor and a ceiling for MEC performance.</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Empirically observed parameters vs model predictions with respect to acetate concentration (mg-COD/l).</p>
</caption>
<graphic xlink:href="fceng-03-796805-g006.tif"/>
</fig>
<p>Our model predicted substrate concentration well, between 10 and 50&#xa0;mg-COD/l. Both scenarios predicted similar substrate degradation rates at these concentrations. Beyond 50&#xa0;mg-COD/l the scenarios began to diverge. At 100&#xa0;mg-COD/l the &#x201c;linear biofilm development&#x201d; predicted higher substrate degradation rates (6.3&#x20;&#xb1; 2.7g-COD/l.h vs 5.4&#x20;&#xb1; 2.9g-COD/l.h). Higher acetate concentrations showed that the &#x201c;linear biofilm development&#x201d; scenario continued to achieve higher substrate degradation rates. This is unlikely in reality as higher concentrations can have an inhibiting effect (<xref ref-type="bibr" rid="B27">Mateo et&#x20;al., 2019</xref>). We therefore believe that the &#x201c;linear growth&#x201d; scenario over predicts substrate degradation rate when concentrations are high (&#x3e;100&#xa0;mg-COD/l) and interstices&#x2019; wide (&#x3e;10&#xa0;mm). Moreover, <xref ref-type="bibr" rid="B41">Zhao (2018)</xref> found that when reactors were acclimated with high acetate concentrations Geobacteraceae dominated (91% of anodic microbial community, qPCR). Thus, bulk community biomass concentrations may diminish as electrogenic organisms outcompete them for substrate.</p>
<p>Maximum current density is a function of the biofilm, whilst substrate degradation rate is a function of both the biofilm and bulk community. Therefore ORR at narrower interstices&#x2019; when the biofilm dominates is most affected by our prediction of maximum current density. Divergences in maximum current density between the two scenarios are stark (<xref ref-type="fig" rid="F6">Figure&#x20;6</xref>). Observations for maximum current density had a linear relationship with acetate concentration, as was expected from observations. However, our observations appear to lie between the &#x201c;no growth&#x201d; and &#x201c;linear growth&#x201d; scenarios. Though there is far too much variability in measurements and too little difference between the scenarios at low concentrations to give credit one way or the other using these measurements. At 2.5&#xa0;mm, 1,260&#xa0;mg-COD/l, our &#x201c;linear biofilm development&#x201d; scenario (9.5&#x20;&#xb1; 12.9&#xa0;A/m<sup>2</sup>) better agreed with <xref ref-type="bibr" rid="B5">Chen et&#x20;al. (2012)</xref>&#x2019;s observations of 7.0&#xa0;A/m<sup>2</sup> than our &#x2019;no biofilm&#x2019; development scenario (0.2&#x20;&#xb1; 0.2&#xa0;A/m2). However, uncertainties in our predictions were high relative to the median and this experiment was conducted at a higher temperature. Further work with low temperatures (10&#xb0;C) and narrow anode interstices&#x2019; (c.2.5&#xa0;mm) is needed.</p>
<p>Coulombic efficiency was not well mapped by changes in acetate concentration (<xref ref-type="fig" rid="F6">Figure&#x20;6</xref>). In the lab we observed a large range of efficiencies at relatively small concentrations, which may mean that that the link between these phenomenon is either negligible or indirect. Current degradation rate&#x2019;s relationship with acetate concentration appeared to be best mapped by the &#x201c;no growth&#x201d; scenario (<xref ref-type="fig" rid="F6">Figure&#x20;6</xref>). However, the relationship between current degradation rate and acetate concentration is still unclear and is not well understood. Furthermore, the &#x201c;no growth&#x201d; scenario became somewhat unstable at acetate concentrations greater than 50&#xa0;mg-COD/l. Whilst, the &#x201c;linear growth scenario&#x201d; remained stable and similarly mapped the centre of the data points we observed (<xref ref-type="fig" rid="F6">Figure&#x20;6</xref>). Further study is needed before any conclusions on current degradation rate can be&#x20;made.</p>
</sec>
</sec>
<sec id="s4">
<title>4 Conclusion</title>
<p>Domestic wastewater contains too little acetate (10&#xa0;mg-COD/l), in its typical form, for MECs to be a viable alternative to AS. ORR are higher when anode interstices are narrower because biofilm activity is greater than bulk community activity. The highest performing MECs are predicted to occur when interstices are sufficiently narrow (2.5&#xa0;mm). Narrower interstices (<inline-formula id="inf12">
<mml:math id="m34">
<mml:mo>&#x3c;</mml:mo>
</mml:math>
</inline-formula>2.5&#xa0;mm) may limit mass transport and thus reduce performance. We estimate that a commercially viable MEC design could be obtained when: standard costs for the new system are reduced to around &#xa3;5&#x2013;10/m<sup>2</sup>-anode - wastewater is pre-treated using hydrolysis to obtain a steady supply of acetate (<inline-formula id="inf13">
<mml:math id="m35">
<mml:mo>&#x3e;</mml:mo>
</mml:math>
</inline-formula>100&#xa0;mg-COD/l) - and anode interstices&#x2019; widths (2.5&#xa0;mm) are carefully controlled. Biofilms must relatively stable over an MEC&#x2019;s operational and quality control must be of a high standard.</p>
</sec>
</body>
<back>
<sec id="s5">
<title>Data Availability Statement</title>
<p>The original contributions presented in the study are included in the article/<xref ref-type="sec" rid="s10">Supplementary Material</xref>, further inquiries can be directed to the corresponding author.</p>
</sec>
<sec id="s6">
<title>Author Contributions</title>
<p>All authors conceived and designed the study. DA conducted the experiments, designed and built the models, analysed and interpreted the results and drafted the manuscript. All authors reviewed the results, revised the manuscript and approved the final version for publication.</p>
</sec>
<sec id="s7">
<title>Funding</title>
<p>The authors declare that this study received funding from the EPSRC and the Northumbrian Water Group (EP/L015412/1) through the STREAM Industrial Doctorate Centre, United Kingdom. The funder was not involved in the study design, collection, analysis, interpretation of data, the writing of this article or the decision to submit it for publication.</p>
</sec>
<sec sec-type="COI-statement" id="s8">
<title>Conflict of Interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s9">
<title>Publisher&#x2019;s Note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<sec id="s10">
<title>Supplementary Material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fceng.2021.796805/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fceng.2021.796805/full&#x23;supplementary-material</ext-link>.</p>
<supplementary-material xlink:href="DataSheet1.pdf" id="SM1" mimetype="application/pdf" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Aelterman</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Versichele</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Marzorati</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Boon</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Verstraete</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2008</year>). <article-title>Loading Rate and External Resistance Control the Electricity Generation of Microbial Fuel Cells with Different Three-Dimensional Anodes</article-title>. <source>Bioresour. Technol.</source> <volume>99</volume>, <fpage>8895</fpage>&#x2013;<lpage>8902</lpage>. <pub-id pub-id-type="doi">10.1016/j.biortech.2008.04.061</pub-id> </citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<comment>[dataset]</comment> <person-group person-group-type="author">
<name>
<surname>Aiken</surname>
<given-names>D. C.</given-names>
</name>
<name>
<surname>Curtis</surname>
<given-names>T. P.</given-names>
</name>
<name>
<surname>Heidrich</surname>
<given-names>E. S.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Avenues to the Financial Viability of Microbial Electrolysis Cells [MEC] for Domestic Wastewater Treatment and Hydrogen Production</article-title>. <source>Int. J.&#x20;Hydrogen Energ.</source> <volume>44</volume>, <fpage>2426</fpage>&#x2013;<lpage>2434</lpage>. <pub-id pub-id-type="doi">10.1016/j.ijhydene.2018.12.029</pub-id> </citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Baeza</surname>
<given-names>J.&#x20;A.</given-names>
</name>
<name>
<surname>Mart&#xed;nez-Mir&#xf3;</surname>
<given-names>&#xc0;.</given-names>
</name>
<name>
<surname>Guerrero</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Ruiz</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Guisasola</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Bioelectrochemical Hydrogen Production from Urban Wastewater on a Pilot Scale</article-title>. <source>J.&#x20;Power Sourc.</source> <volume>356</volume>, <fpage>500</fpage>&#x2013;<lpage>509</lpage>. <pub-id pub-id-type="doi">10.1016/j.jpowsour.2017.02.087</pub-id> </citation>
</ref>
<ref id="B4">
<citation citation-type="other">
<comment>[Dataset]</comment> <collab>Business Electricity Prices</collab> (<year>2016</year>). <article-title>Business and Commercial Electricity Prices</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="http://www.businesselectricityprices.org.uk/">http://www.businesselectricityprices.org.uk/</ext-link>
</comment> (<comment>Accessed September 11, 2018</comment>). </citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>He</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Harnisch</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>Y.</given-names>
</name>
<etal/>
</person-group> (<year>2012</year>). <article-title>Layered Corrugated Electrode Macrostructures Boost Microbial Bioelectrocatalysis</article-title>. <source>Energ. Environ. Sci.</source> <volume>5</volume>, <fpage>9769</fpage>&#x2013;<lpage>9772</lpage>. <pub-id pub-id-type="doi">10.1039/c2ee23344d</pub-id> </citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Cheng</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Cheng</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Mao</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Lu</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Hong</surname>
<given-names>P.-Y.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Identification and Characterization of Core Sludge and Biofilm Microbiota in Anaerobic Membrane Bioreactors</article-title>. <source>Environ. Int.</source> <volume>133</volume>, <fpage>105165</fpage>. <pub-id pub-id-type="doi">10.1016/j.envint.2019.105165</pub-id> </citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chong</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Erable</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Bergel</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Effect of Pore Size on the Current Produced by 3-dimensional Porous Microbial Anodes: A Critical Review</article-title>. <source>Bioresour. Technol.</source> <volume>289</volume>, <fpage>121641</fpage>. <pub-id pub-id-type="doi">10.1016/j.biortech.2019.121641</pub-id> </citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Cotterill</surname>
<given-names>S. E.</given-names>
</name>
<name>
<surname>Dolfing</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Jones</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Curtis</surname>
<given-names>T. P.</given-names>
</name>
<name>
<surname>Heidrich</surname>
<given-names>E. S.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Low Temperature Domestic Wastewater Treatment in a Microbial Electrolysis Cell with 1 m2Anodes: Towards System Scale-Up</article-title>. <source>Fuel Cells</source> <volume>17</volume>, <fpage>584</fpage>&#x2013;<lpage>592</lpage>. <pub-id pub-id-type="doi">10.1002/fuce.201700034</pub-id> </citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Cusick</surname>
<given-names>R. D.</given-names>
</name>
<name>
<surname>Bryan</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Parker</surname>
<given-names>D. S.</given-names>
</name>
<name>
<surname>Merrill</surname>
<given-names>M. D.</given-names>
</name>
<name>
<surname>Mehanna</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Kiely</surname>
<given-names>P. D.</given-names>
</name>
<etal/>
</person-group> (<year>2011</year>). <article-title>Performance of a Pilot-Scale Continuous Flow Microbial Electrolysis Cell Fed Winery Wastewater</article-title>. <source>Bioenergy and Biofuels</source> <volume>89</volume>, <fpage>2053</fpage>&#x2013;<lpage>2063</lpage>. <pub-id pub-id-type="doi">10.1007/s00253-011-3130-9</pub-id> </citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Dhar</surname>
<given-names>B. R.</given-names>
</name>
<name>
<surname>Lee</surname>
<given-names>H.-S.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>Evaluation of Limiting Factors for Current Density in Microbial Electrochemical Cells (MXCs) Treating Domestic Wastewater</article-title>. <source>Biotechnol. Rep.</source> <volume>4</volume>, <fpage>80</fpage>&#x2013;<lpage>85</lpage>. <pub-id pub-id-type="doi">10.1016/j.btre.2014.09.005</pub-id> </citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Escapa</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>G&#xf3;mez</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Tartakovsky</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Mor&#xe1;n</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Estimating Microbial Electrolysis Cell (MEC) Investment Costs in Wastewater Treatment Plants: Case Study</article-title>. <source>Int. J.&#x20;Hydrogen Energ.</source> <volume>37</volume>, <fpage>18641</fpage>&#x2013;<lpage>18653</lpage>. <pub-id pub-id-type="doi">10.1016/j.ijhydene.2012.09.157</pub-id> </citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Escapa</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>San-Mart&#xed;n</surname>
<given-names>M. I.</given-names>
</name>
<name>
<surname>Mateos</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Scaling-up of Membraneless Microbial Electrolysis Cells (MECs) for Domestic Wastewater Treatment: Bottlenecks and Limitations</article-title>. <source>Bioresour. Technol.</source> <volume>180</volume>, <fpage>72</fpage>&#x2013;<lpage>78</lpage>. <pub-id pub-id-type="doi">10.1016/j.biortech.2014.12.096</pub-id> </citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<collab>Europa</collab> (<year>2008</year>). <article-title>HyWAYS the European Hydrogen Roadmap Contract</article-title>. <comment>SES6-502596. Tech. rep</comment>. </citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<collab>European Economic Community Council</collab> (<year>1991</year>). <article-title>91/271/EEC of 21 May 1991 Concerning Urban Waste-Water Treatment</article-title>. <comment>Tech. Rep. L</comment>. </citation>
</ref>
<ref id="B15">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fink</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Oder</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Rangus</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Raspor</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Bohinc</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>Microbial Adhesion Capacity. Influence of Shear and Temperature Stress</article-title>. <source>Int. J.&#x20;Environ. Health Res.</source> <volume>25</volume>, <fpage>656</fpage>&#x2013;<lpage>669</lpage>. <pub-id pub-id-type="doi">10.1080/09603123.2015.1007840</pub-id> </citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Heidrich</surname>
<given-names>E. S.</given-names>
</name>
<name>
<surname>Dolfing</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Scott</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Edwards</surname>
<given-names>S. R.</given-names>
</name>
<name>
<surname>Jones</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Curtis</surname>
<given-names>T. P.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Production of Hydrogen from Domestic Wastewater in a Pilot-Scale Microbial Electrolysis Cell</article-title>. <source>Appl. Microbiol. Biotechnol.</source> <volume>97</volume>, <fpage>6979</fpage>&#x2013;<lpage>6989</lpage>. <pub-id pub-id-type="doi">10.1007/s00253-012-4456-7</pub-id> </citation>
</ref>
<ref id="B17">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Henze</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Comeau</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2008</year>). &#x201c;<article-title>Wastewater Characterization</article-title>,&#x201d; in <source>Biological Wastewater Treatment: Principles, Modelling and Design</source> (<publisher-loc>London, UK</publisher-loc>: <publisher-name>IWA Publishing</publisher-name>), <fpage>33</fpage>&#x2013;<lpage>52</lpage>. </citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Huang</surname>
<given-names>M.-H.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Y.-M.</given-names>
</name>
<name>
<surname>Gu</surname>
<given-names>G.-W.</given-names>
</name>
</person-group> (<year>2010</year>). <article-title>Chemical Composition of Organic Matters in Domestic Wastewater</article-title>. <source>Desalination</source> <volume>262</volume>, <fpage>36</fpage>&#x2013;<lpage>42</lpage>. <pub-id pub-id-type="doi">10.1016/j.desal.2010.05.037</pub-id> </citation>
</ref>
<ref id="B19">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Judd</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2013</year>). <source>Watermaths</source>. <edition>second edn</edition>. <publisher-loc>Bedfordshire, UK</publisher-loc>: <publisher-name>Judd and Judd Ltd</publisher-name>. </citation>
</ref>
<ref id="B20">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Kolmos</surname>
<given-names>H. J.&#x20;J.</given-names>
</name>
</person-group> (<year>2012</year>). <source>Brock Biology of Microorganisms</source>. <edition>13th edn.</edition> <publisher-loc>San Francisco, CA</publisher-loc>: <publisher-name>Benjamin-Cummings</publisher-name>. </citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Larrosa-Guerrero</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Scott</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Head</surname>
<given-names>I. M.</given-names>
</name>
<name>
<surname>Mateo</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Ginesta</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Godinez</surname>
<given-names>C.</given-names>
</name>
</person-group> (<year>2010</year>). <article-title>Effect of Temperature on the Performance of Microbial Fuel Cells</article-title>. <source>Fuel</source> <volume>89</volume>, <fpage>3985</fpage>&#x2013;<lpage>3994</lpage>. <pub-id pub-id-type="doi">10.1016/j.fuel.2010.06.025</pub-id> </citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Leaist</surname>
<given-names>D. G.</given-names>
</name>
<name>
<surname>Lyons</surname>
<given-names>P. A.</given-names>
</name>
</person-group> (<year>1984</year>). <article-title>Diffusion in Dilute Aqueous Acetic Acid Solutions at 25&#xb0;C</article-title>. <source>J.&#x20;Solution Chem.</source> <volume>13</volume>, <fpage>77</fpage>&#x2013;<lpage>85</lpage>. <pub-id pub-id-type="doi">10.1007/BF00646041</pub-id> </citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ligero</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Vega</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Soto</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2001</year>). <article-title>Pretreatment of Urban Wastewaters in a Hydrolytic Upflow Digester</article-title>. <source>Water SA</source> <volume>27</volume>, <fpage>399</fpage>&#x2013;<lpage>404</lpage>. <pub-id pub-id-type="doi">10.4314/wsa.v27i3.4984</pub-id> </citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Logan</surname>
<given-names>B. E.</given-names>
</name>
<name>
<surname>Hamelers</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Rozendal</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Schr&#xf6;der</surname>
<given-names>U.</given-names>
</name>
<name>
<surname>Keller</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Freguia</surname>
<given-names>S.</given-names>
</name>
<etal/>
</person-group> (<year>2006</year>). <article-title>Critical Review Microbial Fuel Cells: Methodology and Technology</article-title>. <source>Environ. Sci. Technol.</source> <volume>40</volume>, <fpage>5181</fpage>&#x2013;<lpage>5192</lpage>. <pub-id pub-id-type="doi">10.1021/es0605016</pub-id> </citation>
</ref>
<ref id="B25">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Logan</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2008</year>). <source>Microbial Fuel Cells</source>. <publisher-loc>Hoboken, New Jersey, USA</publisher-loc>: <publisher-name>John Wiley &#x26; Sons</publisher-name>. </citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lu</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Xing</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Ren</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Logan</surname>
<given-names>B. E.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Syntrophic Interactions Drive the Hydrogen Production from Glucose at Low Temperature in Microbial Electrolysis Cells</article-title>. <source>Bioresour. Technol.</source> <volume>124</volume>, <fpage>68</fpage>&#x2013;<lpage>76</lpage>. <pub-id pub-id-type="doi">10.1016/j.biortech.2012.08.040</pub-id> </citation>
</ref>
<ref id="B27">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mateo</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Mascia</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Fernandez-morales</surname>
<given-names>F. J.</given-names>
</name>
<name>
<surname>Rodrigo</surname>
<given-names>M. A.</given-names>
</name>
<name>
<surname>Di Lorenzo</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Assessing the Impact of Design Factors on the Performance of Two Miniature Microbial Fuel Cells</article-title>. <source>Electrochimica Acta</source> <volume>297</volume>, <fpage>297</fpage>&#x2013;<lpage>306</lpage>. <pub-id pub-id-type="doi">10.1016/j.electacta.2018.11.193</pub-id> </citation>
</ref>
<ref id="B28">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Metcalf</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Tchobanoglous</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Burton</surname>
<given-names>F. L.</given-names>
</name>
<name>
<surname>Stensel</surname>
<given-names>H. D.</given-names>
</name>
</person-group> (<year>2003</year>). <source>Wastewater Engineering: Treatment and Reuse</source>. <edition>4th ed. edn</edition>. <publisher-loc>New York, USA</publisher-loc>: <publisher-name>McGraw-Hill</publisher-name>. </citation>
</ref>
<ref id="B29">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rabaey</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Verstraete</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2005</year>). <article-title>Microbial Fuel Cells: Novel Biotechnology for Energy Generation</article-title>. <source>Trends Biotechnol.</source> <volume>23</volume>, <fpage>291</fpage>&#x2013;<lpage>298</lpage>. <pub-id pub-id-type="doi">10.1016/j.tibtech.2005.04.008</pub-id> </citation>
</ref>
<ref id="B30">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rozendal</surname>
<given-names>R. A.</given-names>
</name>
<name>
<surname>Hamelers</surname>
<given-names>H. V. M.</given-names>
</name>
<name>
<surname>Rabaey</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Keller</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Buisman</surname>
<given-names>C. J.&#x20;N.</given-names>
</name>
</person-group> (<year>2008</year>). <article-title>Towards Practical Implementation of Bioelectrochemical Wastewater Treatment</article-title>. <source>Trends Biotechnol.</source> <volume>26</volume>, <fpage>450</fpage>&#x2013;<lpage>459</lpage>. <pub-id pub-id-type="doi">10.1016/j.tibtech.2008.04.008</pub-id> </citation>
</ref>
<ref id="B31">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Shi</surname>
<given-names>C. Y.</given-names>
</name>
</person-group> (<year>2011</year>). <source>Mass Flow and Energy Efficiency of Municipal Wastewater Treatment Plants</source>. <publisher-loc>London, UK</publisher-loc>: <publisher-name>IWA Publishing</publisher-name>. </citation>
</ref>
<ref id="B32">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sleutels</surname>
<given-names>T. H. J.&#x20;A.</given-names>
</name>
<name>
<surname>Darus</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Hamelers</surname>
<given-names>H. V. M.</given-names>
</name>
<name>
<surname>Buisman</surname>
<given-names>C. J.&#x20;N.</given-names>
</name>
</person-group> (<year>2011</year>). <article-title>Effect of Operational Parameters on Coulombic Efficiency in Bioelectrochemical Systems</article-title>. <source>Bioresour. Technol.</source> <volume>102</volume>, <fpage>11172</fpage>&#x2013;<lpage>11176</lpage>. <pub-id pub-id-type="doi">10.1016/j.biortech.2011.09.078</pub-id> </citation>
</ref>
<ref id="B33">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sleutels</surname>
<given-names>T. H. J.&#x20;A.</given-names>
</name>
<name>
<surname>Ter&#x2005;Heijne</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Buisman</surname>
<given-names>C. J.&#x20;N.</given-names>
</name>
<name>
<surname>Hamelers</surname>
<given-names>H. V. M.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Bioelectrochemical Systems: An Outlook for Practical Applications</article-title>. <source>ChemSusChem</source> <volume>5</volume>, <fpage>1012</fpage>&#x2013;<lpage>1019</lpage>. <pub-id pub-id-type="doi">10.1002/cssc.201100732</pub-id> </citation>
</ref>
<ref id="B34">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Speers</surname>
<given-names>A. M.</given-names>
</name>
<name>
<surname>Reguera</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Electron Donors Supporting Growth and Electroactivity of Geobacter Sulfurreducens Anode Biofilms</article-title>. <source>Appl. Environ. Microbiol.</source> <volume>78</volume>, <fpage>437</fpage>&#x2013;<lpage>444</lpage>. <pub-id pub-id-type="doi">10.1128/AEM.06782-11</pub-id> </citation>
</ref>
<ref id="B35">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Stanbury</surname>
<given-names>P. F.</given-names>
</name>
<name>
<surname>Whitaker</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Hall</surname>
<given-names>S. J.</given-names>
</name>
</person-group> (<year>2017</year>). &#x201c;<article-title>Chapter 11&#x20;- Effluent Treatment</article-title>,&#x201d; in <source>Principles of Fermentation Technology</source>. <edition>Third Edition</edition> (<publisher-loc>Oxford, UK</publisher-loc>: <publisher-name>Butterworth-Heinemann</publisher-name>), <fpage>687</fpage>&#x2013;<lpage>723</lpage>. <pub-id pub-id-type="doi">10.1016/B978-0-08-099953-1.00011-9</pub-id> </citation>
</ref>
<ref id="B36">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Stott</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2003</year>). &#x201c;<article-title>Fate and Behaviour of Parasites in Wastewater Treatment Systems</article-title>,&#x201d; in <source>Handbook of Water and Wastewater Microbiology</source>. Editors <person-group person-group-type="editor">
<name>
<surname>Mara</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Horan</surname>
<given-names>N.</given-names>
</name>
</person-group> (<publisher-loc>Cambridge, Massacusetts, USA</publisher-loc>: <publisher-name>Academic Press</publisher-name>), <fpage>1</fpage>&#x2013;<lpage>832</lpage>. <pub-id pub-id-type="doi">10.1016/b978-012470100-7/50032-7</pub-id> </citation>
</ref>
<ref id="B37">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Velasquez-Orta</surname>
<given-names>S. B.</given-names>
</name>
<name>
<surname>Yu</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Katuri</surname>
<given-names>K. P.</given-names>
</name>
<name>
<surname>Head</surname>
<given-names>I. M.</given-names>
</name>
<name>
<surname>Curtis</surname>
<given-names>T. P.</given-names>
</name>
<name>
<surname>Scott</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2011</year>). <article-title>Evaluation of Hydrolysis and Fermentation Rates in Microbial Fuel Cells</article-title>. <source>Appl. Microbiol. Biotechnol.</source> <volume>90</volume>, <fpage>789</fpage>&#x2013;<lpage>798</lpage>. <pub-id pub-id-type="doi">10.1007/s00253-011-3126-5</pub-id> </citation>
</ref>
<ref id="B38">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Weicker</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Weicker</surname>
<given-names>N.</given-names>
</name>
</person-group> (<year>2003</year>). <article-title>Basic Principles for Understanding Evolutionary Algorithms</article-title>. <source>Fundamenta Informaticae</source> <volume>55</volume>, <fpage>387</fpage>&#x2013;<lpage>403</lpage>. </citation>
</ref>
<ref id="B39">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xia</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Pedrycz</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Zhu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Guo</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Models for Microbial Fuel Cells: A Critical Review</article-title>. <source>J.&#x20;Power Sourc.</source> <volume>373</volume>, <fpage>119</fpage>&#x2013;<lpage>131</lpage>. <pub-id pub-id-type="doi">10.1016/j.jpowsour.2017.11.001</pub-id> </citation>
</ref>
<ref id="B40">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xin</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>He</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Qiu</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Enzymes Catalyzing Pre-Hydrolysis Facilitated the Anaerobic Fermentation of Waste Activated Sludge with Acidogenic and Microbiological Perspectives</article-title>. <source>Bioresour. Technol.</source> <volume>250</volume>, <fpage>69</fpage>&#x2013;<lpage>78</lpage>. <pub-id pub-id-type="doi">10.1016/j.biortech.2017.09.211</pub-id> </citation>
</ref>
<ref id="B41">
<citation citation-type="thesis">
<person-group person-group-type="author">
<name>
<surname>Zhao</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>The Effect of Complex Feed on Bioelectrochemical Systems (BESs) Performance</article-title>. <comment>Ph.D. thesis</comment>. <publisher-loc>Newcastle-upon-Tyne, United Kingdom</publisher-loc>: <publisher-name>Newcastle University</publisher-name>. </citation>
</ref>
</ref-list>
<sec id="s11">
<title>Nomenclature</title>
<def-list>
<def-item>
<term id="G1-fceng.2021.796805">
<bold>(anode) interstices</bold>
</term>
<def>
<p>refers to the space between opposing anodes&#x2019; surfaces</p>
</def>
</def-item>
<def-item>
<term id="G2-fceng.2021.796805">
<bold>standard unit cost</bold>
</term>
<def>
<p>material cost standardised to anode surface&#x20;area</p>
</def>
</def-item>
<def-item>
<term id="G3-fceng.2021.796805">
<bold>m<sup>2</sup>/m<sup>3</sup>.d</bold>
</term>
<def>
<p>colonisable anode surface area (m<sup>2</sup>) needed to support sufficient biofilm development to treat a given flowrate&#x20;m<sup>3</sup>/d</p>
</def>
</def-item>
<def-item>
<term id="G4-fceng.2021.796805">
<bold>AS</bold>
</term>
<def>
<p>activated sludge treatment</p>
</def>
</def-item>
<def-item>
<term id="G5-fceng.2021.796805">
<bold>BES</bold>
</term>
<def>
<p>bio-electrochemical system</p>
</def>
</def-item>
<def-item>
<term id="G6-fceng.2021.796805">
<bold>COD</bold>
</term>
<def>
<p>chemical oxygen demand</p>
</def>
</def-item>
<def-item>
<term id="G7-fceng.2021.796805">
<bold>MEC</bold>
</term>
<def>
<p>microbial electrolysis&#x20;cell</p>
</def>
</def-item>
<def-item>
<term id="G8-fceng.2021.796805">
<bold>ORR</bold>
</term>
<def>
<p>organic removal&#x20;rate</p>
</def>
</def-item>
<def-item>
<term id="G9-fceng.2021.796805">
<bold>OLR</bold>
</term>
<def>
<p>organic loading&#x20;rate</p>
</def>
</def-item>
</def-list>
</sec>
</back>
</article>