63 * @param Volume in liters |
63 * @param Volume in liters |
64 * @param Amount in kilograms |
64 * @param Amount in kilograms |
65 * @param T1 in minutes start of time window |
65 * @param T1 in minutes start of time window |
66 * @param T2 in minutes end of time window |
66 * @param T2 in minutes end of time window |
67 * @param Alpha in procent |
67 * @param Alpha in procent |
|
68 * @param Utilisation Hop extract utilisation |
|
69 * @param BU_factor Bitterness Unit multiply factor |
68 * @return The calculated IBU's |
70 * @return The calculated IBU's |
69 */ |
71 */ |
70 double TinsethIBU(int Form, double SG, double Volume, double Amount, double T1, double T2, double Alpha); |
72 double TinsethIBU(int Form, double SG, double Volume, double Amount, double T1, double T2, double Alpha, double Utilisation, double BU_factor); |
71 |
73 |
72 /** |
74 /** |
73 * @brief Calculate IBU's of a hop during the whole production process. |
75 * @brief Calculate IBU's of a hop during the whole production process. |
74 * @param Use HOP_USEAT_MASH HOP_USEAT_FWH HOP_USEAT_BOIL HOP_USEAT_AROMA HOP_USEAT_WHIRLPOOL HOP_USEAT_DRY_HOP HOP_USEAT_BOTTLING |
76 * @param Use HOP_USEAT_MASH HOP_USEAT_FWH HOP_USEAT_BOIL HOP_USEAT_AROMA HOP_USEAT_WHIRLPOOL HOP_USEAT_DRY_HOP HOP_USEAT_BOTTLING |
75 * @param Form HOP_FORMS_PELLET HOP_FORMS_PLUG HOP_FORMS_LEAF HOP_FORMS_LEAF_WET HOP_FORMS_CRYO HOP_FORMS_EXTRACT |
77 * @param Form HOP_FORMS_PELLET HOP_FORMS_PLUG HOP_FORMS_LEAF HOP_FORMS_LEAF_WET HOP_FORMS_CRYO HOP_FORMS_EXTRACT |
76 * @param SG the density |
78 * @param preSG the density pre boil. |
77 * @param Volume in liters |
79 * @param postSG the density after the boil. |
|
80 * @param Volume in liters after boil. |
78 * @param Amount in kilograms |
81 * @param Amount in kilograms |
79 * @param Boiltime in minutes |
82 * @param Boiltime in minutes |
80 * @param Alpha in procent |
83 * @param Alpha in procent |
81 * @param Method, 0 = Tinseth, 1 = Tinseth++ (+flamout, +whirlpool etc). |
84 * @param Method, 0 = Tinseth, 1 = Tinseth++ (+flamout, +whirlpool etc). |
82 * @param Whirlpool9 time in whirlpool above 80°C or zero. |
85 * @param Whirlpool9 time in whirlpool above 80°C or zero. |
84 * @param Whirlpool6 time in whirlpool between 60°C amd 66°C. |
87 * @param Whirlpool6 time in whirlpool between 60°C amd 66°C. |
85 * @param Fulltime, full boiltime, even for aroma hops. |
88 * @param Fulltime, full boiltime, even for aroma hops. |
86 * @param Cooltype 0 = N/A, 1 = Emersion chiller, 2 = Counterflow, 3 = Au bain marie, 4 = natural |
89 * @param Cooltype 0 = N/A, 1 = Emersion chiller, 2 = Counterflow, 3 = Au bain marie, 4 = natural |
87 * @param Coolparm1 to define later |
90 * @param Coolparm1 to define later |
88 * @param Coolparm2 to define later |
91 * @param Coolparm2 to define later |
|
92 * @param Utilisation Hop extract utilisation |
|
93 * @param BU_factor Bitterness Unit multiply factor |
89 * @return The calculated IBU's |
94 * @return The calculated IBU's |
90 */ |
95 */ |
91 double toIBU(int Use, int Form, double SG, double Volume, double Amount, double Boiltime, double Alpha, |
96 double toIBU(int Use, int Form, double preSG, double postSG, double Volume, double Amount, double Boiltime, double Alpha, |
92 int Method, double Whirlpool9, double Whirlpool7, double Whirlpool6, double Fulltime, |
97 int Method, double Whirlpool9, double Whirlpool7, double Whirlpool6, double Fulltime, |
93 int Cooltype, double Coolparm1, double Coolparm2); |
98 int Cooltype, double Coolparm1, double Coolparm2, double Utilisation, double BU_factor); |
94 |
99 |
95 double hopFlavourContribution(double bt, double vol, int use, double amount); |
100 /** |
96 double hopAromaContribution(double bt, double vol, int use, double amount); |
101 * @brief Estimate hop flavour contribution. |
|
102 * @param bt Boil time in minutes. |
|
103 * @param vol Volume of the wort. |
|
104 * @param use Hop use moment. |
|
105 * @param amount The amount in kg. |
|
106 * @param form The hop form. |
|
107 * @return A number indicating a contribution factor. |
|
108 */ |
|
109 double hopFlavourContribution(double bt, double vol, int use, double amount, int form); |
|
110 |
|
111 /** |
|
112 * @brief Estimate hop aroma contribution. |
|
113 * @param bt Boil time in minutes. |
|
114 * @param vol Volume of the wort. |
|
115 * @param use Hop use moment. |
|
116 * @param amount The amount in kg. |
|
117 * @param form The hop form. |
|
118 * @return A number indicating a contribution factor. |
|
119 */ |
|
120 double hopAromaContribution(double bt, double vol, int use, double amount, int form); |
97 QString hours_to_string(int hours); |
121 QString hours_to_string(int hours); |
98 double kettle_cm(double volume, double kettle_volume, double kettle_height); |
122 double kettle_cm(double volume, double kettle_volume, double kettle_height); |
99 double kettle_vol(double cm, double kettle_volume, double kettle_height); |
123 double kettle_vol(double cm, double kettle_volume, double kettle_height); |
100 |
124 |
101 /** |
125 /** |