### Drylab Model

# 1. Introduction

The goal of the 2018 iGEM team was to explore an alternative waste-water cleaning mechanism that is both environmentally friendly and economically feasible. We hypothesized that one could genetically engineer *E. coli * to bind to waste particles, and then float to the surface of the reactor, allowing for easy *E. coli * removal. We:

Create a generic dynamic bioreactor system that utilizes

*E. coli*flotation. This model should be so generic that the bioreactor can be used for a variety of applications, with different cells and different starting conditions. Then we characterized the performance of the system with many different initial starting conditions and parameters.Benchmark

*E. coli*flotation results, using a cellular tracking algorithm we developed. These results can be coupled with our ODE buoyancy model, which allows us to determine the maximum carrying capacity of our particular strain of cells. This is necessary for the bioreactor, it allows us to determine which genetically engineered*E. coli*strain can perform for what type of waste particle. This model also allows the wet lab to measure how certain genetic variations affect the flotation. Rather than having flotation or no flotation, we can now quantify the characteristics of flotation.Characterize the growth dynamics of a particular strain of cells. This data is necessary for the bioreactor.

**Note:**In the very end of this paper, we included a nomenclature defining all the variables used.

# 2. A Differential Bioreactor Model

## 2.1 Goals

Explore a possible application for our genetically engineered

*E. coli*biomass that utilizes flotation.Develop a generic bioreactor that can be reused in many different conditions and for a variety of purposes.

## 2.2 Mathematical Formulation

### Concepts

**Monod Equation [7]**

In order to run a bioreactor, we need to understand at what rate the *E. coli* grow, and how they respond to environmental conditions. Bacterial growth can be separated into four phases:

The Lag Phase: Little growth is observed.

The Exponential Phase: Exponential growth is observed after the cells get used to their environment, and so long as the limiting substrate is still in surplus.

The Stationary Phase: No growth is observed, death rate and growth rate are approximately equal.

Death Phase: There is no more substrate, thus the population dies.

If *N* is the concentration of biomass population, then the exponential growth phase is given by:
$$\dot{N} = \mu N$$
where *μ* is the specific growth rate, the “rate of increase of cell concentrations per unit cell concentration” (*h*^{ − 1}) [7]. *μ* depends on the substrate concentration; the relation is given by the Monod equation:
$$ \mu(S) = \mu_m \frac{S}{K_S + S}$$
where *S* is the substrate concentration (in mol *L*^{ − 1}), and *K*_{S} is the Monod Constant (in mol *L*^{ − 1}). As the substrate is consumed, more biomass is being created at the rate of:
$$\frac{dN}{dS} = -\gamma \frac{dS}{dt}$$
where *t* is time. *γ* should be interpreted as “the ratio of the mass of cells formed to the mass of substrate consumed” [7].

### The Model

Call the ’Main Reactor’ (M.R) and the ’Flotation Tank’ (F.T). Let *X*_{u} be the concentration of *E. coli* (in mol *L*^{ − 1}), *X*_{w} the concentration of particle bound to the surface of the *E. coli* (in mol *L*^{ − 1}). Below we will outline the steps of the bioreactor seen in Figure 1.

All the substrate, waste and cellular population is homogeneously distributed between the F.T and the M.R. Initially there is no particle bound to any of the cells, i.e

*X*_{w}= 0.When activated, the bioreactor begins to pump solution from the M.R to the F.T at rate

*D*, this is represented by*D*(*N*+*X*_{u}+*X*_{w}+*S*).In the F.T, the cells are floating on the surface, and are scraped off and removed. Thus only

*X*_{u}and*S*remain within the solution, which is pumped back into M.R at rate*D*. In practice, a cellular filter alike the one used for skimming could be placed at the exit of the F.T to capture any dead cells.Within M.R the unbound particle binds to the

*E. coli*with some rate constant*α*, and detaches with some rate*β*(equilibrium process).This process operates until the particle concentration is as low as desired.

### Bioreactor Assumptions

Our cell surface engineering technique has specificity to only one substance in the waste-water (i.e. the substance desired for removal).

