76 /* |
78 /* |
77 * If heating, calculate temperature of the heating plate. If heating is off but |
79 * If heating, calculate temperature of the heating plate. If heating is off but |
78 * the plate is warmer then the air, calculate the cooling down temperature. |
80 * the plate is warmer then the air, calculate the cooling down temperature. |
79 * Finally, calculate the new air and plate temperature. |
81 * Finally, calculate the new air and plate temperature. |
80 */ |
82 */ |
|
83 if (SIMheating) { |
|
84 simulator->air_temperature += 0.01; |
|
85 } |
81 |
86 |
82 /* |
87 /* |
83 * If cooling, calculate temperature of the cooling plate. If cooling is off but |
88 * If cooling, calculate temperature of the cooling plate. If cooling is off but |
84 * the plate is colder then the air, calculate the warming up temperature. |
89 * the plate is colder then the air, calculate the warming up temperature. |
85 * Finsally, calculate the new air and plate temperature. |
90 * Finsally, calculate the new air and plate temperature. |
86 */ |
91 */ |
|
92 if (SIMcooling) { |
|
93 simulator->air_temperature -= 0.01; |
|
94 } |
87 |
95 |
88 /* |
96 /* |
89 * Calculate the extra beer temperatur rise to simulate the heat produced by the |
97 * Calculate the extra beer temperatur rise to simulate the heat produced by the |
90 * fermentation process. Peak about one day after start and slowly decrease after |
98 * fermentation process. Peak about one day after start and slowly decrease after |
91 * that. |
99 * that. |