<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">ACES</journal-id><journal-title-group><journal-title>Advances in Chemical Engineering and Science</journal-title></journal-title-group><issn pub-type="epub">2160-0392</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/aces.2018.83010</article-id><article-id pub-id-type="publisher-id">ACES-86183</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Chemistry&amp;Materials Science</subject></subj-group></article-categories><title-group><article-title>
 
 
  Computer-Aided Design and Simulation of a Membrane Bioreactor for Produced Water Treatment
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Kenneth</surname><given-names>Kekpugile Dagde</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Nunia</surname><given-names>Jane Nwidadaa</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Chemical/Petrochemical Engineering, Rivers State University, Port Harcourt, Nigeria</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>dagde.kenneth@ust.edu.ng(KKD)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>11</day><month>06</month><year>2018</year></pub-date><volume>08</volume><issue>03</issue><fpage>144</fpage><lpage>160</lpage><history><date date-type="received"><day>18,</day>	<month>April</month>	<year>2018</year></date><date date-type="rev-recd"><day>22,</day>	<month>July</month>	<year>2018</year>	</date><date date-type="accepted"><day>25,</day>	<month>July</month>	<year>2018</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Membrane Bio Reactor (MBR) has been designed and simulation for the treatment of Chemical Oxygen Demand (COD), Total Suspended Solids (TSS), Total Organic Carbon (TOC), Total Dissolved Solid (TDS) and Oil/
   
  Grease in produced water at a capacity of 54.1778 kg/hr for removal of 95%-99% contaminants. The MBR design equations were developed using the law of conservation of mass to determine the dimensions and functional parameters. The developed performance equations were integrated numerically using fourth-order Runge-Kutta embedded in MATLAB computer program to determine the optimum range of values of the reactor functional dimensions and functional parameters. The effect of rate of energy supply per reactor volume and substrate specific rate constant on the capacity of the membrane bioreactor were investigated. Also, the effect of initial loading of substrate on Solid Retention Time (SRT) was also investigated. Results showed that kinetic parameters influenced the percentage removal of contaminants as Hydraulic Retention Time (HRT) and size of MBR decreased with increase in specific rate constant at fixed conversion of contaminants. Also, HRT and MBR size increase
  d
   as the conversion of Chemical Oxygen Demand (COD) was increased, while increased in the ratio of energy supplied per volume resulted in decreased of MBR volume. The effect of initial loading of substrate on SRT showed that increased in substrate loading increased the retention time of the solid at fixed substrate conversion, while the conversion of substrate to microorganism increase
  d
   as the solid retention time was increased. The in
  creased in initial loading of substrate concentration increased the production of Mixed Liquor Suspended Solids (MLSS). Thus, the size of MBR required for the conversion of the investigated contaminants at the design percentage removal increased in the following order: oil/grease &lt; TSS &lt; TOC &lt; TDS. The MBR volume, height and HRT were 1.10 and 5.29 m<sup>3</sup>; 0.98 and 4.68 m; and 1.38 and 6.62 at 95% and 99% respectively, while the SRT was 82.67 days.
 