We will only observe exponential bacterial growth within the reactor, i.e. the biomass has been cultured to sufficiently large optical density before being introduced into the bioreactor.

Suspended particles attach to the surface of our

*E. coli*at a rate proportional to the particle concentration and the ratio of unused area available on the surface.Bound particles detach from the surface of our

*E. coli*back into the waste-water at a rate proportional to the particle concentration bound to the*E. coli*.Once the

*E. coli*that are pumped out of the main chamber end up in the flotation tank, they are immediately removed – no more growth nor unbinding of particle occurs.We ignore all the spatial properties of pipes between the main reactor and flotation tank, as soon as part of the solution leaves the main take, it immediately arrives in the flotation tank, and vice versa.

The pipe leading into the flotation tank sprinkles the solution over the flotation tank so lightly that the

*E. coli*cells do not sink into the tank – they float on the surface, allowing for immediate removal.The solution within the main reactor is continuously mixed; it can be considered a homogeneous solution).

All the

*E. coli*in the flotation tank float.A higher dilution rate (

*D*) does not affect the detachment rate.

## 2.3 Equations

The dynamics within the bioreactor are given by:

$$\begin{aligned}\dot{N} &= N_i \mu (S) - N \cdot \left( D + \kappa \right) \label{N}\end{aligned}$$

**Equation 1.**

**Equation 2.**

**Equation 3.**

**Equation 4.**

Where,

*κ*is the death rate,

*δ*the maximum carrying capacity of the cells,

*α*the rate constant for binding,

*β*the rate constant for unbinding.

Equation [1] represents the change in

*E. coli*cell concentration, equation [2] represents the change in limiting substrate concentration, equation [3] represents the change in unbound particle concentration, and equation [4] represents the change in concentration of particle bound to the surface of the

*E. coli*.

In equation [3] we have

*β*

*X*

_{w}[9] which represents particle unbinding from the

*E. coli*population, it depends on

*β*: the kinetic detachment rate, and

*X*

_{w}: the concentration of particle that is bound to the surface of the

*E. coli*. We are also removing particles from the solution by $$\alpha X_u \cdot \left(\frac{\delta N - X_w}{\delta N} \right)$$. This depends on the kinetic binding rate

*α*, the concentration of unbound particle within the solution (

*X*

_{u}), and the proportion of available binding sites on the

*E. coli*, this is represented by $$\left(\frac{\delta N - X_w}{\delta N} \right)$$. Equation [4] is the negative of equation [3] but we also remove

*X*

_{w}at some dilution rate

*D*.

## 2.4 Numerical Solution

We numerically solved the ODE system composed of equations [1] - [4] using the ODE45 solver in MATLAB (see the end of the paper of the MATLAB code), using the initial conditions *N*_{i} = 0.4, *S* = 0.63, *X*_{u} = 0.5, *X*_{w} = 0 and parameters:

*γ*= 1.1 (*u**n**i**t**l**e**s**s*)*κ*= 0.01*h*^{ − 1}*D*= 3*h*^{ − 1}*β*= 0.03*h*^{ − 1}*α*= 1.5*h*^{ − 1}*μ*_{m}= 0.8*h*^{ − 1}*K*_{s}= 2.87 × 10^{ − 7}*m**o**l**L*^{ − 1}*δ*= 1.5 (*u**n**i**t**l**e**s**s*)

The above simulation was done for removing Cobalt from mining waste-water effluent. It utilizes a metal binding mechanism outlined in [2] which gave us a range of viable *α*. We got *K*_{s} and *μ*_{m} from [8], *β*, and *κ* from [9]. We estimated reasonable values for *D*, *γ*. See §3.5 for calculating the value of *δ*.

These results are incredibly promising. They show that the bioreactor can theoretically be useful at solving real problems, and that it operates within a reasonable amount of time (6.5 hours).

## 2.5 Sensitivity Analysis

