Line 284: | Line 284: | ||
<tbody> | <tbody> | ||
<tr> | <tr> | ||
− | <td> | + | <td>Initial volume of clarifier tank (L)</td> |
− | <td><input type="number" id=" | + | <td><input type="number" id="vol_i" value="0"></td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td> | + | <td>Final volume of clarifier tank (L)</td> |
− | <td><input type="number" id=" | + | <td><input type="number" id="vol_f" value="0"></td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td> | + | <td>Initial concentration of NP in tank (micromolar)</td> |
− | <td><input type="number" id=" | + | <td><input type="number" id="conc_i" value="0"></td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td>Vertical velocity of water | + | <td>Targeted final concentration on NP in tank (micromolar)</td> |
+ | <td><input type="number" id="conc_f" value="0"></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>Vertical velocity of water (or velocity of water in contact with biofilm, cm/min)</td> | ||
<td><input type="number" id="v" value="0"></td> | <td><input type="number" id="v" value="0"></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td>Time | + | <td>Time for biofilm to be in contact with NP solution (minutes)</td> |
<td><input type="number" id="t" value="0"></td> | <td><input type="number" id="t" value="0"></td> | ||
</tr> | </tr> | ||
− | <tr><td colspan=2>cm<sup>2</sup> | + | <tr> |
+ | <td><button onclick = "calculate()">Calculate!</button></td> | ||
+ | </tr> | ||
+ | <tr><td colspan=2>Surface area of biofilm needed (cm<sup>2</sup>)<output name="SA" for="conc_in conc_ef Vol" id="SA"> </output> | ||
</tr> | </tr> | ||
</tbody> | </tbody> | ||
Line 335: | Line 342: | ||
} | } | ||
}); | }); | ||
+ | calculate = function(){ | ||
+ | var vol_i = document.getElementById("vol_i").value; | ||
+ | var vol_f = document.getElementById("vol_f").value; | ||
+ | var conc_i = document.getElementById("conc_i").value; | ||
+ | var conc_f = document.getElementById("conc_f").value; | ||
+ | var v = document.getElementById("v").value; | ||
+ | var t = document.getElementById("t").value; | ||
+ | var C_eff = 1.9095E-10; | ||
+ | var SA = 1000*(vol_i*conc_i - conc_f*vol_f)/(v*conc_i*C_eff*t); | ||
+ | |||
+ | document.getElementById("SA").innerHTML = SA; | ||
+ | |||
+ | } | ||
$(function() { | $(function() { | ||
$('.yellow').removeClass('active'); | $('.yellow').removeClass('active'); |
Revision as of 02:26, 28 October 2017
X
Project
Experiments
Modeling
Prototype
Human Practices
Safety
About Us
Attributions
Project
Experiment
Modeling
Prototype
Human Practice
Biosafety
About Us
Attributions
Modeling
Computational Biology provides us insight on how to apply experimental data to real world applications!
hi