<p>Python code for simulation of a single population microbial electrochemical technology pilot-scale reactor.</p>
<p>Pilot_model.py contains the domain information to simulate a pilot-scale MET system with a single bacterial species and a single substrate. </p>
<p>The preamble contains all variables which can be altered to adjust geometry size, retention times and simulation length. </p>
<p>All electrochemical variables are specified and consistent with the model defined in https://doi.org/10.1016/j.chemosphere.2021.132686 </p>
<p><br></p>
<p>Python scripts in this repo:</p>
<p><br></p>
<p>1) Object_classes.py - Python functions and classes for simulation of MET</p>
<p>2) Pilot_model.py - Main Python script for simulation of a single population single substrate MET system</p>
<p>3) Plotting_jd.py - Custom plotting functions</p>
<p>4) Solver.py - Fluid solving algorithm returning the steady state solution</p>
<p><br></p>
<p>A folder name "Output" should be created in the same directory as the main Python file.</p>
<p>Create a folder names "Velocity" inside this output folder in order to save velocity files in the correct location.</p>
<p>The GitHub repo has an updated version until this is updated on data.ncl.</p>
<p><br></p>