In order to understand the dynamics within the bioreactor, we performed a sensitivity analysis that estimates the relative effect of a single parameter on the performance of the system. Unfortunately, it is not possible to define an explicit function relating the different parameters to each other, we must perform a ’naive’ analysis; we vary one parameter while holding all other constant, and see how this change affects the performance of the system. Performance is measured by how long it takes the bioreactor to remove the large majority of the particle that is desired for bioremediation. We set some small *ε* = 10^{ − 4}*m**o**l* *L*^{ − 1} to define a low threshold of acceptable particle concentration. For §2.5.1 - §2.5.6, we kept all the parameters at:

*γ*= 1.1 (*u**n**i**t**l**e**s**s*)*κ*= 0.01*h*^{ − 1}*D*= 3*h*^{ − 1}*β*= 0.03*h*^{ − 1}*α*= 1.5*h*^{ − 1}*μ*_{m}= 0.8*h*^{ − 1}*K*_{s}= 2.87 × 10^{ − 7}*m**o**l**L*^{ − 1}*δ*= 1.5 (*u**n**i**t**l**e**s**s*)

and only varied the parameter whose effect was measured.

### The Effect of Maximum Carrying Capacity on Bioreactor Performance

(See Figure 3) The higher the initial metal concentration within the bioreactor, the longer it takes to operate.

### The Effect of Dilution Rate on Bioreactor Performance

(See Figure 4) The higher the dilution rate, the better the performance. Above dilution rate *D* = 1 it slowly approaches an asymptote. We should not have a *D* that is too large because it is energy costly. Also, a larger *D* leads to faster deterioration of the bioreactor.

### The Effect of Initial Metal Concentration on Bioreactor Performance

(See Figure 5) The higher the initial metal concentration within the bioreactor, the longer it takes to operate.

### The Effect of Attachment Rate on Bioreactor Performance

(See Figure 6) The higher the attachment rate (*α*), the better the performance of the system. It does approach an asymptote quite quickly though. This is because of the maximum carrying capacity, at some point, there is just no more available space on the *E. coli* surface to bind more particle, regardless of the attachment rate.

### The Effect of Detachment Rate on Bioreactor Performance

(See Figure 7) The lower the detachment rate (*β*), the better the performance of the system.

### The Effect of Initial Cellular Population on Bioreactor Performance

(See Figure 8) The higher the initial *E. coli* population (*N*_{i}), the better the system performs. After some *N*_{i} ≈ 1, it approaches an asymptote.

### The Effect of Maximum Specific Growth Rate on Bioreactor Performance

(See Figure 9) The higher the maximum specific growth rate, the better the performance of the system.

## 2.6. Hypothetical Applications

The numerical simulations above were all based on parameters values specific to cobalt removal from mining waste-water. If the *E. coli* are coupled with a binding mechanism that is not specific to cobalt, then this generic bioreactor can be used for a large variety of applications (one simply has to change *α* and *β*). One very promising application is the removal of pharmaceuticals, such as penicillin, from municipal waste-water. The reactor is viable for many different binding methods, strains of *E. coli*, and initial concentrations of waste, as displayed in §2.5. This reactor is independent of volume, all the parameters are relative to each other, this system would perform the same with 1 *L* of effluent as with 1 × 10^{10} L of effluent. Evidently, the size of the chambers would need to be scaled appropriately.

# 3. A Mechanistic Buoyancy Model: Maximum Carrying Capacity Determination

## 3.1 Goal

The buoyancy model has 2 main goals:

Estimate the mean buoyant force experienced by the genetically engineered

*E. coli*biomass per unit mass as a result of gas vesicle formation from ARG1 over-expression. This effectively determines a mechanical upper bound for carrying capacity of the biomass.Characterize and quantify flotation observations from wet lab experimentation. It is not well known what the role of some of the secondary gas vesicle proteins (GVPs) in the ARG1 construct is for gas vesicle formation, and being able to quantify flotation facilities comparison of different combinations of secondary GVPs for optimization of a gene construct specifically engineered for biomass flotation.

## 3.2 Mathematical Formulation

### Concepts