</p></abstract><kwd-group><kwd>Design</kwd><kwd> Simulation</kwd><kwd> Produced Water Treatment</kwd><kwd> Contaminants Removal</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The exploration and production of oil and gas has both positive and negative outcome. Oil and gas have been a major source of economic boost to its producing countries; it has equally caused environmental concerns and other challenges. However, in spite of the challenges associated with oil and gas production, many countries are continuing in their efforts to expanding exploration and development of oil and gas activities [<xref ref-type="bibr" rid="scirp.86183-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.86183-ref2">2</xref>] . As these activities continue to increase and new formations become economically viable, water demands for well development as well as the volume of produced water generated will increase considerably [<xref ref-type="bibr" rid="scirp.86183-ref3">3</xref>] . Produced water is wastewater from underground formations that is brought to the surface during oil and gas production and it is an undesirable product in the hydrocarbon reservoirs [<xref ref-type="bibr" rid="scirp.86183-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.86183-ref5">5</xref>] . It contributes the largest volume of waste stream associated with oil and gas production [<xref ref-type="bibr" rid="scirp.86183-ref6">6</xref>] [<xref ref-type="bibr" rid="scirp.86183-ref7">7</xref>] . According to Coday et al. about 14 billion barrel of produced water are produced annually [<xref ref-type="bibr" rid="scirp.86183-ref3">3</xref>] while Duraisamy et al. (2013) posited that 77 billion barrel of water are produced per annum globally [<xref ref-type="bibr" rid="scirp.86183-ref7">7</xref>] . Usually, produced water is always in contact with hydrocarbons in reservoir or surface pipelines thereby making it a complex mixture comprising of polar and non-polar organic components, cations (e.g. magnesium, calcium and iron), anions (e.g. carbonate and bromide sulphate) and other substances such as heavy metals (e.g. barium, uranium, cadmium, chromium and lead) [<xref ref-type="bibr" rid="scirp.86183-ref6">6</xref>] [<xref ref-type="bibr" rid="scirp.86183-ref8">8</xref>] . Produced water physicochemical properties vary with respect to reservoir type (e.g. oil, gas or coal), geographic location of the field, the geologic formation and the type of produced hydrocarbon but the characteristics and volume of produced water varies throughout the lifetime of the proposed reservoir [<xref ref-type="bibr" rid="scirp.86183-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.86183-ref20">20</xref>] . The need to treat produced water was to meet discharge regulations set by Local, State and Federal Authorities, reuse of treated produced water in oil and gas operations, agricultural purposes, animal/human consumption and meeting water quality requirements for miscellaneous uses. The advantages of using membrane processes include the ease of operation and the use of little or no chemicals [<xref ref-type="bibr" rid="scirp.86183-ref7">7</xref>] . The membrane technology used in produced water and waste water treatments are classified according to pore size and they include: Microfiltration, Ultrafiltration, Nanofiltration, Electrodialysis and Reverse Osmosis. Microfiltration, ultrafiltration and nanofiltration are membrane technologies that differs from each other mainly in pore size of the membrane used. Igunnu and Chen (2014) hinged on the advantages of MBR as possessing highly-improved effluent quality, higher biomass concentration and less sludge production [<xref ref-type="bibr" rid="scirp.86183-ref9">9</xref>] . The application of Membrane Bioreactor for treatment of produced water experimentally is currently on [<xref ref-type="bibr" rid="scirp.86183-ref7">7</xref>] , but work on design, modeling and simulation is lacking. In the present work, MBR design model that predicts the removal of contaminants entrained in produced water is presented. The design models were integrated numerically to compute the reactor dimension, percentage removal of contaminants and functional parameters. Model predictions were compared with industrial and literature data with reasonable agreement. Sensitivity analysis was carried out on functional parameters to see its effects on percentage contaminants removal in order to ascertain optimality.</p></sec><sec id="s2"><title>2. Development of MBR Design Equations</title><p><xref ref-type="fig" rid="fig1">Figure 1</xref> shows a hypothetical schematic diagram of a Continuous Stirred-Tank Reactor imbedded with membrane submerged in the bioreactor for treatment of produced water. The oilfield produced water entered into the reactor through the reactor inlet designated as “In” and passes through the immersed membrane embedded with nutrient supplying material. Oxygen in the form of air is introduced into the reactor through another channel to provide life for micro-organisms growing in the membrane which in turn consume the available contaminants. After the treatment process, the treated water flows out from the membrane reactor at high percentage conversion of the contaminants, while the sludge effluent is discharged from the bottom of the bioreactor.</p><sec id="s2_1"><title>2.1. Assumptions</title><p>The following assumptions were made in the development of the design equations:</p><p>1) The flow rate of the produced water in the MBR is constant throughout.</p><p>2) There is no concentration gradient of contaminant in the MBR.</p><p>3) The MBR is operated at isothermal, isobaric and steady state condition.</p><p>4) There is no diffusion/dispersion of contaminants in the MBR.</p><p>These assumptions are made to simplify the model and avoid complexity arising from flow rate fluctuation, concentration gradients, density gradients, and diffusivity.</p></sec><sec id="s2_2"><title>2.2. Material Balance on MBR</title><p>Applying the mass conservative principle to the bioreactor in <xref ref-type="fig" rid="fig1">Figure 1</xref> based on the above assumptions gives the overall component balance as:</p><p>F i o C i o = F i C i + R i V M + d N i d t (1)</p><p>where: V<sub>M</sub> = MBR volume (m<sup>3</sup>), C i o , C i = influent and effluent oxygen concentration (kg/m<sup>3</sup>), t = Time (hr), F i o , F i = influent and effluent flow rate of oxygen (m<sup>3</sup>/hr), R<sub>i</sub> = Rate of transfer or uptake (kg/m<sup>3</sup>hr), i = oxygen, contaminants.</p><p>In aerobic process, an uptake of oxygen is necessary for the survival of the biomass and products uniformity, thus the rate of oxygen transfer [<xref ref-type="bibr" rid="scirp.86183-ref10">10</xref>] can be evaluated using the mass transfer equation expressed as:</p><p>R O 2 = Δ J = ( J o − J ) = K L a ( C O 2 * − C O 2 ) (2)</p><p>From Equation (1) with respect to oxygen transfer rate in MBR is expressed as:</p><p>F O 2 ( o ) C O 2 ( o ) = F O 2 C O 2 + R O 2 V + d N O 2 d t (3)</p><p>where R O 2 = K L a ( C O 2 * − C O 2 ) and</p><p>d N O 2 d t = V d C O 2 d t (4)</p><p>Combining Equations (3) and (4) gives</p><p>V d C O 2 d t = F o C O 2 ( o ) − F C O 2 + K L a ( C O 2 * − C O 2 ) V (5)</p><p>For constant flow rate, Equation (5) reduces to</p><p>V d C O 2 d t = F ( C O 2 ( o ) − C O 2 ) + K L a ( C O 2 * − C O 2 ) V (6)</p><p>At steady state operation, rearranging Equation (6) reduces to</p><p>V = F ( C O 2 ( o ) − C O 2 ) K L a ( C O 2 * − C O 2 ) (7)</p><p>where: K<sub>L</sub> = Oxygen mass transfer coefficient (m/hr), a = Interfacial area of mass transfer (m<sup>2</sup>/m<sup>3</sup>), C O 2 * = Saturated oxygen concentration (kg/m<sup>3</sup>), J<sub>o</sub> and J = inflow and outflow flux in the permeate zone (kg/m<sup>2</sup> hr).</p></sec><sec id="s2_3"><title>2.3. Height of MBR</title><p>The height of cylindrical shaped reactor is given as:</p><p>H = 4 V π D 2 (8)</p><p>substituting Equations (7) in (8), we have</p><p>H = 4 F ( C O 2 ( o ) − C O 2 ) π D 2 K L a ( C O 2 ∗ − C O 2 ) (9)</p><p>The saturated oxygen concentration can be evaluated using equation:</p><p>C O 2 * = P O 2 H (10)</p><p>where: P O 2 = Partial pressure of oxygen (bar), H = Henry’s law constant (bar∙m<sup>3</sup>/kg)</p><p>K L a can be evaluated for non-coalescing fluid [<xref ref-type="bibr" rid="scirp.86183-ref10">10</xref>] as:</p><p>K L a = 0.02 ( P V ) 0.7 ( v g p p o ) 0.2 (11)</p><p>where: v<sub>g</sub> = superficial gas velocity (m/hr), p<sub>o</sub> = Reference pressure of 1 bar, p = Pressure in the system (bar), P V = Input power per unit Volume (kW/m<sup>3</sup>) and it ranges from (0.5 to 10).</p></sec><sec id="s2_4"><title>2.4. MBR Sizing Base on Contaminants Conversion</title><p>The substrate consumption rate is expressed as [<xref ref-type="bibr" rid="scirp.86183-ref11">11</xref>] :</p><p>− R s = − d C s d t = K S K m + S (12)</p><p>Substituting Equation (12) into (1), the MBR volume base on substrate consumption at steady state and constant flow rate, after simplification gives:</p><p>V M = F c ( o ) C ( o ) x c ( K m + S K S ) (13)</p><p>The substrate rate constant is expressed as:</p><p>k = μ max Y (14)</p><p>Combining Equations (13) and (14) gives:</p><p>V M = F c ( o ) C ( o ) x c ( K m + S μ max S ) Y (15)</p><p>where: S = Substrate concentration (kg/m<sup>3</sup>), F<sub>c</sub> = Flow rate of contaminant (m<sup>3</sup>/hr), C<sub>(o)</sub> = Initial concentration of contaminant (kg/m<sup>3</sup>), x<sub>c</sub> = Contaminant conversion, Y = Biomass yield, K<sub>m</sub> = Monod constant.</p></sec><sec id="s2_5"><title>2.5. Production of Biomass</title><p>The evaluation of biomass production in this study was done in terms of mixed liquor suspended solid (MLSS). The performance equations of MBR depend on the production yield of biomass in the process capable of treating the produced water. According to (zaerpour, 2014) biomass production given by [<xref ref-type="bibr" rid="scirp.86183-ref12">12</xref>]</p><p>X ( M L S S ) = F Y ( S o − S ) 1 + k d S R T &#215; ( S R T ) (16)</p></sec><sec id="s2_6"><title>2.6. Hydraulic Retention Time</title><p>The hydraulic retention time (HRT) was calculated according to:</p><p>H R T = V M F (17)</p><p>where: HRT = Hydraulic retention time (hours), V<sub>M</sub> = Volume of MBR, F = Flow rate.</p></sec><sec id="s2_7"><title>2.7. Solid Retention Time</title><p>Solids retention time (SRT) was calculated according to:</p><p>S R T = 1 μ (18)</p><p>The kinetic of biological activities in the MBR was expressed with respect to the substrate consumption and endogenous decay of the produced organism according to (Zaerpour 2014) [<xref ref-type="bibr" rid="scirp.86183-ref12">12</xref>] as:</p><p>μ = μ m S K m + S − k d (19)</p><p>where: μ = Specific growth rate of nitrifying bacteria (kg new cells/kg cells day), μ<sub>m</sub> = Maximum specific growth rate of nitrifying bacteria (kg new cells/kg cells day) S = Nitrogen (substrate) concentration (g/m<sup>3</sup>), K<sub>m</sub> = Monod constant (kg/m<sup>3</sup>), k<sub>d</sub> = Endogenous decay coefficient for nitrifying organisms (kg MLSS/ kg MLSS day).</p><p>Combining Equations (18) and (19) gives an expression for SRT as</p><p>S R T = K m + S μ m S − 1 k d (20)</p><p>In terms of substrate conversion, Equation (20) can be further expressed as</p><p>S R T = K m + μ m ( S o − x s ) μ m ( S o − x s ) − 1 k d (21)</p></sec><sec id="s2_8"><title>2.8. Concentration of Oxygen at Saturation</title><p>The concentration of oxygen at saturation point was calculated using the expression:</p><p>C O 2 * = P O 2 H (22)</p><p>where C<sup>*</sup> in the case of oxygen transfer, is measured in terms of solubility of O<sub>2</sub>.</p><p>The Henry’s law constant at 1 atm pressure of oxygen and ambient temperature of 25˚C is 24.2 atm∙m<sup>3</sup>/kg while the solubility is 8.69 &#215; 10<sup>−3</sup> kg/m<sup>3</sup>.</p></sec><sec id="s2_9"><title>2.9. Kinetic Parameters</title><p>The Monod constant, maximum specific growth rate constant, substrate utilization rate constant and endogenous decay coefficient for nitrifying organisms were obtained from (zaerpour, 2014 and Kwon et al., 2008) [<xref ref-type="bibr" rid="scirp.86183-ref12">12</xref>] [<xref ref-type="bibr" rid="scirp.86183-ref13">13</xref>] as presented in <xref ref-type="table" rid="table1">Table 1</xref>.</p></sec><sec id="s2_10"><title>2.10. Initial Concentration of Contaminants in Oil Field Produced Water</title><p><xref ref-type="table" rid="table2">Table 2</xref> shows the initial concentration of contaminants (COD, oil/grease, TSS, TOC and TDS) between 95% to 99% conversion) in Nigerian Agip Oil Company produced water, Port Harcourt.</p></sec></sec><sec id="s3"><title>3. Results and Discussion</title><p><xref ref-type="table" rid="table3">Table 3</xref> shows the dimensions of the membrane bioreactor at a capacity of 54.1778 kg/hr for 95% and 99% conversion of contaminants. The volume, height</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Bio-kinetic parameters of MBR</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Parameter</th><th align="center" valign="middle" >Value</th><th align="center" valign="middle" >Reference</th></tr></thead><tr><td align="center" valign="middle" >Monod Constant K<sub>m</sub> (kg/m<sup>3</sup>)</td><td align="center" valign="middle" >0.28 kg/hr</td><td align="center" valign="middle" >Zaerpour (2014)</td></tr><tr><td align="center" valign="middle" >Maximum Specific Growth Rate Constant μ<sub>m</sub> (h∙r<sup>−1</sup>)</td><td align="center" valign="middle" >8.10</td><td align="center" valign="middle" >Zaerpour (2014)</td></tr><tr><td align="center" valign="middle" >Endogenous Decay Coefficient k<sub>d</sub> (kg MLSS/kg MLSS∙hr)</td><td align="center" valign="middle" >1.44<sup> </sup></td><td align="center" valign="middle" >Zaerpour (2014)</td></tr><tr><td align="center" valign="middle" >Substrate Utilization Rate Constant (h∙r<sup>−1</sup>)</td><td align="center" valign="middle" >4.13 to 8.07</td><td align="center" valign="middle" >Kwon et al. (2008)</td></tr></tbody></table></table-wrap><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Initial concentration of contaminants in oil field produced water (NAOC, 2017) [<xref ref-type="bibr" rid="scirp.86183-ref14">14</xref>] </title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Contaminants</th><th align="center" valign="middle" >Value</th></tr></thead><tr><td align="center" valign="middle" >Oil/grease (kg/m<sup>3</sup>)</td><td align="center" valign="middle" >0.45</td></tr><tr><td align="center" valign="middle" >TSS (kg/m<sup>3</sup>)</td><td align="center" valign="middle" >0.80</td></tr><tr><td align="center" valign="middle" >TDS (kg/m<sup>3</sup>)</td><td align="center" valign="middle" >6.50</td></tr><tr><td align="center" valign="middle" >TOC (kg/m<sup>3</sup>)</td><td align="center" valign="middle" >1.00</td></tr><tr><td align="center" valign="middle" >COD (kg/m<sup>3</sup>)</td><td align="center" valign="middle" >1.20</td></tr></tbody></table></table-wrap><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Summary of design parameters at S = 1.0 kg/m<sup>3</sup>, diameter of 1.5 m and substrate rate constant of 6 h∙r<sup>−1</sup></title></caption><table><tbody><thead><tr><th align="center" valign="middle" >MBR Parameter</th><th align="center" valign="middle" >95%</th><th align="center" valign="middle" >99%</th></tr></thead><tr><td align="center" valign="middle" >Volume (m<sup>3</sup>)</td><td align="center" valign="middle" >1.10</td><td align="center" valign="middle" >5.29</td></tr><tr><td align="center" valign="middle" >Height (m)</td><td align="center" valign="middle" >0.98</td><td align="center" valign="middle" >4.68</td></tr><tr><td align="center" valign="middle" >HRT (hr)</td><td align="center" valign="middle" >1.38</td><td align="center" valign="middle" >6.62</td></tr><tr><td align="center" valign="middle" >SRT (hr)</td><td align="center" valign="middle"  colspan="2"  >82.67 Days</td></tr></tbody></table></table-wrap><p>and the hydraulic retention time of the bioreactor at 95% conversion were 1.10 m<sup>3</sup>, 0.98 m and 1.38 hours respectively as compared with 5.29 m<sup>3</sup>, 4.68 m and 6.62 hours at 99% conversion. This indicates that at 95% conversion with smaller dimensions, the cost implication will be of advantage and the bioreactor will occupy less space.</p><p><xref ref-type="table" rid="table4">Table 4</xref> depicts the comparison between Design Model Predictions (Equations (7)-(21)) and Department of Petroleum Resources [<xref ref-type="bibr" rid="scirp.86183-ref15">15</xref>] (DPR, 1999) standard for produced water effluent concentrations indicating that the predicted data at 95% - 99% conversion agree reasonably well with the DPR standard. The concentrations of oil/grease, TSS, TDS, TOC and COD at 99% conversion were 0.0045, 0.008, 0.065, 0.01 and 0.012 kg/m<sup>3</sup> respectively and 0.0225, 0.04, 0.325, 0.05 and 0.06 kg/m<sup>3</sup> at 95% conversion as compared with DPR standard of 0.04, 0.05, 2.0, 0.04, and “no limit” respectively. Although the degree of conversion at 99% is higher than that of 95%, the cost implication would be enormous to operate at 99% since 95% meets the regulatory standard of DPR.</p><sec id="s3_1"><title>3.1. Effect of Substrate Specific Rate Constant on the Retention of Oil/Grease by MBR</title><p>The substrate specific rate is an important parameter in the design of MBR. Increasing or decreasing of substrate rate can affect the production of nitrogenous organisms that utilizes the produced water contaminant and thereby affecting its concentration in the produced water at the exit stream. Figures 2-4 show the profile of MBR volume, length and hydraulic retention time (HRT) versus conversion of produced water oil/grease contaminant at varying rate constants.</p><p>The effect of rate constant on the volume of MBR is shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>. As the conversion increased, the volume also increased at various specific rate constant. At the rate constants investigated (2 to 8 h<sup>−1</sup>), the MBR volume required for the conversion of oil contaminant in produced water varied. Thus, at 95% to 99%</p><table-wrap id="table4" ><label><xref ref-type="table" rid="table4">Table 4</xref></label><caption><title> Comparison of DPR standard for effluent concentrations and model predictions of contaminant after treatment</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Contaminant</th><th align="center" valign="middle"  rowspan="2"  >DPR Effluent Standard</th><th align="center" valign="middle"  colspan="5"  >Model Predictions</th></tr></thead><tr><td align="center" valign="middle" >95%</td><td align="center" valign="middle" >96%</td><td align="center" valign="middle" >97%</td><td align="center" valign="middle" >98%</td><td align="center" valign="middle" >99%</td></tr><tr><td align="center" valign="middle" >Oil/grease (kg/m<sup>3</sup>)</td><td align="center" valign="middle" >0.04</td><td align="center" valign="middle" >0.0225</td><td align="center" valign="middle" >0.018</td><td align="center" valign="middle" >0.0135</td><td align="center" valign="middle" >0.009</td><td align="center" valign="middle" >0.0045</td></tr><tr><td align="center" valign="middle" >TSS (kg/m<sup>3</sup>)</td><td align="center" valign="middle" >0.05</td><td align="center" valign="middle" >0.04</td><td align="center" valign="middle" >0.032</td><td align="center" valign="middle" >0.024</td><td align="center" valign="middle" >0.016</td><td align="center" valign="middle" >0.008</td></tr><tr><td align="center" valign="middle" >TDS (kg/m<sup>3</sup>)</td><td align="center" valign="middle" >2</td><td align="center" valign="middle" >0.325</td><td align="center" valign="middle" >0.260</td><td align="center" valign="middle" >0.195</td><td align="center" valign="middle" >0.130</td><td align="center" valign="middle" >0.065</td></tr><tr><td align="center" valign="middle" >TOC (kg/m<sup>3</sup>)</td><td align="center" valign="middle" >0.04</td><td align="center" valign="middle" >0.05</td><td align="center" valign="middle" >0.04</td><td align="center" valign="middle" >0.03</td><td align="center" valign="middle" >0.02</td><td align="center" valign="middle" >0.01</td></tr><tr><td align="center" valign="middle" >COD (kg/m<sup>3</sup>)</td><td align="center" valign="middle" >No limit</td><td align="center" valign="middle" >0.06</td><td align="center" valign="middle" >0.048</td><td align="center" valign="middle" >0.036</td><td align="center" valign="middle" >0.024</td><td align="center" valign="middle" >0.12</td></tr></tbody></table></table-wrap><p>oil reduction, the volume of MBR increased from 1.45 to 6.95 m<sup>3</sup> at rate constant of 2 h<sup>−1</sup>, 0.73 to 3.48 m<sup>3</sup> at 4 h<sup>−1</sup>, 0.48 to 2.32 m<sup>3</sup> at 6 h<sup>−1</sup> and 0.36 to 1.74 m<sup>3</sup> at 8 h<sup>−1</sup>. However, the volume decreased with increase in specific rate constant. Indicating that, substrate rate constant influenced MBR performance and the optimum operational volume should be tailored to achieve high percentage removal of oil contaminants in produced water.</p><p>The effect of rate constant on the height of MBR is shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>. In similar profile like the volume, the conversion of oil contaminated produced water increased with increase in height, while increasing the specific rate constant for substrate utilization resulted in decrease in the height. Thus, at 95% to 99% oil reduction, the height of MBR increased from 1.28 to 6.15 m at rate constant of 2 h<sup>−1</sup>, 0.64 to 3.67 m at 4 h<sup>−1</sup>, 0.43 to 2.05 m at 6 h<sup>−1</sup> and 0.32 to 1.54 m at 8 h<sup>−1</sup>. This implies that, higher percentage removal of oil contaminant could be obtained when the substrate rate constant is controlled.</p><p>The variation of rate constant with HRT was also investigated as shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>. Similarly, the conversion of oil contaminated produced water increased with increase in HRT, while the HRT decreased with increase in the specific rate constant. At 95% to 99% oil reduction, the HRT increased from 2.91 to 13.96 hr at rate constant of 2 h<sup>−1</sup>, 1.45 to 6.95 hr at 4 h<sup>−1</sup>, 0.97 to 4.63 hr at 6 h<sup>−1</sup> and 0.73 to 3.48 hr at 8 h<sup>−1</sup>. However, hydraulic retention time as an important parameter in the design of MBR for the treatment of produced water needs to be sufficient for high removal contaminants. (Zaerpour 2014) reported a range of HRT obtained from 13 MBRs in the United States to be from 2 to 8.1 hr [<xref ref-type="bibr" rid="scirp.86183-ref12">12</xref>] , while Naghizadeh et al. (2013) obtained a range of HRT from 4 to 12.8 hr at different runs and conditions [<xref ref-type="bibr" rid="scirp.86183-ref11">11</xref>] .</p></sec><sec id="s3_2"><title>3.2. Effect of Rate Energy Supplied per Volume (P/V) on Conversion of COD</title><p>Figures 5-7 show the effect of P/V on the conversion of Chemical Oxygen Demand (COD) relative to MBR size and Hydraulic Retention Time (HRT). The rate of energy supplied per reactor volume was investigated following range of values recommended by (Badrnezhad and Beni, 2013) [<xref ref-type="bibr" rid="scirp.86183-ref10">10</xref>] . <xref ref-type="fig" rid="fig5">Figure 5</xref> shows the conversion of COD at varying P/V. COD conversion increased with increase in the volume but decreases with increase in the ratio of energy supplied per volume. Thus, at 95% to 99% COD conversion, the corresponding volume of MBR were 0.34 to 5.91 m<sup>3</sup> at 4 kW/m<sup>3</sup>, 0.25 to 4.44 m<sup>3</sup> at 6 kW/m<sup>3</sup>, 0.21 to 3.64 m<sup>3</sup> at 8 kW/m<sup>3</sup> and 0.18 to 3.11 m<sup>3</sup> at 10 kW/m<sup>3</sup>. These values were in agreement with values obtained by (Janus 2013) [<xref ref-type="bibr" rid="scirp.86183-ref16">16</xref>] with optimum energy/volume of 9.5 kW/m<sup>3</sup>.</p><p>These showed that energy supply per volume of reactor was essential for the determination of the overall performance of MBR operations. However, the removal of COD using MBR has been reported with high percentage conversion [<xref ref-type="bibr" rid="scirp.86183-ref10">10</xref>] [<xref ref-type="bibr" rid="scirp.86183-ref11">11</xref>] [<xref ref-type="bibr" rid="scirp.86183-ref17">17</xref>] .</p><p>The effects of energy supplied per reactor volume on conversion of COD with respect to height is shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>. The conversion of COD increased with</p><p>increase in height at a fixed rate of energy supply per volume, while the increase in the rate of energy supply per volume resulted in the decrease of height at a fixed COD percentage removal. Thus at 95% to 99% COD conversion, the height increased from 0.30 to 5.22 m at 4 kW/m<sup>3</sup>, 0.22 to 3.93 m at 6 kW/m<sup>3</sup>, 0.18 to 3.21 m at 8 kW/m<sup>3</sup> and 0.16 to 2.75 m at 10 kW/m<sup>3</sup>. The results showed that the operation of MBR with moderate height capable of removing high percentage of COD required high rate of energy supply per volume.</p><p>The effect of rate energy supply per volume on HRT is depicted as shown in <xref ref-type="fig" rid="fig7">Figure 7</xref>. The conversion of COD in produced water increased with increase in HRT at fixed energy per volume, while HRT decreased with increase in the rate of energy per volume at fixed COD conversion. At 95% to 99% conversion of COD, the HRT increased from 0.42 to 7.38 hr at 4 kW/m<sup>3</sup>, 0.32 to 5.56 hr at 6 kW/m<sup>3</sup>, 0.26 to 4.54 hr at 8 kW/m<sup>3</sup> and 0.22 to 3.89 hr at 10 kW/m<sup>3</sup>. These again, showed that hydraulic retention time influenced the rate of energy supply per volume of MBR produced water treatment process.</p></sec><sec id="s3_3"><title>3.3. Variation of Contaminant Conversion with Volume of MBR</title><p><xref ref-type="fig" rid="fig8">Figure 8</xref> shows the MBR volume required for the conversion of contaminants in produced water. At every fixed percentage removal, the MBR volume required to treat the investigated contaminant increased in the following order: oil/grease &lt; TSS &lt; TOC &lt; TDS. However, the contaminants’ conversion increased exponentially as volume increased. For the four contaminants studied, the corresponding volume required to remove 95% to 99% of the contaminants were: 0.36 to 1.74 m<sup>3</sup> for oil/grease, 0.60 to 2.94 m<sup>3</sup> for TSS, 0.66 to 3.25 m<sup>3</sup> for TOC and 1.10 to 5.29 m<sup>3</sup> for TDS.</p><p>Although, the concentration of contaminants in oil field produced water may not be the same, it is reasonable that when designing a MBR for multicomponent treatment, the size should be considered based on the contaminants</p><p>with highest concentrations. However, various works on treatment of produced water contaminants have been studied with various percentage conversions (removal) as recommended by (Kwong et al., 2008; Sharrer et al., 2010 Badrnezhad and Beni, 2013; Naghizadeh et al., 2013 and Mousa and Arafat, 2015) [<xref ref-type="bibr" rid="scirp.86183-ref10">10</xref>] [<xref ref-type="bibr" rid="scirp.86183-ref11">11</xref>] [<xref ref-type="bibr" rid="scirp.86183-ref13">13</xref>] [<xref ref-type="bibr" rid="scirp.86183-ref18">18</xref>] [<xref ref-type="bibr" rid="scirp.86183-ref19">19</xref>] .</p><p>The variation of conversion of contaminants with height is shown in <xref ref-type="fig" rid="fig9">Figure 9</xref>. Thus, at every fixed percentage removal, the MBR height required to treat the produced water contaminants increased in the following order: oil/grease &lt; TSS &lt; TOC &lt; TDS. The corresponding height required to remove 95% to 99% of the contaminants were: 0.32 to 1.54 m for oil/grease, 0.53 to 2.60 m for TSS, and 0.58 to 2.87 m for TOC and 0.98 to 4.68 m for TDS. Likewise, the design of MBR for treatment multi-component contaminants should be considered with reference to the contaminants with highest concentration.</p><p>The variation of the HRT with conversion is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>0. In a similar manner, the conversion of contaminants increased with increased in HRT. The</p><p>highest HRT was observed in TDS while the lowest was in oil/grease. This was because of the variation in the composition of contaminants in the produced water. At 95% to 99% conversion, the HRT increased from 0.45 to 2.17 hr for oil/grease, 0.75 to 3.68 hr for TSS, 0.82 to 4.06 hr for TOC and 1.38 to 6.62 hr for TDS.</p></sec><sec id="s3_4"><title>3.4. Effect of Substrate Loading on Solid Retention Time (SRT)</title><p>The capacity of the membrane to trap and keep hold of the solid contaminant at a substantial period depends on the substrate loading and the pore size of the membrane.</p><p>The effects of initial loading of substrate on SRT is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>1. Increased in substrate loading resulted in the increase in retention time of the solid at a fixed substrate conversion. Also, the conversion of substrate by micro-organisms increased as the solid retention time increased. However, excess loading of the substrates could promote the fouling of the membrane thereby reducing the performance of the treatment process. At substrate conversion between 0% and 50%, the SRT obtained were 58.86, 82.67 and 138.22 days at initial loading of 0.8, 1.0 and 1.2 kg/m<sup>3</sup> respectively. However, different SRT values had been obtained using MBR: 100 days by kwong et al. (2008) [<xref ref-type="bibr" rid="scirp.86183-ref13">13</xref>] and 24.7 days by Sharrer et al. (2010) [<xref ref-type="bibr" rid="scirp.86183-ref18">18</xref>] .</p><p>The effect substrate loading on mixed liquor suspended solids (MLSS) production is depicted in <xref ref-type="fig" rid="fig1">Figure 1</xref>2. The concentration of substrate in the membrane affects the growth of micro-organisms and hence, their activities in decomposing contaminants. Thus, increase in the initial loading of substrate concentration increased the population of the organisms. Though, between zero and about 1 hour, there was a lag in biomass growth, which could be attributed to process of microbes’ adaptation. MLSS concentration changed the kinetics of the treatment process and it was influenced by the concentration and type of nutrient’s source [<xref ref-type="bibr" rid="scirp.86183-ref11">11</xref>] . However, the biomass concentration at the initial substrate loading of 0.8, 1.0 and 1.2 kg/m<sup>3</sup> are 0.37, 0.46 and 0.55 at HRT of 4.35 hr.</p><p>The volume of MBR required for the removal of produced water contaminants between 95% to 99% at 1.0 kg/m<sup>3</sup> initial substrate loading is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>3. The MRB size required to remove the contaminants from produced water increased as the MLSS concentration was increased. However, with the produced MLSS concentration, oil/grease required smaller volume of MBR as compared with TDS.</p></sec></sec><sec id="s4"><title>4. Conclusion</title><p>Computer-aided design and simulation of a membrane bioreactor for treatment of produced water has been presented. The design equations were obtained from the law of conservation of mass on a submerged membrane in a bioreactor supplied with oxygen and adopting Monod equation at a capacity of 54.18 kg/hr for 95% to 99% removal of the contaminants (COD, TTS, TOC, TDS and oil/ grease). Results obtained from the models indicate that the volume, height</p><p>and hydraulic retention time were 1.10 and 5.29 m<sup>3</sup>; 0.98 and 4.68 m; and 1.38 and 6.62 at 95% and 99% conversion respectively, while the SRT was 82.7 days. Simulation of functional parameters indicate that the substrate specific rate constant, hydraulic retention time, substrate loading, solid retention time, biomass production, oxygen utilization, substrate consumption, rate of energy supplied per volume are functional parameters that affect the rate of contaminants conversion in the following trend: oil/grease &lt; TSS</p></sec><sec id="s5"><title>Cite this paper</title><p>Dagde, K.K. and Nwidadaa, N.J. (2018) Computer-Aided Design and Simulation of a Membrane Bioreactor for Produced Water Treatment. Advances in Chemical Engineering and Science, 8, 144-160. https://doi.org/10.4236/aces.2018.83010</p></sec></body><back><ref-list><title>References</title><ref id="scirp.86183-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Lin, B. and Wang, T. (2012) Forecasting Natural Gas Supply in China: Production Peak and Import Trends. Energy Policy, 49, 225-233.  
&lt;/br&gt;https://doi.org/10.1016/j.enpol.2012.05.074</mixed-citation></ref><ref id="scirp.86183-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Aguilera, R.F. and Ripple, R.D. (2012) Technological Progress and the Availability of European Oil and Gas Resources. Applied Energy, 96, 387-392.  
&lt;/br&gt;https://doi.org/10.1016/j.apenergy.2012.02.069</mixed-citation></ref><ref id="scirp.86183-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Coday, B.D., Xu, P., Beaudry, E.G., Herron, J., Lampi, K., Hancock, N.T. and Cath, T.Y. (2014) The Sweet Spot of forward Osmosis: Treatment of Produced Water, Drilling Wastewater, and other Complex and Difficult Liquid Streams. Desalination, 333, 23-35. &lt;/br&gt;https://doi.org/10.1016/j.desal.2013.11.014</mixed-citation></ref><ref id="scirp.86183-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Clark, C.E. and Veil, J.A. (2009) Produced Water Volumes and Management Practices in the United State. Department of Energy, United State of America, 11-13. &lt;/br&gt;http://www.osti.gov/bridge</mixed-citation></ref><ref id="scirp.86183-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Nasiri, M. and Jafari, I. (2017) Produced Water from Oil-Gas Plants: A Short Review on Challenges and Opportunities. Periodica Polytechnica Chemical Engineering, 61, 73-81.</mixed-citation></ref><ref id="scirp.86183-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Ahmadun, F.R., Pendashteh, A., Abdullah, L.C., Awang Biak, D.R., Madaeni, S.S. and Abidin, Z.Z. (2009) Review of Technologies for Oil and Gas Produced Water Treatment. Journal of Hazardous Materials, 170, 530-551.  
&lt;/br&gt;https://doi.org/10.1016/j.jhazmat.2009.05.044</mixed-citation></ref><ref id="scirp.86183-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Duraisamy, R.T., Beni, A.H. and Henni, A. (2013) State of the Art Treatment of Produced Water. [Accessed 8th July, 2017] &lt;/br&gt;https://doi.org/10.5772/53478</mixed-citation></ref><ref id="scirp.86183-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Shubo, D., Gang, Y., Zhongxi, C., Di, W., Fujun, X. and Neng, J. (2009) Characterization of Suspended Solids in Produced Water in Daqing Oilfield. Colloids and Surfaces, 332, 63-69. &lt;/br&gt;https://doi.org/10.1016/j.colsurfa.2008.09.004</mixed-citation></ref><ref id="scirp.86183-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Igunnu, E.T. and Chen, G.Z. (2014) Produced Water Treatment Technologies. International Journal of Low-Carbon Technologies, 9, 157-177.  
&lt;/br&gt;https://doi.org/10.1093/ijlct/cts049</mixed-citation></ref><ref id="scirp.86183-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Badrnezhad, R. and Beni, A.H. (2013) Ultrafiltration Membrane Process for Produced Water Treatment: Experimental and Modeling. Journal of Water Reuse and Desa-lination, 3, 249-259. &lt;/br&gt;https://doi.org/10.2166/wrd.2013.092</mixed-citation></ref><ref id="scirp.86183-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Naghizadeh, A., Derakhshani, E. and Yari, A.R. (2013) Study of Kinetic Coefficients of a Membrane Bioreactor (MBR) for Municipal Wastewater Treatment. Archives of Hygiene Sciences, 2, 108-113.</mixed-citation></ref><ref id="scirp.86183-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Zaerpour, M. (2014) Design, Cost and Benefit Analysis of a Membrane Bioreactor. Master Thesis, Department of Environmental and Geomatic Engineering, Politecnico diMilano, 710.  
www.google.com/masoud_zaerpour/membrane_bioreactor/html</mixed-citation></ref><ref id="scirp.86183-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Kwon, S., Sullivan, E.J., Katz, L., Kinney, K., Chen, C., Bowman, R. and Simpson, J. (2008) Pilot Scale Test of a Produced Water-Treatment System for Initial Removal of Organic Compounds. SPE Annual Technical Conference and Exhibition (ATCE).</mixed-citation></ref><ref id="scirp.86183-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">NAOC (2017), Operating Manual for Produced Water Treatment, Nigerian Agip Oil Company (NAOC), Denver, 21-24 September 2008, 1-20.</mixed-citation></ref><ref id="scirp.86183-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">DPR (1999) Environmental Guidelines and Standards for the Petroleum Industries in Nigeria. Ministry of Petroleum Resources, Lagos, 45-64.</mixed-citation></ref><ref id="scirp.86183-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Janus, T. (2013) Integrated Mathematical Model of a MBR Reactor Including Biopolymer Kinetics and Membrane Fouling. 12th International Conference on Computing and Control for the Water Industry. www.elsevier.com/locate/procedia</mixed-citation></ref><ref id="scirp.86183-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Khong, F.C., Isa, M.H., Kutty, S.R.M. and Farhan, A. (2012) Anaerobic Treatment of Produced Water. International Journal of Civil and Environmental Engineering, 6, 212-216.</mixed-citation></ref><ref id="scirp.86183-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Sharrer, M.J., Rishel, K. and Summerfelt, S.T. (2010) Evaluation of a Membrane Biological Reactor for Reclaiming Water, Alkalinity, Salts, Phosphorus, and Protein Contained in a High-Strength Aquacultural Wastewater. Bioresource Technology, 101, 4322-4330. &lt;/br&gt;https://doi.org/10.1016/j.biortech.2010.01.067</mixed-citation></ref><ref id="scirp.86183-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Mousa, K.M. and Arafat, S.A. (2015) Experimental Study on Treatment of Produced Water. Journal of Chemical Engineering and Process Technology, 6, 257-261.  
&lt;/br&gt;https://doi.org/10.4172/2157-7048.1000261</mixed-citation></ref><ref id="scirp.86183-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Shirazi, M.J.A., Bazgir, S. and Shirazi, M.M.A. (2014) Edible Oil Mill Effluent; a Low-Cost Source for Economizing Biodiesel Production: Electrospun Nanofibrous Coalescing Filtration Approach. Biofuel Research Journal, 1, 39-42.  
&lt;/br&gt;https://doi.org/10.18331/BRJ2015.1.1.9</mixed-citation></ref></ref-list></back></article>