30 double estimate_fg(double psugar, double pcara, double wgratio, double mashtime, double mashtemp, double svg, double og); |
30 double estimate_fg(double psugar, double pcara, double wgratio, double mashtime, double mashtemp, double svg, double og); |
31 double kw_to_srm(int colormethod, double c); |
31 double kw_to_srm(int colormethod, double c); |
32 double kw_to_ebc(int colormethod, double c); |
32 double kw_to_ebc(int colormethod, double c); |
33 double kw_to_newebc(int colormethod, double c); |
33 double kw_to_newebc(int colormethod, double c); |
34 double abvol(double og, double fg); |
34 double abvol(double og, double fg); |
|
35 |
|
36 /** |
|
37 * @brief Calculate standar air pressure at the brewery. |
|
38 * Assume 20°C and use the global setup height. |
|
39 * @return Pressure in hPa. |
|
40 */ |
|
41 double brewery_hPa(); |
|
42 |
|
43 /** |
|
44 * @brief Return boil temperature in °C at the brewery height. |
|
45 * @return Temperature in °C |
|
46 */ |
|
47 double boilPoint(); |
|
48 |
|
49 /** |
|
50 * @brief Calculate IBU reduction at given temperature. |
|
51 * @param Tc temperature in °C. |
|
52 * @return The reduction factor. |
|
53 */ |
|
54 double IBU_reduction(double Tc); |
|
55 |
|
56 /** |
|
57 * @brief Calculate IBU's of a hop at 100°C. |
|
58 * @param Use HOP_USEAT_MASH HOP_USEAT_FWH HOP_USEAT_BOIL, all others are ignored. |
|
59 * @param Form HOP_FORMS_PELLET HOP_FORMS_PLUG HOP_FORMS_LEAF HOP_FORMS_LEAF_WET HOP_FORMS_CRYO HOP_FORMS_EXTRACT |
|
60 * @param SG the density |
|
61 * @param Volume in liters |
|
62 * @param Amount in kilograms |
|
63 * @param Time in minutes |
|
64 * @param Alpha in procent |
|
65 * @param Method, 0 = Tinseth, 1 = Rager, 2 = Daniels |
|
66 * @return The calculated IBU's |
|
67 */ |
|
68 double boilIBU(int Form, double SG, double Volume, double Amount, double Time, double Alpha, int Method); |
|
69 |
|
70 /** |
|
71 * @brief Calculate IBU's of a hop during the whole production process. |
|
72 * @param Use HOP_USEAT_MASH HOP_USEAT_FWH HOP_USEAT_BOIL HOP_USEAT_AROMA HOP_USEAT_WHIRLPOOL HOP_USEAT_DRY_HOP HOP_USEAT_BOTTLING |
|
73 * @param Form HOP_FORMS_PELLET HOP_FORMS_PLUG HOP_FORMS_LEAF HOP_FORMS_LEAF_WET HOP_FORMS_CRYO HOP_FORMS_EXTRACT |
|
74 * @param SG the density |
|
75 * @param Volume in liters |
|
76 * @param Amount in kilograms |
|
77 * @param Boiltime in minutes |
|
78 * @param Alpha in procent |
|
79 * @param Method, 0 = Tinseth, 1 = Rager, 2 = Daniels |
|
80 * @param Whirlpool9 time in whirlpool above 80°C or zero. |
|
81 * @param Whirlpool7 time in whirlpool between 72°C and 77°C. |
|
82 * @param Whirlpool6 time in whirlpool between 60°C amd 66°C. |
|
83 * @param Fulltime, full boiltime, even for aroma hops. |
|
84 * @return The calculated IBU's |
|
85 */ |
35 double toIBU(int Use, int Form, double SG, double Volume, double Amount, double Boiltime, double Alpha, |
86 double toIBU(int Use, int Form, double SG, double Volume, double Amount, double Boiltime, double Alpha, |
36 int Method, double Whirlpool9, double Whirlpool7, double Whirlpool6, double Fulltime); |
87 int Method, double Whirlpool9, double Whirlpool7, double Whirlpool6, double Fulltime); |
|
88 |
37 double hopFlavourContribution(double bt, double vol, int use, double amount); |
89 double hopFlavourContribution(double bt, double vol, int use, double amount); |
38 double hopAromaContribution(double bt, double vol, int use, double amount); |
90 double hopAromaContribution(double bt, double vol, int use, double amount); |
39 QString hours_to_string(int hours); |
91 QString hours_to_string(int hours); |
40 double kettle_cm(double volume, double kettle_volume, double kettle_height); |
92 double kettle_cm(double volume, double kettle_volume, double kettle_height); |
41 double kettle_vol(double cm, double kettle_volume, double kettle_height); |
93 double kettle_vol(double cm, double kettle_volume, double kettle_height); |