Newtonian mechanics: $$\vec{F} = m\vec{a} \equiv m\frac{\mathrm{d}\vec{v}}{\mathrm{t}}$$

*F*≡ vector sum of forces on body*m*≡ mass of body*a*≡ acceleration as a function of time*v*≡ velocity as a function of time

Stokes-Einstein Drag: $$\vec{F_D} = -6\pi \eta R \vec{v}$$

FD≡drag force (note it opposes direction of velocity)

*η*≡viscosity of fluid medium*R*≡(approximate) radius of body in spherical approximation.

Integrating factor method to solve first order linear ODE:

$$\label{ODE} \frac{\mathrm{d}y}{\mathrm{d}t}+f(t)y = g(t)$$

Let**Equation 5.***μ*(*t*) =*e*^{βt}. Multiply both sides by*μ*(*t*).

Chain rule $$\implies \frac{\mathrm{d}}{\mathrm{d}t}\big(y(t)\mu(t)\big) = h(t)\mu(t)$$

Integrate, divide by*μ*(*t*) ⟹*y*(*t*).

### Assumptions

The biomass separates into clumps that can be approximated by spheres.

Buoyant force is constant.

Cell motility and in-plane motion (motion perpendicular to the vertical axis) is negligible. This effectively reduces our system to one dimension.

### The Model

Stokes-Einstein, gravitational force near the surface of the earth *F*_{g} = *m**g* (*g* ≈ 9.81 *m**s*^{ − 2}), Newton’s second law lets us write:

$$\label{Fnet}
F_{net} = F_g + F_B + F_D \implies m\frac{\mathrm{d}v}{\mathrm{d}t} = -mg + F_B - 6\pi \eta R v$$

**Equation 6.**

$$\label{theODE} \frac{\mathrm{d}v}{\mathrm{d}t} + \frac{6\pi \eta R}{m}v = \big(\frac{F_B}{m} - g\big)$$

**Equation 7.**

$$\frac{\mathrm{d}v}{\mathrm{d}t} + \alpha v = \beta$$

**Equation 8.**

## 3.3 Analytic Solution

Now to get a solution we can directly apply the integrating factor method as described in the Concepts sections.

The integrating factor is:

$$\begin{equation}\label{mu}
\mu(t) = \mathrm{e}^{\alpha t}
\end{equation}$$

**Equation 9.**

Multiplying both sides we have:

$$\label{integrate}\frac{\mathrm{d}}{\mathrm{d}t}\big(v\mathrm{e}^{\alpha t} \big) = \beta \mathrm{e}^{\alpha t}$$

**Equation 10.**

*v*(

*t*= 0) = 0

*m*

*s*

^{ − 1}(not moving initially):

$$\label{v} v(t) = \frac{\beta}{\alpha}\big(1 - \mathrm{e}^{-\alpha t} \big) \equiv \big(\frac{F_B- mg}{6\pi\eta R} \big)\big(1 - \mathrm{e}^{-\frac{6\pi \eta R}{m}t} \big)$$

**Equation 11.**

Now we integrate one more time and impose an initial condition of

*z*(

*t*= 0) = 0

*m*:

$$\label{z} z(t) = \bigg(\frac{F_B - mg}{g\pi\eta R} \bigg)\bigg(t + \frac{m}{6\pi \eta R}\big(\mathrm{e}^{-\frac{6 \pi \eta R}{m}t} - 1 \big) \bigg)$$

**Equation 12.**

**NB:**

*m*,

*g*,

*η*,

*R*are considered to be known, empirical constants.

*F*

_{B}is left as a parameter that can be determined in a curve fit regression to a time-series of vertical displacement data for a floating biomass.

## 3.4 Determining Buoyant Force: Temporal Tracking Algorithm

