About:
Calculate the downstream concentration of BOD $(\frac{mg}{l})$ of a trickling filter according the Eckenfelder equation .
\begin{equation} Se = \left( \frac{Sf + r \times Se}{1+ r} \right)\times e^{-\left(\frac{h \times k \times 1.035^{\left( T - 20\right)}}{\left(\frac{Q \times 60}{A}\right)^n} \right)} \end{equation}
Trickling filter scheme (Source: Wikipedia) |
\begin{equation} Se = \left( \frac{Sf + r \times Se}{1+ r} \right)\times e^{-\left(\frac{h \times k \times 1.035^{\left( T - 20\right)}}{\left(\frac{Q \times 60}{A}\right)^n} \right)} \end{equation}
Parameters:
- Se, outlet concentration of BOD in the wastewater- mg/l;
- Sf, inlet concentration of BOD in the wastewater- mg/l;
- r, recirculation factor;
- k, factor (domestic wastewater ~ 0.02);
- T, temperature of water - oC;
- n, factor (domestic wastewater ~ 0.5);
- Q, flow - m3/s;
- h, heigh of the trickling filter, m.
- A, area of the trinckling filter - m2;
Module: Bioreactor
Function:
BIO_eckenfelder_se(sf,r, k, t, n, q, h, area)
Parameters:
sf
, upstream concentration of BOD in the wastewater- mg/l; - m3/sr
, recirculation factor;k
, factor (domestic wastewater ~ 0.02);t
, temperature of water - oC;n
, factor (domestic wastewater ~ 0.5);q
, flow - m3/s;h
, heigh of the trickling filter, m.area
, area of the trinckling filter - m2;
Sample code:
from Bioreactor import *
sf = 338 #(mg/l)
area= 324.1 #(m2)
q= 600.0 # (m3/day)
h= 2.5 #(m)
r= 3.0
k= 0.02
t= 15. #(oC)
n= 0.5
q = q/86400
se = BIO_eckenfelder_se(sf,r, k, t, n, q,h, area)
print ("se:", se,"mg/l")
Result:
Se: 33.9987333203 mg/l