www/includes/formulas.php

changeset 657
a5ade45597d8
parent 655
f4e00869f39f
--- a/www/includes/formulas.php	Sat Apr 18 14:45:41 2020 +0200
+++ b/www/includes/formulas.php	Sat Apr 18 15:56:40 2020 +0200
@@ -185,9 +185,6 @@
 function abvol($og, $fg) {
 	$factor = $og * 3157 * pow(10, -5) + 9.716 * pow(10, -2);
 	return ($og * 1000 - $fg * 1000) * $factor;
-	//if ((4.749804 - $fg) <> 0)
-	//	return 486.8693 * ($og - $fg) / (4.749804 - $fg);
-	//return 0;
 }
 
 
@@ -300,8 +297,6 @@
 		$tempfactor = (32.8/550)*0.02+1;
 		$ibu = ($boilfactor * $alpha * $mass * 0.1) / ($volume * $sgfactor * $hopratefactor * $tempfactor);
 	}
-	/* TODO: Noonan and Mosher */
-
 	return $ibu;
 }
 

mercurial