Now that we have an expression for vertical displacement as a function of time which depends on the buoyant force as a parameter, we want to determine the magnitude of this buoyant force. In principle, this is not a difficult task as it can be solved using the built-in least-squares optimization curve-fit functions, in say, MATLAB. The difficulty lies in acquiring experimental data to fit to. Our proposed solution to this is to acquire images from a stationary point of view at evenly spaced, small time intervals and perform image segmentation and analysis techniques to track the vertical position of floating biomass frame-to-frame. In reality, the biomass will be clumped into many clusters, so clustering and labeling algorithms are employed. The advantage of using a visual tracking algorithm to observe vertical displacement is that researchers can exactly characterize flotation, benchmark their results, and calculate how different variables affect flotation.

**Figure 10**

Below is pseudo-code for a stochastic temporal tracking algorithm that is intended to maintain consistent cluster labeling from frame-to-frame and account for clusters combining and splitting. The time interval between frames should be chosen to be sufficiently small such that the probability of more than one binding/un-binding events occurring between any two frames can be assumed to be zero.

Load directory with images.

For

*i*up to number of frames (i.e. time steps):Read pixel data from image file.

Manually set crop margins to ROI encapsulating the region of flotation. (apply same cropping margins in subsequent frames programatically).

Convert from RGB to grayscale, perform thresholding using Otsu’s method.

Binarize image based off of threshold, segmentation complete.

Cluster and label binary image.

Centroid clusters. Store labels

*j*= 1, 2, 3, ...,*N*, positions (*x*_{i}^{(j)},*y*_{i}^{(j)}), and approximate radius for each of the*N*objects identified in segmentation. Note that the radius is updated at each step to account for changes in cluster morphology affecting magnitude of drag force at each time step.if

*i*> 1:For all

*N*labels*j*in frame*i*find position (*x*_{i − 1}^{(j′)},*y*_{i − 1}^{(j′)}) with*y*_{i}≥*y*_{i − 1}s.t. the distance*d*((*x*_{i − 1}^{(j′)},*y*_{i − 1}^{(j′)}), (*x*_{i}^{(j)},*y*_{i}^{(j)})) is minimized.The label

*j*in the*i*^{th}frame is considered to be a child of the label*j*′ in the (*i*+ 1)^{th}frame.End if-statement.

End for-loop.

Define function handle for solution to ODE model for buoyancy.

Convert cluster tracking data from pixels to spacial units (based on pixel size of image), curve-fit to each set of cluster branches.

Take average of curve-parameter determination of

*F*_{B}for each branch, analyze distribution, significance of fit, variance of mean.

But wait! We passively assumed that the number of clusters *N*^{′} in frame *i* − 1 was greater than the number of clusters *N* in frame *i*. Not to worry, small modification...

*N*=*N*^{′}:If this is the case, the logic holds and we simply have a child label

*j*^{′}that is mapped to parent label*j*.

*N*>*N*^{′}:Physically, this corresponds to a cluster splitting.

How do we handle this? No modification of the pseudo-code algorithm is needed. There will simply be two objects with labels

*j*_{1},*j*_{2}, respectively, to which some*j*^{′}is mapped to. A*branch*in the tracking tree.

*N*<*N*^{′}Non-trivial case.

Switch search: For all

*N*^{′}labels*j*^{′}in frame*i*+ 1 find position (*x*_{i}^{(j)},*y*_{i}^{(j)}) with*y*_{i}≥*y*_{i − 1}s.t. the distance*d*((*x*_{i − 1}^{(j′)},*y*_{i − 1}^{(j′)}), (*x*_{i}^{(j)},*y*_{i}^{(j)})) is minimized.There will exist a label

*j*in the*i*^{th}frame such that two labels*j*_{1}^{′},*j*_{2}^{′}in the (*i*+ 1)^{th}frame map to it. In other words, two clusters combine.

Note: The position tracking effectively forms a directed acyclic graph (DAG)

## 3.5 Discussion On Maximum Carrying Capacity

For this discussion, consider the buoyant force *F*_{B} to be a known, constant value.

In order for the biomass to float the net force on it must be greater than zero. By equation [6] we have the following constraint on buoyant force:
$$\begin{equation}\label{forceconstraint}
F_B \geq mg + 6\pi \eta R v(t), \ \forall t
\end{equation}$$

**Equation 13.**

*v*.

