Newcastle University
Browse
Single_Population_MET_Model.zip (19.11 kB)

Single Population MET Model

Download (19.11 kB)
software
posted on 2023-04-05, 10:15 authored by Jordan Reece DayJordan Reece Day

Python code for simulation of a single population microbial electrochemical technology pilot-scale reactor.

Pilot_model.py contains the domain information to simulate a pilot-scale MET system with a single bacterial species and a single substrate. 

The preamble contains all variables which can be altered to adjust geometry size, retention times and simulation length. 

All electrochemical variables are specified and consistent with the model defined in  https://doi.org/10.1016/j.chemosphere.2021.132686 


Python scripts in this repo:


1) Object_classes.py - Python functions and classes for simulation of MET

2) Pilot_model.py - Main Python script for simulation of a single population single substrate MET system

3) Plotting_jd.py - Custom plotting functions

4) Solver.py - Fluid solving algorithm returning the steady state solution


A folder name "Output" should be created in the same directory as the main Python file.

Create a folder names "Velocity" inside this output folder in order to save velocity files in the correct location.

The GitHub repo has an updated version until this is updated on data.ncl.


History

Usage metrics

    Newcastle University

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC