src/Utils.h

changeset 449
00757c056ca6
parent 443
3c195eb4e7a1
child 453
fc0c10d79539
--- a/src/Utils.h	Sat Dec 03 16:32:24 2022 +0100
+++ b/src/Utils.h	Sun Jan 08 15:53:16 2023 +0100
@@ -27,7 +27,20 @@
     double brix_to_fg(double o_plato, double refracto);
     double calc_svg(double og, double fg);
     double estimate_sg(double sugars, double batch_size);
-    double estimate_fg(double psugar, double pcara, double wgratio, double mashtime, double mashtemp, double svg, double og);
+
+    /**
+     * @brief Predict FG using recipe data.
+     * @param psugar Percentage sugar in the wort.
+     * @param pcara Percentage cara/crystal malts in the wort.
+     * @param wgratio The water/grain ratio of the mash.
+     * @param mashtime The total mash time in minutes.
+     * @param mashtemp The average mash temperature.
+     * @param svg The SVG percentage of the primary yeast.
+     * @param og The Original Gravity of the wort.
+     * @param sta1 The STA1 gen present in the yeast flag.
+     * @return The predicted Final Gravity.
+     */
+    double estimate_fg(double psugar, double pcara, double wgratio, double mashtime, double mashtemp, double svg, double og, bool sta1);
     double kw_to_srm(int colormethod, double c);
     double kw_to_ebc(int colormethod, double c);
     double kw_to_newebc(int colormethod, double c);

mercurial