*v*is a strictly increasing function so its max on a closed, bounded interval is at the upper bound. Let

*v*

_{max}=

*v*(

*t*

_{f}), where

*t*

_{f}is the solution to

*z*(

*t*

_{f}) =

*h*,

*h*being the height required from the start point to the top of container,

*z*being as given in equation [12]. The inequality in equation [13] is thus equivalent to the following: $$\begin{equation} F_B \geq m_{\mathrm{E. \ coli}}g + 6\pi \eta R_{\mathrm{E. \ coli}} v_{\max} \end{equation}$$

**Equation 14.**

*m*

_{E. coli}to be the approximate mass of an

*E. coli*cell (without bound particle),

*R*

_{E. coli}to be the approximate radius of an

*E. coli*cell in a spherical approximation, this constraint on buoyant force influences goals in the wet lab by setting a minimum requirement for observed buoyant force in modifying ARG1 for optimized flotation performance.

Once ARG1 is optimized for flotation and an estimate for

*F*

_{B}is obtained, the maximal carrying capacity can be obtained as follows:

$$m \leq \frac{F_B - 6\pi \eta R_{\mathrm{E. \ coli}} v_{\mathrm{max}}}{g}$$

**Equation 15.**

*m*=

*m*

_{E. coli}+

*m*

_{bound}(sum of cell mass with mass of bound particle). Solving for

*m*

_{bound}:

$$m_{\mathrm{bound}} \leq \frac{F_B - 6\pi \eta R_{\mathrm{E. \ coli}} v_{\mathrm{max}}}{g} - m_{\mathrm{E.\ coli}}$$

**Equation 16.**

*m*

_{particle}of the substance to be sequestered we have the following value for maximal carrying capacity

*δ*in the bioreactor model:

$$\delta = \frac{1}{m_{particle}}\big[\frac{F_B - 6\pi \eta R_{\mathrm{E. \ coli}} v_{\mathrm{max}}}{g} - m_{\mathrm{\textit{E. coli}}}\big]$$

**Equation 17.**

*v*

_{max}can be set to 0 and we see:

$$\delta \approx \frac{1}{m_{particle}}\big[\frac{F_B}{g} - m_{\mathrm{\textit{E. coli}}}\big]$$

**Equation 18.**

# 4. Growth Dynamics

## 4.1 Objective

Our objective for this section is to describe the growth dynamics of BL21 *E. coli* strain in lysogeny broth (LB). We have obtained two sets of observations from our wet lab team:

25 observations with

*Δ**t*= 30mins40 observations with

*Δ**t*= 30mins

## 4.2 Approach

To model all the observations, we will use the Gompertz function[10], which can be expressed in the following way: $$f(t) = ae^{-be^{-ct}}$$ with: $$b, c >0$$ The reason for using this model is that it best describes the lag phase, the exponential phase and stationary phase.

## 4.3 Results

The observations were given to us in *O**D*_{600}. We know that for bacterial cell cultures *O**D*_{600} of 1.0 = 8.0 × 10^{8}cells/ml [6].

For the first set of observations we fit the curve to our data.

with the following parameters:

`General model: ans(x) = a*exp(-b*exp(-c*x)) Coefficients (with 95% confidence bounds): a = 3.876e+08 (2.782e+08, 4.97e+08) b = 18.97 (-22.7, 60.64) c = 0.4938 (0.1035, 0.884)`

For the second set of observations, we fit the same model. However, we obtain different parameters, since we enter the stationary phase after the exponential phase, which we did not observe in the first data set. But we also notice that they fall into the 95% confidence interval for the parameters of the first observations. Hence we can assume, with some certainty, that the parameters we got for this curve fitting process would also fit for the previous one.

The parameters are as follows:

`General model: ans(x) = a*exp(-b*exp(-c*x)) Coefficients (with 95% confidence bounds): a = 5.707e+08 (5.355e+08, 6.059e+08) b = 5.127 (3.785, 6.469) c = 0.1989 (0.1603, 0.2376)`

# 5. Discussion and Future Directions

