52 * @return The reduction factor. |
52 * @return The reduction factor. |
53 */ |
53 */ |
54 double IBU_reduction(double Tc); |
54 double IBU_reduction(double Tc); |
55 |
55 |
56 /** |
56 /** |
57 * @brief Calculate IBU's of a hop at 100°C. |
57 * @brief Calculate IBU's of a hop at 100°C using the Tinseth formula. |
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 |
58 * @param SG the density |
61 * @param Volume in liters |
59 * @param Volume in liters |
62 * @param Amount in kilograms |
60 * @param Amount in kilograms |
63 * @param Time in minutes |
61 * @param Time in minutes |
64 * @param Alpha in procent |
62 * @param Alpha in procent |
65 * @param Method, 0 = Tinseth, 1 = Rager, 2 = Daniels |
|
66 * @return The calculated IBU's |
63 * @return The calculated IBU's |
67 */ |
64 */ |
68 double boilIBU(int Form, double SG, double Volume, double Amount, double Time, double Alpha, int Method); |
65 double TinsethIBU(double SG, double Volume, double Amount, double Time, double Alpha); |
69 |
66 |
70 /** |
67 /** |
71 * @brief Calculate IBU's of a hop during the whole production process. |
68 * @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 |
69 * @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 |
70 * @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 |
71 * @param SG the density |
75 * @param Volume in liters |
72 * @param Volume in liters |
76 * @param Amount in kilograms |
73 * @param Amount in kilograms |
77 * @param Boiltime in minutes |
74 * @param Boiltime in minutes |
78 * @param Alpha in procent |
75 * @param Alpha in procent |
79 * @param Method, 0 = Tinseth, 1 = Rager, 2 = Daniels |
76 * @param Method, 0 = Tinseth, 1 = Tinseth++ (+flamout, +whirlpool etc). |
80 * @param Whirlpool9 time in whirlpool above 80°C or zero. |
77 * @param Whirlpool9 time in whirlpool above 80°C or zero. |
81 * @param Whirlpool7 time in whirlpool between 72°C and 77°C. |
78 * @param Whirlpool7 time in whirlpool between 72°C and 77°C. |
82 * @param Whirlpool6 time in whirlpool between 60°C amd 66°C. |
79 * @param Whirlpool6 time in whirlpool between 60°C amd 66°C. |
83 * @param Fulltime, full boiltime, even for aroma hops. |
80 * @param Fulltime, full boiltime, even for aroma hops. |
84 * @return The calculated IBU's |
81 * @return The calculated IBU's |