3.1. Experimental Catechin Extrction and Model Performance
The extraction of catechin from fresh Merlot grape solids was examined at different temperatures in simulated juice (sim-juice), mid-ferment (sim-mid-ferment), and wine (sim-wine) conditions. A summary of the experimental conditions and associated model parameters is provided in
Table 3. Extracted Catechin amounts for simulated juice, simulated wine and simulated mid-ferment conditions can be found in
Supplementary Material (Table S1–S3).
Model fit was assessed from R
2 and RMSE values obtained from the experimental data as described in Equations (13) and (14). Small RSME values and R
2 > 0.94 were observed in all cases (
Table 3).
Extracted catechin amounts obtained through the experiment and predicted through the model are plotted in
Figure 1,
Figure 2 and
Figure 3 and show a good fit. The two highest extraction rates were achieved at the highest temperature for conditions with a low glucose (i.e., high ethanol) and a high glucose solution (
Figure 3), highlighting that temperature had the greatest impact on extraction of all factors of the experiments. This observation corresponds with the data of Setford et al. [
12] for the extraction of malvidin-3-glucoside. There is also a clear distinction between solutions containing high and low glucose (i.e., low and high ethanol), which can be ascertained by comparing
Figure 1 and
Figure 3. Extraction in simulated wine was higher at both temperatures than that in simulated juice. The standard error of the duplicate/quadruplicate data sets was between 0.25 and 0.53 mg/L of catechin, with an average error of 7% over all data sets.
The figures also show that the curves for the extracted amount of catechin have approached an asymptotic maximum over the course of the experiments, indicating an adequate experiment runtime. As seen in
Figure 3, the model fit appears to be inferior for the high temperature as it underpredicts catechin extraction in simulated wine at earlier time points. Subsequently, the curve decreases, likely due to reactions such as oxidation or polymerisation with other compounds [
8,
15,
36]. Nonetheless, an R
2 of 0.98 and a small RSME for these conditions indicate an appropriate model fit. The extraction curve for simulated juice at high temperature showed similar behaviour, but likewise had a favourable R
2 of 0.94 and a small RSME, demonstrating a satisfactory fit overall.
Previous work characterised the extraction of malvidin-3-glucoside (a polyphenol important to red wine colour) as a first-principles mass-transfer model based on Fick’s second law (a partial differential equation). However, as mentioned in the introduction, this approach is computationally demanding, making it less suitable for future incorporation into a process-control system [
11,
12,
13]. To address this shortcoming, the macroscopic model used in the present study describes the extraction of catechin as a first-order process, which is an approach consistent with other wine-related extraction studies by Zanoni et al. and Boulton et al. [
15,
19], as well as those focused on other extraction phenomena, including coffee [
37] and essential oil [
38]. The study of Meziane et al. [
38], which compared various modelling approaches to describe 132 essential oil extraction kinetic curves, concluded not only that a simple first-order model showed a good fit (R
2 of 0.98 in more than 91% of the cases), but also that the more complex models converged to the first-order model after a short time. According to Simonin, first- and second-order rate laws are both valid to describe reaction kinetics; however, second order is unable to describe steep extraction rates in short times [
39] as seen in the current experiments. Previous models used in other wine-related extraction studies, however, do not account for any dependencies of the extraction rate.
As discussed in
Section 2.2, the dependence of the rate constant
k on
T and
G was described using a Taylor polynomial of second order according to Equation (11). In the same manner, the maximum extracted catechin concentration as a function of glucose and temperature was also determined (Equation (12)).
Table 4 and
Table 5 show the fitted Taylor coefficients
c1 to
c6 describing the extraction rate
k, and
d1 to
d6, describing the maximum extracted catechin
∞.
Inserting the values from
Table 4 into Equation (11) yields
performing the same with values from
Table 5 and Equation (12) yields
Equations (14) and (15) were then used to develop the surface response models
Figure 4 and
Figure 5 which also show the experimental data points. Surface plots were used to visualise the behaviour of the non-linear system and to explore the relationships between the three variables.
The extraction rate in the absence of glucose (i.e., high alcohol) and at high temperature as seen in
Figure 4 is by far the highest under the conditions trialled. Aside from this, however, the extraction rate for simulated juice (high sugar, no alcohol) at low temperatures was higher than for other points in the system, although this needs to be considered along with the much smaller maximum extractable amount of catechin as shown in
Figure 5. Together, the results indicate that extraction rate alone does not fully define the extraction behaviour of catechin.
With
(Equation (15)) and
(Equation (16)), the final form for the concentration derived from Equation (7) describes the function
(t) for any fixed condition of
T and
G:
Finally, as the experimental setup used a diluted system to limit the reaction of proanthocyanidins and other extracted compounds, a dilution factor α = V
undiluted/V
l = 8.79 must be included in the calculation for
to estimate the maximum extractability of catechin that could be observed in undiluted industrial red wine fermentation:
Figure 6 shows the predicted maximum extracted catechin concentration according to Equation (18) after 69.5 h for solutions of different sugar compositions and temperatures. The extracted concentration is lowest at low temperature and high sugar (i.e., low alcohol), which represents the simulation of a “cold soak” prior to the onset of fermentation.
These results are in accordance to the findings Setford et al. [
12], who similarly showed that pre-fermentative maceration techniques at cold temperatures have little impact on the final anthocyanin concentration of a wine must before skin removal. There is also accord with the review of Sacchi et al. [
40], which highlights that cold soaking has either no effect or can negatively affect the polyphenol composition of a red wine. Occurring once sugars have been fermented (i.e., high alcohol) and at the high temperature, the predicted maximum extracted catechin concentration from the corrected model of 98.4 mg/L (
Figure 6) corresponds relatively well with data from Nagel et al. [
41], who also reported catechin concentration post fermentation in Merlot of an amount of 108.7 mg/L. In other cases, catechin concentration in finished wine shows some variation for the same variety but different country, with reported amounts in Merlot wine from France of 25.5 mg/L [
42] compared to Canada with >160 mg/L [
43]. These outcomes could be due to regional or climate differences that influence polyphenol content of the grapes or through different extraction conditions, particularly temperature, as discussed in this work. For example, studies have also investigated the effect of berry ripeness on tannin extraction, with Bindon et al. noting changes in cell wall porosity that could affect extraction from grape skin [
44]. In contrast, Rousserie et al. reported no impact of berry ripeness on the extraction of tannins from seeds [
45]. Beyond normal physiological differences, VanderWeide et al. [
46] investigated storage temperature conditions (freezing and/or heating) of seeds on tannin extractability, concluding that freezing can advance the maturation of under-ripe grape seeds and that can impact extractability. Another major factor contributing to the phenolic composition of finished wine relates to various post-fermentation treatments (beyond the focus of this study) such as micro-oxygenation, oak chip maceration, and barrel maturation [
8,
47]. Further research and industry validation of the proposed model may be warranted to confirm model stability at scale.
A preliminary assessment of the potential impact of these sources of variability was investigated by means of a sensitivity analysis [
31], undertaken by adjusting extraction rate
k by different percentages as described in
Section 2.3. Even at a +50% adjustment, the R
2 values ranged between 0.93 and 0.96, suggesting a high degree of model robustness.
Table S4 containing the re-calculated R
2 values can be found in
Supplementary Materials. Additionally, an internal cross-validation method was used to test and validate the model, as explained in
Section 2.4. The data were divided into ten subsets, one of which was reserved for validation while the remaining nine subsets were utilised for training. This process was repeated multiple times, with each subset serving as the validation set. The R
2cal, the SECV, and the RPD were calculated. The R
2cal obtained from this validation was 0.93, which is considered to be a good value. The high RPD of 17.68 compared to the small SECV of 0.11 indicate a robust model.
3.2. Industrial Application: Future Implementation of Models for Process Control
The proposed model yields extraction rate
k from measurements of temperature and glucose. This enables a process-control system to increase or decrease the extraction rate by changing the temperature via a cooling or a heating system.
Figure 7 depicts a process instrumentation diagram (PID) of a red wine fermentor, whereby temperature and glucose measurements influence the utilisation of a cooling system through a process-control system.
Notably, the value of catechin predicted by the model cannot be measured by in-line sensors as currently none are available for commercial use. Therefore, the only opportunity at the present time for the prediction to be verified empirically is by using a physical sample which is then separately analysed in the winery laboratory. Wineries already typically take samples every 12 h (for quality assurance purposes) during a fermentation that lasts on average between 5 and 14 days [
15]. It would be ideal to obtain more frequent measurements, particularly during the first 12–24 h of the fermentation as used in the development of the model.
More generally, the production throughput of a commercial winery is limited in part by the fixed number of fermentation tanks. This is being exacerbated by climate change, resulting in higher sugar concentrations in berries and vintage compression (i.e., varieties ripening earlier and their optimal picking times overlapping more during the harvest period) that cause production issues and uncertainty for wine producers [
2,
18]. Optimizing both fermentation time and the extraction of compounds that contribute to wine quality is seen as a key area for development that could mitigate some of the pressures being experienced by producers. Choosing to express the model as dependent on sugar concentrations instead of alcohol means allowing it to adapt to increased sugar concentrations and predict the maximum extractable catechin amount more accurately. Moreover, apart from undertaking temperature measurements on fermentation tanks, wineries typically carry out measurements of the juice/must properties off-line in a laboratory rather than at the fermentation vessel itself. In 2020, only a single winery in Australia monitored the conversion of sugar to ethanol using in-line sensors [
48]. This can lead to significant delays between sampling of the must and decision-making by the winemaker who determines the maceration regime based on their personal experience and expertise, although this can be restricted by equipment and labour availability. Therefore, there are obvious benefits to automating analysis through in-line measurements and implementing automatic process control to ensure product quality while decreasing time and labour and facilitating production plant availability. Process control and in-line measurements can also increase quality control, reproducibility and maximise the efficiency of the raw resources used.
Specifically, the proposed model developed in this work is well suited to smart digital control technologies, especially where low computational overheads are desirable and small single board microcontrollers are to be deployed throughout a winery. Advanced control strategies such as MPC have already been implemented in various food production industry applications, such as extrusion and drying processes, bread baking, and milk powder and lactic acid production, as well as controlling alcoholic fermentations [
49]. Mjalli et al. [
50] showed that an MPC is preferable over a feedback linearisation control of continuous alcoholic fermentation because of its more stable performance and ability to make adjustments in controller behaviour. As a starting point, the model presented in this paper uses time, temperature and sugar as the variables, and so a future process-control system with integrated fuzzy/MPC coupled with in-line measurements for temperature and sugar would suffice to predict the extraction of catechin. This could conceivably form the basis for more advanced AI and ML control techniques and be extended to incorporate other important red wine polyphenols. Temperature measurements are readily available and already implemented in most commercial winery settings. Sugar measurements might not be as common in winery applications as of yet, but are available at a relatively low cost and are also beneficial for fermentation monitoring and control [
51,
52]. Implementation of these two in-line measurements and the here described model into a process-control system of a winery provides a pathway to optimise fermentation quality and streamline production. Although the regression coefficients remain constant with the experimental data presented in this study, adaptation may be necessary in later industrial implementation. One possible way to achieve this is by incorporating the data obtained by the in-line temperature and sugar measurements, as well as the manual catechin measurements, into a machine learning (ML) algorithm to reconfigure the regression coefficients accordingly. Possible ML algorithms suitable for this include Artificial Neural Networks (ANNs), which aim to replicate the behaviour of the human brain by constructing a system of interconnected nodes that can learn from input data or Gradient Boosting (GB), which is commonly used to solve regression problems by combining the results of multiple weak learners to create a strong learner, which is then capable of accurately predicting the outcome variable [
34,
53]. Additional modelling of unmixed as well as mixed systems could predict extraction and assist with fermentation cap management by deciding on pump over regimes, for example, with the goals of achieving optimal extraction of polyphenols such as tannins.