Based on the results of our differential bioreactor model we postulate that a bioreactor of this design could perform at appropriately small time-scales with a sufficiently optimized flotation construct in a bioremediation context. This bodes well for future laboratory endeavours where the bioreactor schema along with an engineered cell-line optimized for flotation from gas vesicle formation could be tested in a small scale laboratory model of the system to test its empirical performance. This is useful for model validation, and proof of concept.

An improvement to the bioreactor could be seen in the form of incorporation of an experimental growth dynamics model as demonstrated in the Growth Dynamics section with the Goempertz equation. The Monod equation was chosen initially for this model because it is scalable and its parameters are known for BL21; however, it only describes the exponential phase of growth and it is not guaranteed that the biomass will remain in exponential phase during the bioreactor process. Another shortcoming is that it is a single-substrate model and in practice, this would not be the case as the likely nutrient source would be from carbohydrates, lipids, and organics present in the waste-water effluent. For future application-based analysis using the bioreactor model, Goempertz coefficients could be determined for a biomass of industrially relevant size for the volume demands dictated by the industry requiring bioremediation using a similar experimentation and analysis technique as described in the Growth Dynamics section.

To further enrich the analysis of the behaviour of the bioreactor model, in addition to the existing sensitivity analysis, identification and characterization of stable points resulting from different combinations of parameter values could be performed.

It would also be informative to apply the stochastic temporal tracking algorithm to real flotation data (images), once obtained, to estimate the buoyant force for ARG1 and compare different modifications of ARG1 to determine an optimal gene combination for flotation.

A next major step is coupling cellular flotation assays with cell surface engineering for application-based testing for different bioremediation tasks. Much research has been done relating to selecting peptide sequences for metal binding [4][5]. Existing techniques would include constitutively expressing cell-surface protein along with OD regulated IPTG induction ARG1, or optimised constructs of ARG1 for flotation.

# 6. Appendix

## Variable and Parameter Definitions and Units

*γ*Yield Constant (unitless)*κ**E*. coli Death Rate (*h*^{−}1)D = F/V Dilution Rate (

*h*^{−}1)*F*Flow Rate (*L**h*^{−}1)*V*Total Volume (*L*)*β*Detachment Rate (*h*^{−}1)*α*Attachment Rate (*h*^{−}1)*μ*_{m}Maximum Specific Growth Rate (*h*^{−}1)*K*_{s}Monod Constant (mol*L*^{−}1)*δ*Maximum Carrying Capacity Constant (unitless)*N*_{i}Initial Cellular Concentration (mol*L*^{−}1)*S*_{i}Initial Limiting Substrate Concentration (mol*L*^{−}1)*X**u*_{i}Initial Particle Concentration within Waste-water (mol*L*^{−}1)*X**w*Concentration of Bound Particle (mol*L*^{−}1)*η*Dynamic viscosity of waste-water (*k**g**m**s*^{−}1)*m*_{p}*a**r**t**i**c**l**e*Atomic or molecular mass of substance to be sequestered (*g**m**o**l*^{−}1)*m*_{E}.*c**o**l**i*Aproximate mass of*E*. coli cell*R*_{E}.*c**o**l**i*Approximate radius of*E*. coli cell in spherical approximation (*m*)*v*_{m}*a**x*Maximum achievable velocity based on vertical displacement specification.

## The MATLAB Bioreactor ODE Code

