﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.6671.38791"?>
<regions xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings dpi="96">
    <identity>
      <id>21af4c98-a50d-4add-a01d-42495f58d9e8</id>
      <revision>48</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" viewMode="0" printGrid="False" printAreas="True" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="19" right="19" top="39" bottom="39" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="0.99.6671.38791" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.99.6671.38791" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Picture Region" version="1.10.6671.38794" guid="06b5df04-393e-4be7-9107-305196fcb861" />
      <assembly name="Special Functions" version="1.11.6671.38793" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="DotNumerics" version="1.1.6786.20666" guid="2a69099d-3185-4ea7-a130-65f2bf94c8d6" />
      <assembly name="Text Region" version="1.10.6671.38794" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="X-Y Plot Region (Chart2DLib)" version="0.1.6785.4041" guid="c12231ec-4873-43c1-a7d0-a167ebd17066" />
    </dependencies>
  </settings>
  <region id="0" left="9" top="9" width="112" height="28" border="true" color="#000000" bgColor="#ffff80" fontSize="12">
    <text lang="eng">
      <p>Box models</p>
    </text>
  </region>
  <region id="1" left="9" top="36" width="724" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Box models are sometimes used in environmental modelling. For example, to simulatethe fate of an organic pesticide in a lake one could consider two boxes: the lake waterand the fish</p>
    </text>
  </region>
  <region id="2" left="207" top="72" width="357" height="116" color="#000000" bgColor="#ffffff">
    <picture>
      <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAYgAAAB7CAYAAABuMhclAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAyrSURBVHhe7Z3psdRKFgbnBz7gAh7gAD5gAk7gACZgAj5gAR5gAlb0TPL4XhQaqVepVEtmREX37UWtpXWyzqlS3/9cREREVlAQIiKyioIQEZFVFISIiKyiIEREZBUFISIiqzQriK9fv15+/fr15y8REalNs4L48ePH5e3bt5cvX778eURERGrykiDo4X///v13+/nz559H9+PTp0+XN2/eXN69e/f7M0REpB4vCYLePQF8rb1///7y4cOHfxuv/fz58+/bb9++/SsWMoUtEBBZRJbJco4QkYiI/D+7lpgI3gn8tFIKHz9+/EsYpUzKRrbA8xEMt8vXsEzHJ0REjqWJMYiyVBWxRC4IYykIGvIQEZHjaHaQGpDFUgyMS1wrS4mIyD40KwjKVRl/IIsgo7CsJCJSj2YFkTEIBrRFRKQ+TQqC7MFsQUTkXJoegxARkfO4KgjKO5R5ysbMomutnI1UNjMCEZG+uJlBLAN9eW1DeZv7S6GklRe8lY3Hy9cxSynLo+VzvUBORKQup5eYltdA8CN9pXwijlwPweA1EnHwWkTkWLobg+AaCCTCldlIw9KViMgxdD1ITTbhRXMiIsfQpSAoLyEHMgkRETmGrgQRMVBectBaRORYuhAEYmC8ATFYUhIRqUPTgjBjEBE5j+YEQYbANFYyBqa3KgYRkXNoQhBc/4AUuGgug8+KQUTkXE4VBNlCMgWk4DUNx4BscyEiFx9SulPAInKLUwWRf0NK4JL9QLy5Cp2rzyNhGleo5yJDmlOFRWSLUw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O4lJSfE98rFfQpCRKZlxB/cy6/Zeh2EiMiTjFha2hsFISJTkt9X2iuDoMee2UZp+edFZcvMo7KV4wX3tEx5zXRXPuuIMpmCEJFpIbBSZiJAL4P2VtsK5uV1Cmkp95TTU0uBpD0a3CMjxhciHdYrPw2yl/QUhIhMDwF6GbS3WssD2ogBCUV6CMpBahER+QtElqu0kQW3j8pCQYiIDA6yQA6RBZnFPWUoBSEiMhHJLBiruIWCEBGRVRSEiIisoiBERGQVBSEiIqsoCBERWUVBiIjIKgpCRERWURAiIrKKghARkRUul/8C18umCHyJwgsAAAAASUVORK5CYII=</raw>
    </picture>
  </region>
  <region id="3" left="9" top="198" width="201" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>The box model would be:</p>
    </text>
  </region>
  <region id="4" left="216" top="198" width="358" height="243" color="#000000" bgColor="#ffffff">
    <picture>
      <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAV4AAADrCAYAAAAhW/5oAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABMBSURBVHhe7d3tcdvIEkbhW7UpbArOQf8Vxf7eIJyEMlAICsIBbAobgnLw3Vfrvm73nQFBcTCYbpynCmUL/BSBORqBpPif7wCAqQgvAExGeAFgMsILAJMRXgCYjPACwGSEFwAmI7wAMBnhBYDJCC8ATEZ4AWAywgsAkxFeAJiM8ALAZIQXACYjvD98+/bt+2+//fax/PHHH9//+uuvj//rXwAYqUR439/fv3/58uX729vbjzX3+fvvv79//fr1f/+3ABNeAEcgvP9QdGNg7TozhVf31//QYGF5ZHl6evqxZ2E0DjX8oxXYjOHVYAFGYX86zuXD2wss4cXVsT8dp0R47bisj6Rf558484cjXl9f/7feFrsOC68u68VjwP76dMjCr++d125XT+KNpOsERmF/Ok768PqoWjT9Oi0WPK3//fffP4Jo7pnx6vI+lhZWe2JOdFzMf927/peXl4/TRtJ9AUZhfzpOqSfXfNy21n02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t66Dvv/1mmrI7xzEN7kqoa3FzrNHsXCHEMZ18fLyd51Yut1nfH2bKauJYZ167SV6f7ieIQ3uQoD5Z7w2tf3htefb+86mz3rtNbpRut1m3Zeb+u0FVXYnzIgvMlVGCit8CqgPlYxfPZ16wmvrcvJnnV2PfpXWpfR/TYx+FunrYzwzkF4k6sY3r2x1GEBff/+V3mF2H/dil5rnV2/XTaex27LXybeH//5bfE0PRFnp61M3yOOR3iTqzJQFEx9L1r8TFMsina6D5oFcc9pimprnUXWFptF+/uk89l9sNN7n98mW6etTPcVxyO8yTFQMBL70xyENzkGCkZif5qD8CbHQMFI7E9zEN7kGCgYif1pDsKbHAMFI7E/zUF4k2OgYCT2pzkIb3IMFIzE/jQH4U2OgYKR2J/mILzJMVAwEvvTHIQ3OQYKRmJ/moPwJsdAwUjsT3MQ3uQYKBiJ/WkOwpuc/qCMBgsLy4hF+xOOR3gBYDLCCwCTEV4AmIzwAsBkhBcAJiO8ADAZ4QWAyQgvAExGeAFgqu/f/wu1VjPa3kf66QAAAABJRU5ErkJggg==</raw>
    </picture>
  </region>
  <region id="5" left="0" top="450" width="748" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Such a system consists of one component (the pesticide) and two boxes. It may be describedwith two equations (in general one equation for each component in each box) such as:</p>
    </text>
  </region>
  <region id="6" left="90" top="495" width="549" height="138" color="#000000" bgColor="#ffffff">
    <picture>
      <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAh0AAACCCAYAAADiz3pYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABliSURBVHhe7ZqLzvU2CkVH6vs/c6eoRcNQMDgBX3L2kqITbzAQ8DeyOv9//gQAAAAAWAAuHQAAAABYAi4dAAAAAFgCLh0AAAAAWELq0vHHH3/88wZ2gP7XgV7OsbNfmNUc6Be4geGlgw4xDvIZYBbvQP+es7p3mNVz0DtwOu6lA4d3DPdnZ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NV9wvUN0bOUuOLX+lbpH14d/Iz/LRulyzVkVlvI7a5MMa/0rdIuvDv5Gf5aN1uWatiup4FitygLPJnoEllw6KK2PzWufTa4lly8SI1oyONfKTjPZ4Marojn8zHb2x5mtpmowPoeM9iRWtq6iM21Gj1QdL02R8CB3vSaxoXUVXXACesP2/dEhG+bP+UpvJkfHN7OV3z7eSFTlupaM3OqaV44kPE/lm9/Ha86+gMnZHnV5PJE98mMg3u4/Xnn8FnbEBmOXzlw7rsbB0rWX3en7VrMpzIx29yczZ8rEeC0uX2tN9HVTG76hVx8z0iNbWY2HpUnu6r4Pu+ADM8HP/pcMjE9+LZ/l5vpWsyHErHb2x5qzJ+HhE8bxY3j7Pv4LK2B116phWjoyPRxTPi+Xt8/wr6IwNwCy4dPxDJr4Xz8vp+VdAsTvj305Hb3RMK0fGxyOK58Ua5fT2vIFiVsbtqlFi5cj4eETxvFijnN6eN1DMjrgAPOX/Lh1E1wHVca08o9zSxu+ZGNGaqfCz9nhx3tIV90tU90jP2oqf0SwfIuMX+WT2vKU6HtFZI71b8TOa5UNk/CKfzJ63VMcD4C1LLh0Ukx9rTViaRNv1mrA0wtM1b/yyWhUdMb9GdY/kPOXDWBozskkyfp6PpVvaWypjMdUx5XfLh7E0ZmSTZPw8H0u3tLdUxgKgAvPSgYN6NphRDvSpnq6eYlb1oKfgRP516SBwUM8G88mDXtXS2U/Mqhb0E5yIeekgcGDPBHOZBz2rYUUfMasa0EdwKsNLBw7uWWAmz0Df3rOqh5jVe9BDcDLupYPA4T0HzOId6N9zVvcOs3oOegdOZ3jpYHCI94L+14FezrGzX5jVHOgXuIHUpQMAAAAA4C24dAAAAABgCbh0AAAAAGAJuHQAAAAAYAF//vlfRYpae2LTJG8AAAAASUVORK5CYII=</raw>
    </picture>
  </region>
  <region id="7" left="9" top="648" width="726" height="264" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>This is a set of ordinary differential equations (ODE) and it may be solved given someinitial conditions. An artificial example is given below showing how box models may besolved with SMath Studio. Many more examples of this kind of problems may be foundin the book:J.B.Snape, I.J.Dunn, J.Ingham, J.E.PrenosilDynamics of Environmental Bioprocesses, VCH, Weinheim, 1995.The example described below is a simple one-box model with two inflows and one outflow.It could be a reactor tank in an industry, for example. The microbial reactions aresimulated according to a relatively complex model taken from the literature, to showthe capabilities of SMath. The results of the simulation are presented graphically,and compared with some data.Adding more compartments simply requires adding more equations to solve. Diffusionbetween for example lake water and bottom sediments may also be simulated, as describedin Snape et al (1995) p.429, etc.</p>
    </text>
  </region>
  <region id="8" top="918" color="#000000" bgColor="#ffffff">
    <area single="true" collapsed="true" />
  </region>
  <region id="9" left="9" top="936" width="210" height="28" border="true" color="#000000" bgColor="#ffff80" fontSize="12">
    <text lang="eng">
      <p>Stirred Tank Reactor</p>
    </text>
  </region>
  <region id="10" left="405" top="945" width="322" height="273" color="#000000" bgColor="#ffffff">
    <picture>
      <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAToAAAEJCAYAAAAErOtfAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABWLSURBVHhe7Z3rUd1KFkan6qZAECRACs6BAIjBSZABIZCE/xODY3AITH2Y71bPnm691Q9praoufKR+qem92NI54P98AgBcHEQHAJcH0QHA5UF0AHB5EB0AXJ6uRff79+/Pf/75Z7J8fHx8197Pz58/P9/f379f3Zu3t7ev9QC4Al2LTsGWk5vLw8PDlwyP4NevX5/Pz8/fr9pjyWteW9jbXjw+Ph76gwSgFV2LThmFZPbnz5/vI+fRW1BLUBLV1jntbS96kz/AVroWneRTI9B6DGiLSl+3sLe90A8YfQ/29AHQA92KzkFW4zmRxsk9m9Ptn85JGC5TGWasW3reF+tFkcRb9lTCS+aUa5+enxs/RX2R1cHodCu6IzKSJfhZVrzF8/FciWKxlHN1U1EvrVcS3dI5ldovHT/F3weNDTAq3YouBmuuKAgVvE9PT/8G+VrURy5LKz0f9LxSMaqujs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iMBZLWmbp9jQJx+1KJUrOYpuql4+uWVO2m2qa3rQLR9Q+i64yRN9sS0VkqOTEs/d+/lv5vXCbWz83PAo3zim1Lt82Irm8QXWdcebNB3yA6qAaig1YgOqgGooNWIDqoBqKDViA6qAaig1YgOqgGooNWIDqoBqKDViA6qAaig1YgOqgGooNWIDqoBqKDViA6qAaig1YgOqgGooNWIDqoBqKDViA6qAaig1YgOqgGooNWIDqoBqKDViA6qAaig1YgOqgGooNWIDqoBqKDViA6qAaig1YgOqgGooNWIDqoBqKDViA6qAaig1YgOqgGooNWIDqoBqKDViA6qIb+x3dtOAqldtHeuyqIDgAuD6IDgMuD6ADg8iA6ALg8iA4ALg+iA4CL8/n5X0Mfq1+mTk12AAAAAElFTkSuQmCC</raw>
    </picture>
  </region>
  <region id="11" left="9" top="981" width="316" height="120" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>A one-box model with five components:1- Microbes (biomass)2- Acetate (CH3COO-)3- Sulphate (SO4-2)4- Sulphide (HS-)5- Bicarbonate (HCO3-)</p>
    </text>
  </region>
  <region id="12" left="9" top="1107" width="357" height="120" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Two pipes bring two aqueous solutions intothe reactor tank: one pipe brings acetate,and the other brings sulphate. In the tankthe two solutions are mixed and a redoxreaction takes place where microbes reducesulphate to sulphide, and at the same timethey oxidize acetate to bicarbonate.</p>
    </text>
  </region>
  <region id="13" left="9" top="1233" width="726" height="168" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>The sulphate reduction reaction may be written as:       CH3COO- + SO4-2  --&gt;  2HCO3- + HS-Acetate is also used by microbes to grow by creating biomass (C5H7O2N):        5/2 CH3COO- + NH4+ + 3/2 H+  --&gt;  C5H7O2N + 3 H2O(l)Many simplifications are made here: enough ammonium is added through the aqueoussolutions going into the reactor tank. Also acid-base reactions are not considered in this example: H2S(aq), H2S(g) and CO3-2 are excluded.The system may be described with some initial conditions and five ordinary differentialequations (ODE), one for each component in the single box.</p>
    </text>
  </region>
  <region id="14" left="288" top="1440" width="84" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">Vol</e>
        <e type="operand">1</e>
        <e type="operand" style="unit">m</e>
        <e type="operand">3</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="15" left="9" top="1449" width="258" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Definition of the tank reator:</p>
    </text>
  </region>
  <region id="16" left="36" top="1467" width="198" height="39" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">F.in_acetate</e>
        <e type="operand">0.002</e>
        <e type="operand" style="unit">m</e>
        <e type="operand">3</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">hr</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="17" left="279" top="1467" width="172" height="39" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">F.in_SO4</e>
        <e type="operand">0.002</e>
        <e type="operand" style="unit">m</e>
        <e type="operand">3</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">hr</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="18" left="36" top="1512" width="195" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">F.out</e>
        <e type="operand">F.in_acetate</e>
        <e type="operand">F.in_SO4</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="19" left="279" top="1521" width="281" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>(the volume of the tank is fixed)</p>
    </text>
  </region>
  <region id="20" left="189" top="1557" width="147" height="39" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">Vol</e>
        <e type="operand">F.out</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
      </input>
      <contract>
        <e type="operand" style="unit">hr</e>
      </contract>
      <result action="numeric">
        <e type="operand">250</e>
      </result>
    </math>
  </region>
  <region id="21" left="36" top="1566" width="135" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Residence time:</p>
    </text>
  </region>
  <region id="22" left="369" top="1593" width="138" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">Ac.in</e>
        <e type="operand">0.001</e>
        <e type="operand" style="unit">mol</e>
        <e type="operand" style="unit">L</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="23" left="531" top="1593" width="146" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">SO4.in</e>
        <e type="operand">0.010</e>
        <e type="operand" style="unit">mol</e>
        <e type="operand" style="unit">L</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="24" left="36" top="1602" width="307" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>The concentrations of the influents:(acetate and sulphate)Note that sulfate is in excess.</p>
    </text>
  </region>
  <region id="25" top="1656" color="#000000" bgColor="#ffffff">
    <area single="true" collapsed="true" />
  </region>
  <region id="26" left="9" top="1674" width="687" height="88" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>The "microbial" model developped by Jin and Bethke will be used, see: - Jin, Q., &amp; Bethke, C. M. (2005). Predicting the rate of microbial respiration in     geochemical environments. Geochimica et Cosmochimica Acta, Vol.69, p.1133–1143. - Jin, Q., &amp; Bethke, C. M. (2007). The thermodynamics and kinetics of microbial     metabolism. American Journal of Science, Vol.307, p.643–677.</p>
    </text>
  </region>
  <region id="27" left="9" top="1773" width="397" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Define the thermodynamic potential factor (F_T)</p>
    </text>
  </region>
  <region id="28" left="36" top="1800" width="448" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">ΔG0</e>
        <e type="operand">2</e>
        <e type="operand">586.845</e>
        <e type="operator" args="1">-</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operand">12.243</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">+</e>
        <e type="operand">744.004</e>
        <e type="operator" args="1">-</e>
        <e type="bracket">(</e>
        <e type="operand">369.41</e>
        <e type="operator" args="1">-</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operand" style="unit">kJ</e>
        <e type="operand" style="unit">mol</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="29" left="630" top="1800" width="120" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="1">
      <input>
        <e type="operand">ΔG0</e>
      </input>
      <contract>
        <e type="operand" style="unit">kJ</e>
        <e type="operand" style="unit">mol</e>
        <e type="operator" args="2">/</e>
      </contract>
      <result action="numeric">
        <e type="operand">48</e>
        <e type="operator" args="1">-</e>
      </result>
    </math>
  </region>
  <region id="30" left="36" top="1827" width="170" height="39" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">ΔG.C</e>
        <e type="operand">1</e>
        <e type="operand">45</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">kJ</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">mol</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="31" left="225" top="1836" width="46" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">χ</e>
        <e type="operand">6</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="32" left="288" top="1836" width="349" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Note, these two values taken from:Jin, Roden and Giska,Geomicrobiology Journal 30 (2013) 173-185</p>
    </text>
  </region>
  <region id="33" left="135" top="1899" width="290" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>function used below to avoid"log" of zero or negative numbers:</p>
    </text>
  </region>
  <region id="34" left="441" top="1899" width="331" height="37" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">mn</e>
        <e type="operand">10</e>
        <e type="operand">50</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operand">x</e>
        <e type="operand">10</e>
        <e type="operand">50</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">≤</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="bracket">(</e>
        <e type="operand">x</e>
        <e type="operand">x</e>
        <e type="operand">10</e>
        <e type="operand">50</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">&gt;</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="35" left="36" top="1944" width="615" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>In the integration of the ODEs, a vector "y" will contain the variables(concentrations) of the components:  X (biomass, mg/L), acetate, sulphate,sulphide, and bicarbonate;     y = (X, ac, so4, hs, hco3)</p>
    </text>
  </region>
  <region id="36" left="36" top="2007" width="98" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">T</e>
        <e type="operand">298.15</e>
        <e type="operand" style="unit">K</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="37" left="36" top="2025" width="560" height="39" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">y</e>
        <e type="function" args="1">ΔG.A</e>
        <e type="operand">ΔG0</e>
        <e type="operator" args="1">-</e>
        <e type="operand" style="unit">R.m</e>
        <e type="operand">T</e>
        <e type="operator" args="2">*</e>
        <e type="operand">y</e>
        <e type="operand">4</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">mn</e>
        <e type="function" args="1">ln</e>
        <e type="operand">2</e>
        <e type="operand">y</e>
        <e type="operand">5</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">mn</e>
        <e type="function" args="1">ln</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">+</e>
        <e type="operand">y</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">mn</e>
        <e type="function" args="1">ln</e>
        <e type="operator" args="2">-</e>
        <e type="operand">y</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">mn</e>
        <e type="function" args="1">ln</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">-</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="38" left="36" top="2061" width="231" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">y</e>
        <e type="function" args="1">F.T</e>
        <e type="operand">1</e>
        <e type="operand">y</e>
        <e type="function" args="1">ΔG.A</e>
        <e type="operator" args="1">-</e>
        <e type="operand">ΔG.C</e>
        <e type="operator" args="2">+</e>
        <e type="operand">χ</e>
        <e type="operand" style="unit">R.m</e>
        <e type="operator" args="2">*</e>
        <e type="operand">T</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">/</e>
        <e type="function" args="1">exp</e>
        <e type="operator" args="2">-</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="39" left="9" top="2115" width="697" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>The rate equations: the microbial process is calculated  with a dual Monod-equation.Parameters taken from:Jin, Roden and Giska, Geomicrobiology Journal, Vol.30 (2013) p.173-185</p>
    </text>
  </region>
  <region id="40" left="27" top="2178" width="167" height="42" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">K.max</e>
        <e type="operand">1.3</e>
        <e type="operand">10</e>
        <e type="operand">6</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">mol</e>
        <e type="operand" style="unit">g</e>
        <e type="operand" style="unit">s</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="41" left="234" top="2178" width="144" height="42" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">K.ac</e>
        <e type="operand">5</e>
        <e type="operand">10</e>
        <e type="operand">6</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">mol</e>
        <e type="operand" style="unit">L</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="42" left="405" top="2178" width="159" height="42" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">K.SO4</e>
        <e type="operand">68</e>
        <e type="operand">10</e>
        <e type="operand">6</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">mol</e>
        <e type="operand" style="unit">L</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="43" left="594" top="2178" width="110" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">D</e>
        <e type="operand">10</e>
        <e type="operand">8</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operand" style="unit">s</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="44" left="27" top="2223" width="136" height="42" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">Y</e>
        <e type="operand">3.8</e>
        <e type="operand">10</e>
        <e type="operand">3</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">mg</e>
        <e type="operand" style="unit">mol</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="45" left="351" top="2223" width="177" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>mol biomass carbongeneratedper mol SO4 reduced:</p>
    </text>
  </region>
  <region id="46" left="153" top="2232" width="169" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>biomass generatedper mol SO4 reduced</p>
    </text>
  </region>
  <region id="47" left="531" top="2241" width="230" height="52" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <input>
        <e type="operand">5</e>
        <e type="operand">Y</e>
        <e type="operator" args="2">*</e>
        <e type="operand">113.115</e>
        <e type="operand" style="unit">g</e>
        <e type="operand" style="unit">mol</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="bracket">(</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
      </input>
      <result action="numeric">
        <e type="operand">0.17</e>
      </result>
    </math>
  </region>
  <region id="48" left="72" top="2286" width="348" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>functions used to avoid negativeconcentrations which might begenerated by numerical oscillations, etc:</p>
    </text>
  </region>
  <region id="49" left="423" top="2295" width="190" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">c</e>
        <e type="operand">x</e>
        <e type="operand">x</e>
        <e type="operand">0</e>
        <e type="operator" args="2">&gt;</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">mol</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">L</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="50" left="423" top="2322" width="182" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="function" args="1">cx</e>
        <e type="operand">x</e>
        <e type="operand">x</e>
        <e type="operand">0</e>
        <e type="operator" args="2">&gt;</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">mg</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">L</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="51" left="27" top="2358" width="538" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>The dual Monod-equation with the thermodynamic potential factor:</p>
    </text>
  </region>
  <region id="52" left="504" top="2385" width="226" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Note: y=(X,ac,so4,hs,hco3)</p>
    </text>
  </region>
  <region id="53" left="27" top="2394" width="504" height="63" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">y</e>
        <e type="function" args="1">r.redox</e>
        <e type="operand">K.max</e>
        <e type="operand">y</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">cx</e>
        <e type="operator" args="2">*</e>
        <e type="operand">y</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">c</e>
        <e type="operand">K.ac</e>
        <e type="operand">y</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">c</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operand">y</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">c</e>
        <e type="operand">K.SO4</e>
        <e type="operand">y</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">c</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operand">y</e>
        <e type="function" args="1">F.T</e>
        <e type="operator" args="2">*</e>
        <e type="operand">y</e>
        <e type="function" args="1">F.T</e>
        <e type="operand">0</e>
        <e type="operator" args="2">&gt;</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="54" left="27" top="2466" width="389" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>for sulphate (flow in - flow out + reactions):</p>
    </text>
  </region>
  <region id="55" left="27" top="2493" width="381" height="54" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">y</e>
        <e type="function" args="1">dSdt</e>
        <e type="operand">F.in_SO4</e>
        <e type="operand">SO4.in</e>
        <e type="operator" args="2">*</e>
        <e type="bracket">(</e>
        <e type="operand">F.out</e>
        <e type="operand">y</e>
        <e type="operand">3</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">c</e>
        <e type="operator" args="2">*</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">-</e>
        <e type="operand">Vol</e>
        <e type="operator" args="2">/</e>
        <e type="operand">y</e>
        <e type="function" args="1">r.redox</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">-</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="56" left="27" top="2556" width="414" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>biomass: production minus outflow minus decrease:</p>
    </text>
  </region>
  <region id="57" left="27" top="2574" width="383" height="55" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">y</e>
        <e type="function" args="1">dXdt</e>
        <e type="operand">Y</e>
        <e type="operand">y</e>
        <e type="function" args="1">r.redox</e>
        <e type="operator" args="2">*</e>
        <e type="bracket">(</e>
        <e type="operand">F.out</e>
        <e type="operand">y</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">cx</e>
        <e type="operator" args="2">*</e>
        <e type="operand">Vol</e>
        <e type="operator" args="2">/</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">-</e>
        <e type="operand">D</e>
        <e type="operand">y</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">cx</e>
        <e type="operator" args="2">*</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">-</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="58" left="27" top="2637" width="431" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>sulphide and bicarbonate: production minus outflow:</p>
    </text>
  </region>
  <region id="59" left="27" top="2655" width="273" height="54" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">y</e>
        <e type="function" args="1">dHSdt</e>
        <e type="operand">y</e>
        <e type="function" args="1">r.redox</e>
        <e type="bracket">(</e>
        <e type="operand">F.out</e>
        <e type="operand">y</e>
        <e type="operand">4</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">c</e>
        <e type="operator" args="2">*</e>
        <e type="operand">Vol</e>
        <e type="operator" args="2">/</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">-</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="60" left="468" top="2655" width="226" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Note: y=(X,ac,so4,hs,hco3)</p>
    </text>
  </region>
  <region id="61" left="27" top="2709" width="305" height="54" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">y</e>
        <e type="function" args="1">dHCO3dt</e>
        <e type="operand">2</e>
        <e type="operand">y</e>
        <e type="function" args="1">r.redox</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operand">F.out</e>
        <e type="operand">y</e>
        <e type="operand">5</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">c</e>
        <e type="operator" args="2">*</e>
        <e type="operand">Vol</e>
        <e type="operator" args="2">/</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">-</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="62" left="27" top="2763" width="636" height="104" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>For acetate: flow in - flow out - consumption.The rate of acetate consumption is the sum of the sulphate reduction process        CH3COO- + SO4-2  →  2HCO3- + HS-and the biomass growth with the reaction:       5/2 CH3COO- + NH4+ + 3/2 H+  =&gt;  C5H7O2N + 3 H2O(l)The molecular mass of C5H7O2N is 113.115 g/mol.</p>
    </text>
  </region>
  <region id="63" left="27" top="2871" width="619" height="57" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">y</e>
        <e type="function" args="1">dAcdt</e>
        <e type="operand">F.in_acetate</e>
        <e type="operand">Ac.in</e>
        <e type="operator" args="2">*</e>
        <e type="bracket">(</e>
        <e type="operand">F.out</e>
        <e type="operand">y</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">c</e>
        <e type="operator" args="2">*</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">-</e>
        <e type="operand">Vol</e>
        <e type="operator" args="2">/</e>
        <e type="operand">2</e>
        <e type="operand">Y</e>
        <e type="operand">5</e>
        <e type="operand">2</e>
        <e type="operator" args="2">/</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operand">113.115</e>
        <e type="operand" style="unit">g</e>
        <e type="operand" style="unit">mol</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="bracket">(</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operand">y</e>
        <e type="function" args="1">r.redox</e>
        <e type="operator" args="2">*</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">-</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="64" left="9" top="2943" width="169" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Initial conditions:</p>
    </text>
  </region>
  <region id="65" left="522" top="2961" width="180" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">Cell_dry_mass</e>
        <e type="operand">10</e>
        <e type="operand">12</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="66" left="27" top="2970" width="487" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>At the start there are 5x10^5 cells/mL in the reactor tank</p>
    </text>
  </region>
  <region id="67" left="117" top="2997" width="282" height="42" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">biomass</e>
        <e type="operand">5</e>
        <e type="operand">10</e>
        <e type="operand">4</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operand">1</e>
        <e type="operand" style="unit">mL</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operand">Cell_dry_mass</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">g</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="68" left="576" top="2997" width="140" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">biomass</e>
      </input>
      <contract>
        <e type="operand" style="unit">mg</e>
        <e type="operand" style="unit">L</e>
        <e type="operator" args="2">/</e>
      </contract>
      <result action="numeric">
        <e type="operand">0.05</e>
      </result>
    </math>
  </region>
  <region id="69" left="117" top="3033" width="119" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Using C5H7O2Nfor biomass:</p>
    </text>
  </region>
  <region id="70" left="252" top="3033" width="286" height="52" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">carbon</e>
        <e type="operand">biomass</e>
        <e type="operand">5</e>
        <e type="operator" args="2">*</e>
        <e type="operand">113.115</e>
        <e type="operand" style="unit">g</e>
        <e type="operand" style="unit">mol</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="bracket">(</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="71" left="558" top="3042" width="194" height="42" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <input>
        <e type="operand">carbon</e>
      </input>
      <contract>
        <e type="operand" style="unit">mol</e>
        <e type="operand" style="unit">L</e>
        <e type="operator" args="2">/</e>
      </contract>
      <result action="numeric">
        <e type="operand">2.21</e>
        <e type="operand">10</e>
        <e type="operand">6</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
      </result>
    </math>
  </region>
  <region id="72" left="27" top="3096" width="545" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Initially the tank contains only water, except for some microbes:</p>
    </text>
  </region>
  <region id="73" left="324" top="3114" width="226" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Note: y=(X,ac,so4,hs,hco3)</p>
    </text>
  </region>
  <region id="74" left="567" top="3114" width="134" height="135" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">y.initial</e>
        <e type="operand">0.05</e>
        <e type="operand">10</e>
        <e type="operand">6</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operand">10</e>
        <e type="operand">6</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operand">10</e>
        <e type="operand">6</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operand">10</e>
        <e type="operand">6</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operand">5</e>
        <e type="operand">1</e>
        <e type="function" args="7">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="75" left="27" top="3204" width="422" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>check for possible mistakes in the equations aboveby controlling that the units are correct:</p>
    </text>
  </region>
  <region id="76" left="72" top="3240" width="236" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="1">
      <input>
        <e type="operand">y.initial</e>
        <e type="function" args="1">ΔG.A</e>
      </input>
      <contract>
        <e type="operand" style="unit">kJ</e>
        <e type="operand" style="unit">mol</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
      </contract>
      <result action="numeric">
        <e type="operand">82.3</e>
      </result>
    </math>
  </region>
  <region id="77" left="72" top="3276" width="170" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">y.initial</e>
        <e type="function" args="1">F.T</e>
      </input>
      <result action="numeric">
        <e type="operand">0.9184</e>
      </result>
    </math>
  </region>
  <region id="78" left="450" top="3294" width="291" height="104" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Note that the units for biomassconcentration are "mg/L" (massconcentration) while for the othercomponents the concentration isexpressed as "mol/L" (amountconcentration).</p>
    </text>
  </region>
  <region id="79" left="72" top="3303" width="309" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <input>
        <e type="operand">y.initial</e>
        <e type="function" args="1">dSdt</e>
      </input>
      <contract>
        <e type="operand" style="unit">mol</e>
        <e type="operand" style="unit">L</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">s</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
      </contract>
      <result action="numeric">
        <e type="operand">5.55</e>
        <e type="operand">10</e>
        <e type="operand">9</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
      </result>
    </math>
  </region>
  <region id="80" left="72" top="3330" width="305" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <input>
        <e type="operand">y.initial</e>
        <e type="function" args="1">dXdt</e>
      </input>
      <contract>
        <e type="operand" style="unit">mg</e>
        <e type="operand" style="unit">L</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">s</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
      </contract>
      <result action="numeric">
        <e type="operand">5.55</e>
        <e type="operand">10</e>
        <e type="operand">8</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="1">-</e>
      </result>
    </math>
  </region>
  <region id="81" left="72" top="3357" width="325" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <math decimalPlaces="2">
      <input>
        <e type="operand">y.initial</e>
        <e type="function" args="1">dAcdt</e>
      </input>
      <contract>
        <e type="operand" style="unit">mol</e>
        <e type="operand" style="unit">L</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">s</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
      </contract>
      <result action="numeric">
        <e type="operand">5.54</e>
        <e type="operand">10</e>
        <e type="operand">10</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
      </result>
    </math>
  </region>
  <region id="82" left="72" top="3384" width="353" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">y.initial</e>
        <e type="function" args="1">dHSdt</e>
      </input>
      <contract>
        <e type="operand" style="unit">mol</e>
        <e type="operand" style="unit">L</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">s</e>
        <e type="operand">1</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
      </contract>
      <result action="numeric">
        <e type="operand">9.6691</e>
        <e type="operand">10</e>
        <e type="operand">13</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="1">-</e>
      </result>
    </math>
  </region>
  <region id="83" left="9" top="3429" width="732" height="72" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Finally the system of ODEs may be solved to calculate the concentrations in the reactiontank. A "plugin"  is used that requires a Jacobian matrix (the rates for each component)and the initial conditions. The "plugin" can not work with units, so the unitsmust be removed:</p>
    </text>
  </region>
  <region id="84" left="27" top="3510" width="242" height="184" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">t</e>
        <e type="operand">y</e>
        <e type="function" args="2">dydt</e>
        <e type="operand">y</e>
        <e type="function" args="1">dXdt</e>
        <e type="operand" style="unit">hr</e>
        <e type="operand" style="unit">L</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">mg</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operand">y</e>
        <e type="function" args="1">dAcdt</e>
        <e type="operand" style="unit">hr</e>
        <e type="operand" style="unit">L</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">mol</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operand">y</e>
        <e type="function" args="1">dSdt</e>
        <e type="operand" style="unit">hr</e>
        <e type="operand" style="unit">L</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">mol</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operand">y</e>
        <e type="function" args="1">dHSdt</e>
        <e type="operand" style="unit">hr</e>
        <e type="operand" style="unit">L</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">mol</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operand">y</e>
        <e type="function" args="1">dHCO3dt</e>
        <e type="operand" style="unit">hr</e>
        <e type="operand" style="unit">L</e>
        <e type="operator" args="2">*</e>
        <e type="operand" style="unit">mol</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operand">5</e>
        <e type="operand">1</e>
        <e type="function" args="7">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="85" left="351" top="3555" width="372" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>The time here must be units-less,corresponding to the values in the Jacobian,in this example "hours"</p>
    </text>
  </region>
  <region id="86" left="351" top="3618" width="78" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">t.start</e>
        <e type="operand">0</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="87" left="450" top="3618" width="89" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">t.end</e>
        <e type="operand">1000</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="88" left="351" top="3654" width="86" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">n.steps</e>
        <e type="operand">50</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="89" left="9" top="3708" width="692" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Note: the "plugins" solving the ODEs require that the variables "t" (a scalar)and "y" (a vector) in the Jacobian may not be defined above: they must be symbolic.</p>
    </text>
  </region>
  <region id="90" left="9" top="3753" width="697" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>The calculations are performed here with the "plugin" which implements an algorithm called Gear's BDF (Backward Differentiation Formulae).The results are stored in the matrix "res".</p>
    </text>
  </region>
  <region id="91" left="9" top="3807" width="449" height="33" border="true" color="#000000" bgColor="#ffff80" fontSize="10">
    <math>
      <input>
        <e type="operand">res</e>
        <e type="operand">y.initial</e>
        <e type="operand">t.start</e>
        <e type="operand">t.end</e>
        <e type="operand">n.steps</e>
        <e type="operand">t</e>
        <e type="operand">y</e>
        <e type="function" args="2">dydt</e>
        <e type="function" args="5">dn_GearsBDF</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="92" left="9" top="3861" width="717" height="72" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>The matrix "res" contains the time as the first column, and the other columnscontain the component concentrations (X,ac,so4,hs,hco3) at the time given in the firstcolumn. The concentrations are in the same order as in the vectors "y.initial"and "dydt".</p>
    </text>
  </region>
  <region id="93" left="27" top="3942" width="145" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">time</e>
        <e type="operand">res</e>
        <e type="operand">1</e>
        <e type="function" args="2">col</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="94" left="180" top="3942" width="395" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>(the time in hours, as defined in "dydt" above)</p>
    </text>
  </region>
  <region id="95" left="612" top="3942" width="120" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">end</e>
        <e type="operand">n.steps</e>
        <e type="operand">1</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="96" left="180" top="3978" width="180" height="50" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">Cells</e>
        <e type="operand">X</e>
        <e type="operand">10</e>
        <e type="operand">6</e>
        <e type="operator" args="1">-</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operand">Cell_dry_mass</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="97" left="495" top="3978" width="203" height="53" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">j</e>
        <e type="operand">1</e>
        <e type="operand">end</e>
        <e type="function" args="2">range</e>
        <e type="operand">logCells</e>
        <e type="operand">j</e>
        <e type="function" args="2">el</e>
        <e type="operand">Cells</e>
        <e type="operand">j</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">log10</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="3">for</e>
      </input>
    </math>
  </region>
  <region id="98" left="369" top="3987" width="114" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">Carb</e>
        <e type="operand">X</e>
        <e type="operand">5</e>
        <e type="operator" args="2">*</e>
        <e type="operand">113115</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="99" left="45" top="3996" width="121" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">X</e>
        <e type="operand">res</e>
        <e type="operand">2</e>
        <e type="function" args="2">col</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="100" left="45" top="4041" width="129" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">Ac</e>
        <e type="operand">res</e>
        <e type="operand">3</e>
        <e type="function" args="2">col</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="101" left="189" top="4041" width="137" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">SO4</e>
        <e type="operand">res</e>
        <e type="operand">4</e>
        <e type="function" args="2">col</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="102" left="351" top="4041" width="129" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">HS</e>
        <e type="operand">res</e>
        <e type="operand">5</e>
        <e type="function" args="2">col</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="103" left="504" top="4041" width="145" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">HCO3</e>
        <e type="operand">res</e>
        <e type="operand">6</e>
        <e type="function" args="2">col</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="104" left="9" top="4095" width="210" height="208" color="#000000" bgColor="#ffffff" fontSize="10">
    <xyplot width="200" height="200" smoothing="false" points="100">
      <propertiessource index="1" sourcetype="PropertyGrid" />
      <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />
      <xaxes xmin="0" xmax="1000" xtick="500" numberformat="General" decimalplaces="3" />
      <yaxes ymin="0" ymax="1" ytick="0.5" numberformat="General" decimalplaces="3" />
      <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" numberformat="General" decimalplaces="3" />
      <title2d title=" " titlefont="Arial, 12pt" titlefontcolor="Black" />
      <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 10pt" tickfontcolor="Black" xlabel="time (hours)" ylabel="Biomass (mg/L)" y2label="y2" />
      <legend isbordervisible="true" islegendvisible="false" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
      <traces>
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="Blue" linethickness="1" linepattern="Solid" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
      </traces>
      <input>
        <e type="operand">time</e>
        <e type="operand">X</e>
        <e type="function" args="2">augment</e>
      </input>
    </xyplot>
  </region>
  <region id="105" left="234" top="4095" width="210" height="208" color="#000000" bgColor="#ffffff" fontSize="10">
    <xyplot width="200" height="200" smoothing="false" points="100">
      <propertiessource index="1" sourcetype="PropertyGrid" />
      <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />
      <xaxes xmin="0" xmax="1000" xtick="500" numberformat="General" decimalplaces="3" />
      <yaxes ymin="4" ymax="7" ytick="1" numberformat="General" decimalplaces="3" />
      <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" numberformat="General" decimalplaces="3" />
      <title2d title=" " titlefont="Arial, 12pt" titlefontcolor="Black" />
      <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 10pt" tickfontcolor="Black" xlabel="time (hours)" ylabel="log10(cells/mL)" y2label="y2" />
      <legend isbordervisible="true" islegendvisible="false" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
      <traces>
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="Blue" linethickness="1" linepattern="Solid" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
      </traces>
      <input>
        <e type="operand">time</e>
        <e type="operand">logCells</e>
        <e type="function" args="2">augment</e>
      </input>
    </xyplot>
  </region>
  <region id="106" left="9" top="4338" width="210" height="208" color="#000000" bgColor="#ffffff" fontSize="10">
    <xyplot width="200" height="200" smoothing="false" points="100">
      <propertiessource index="1" sourcetype="PropertyGrid" />
      <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />
      <xaxes xmin="0" xmax="1000" xtick="500" numberformat="General" decimalplaces="3" />
      <yaxes ymin="0" ymax="0.0002" ytick="0.0001" numberformat="Exponential" decimalplaces="0" />
      <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" numberformat="General" decimalplaces="3" />
      <title2d title=" " titlefont="Arial, 12pt" titlefontcolor="Black" />
      <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 10pt" tickfontcolor="Black" xlabel="time (hours)" ylabel="Acetate (mol/L)" y2label="y2" />
      <legend isbordervisible="true" islegendvisible="false" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
      <traces>
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="Blue" linethickness="1" linepattern="Solid" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
      </traces>
      <input>
        <e type="operand">time</e>
        <e type="operand">Ac</e>
        <e type="function" args="2">augment</e>
      </input>
    </xyplot>
  </region>
  <region id="107" left="234" top="4338" width="210" height="208" color="#000000" bgColor="#ffffff" fontSize="10">
    <xyplot width="200" height="200" smoothing="false" points="100">
      <propertiessource index="1" sourcetype="PropertyGrid" />
      <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />
      <xaxes xmin="0" xmax="1000" xtick="500" numberformat="General" decimalplaces="3" />
      <yaxes ymin="0" ymax="0.0006" ytick="0.0002" numberformat="Exponential" decimalplaces="0" />
      <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" numberformat="General" decimalplaces="3" />
      <title2d title=" " titlefont="Arial, 12pt" titlefontcolor="Black" />
      <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 10pt" tickfontcolor="Black" xlabel="time (hours)" ylabel="HCO3 (mol/L)" y2label="y2" />
      <legend isbordervisible="true" islegendvisible="false" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
      <traces>
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="Blue" linethickness="1" linepattern="Solid" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
      </traces>
      <input>
        <e type="operand">time</e>
        <e type="operand">HCO3</e>
        <e type="function" args="2">augment</e>
      </input>
    </xyplot>
  </region>
  <region id="108" left="495" top="4455" width="192" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Example of comparinga simulation with someexperimental data</p>
    </text>
  </region>
  <region id="109" left="549" top="4509" width="114" height="81" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">data</e>
        <e type="operand">0</e>
        <e type="operand">0</e>
        <e type="operand">100</e>
        <e type="operand">1</e>
        <e type="operand">400</e>
        <e type="operand">5</e>
        <e type="operand">900</e>
        <e type="operand">7</e>
        <e type="operand">4</e>
        <e type="operand">2</e>
        <e type="function" args="10">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="110" left="9" top="4599" width="210" height="208" color="#000000" bgColor="#ffffff" fontSize="10">
    <xyplot width="200" height="200" smoothing="false" points="100">
      <propertiessource index="1" sourcetype="PropertyGrid" />
      <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />
      <xaxes xmin="0" xmax="1000" xtick="500" numberformat="General" decimalplaces="3" />
      <yaxes ymin="0" ymax="0.006" ytick="0.002" numberformat="General" decimalplaces="4" />
      <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" numberformat="General" decimalplaces="3" />
      <title2d title=" " titlefont="Arial, 12pt" titlefontcolor="Black" />
      <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 10pt" tickfontcolor="Black" xlabel="time (hours)" ylabel="SO4 (mol/L)" y2label="y2" />
      <legend isbordervisible="true" islegendvisible="false" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
      <traces>
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="Blue" linethickness="1" linepattern="Solid" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
      </traces>
      <input>
        <e type="operand">time</e>
        <e type="operand">SO4</e>
        <e type="function" args="2">augment</e>
      </input>
    </xyplot>
  </region>
  <region id="111" left="234" top="4599" width="210" height="208" color="#000000" bgColor="#ffffff" fontSize="10">
    <xyplot width="200" height="200" smoothing="false" points="100">
      <propertiessource index="1" sourcetype="PropertyGrid" />
      <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />
      <xaxes xmin="0" xmax="1000" xtick="500" numberformat="General" decimalplaces="3" />
      <yaxes ymin="0" ymax="0.0003" ytick="0.0001" numberformat="Exponential" decimalplaces="0" />
      <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" numberformat="General" decimalplaces="3" />
      <title2d title=" " titlefont="Arial, 12pt" titlefontcolor="Black" />
      <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 10pt" tickfontcolor="Black" xlabel="time (hours)" ylabel="HS (mol/L)" y2label="y2" />
      <legend isbordervisible="true" islegendvisible="false" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
      <traces>
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="Blue" linethickness="1" linepattern="Solid" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
      </traces>
      <input>
        <e type="operand">time</e>
        <e type="operand">HS</e>
        <e type="function" args="2">augment</e>
      </input>
    </xyplot>
  </region>
  <region id="112" left="459" top="4599" width="210" height="208" color="#000000" bgColor="#ffffff" fontSize="10">
    <xyplot width="200" height="200" smoothing="false" points="100">
      <propertiessource index="1" sourcetype="PropertyGrid" />
      <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />
      <xaxes xmin="-50" xmax="1000" xtick="500" numberformat="General" decimalplaces="3" />
      <yaxes ymin="-0.5" ymax="10" ytick="5" numberformat="General" decimalplaces="3" />
      <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" numberformat="General" decimalplaces="3" />
      <title2d title=" " titlefont="Arial, 12pt" titlefontcolor="Black" />
      <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 10pt" tickfontcolor="Black" xlabel="time (hours)" ylabel="HS (mg/L)" y2label="y2" />
      <legend isbordervisible="true" islegendvisible="false" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
      <traces>
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="Blue" linethickness="1" linepattern="Solid" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        <trace seriesname="" isy2data="false" isvisible="false" plotmethod="Lines" linecolor="Red" linethickness="1" linepattern="Solid" symbolsize="8" symboltype="Dot" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="Blue" />
      </traces>
      <input>
        <e type="operand">time</e>
        <e type="operand">HS</e>
        <e type="operand">32070</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="2">augment</e>
        <e type="operand">data</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" args="4">sys</e>
      </input>
    </xyplot>
  </region>
  <region id="113" left="9" top="4869" width="748" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Note that sulphate is in excess and reaches a steady state value, while the steady stateconcentration of acetate is close to zero. The biomass stabilises to a value correspondingto the substrate amounts entering the reactor tank.</p>
    </text>
  </region>
  <region id="114" left="9" top="4968" width="496" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Plot the thermodynamic potential factor in the reactor tank</p>
    </text>
  </region>
  <region id="115" left="27" top="4986" width="394" height="115" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">j</e>
        <e type="operand">1</e>
        <e type="operand">end</e>
        <e type="function" args="2">range</e>
        <e type="operand">F.Tcalc</e>
        <e type="operand">j</e>
        <e type="function" args="2">el</e>
        <e type="operand">res</e>
        <e type="operand">j</e>
        <e type="operand">j</e>
        <e type="operand">2</e>
        <e type="operand">6</e>
        <e type="function" args="5">submatrix</e>
        <e type="function" args="1">transpose</e>
        <e type="function" args="1">F.T</e>
        <e type="operator" args="2">:</e>
        <e type="operand">ΔG.Acalc</e>
        <e type="operand">j</e>
        <e type="function" args="2">el</e>
        <e type="operand">res</e>
        <e type="operand">j</e>
        <e type="operand">j</e>
        <e type="operand">2</e>
        <e type="operand">6</e>
        <e type="function" args="5">submatrix</e>
        <e type="function" args="1">transpose</e>
        <e type="function" args="1">ΔG.A</e>
        <e type="operand" style="unit">mol</e>
        <e type="operand" style="unit">kJ</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" args="4">line</e>
        <e type="function" args="3">for</e>
      </input>
    </math>
  </region>
  <region id="116" left="36" top="5121" width="210" height="208" color="#000000" bgColor="#ffffff" fontSize="10">
    <xyplot width="200" height="200" smoothing="false" points="100">
      <propertiessource index="1" sourcetype="PropertyGrid" />
      <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />
      <xaxes xmin="0" xmax="400" xtick="100" numberformat="General" decimalplaces="3" />
      <yaxes ymin="0" ymax="1.01" ytick="0.2" numberformat="General" decimalplaces="3" />
      <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" numberformat="General" decimalplaces="3" />
      <title2d title=" " titlefont="Arial, 12pt" titlefontcolor="Black" />
      <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 10pt" tickfontcolor="Black" xlabel="time (hours)" ylabel="F_T" y2label="y2" />
      <legend isbordervisible="true" islegendvisible="false" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
      <traces>
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="Blue" linethickness="1" linepattern="Solid" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
      </traces>
      <input>
        <e type="operand">time</e>
        <e type="operand">F.Tcalc</e>
        <e type="function" args="2">augment</e>
      </input>
    </xyplot>
  </region>
  <region id="117" left="261" top="5121" width="210" height="208" color="#000000" bgColor="#ffffff" fontSize="10">
    <xyplot width="200" height="200" smoothing="false" points="100">
      <propertiessource index="1" sourcetype="PropertyGrid" />
      <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />
      <xaxes xmin="0" xmax="400" xtick="100" numberformat="General" decimalplaces="3" />
      <yaxes ymin="0" ymax="100" ytick="25" numberformat="General" decimalplaces="3" />
      <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" numberformat="General" decimalplaces="3" />
      <title2d title=" " titlefont="Arial, 12pt" titlefontcolor="Black" />
      <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 10pt" tickfontcolor="Black" xlabel="time (hours)" ylabel="Delta G_A (kJ/mol)" y2label="y2" />
      <legend isbordervisible="true" islegendvisible="false" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
      <traces>
        <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" linecolor="Blue" linethickness="1" linepattern="Solid" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
      </traces>
      <input>
        <e type="operand">time</e>
        <e type="operand">ΔG.Acalc</e>
        <e type="function" args="2">augment</e>
      </input>
    </xyplot>
  </region>
</regions>