```
gamma = 1.1; % yield constant (?)
kappa = 0.01; % death rate h^-1
D = 3; % dilution/flow rate h^-1
beta = 0.03; % detachment rate of particle from biomass surface h^-1
alpha = 1.5; % attachment rate h^-1
mu_m = 0.8; % maximum specific growth rate (monod equation) unitless
K_s = 2.87*10^(-7); % monod constont mol L^-1
delta = 1.5; % maximum carrying capacity
N_i = 0.4; % initial cellular concentration L^-1
S_i = 0.63; % initial substrate concentration L^-1
Xu_i = 0.5; % initial unbound metal concentration L^-1
Xw_i = 0; % initial bound metal concentration L^-1
epsilon = 0.0001; % Acceptable metal concentration threshold
f = @(t,x) [N_i * ((mu_m * x(2)) / (K_s + x(2))) - x(1) * (D + kappa);
-((mu_m * x(2)) / (K_s + x(2))) * x(1) / gamma;
beta * x(4) - alpha * x(3) * (delta * x(1) - x(4))/(delta * x(1));
-(beta * x(4) - alpha * x(3) * (delta * x(1) - x(4))/(delta * x(1))) - D*x(4)];
[t,xa] = ode45(f,[0 50],[N_i S_i Xu_i Xw_i]);
fprintf('ode solved\n')
ind = find(xa(:,3) <= epsilon);
xap = xa(1:ind,:);
tp = t(1:ind);
figure;
plot(tp,xap(:,1)); % Cell concetration mol L^-1
hold on
plot(tp,xap(:,2)); % Substrate concentration
hold on
plot(tp,xap(:,3)) % Unbound metal concentration mol L^-1
hold on
plot(tp,xap(:,4)) % Bound metal concentration mol L^-1
hold on
set(findall(gca, 'Type', 'Line'),'LineWidth',2);
legend('E. coli Pop', 'Substrate','Unbound Particle', 'Bound particle in MR')
xlabel('Time (h)'), ylabel('mol/L')
```

# 7. References

[1] Oladeji, S. O., & Saeed, M. D. (2015). *Assessment of cobalt levels in wastewater, soil and vegetable samples grown along Kubanni stream channels in Zaria, Kaduna State, Nigeria*. African Journal of Environmental Science and Technology, 9(10), 765-772. doi:10.5897/ajest2015.1969

[2] Whittaker MM, Mizuno K, Bächinger HP, Whittaker JW. *Kinetic Analysis of the Metal Binding Mechanism of Escherichia coli Manganese Superoxide Dismutase*. Biophysical Journal. 2006;90(2):598-607. doi:10.1529/biophysj.105.071308.

[3] *Monod substrate affinity constant (Ks) for strain ML30 of E. coli growing on glucose as the only source of carbon and energy*. (n.d.). Retrieved October 13, 2018 from http://bionumbers.hms.harvard.edu/bionumber.aspx?s=n&v=1&id=111051.

[4] N., Cetinel, S., Omar, S. I., Tuszynski, J. A., & Montemagno, C. (2017). *A computational method for selecting short peptide sequences for inorganic material binding.* Proteins: Structure, Function, and Bioinformatics, 85(11), 2024-2035. doi:10.1002/prot.25356

[5] Li, Pengsong & Tao, Huchun. (2013). *Cell surface engineering of microorganisms towards adsorption of heavy metals.* Critical reviews in microbiology. 41. 10.3109/1040841X.2013.813898.

[6] *Bacterial cell number (OD600)* (n.d.). Retrieved October 13, 2018 from http://www.labtools.us/bacterial-cell-number-od600/

[7] Bengt Carlsson. (2009). *An introduction to modeling of bioreactors.* Dept of Systems and Control, Information Technology Uppsala University. Retrieved October 13, 2018 from https://www.it.uu.se/edu/course/homepage/modynsyst/vt11/Lecture/DynSystBior2009.pdf.

[8] *Monod substrate affinity constant (Ks) for strain ML30 of E. coli growing on glucose as the only source of carbon and energy*. (n.d.). Retrieved October 13, 2018

[9] Chen, L., & Chai, L. (2005). *Mathematical Model and Mechanisms for Biofilm Wastewater Treatment Systems*. World Journal of Microbiology and Biotechnology, 21(8-9), 1455-1460. doi:10.1007/s11274-005-6565-2

[10] Parolini, N, & Carcano, S. (2009). *A MODEL FOR CELL GROWTH IN BATCH BIOREACTORS*. Faculty of Systems Engineering, Polytechnic University of Milan. Retrieved October 13, 2018 from https://www.politesi.polimi.it/bitstream/10589/2082/1/2010_07_Carcano.pdf.