Submitted:
27 May 2025
Posted:
27 May 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Related Work
3. Materials and Methods
3.1. SmartBarrel System Architecture
- E-tonque end node IoT device: This is the end node device that includes a pH meter, a brix meter, a pressure, and a temperature sensor
- E-nose end node IoT device: This includes the MQ-3 (Alchohol) and MQ-7(CO) sensor, MG811 carbon dioxide sensors, as well as temperature sensors
3.2. SmartBarrel End-Node Devices
- E-nose: Monitoring of CO gas emissions inside the fermentation tank
- E-nose: Monitoring of CO2 gas emissions inside the fermentation tank
- E-nose: Monitoring of alcohol gas concentrations inside the fermentation tank
- E-nose: Monitoring lid air temperature inside the fermentation tank
- E-nose: Monitoring yeast temperature using a stainless steel temperature probe
- E-tonque: Monitoring temperature and pressure values in the air gap inside the tank
- E-tonque: Monitoring fermenting wine specific gravity by performing electronic hydrometer measurements that indirectly correspond to sugar concentrations through density. That is, for liquids heavier than water, Equations 1 apply:
- E-tonque: PH meter and temperature sensor for yeast PH and temperature-pressure measurements
- E-tonque: RGB sensor with LED for capturing the color of red wines that anthocyanins are responsible for the red and purple color of wines, while tannins contribute to color stabilization and astringency perception [54] (white wines have low tannin concentrations and absence of anthocyanins [55]). On the other hand, to capture the oxidation of phenolic compounds, leading to yellow, gold, or brown hues over time, and cinnamic acids and other hydroxycinnamates (e.g., caftaric acid), which can undergo enzymatic oxidation and contribute to wine browning [56,57,58].
3.3. SmartBarrel E-Nose Device
3.4. SmartBarrel E-Tongue Device
3.5. Evaluation Metrics
- Root Mean Square Error (RMSE). It is calculated based on the formula 2.where denotes the actual value, is the predicted value, and n is the total number of observations. RMSE calculates the average magnitude of the prediction errors and penalizes large deviations more than smaller ones due to the squaring operation. The minimum value of RMSE is 0, which indicates perfect prediction. Higher RMSE values indicate larger deviations between predictions and actual values. Outliers in RMSE typically arise from large individual prediction errors and disproportionately affect the score due to squaring. Thus, RMSE is highly sensitive to extreme values.
- Coefficient of Determination () shows how well the model explains the variance in the predicted variable based on the inputs. It measures the proportion of the total variation in the data captured by the inference results. It is calculated according to Equation 3where, is the actual value, is the predicted value, expresses the mean of the actual values, and n is the number of samples. The maximum value is 1, indicating perfect prediction. If close to 0, it suggests poor model inferences. Negative values can also occur when the model performs worse than a simple mean-based prediction. Extreme negative values usually signal serious model misfits.
3.6. Proposed Fuzzy Alcohol Controller
- Sugar concentration in (g/L)
- pH measurements
-
CO2 concentration expressed in g/L. Let be the concentration of carbon dioxide produced during fermentation intervals dt, and let be the equivalent concentration of it expressed in parts per million. The conversion is expressed by Equation 4:Since ppm is used to express air concentrations, let be the concentration of CO2 floating inside the tank at a specific time interval dt, we use Henry’s law which describes the solubility of a gas in a liquid by Equationwhere is the concentration of dissolved CO2 in fermenting wine (mol/L), is Henry’s law constant for CO2 in white wine, approximately at 20°C (lower than water which is ), and is the partial pressure of CO2 in atm. Substituting , and converting from mol/L to g/L, by multiplying with the molar mass of CO2 (44.01 g/mol) the final Equation 6:provides the concentration of CO2 inside the fermenting wine. Concluding the ratio of CO2 concentrations in the liquid over the air under equilibrium conditions is expressed by Equation 7This equation allows estimation of the CO2 content in fermenting white wines from ppm gas-phase concentrations under standard conditions. That is, the mass concentration of CO2 in fermenting white wine over time is approximately 37% of the mass concentration in the gas phase.
- Biomass fermentation residues. It includes any form of a specific product or metabolite and substances already included in the must that take part in the fermentation process. The development of particular components or biological decontamination can be measured by weighting the solid state extracted material from the fermenting wine (in g/L) during the controlled decantation of wine from one vessel to another, which is primarily aimed at separating it from lees and sediment, thereby enhancing its clarity, microbiological stability, and overall sensory purity.
- Temperature of the fermentation process (maintained constant) in .
- Alchohol concentration measured in g/L. The alcohol concentration is the output variable (consequent), while all others are input variables (antecedents).
Fuzzy Fermentation Autoencoder
- Temperature is strictly controlled regardless of phase following white wine fermentation temperatures
- Alcohol production correlates with biomass and sugar, but it is calculated using the fuzzy controller as a predictor, as mentioned in Section 3.6
3.7. Proposed V-LSTM Model
4. Experimental Scenarios and Results
4.1. Scenario I: Evaluation of the SmartBarrel E-nose during fermentation
4.2. Scenario II: Evaluation of the Fuzzy Controler
4.3. Scenario III: Evaluation of the V-LSTM Prediction Model
4.3.1. V-LSTM Hyperparameters Auto-Tuning

4.3.2. V-LSTM Evaluation Results
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
| AS | Application Server |
| CNN | Convolutional Neural Network |
| CPU | Central Processing Unit |
| DL | Deep Learning |
| DSS | Decision Support System |
| LSTM | Long short-term memory RNN |
| ML | Machine Learning |
| MOS | Metal Oxide Semiconductor |
| NDIR | Non-Dispersive Infrared |
| NIR | Near Infrared Region of wavelength between 750 nm to 2500 nm |
| NN | Neural Networks |
| P-Eye | Probing Eye |
| P-Nose | Probing Nose |
| P-Tongue | Probing Tongue |
| RNN | Recurrent Neural Networks |
| SVR | Support Vector Regression |
| V-LSTM | LSTM of variable cells and layers |
| VM | Virtual Machines, cloud hosted |
References
- Gallego-Martinez, J.J.; Canete-Carmona, E.; Gersnoviez, A.; Brox, M.; Sánchez-Gil, J.J.; Martín-Fernández, C.; Moreno, J. Devices for monitoring oenological processes: A review. Measurement 2024, 235, 114922. [Google Scholar] [CrossRef]
- Sainz, B.; Antolín, J.; López-Coronado, M.; Castro, C.D. A Novel Low-Cost Sensor Prototype for Monitoring Temperature during Wine Fermentation in Tanks. Sensors 2013, 13, 2848–2861. [Google Scholar] [CrossRef] [PubMed]
- Naveed, M. The Adoption of 4.0 Agriculture for Wine Production in Order to Improve Efficiency, Sustainability and Competitiveness. Technical report, Universita degli Studi di Foggia, 2024. Accepted: 2024-11-20T03:10:06Z Publisher: Universita degli Studi di Foggia.
- Karaiskos, V.; Zinas, N.; Gkamas, T.; Karolos, I.; Pikridas, C.; Vrettos, N.; Tsioukas, V.; Kontogiannis, S. Proposed Industry 4.0 Maintenance Framework for Critical and Demanding Infrastructures and Processes. In Proceedings of the Proc. of the 7th South-East Europe Design Automation, Computer Engineering, Computer Networks and Social Media Conference (SEEDA-CECNSM), 2022, pp. 1–5. [CrossRef]
- Asiminidis, C.; Kokkonis, G.; Kontogiannis, S. Managing IoT data using relational schema and JSON fields, a comparative study. IOSR Journal of Computer Engineering (IOSR-JCE) 2018, 20, 46–52. [Google Scholar]
- Asiminidis, C.; Kokkonis, G.; Kontogiannis, S. Database Systems Performance Evaluation for IoT Applications. International Journal of Database Management Systems (IJDMS) 2018, 10. [Google Scholar] [CrossRef]
- Cao, J. AI: A New and Impactful Player in the Quality Evaluation of Wine. Harvard Data Science Review 2025, 7. [Google Scholar] [CrossRef]
- Dewan, A.; Nagaraja, S.K.; Yadav, S.; Bishnoi, P.; Malik, M.; Chhikara, N.; Luthra, A.; Singh, A.; Davis, C. ; Poonam. Advances in Wine Processing: Current Insights, Prospects, and Technological Interventions. Food and Bioprocess Technology, 2025. [Google Scholar] [CrossRef]
- Kontogiannis, S.; Asiminidis, C. A Proposed Low-Cost Viticulture Stress Framework for Table Grape Varieties. IoT 2020, 1, 337–359. [Google Scholar] [CrossRef]
- Ammoniaci, M.; Kartsiotis, S.P.; Perria, R.; Storchi, P. State of the Art of Monitoring Technologies and Data Processing for Precision Viticulture. Agriculture 2021, 11, 201. [Google Scholar] [CrossRef]
- Kontogiannis, S.; Konstantinidou, M.; Tsioukas, V.; Pikridas, C. A Cloud-Based Deep Learning Framework for Downy Mildew Detection in Viticulture Using Real-Time Image Acquisition from Embedded Devices and Drones. Information 2024, 15. [Google Scholar] [CrossRef]
- Kontogiannis, S.; Koundouras, S.; Pikridas, C. Proposed Fuzzy-Stranded-Neural Network Model That Utilizes IoT Plant-Level Sensory Monitoring and Distributed Services for the Early Detection of Downy Mildew in Viticulture. Computers 2024, 13, 63. [Google Scholar] [CrossRef]
- Li, B.; Wang, J.; Zhang, R. Detection and analysis of electrochemical signals in wine fermentation process. Journal of Food Measurement and Characterization 2023, 17. [Google Scholar] [CrossRef]
- Bender, M.; Kirdan, E.; Pahl, M.O.; Carle, G. Open-Source MQTT Evaluation. In Proceedings of the IEEE 18th Annual Consumer Communications and Networking Conference(CCNC); 2021; Vol. 1, pp. 1–4. [Google Scholar] [CrossRef]
- Gonçalves, F.; Oliveira, N.; Duarte, D.P.; Nogueira, R.N. WinePlus 1110: The Remote and Real-Time Wine Fermentation Process Monitoring System. In Proceedings of the Conference Proceedings, July 2019. Accessed: 2025-05-04.
- Chiou, C.W.; Huang, S.Z.; Sun, Y.S. A Mobile Control System of Fermentation Temperature on Winemaking. International Journal of Food Science and Agriculture 2022, 6. [Google Scholar] [CrossRef]
- Nelson, J.; Boulton, R.; Knoesen, A. Automated Density Measurement With Real-Time Predictive Modeling of Wine Fermentations. IEEE Transactions on Instrumentation and Measurement 2022, 71, 1–7. [Google Scholar] [CrossRef]
- Masetti, G.; Marazzi, F.; Di Cecilia, L.; Rovati, L. IOT-Based Measurement System for Wine Industry. In Proceedings of the 2018 Workshop on Metrology for Industry 4.0 and IoT, Apr 2018, pp. 163–168. [CrossRef]
- Angelkov, D.; Martinovska Bande, C. Sensor Module for Monitoring Wine Fermentation Process. In Proceedings of the Applied Physics, System Science and Computers; Ntalianis, K.; Croitoru, A., Eds., Cham, 2018; pp. 253–262. [CrossRef]
- Vasilescu, A.; Fanjul-Bolado, P.; Titoiu, A.M.; Porumb, R.; Epure, P. Progress in Electrochemical (Bio)Sensors for Monitoring Wine Production. Chemosensors 2019, 7, 66. [Google Scholar] [CrossRef]
- Nanou, E.; Mavridou, E.; Milienos, F.; Papadopoulos, G.; Tempère, S.; Kotseridis, Y. Odor Characterization of White Wines Produced from Indigenous Greek Grape Varieties Using the Frequency of Attribute Citation Method with Trained Assessors. Foods 2020, 9, 1396. [Google Scholar] [CrossRef] [PubMed]
- Kontogiannatos, D.; Troianou, V.; Dimopoulou, M.; Hatzopoulos, P.; Kotseridis, Y. Oenological Potential of Autochthonous Saccharomyces cerevisiae Yeast Strains from the Greek Varieties of Agiorgitiko and Moschofilero. Beverages 2021, 7, 27. [Google Scholar] [CrossRef]
- Niyigaba, T.; Küçükgöz, K.; Kołożyn-Krajewska, D.; Królikowski, T.; Trząskowska, M. Advances in Fermentation Technology: A Focus on Health and Safety. Applied Sciences 2025, 15, 3001. [Google Scholar] [CrossRef]
- Izquierdo-Bueno, I.; Moraga, J.; Cantoral, J.M.; Carbú, M.; Garrido, C.; González-Rodríguez, V.E. Smart Viniculture: Applying Artificial Intelligence for Improved Winemaking and Risk Management. Applied Sciences 2024, 14, 10277. [Google Scholar] [CrossRef]
- Alfieri, G.; Modesti, M.; Riggi, R.; Bellincontro, A. Recent Advances and Future Perspectives in the E-Nose Technologies Addressed to the Wine Industry. Sensors 2024, 24, 2293. [Google Scholar] [CrossRef]
- Munoz-Castells, R.; Modesti, M.; Moreno-Garcia, J.; Rodriguez-Moreno, M.; Catini, A.; Capuano, R.; Di Natale, C.; Bellincontro, A.; Moreno, J. Differentiation through E-nose and GC-FID data modeling of rosé sparkling wines elaborated via traditional and Charmat methods. Journal of the Science of Food and Agriculture 2025, 105, 1439–1447. [Google Scholar] [CrossRef]
- Summerson, V.; Gonzalez Viejo, C.; Pang, A.; Torrico, D.D.; Fuentes, S. Assessment of Volatile Aromatic Compounds in Smoke Tainted Cabernet Sauvignon Wines Using a Low-Cost E-Nose and Machine Learning Modelling. Molecules 2021, 26, 5108. [Google Scholar] [CrossRef]
- Shahid, A.; Choi, J.H.; Rana, A.; Kim, H.S. Least Squares Neural Network-Based Wireless E-Nose System Using an SnO2 Sensor Array. Sensors 2018, 18, 1446. [Google Scholar] [CrossRef]
- Buratti, S.; Benedetti, S. Chapter 28 - Alcoholic Fermentation Using Electronic Nose and Electronic Tongue. In Electronic Noses and Tongue. In Electronic Noses and Tongues in Food Science; Rodríguez Méndez, M.L., Ed.; Academic Press: San Diego, 2016; pp. 291–299. [Google Scholar] [CrossRef]
- Tomtsis, D.; Kontogiannis, S.; Kokkonis, G.; Zinas, N. IoT Architecture for Monitoring Wine Fermentation Process of Debina Variety Semi-Sparkling Wine. In Proceedings of the Proceedings of the SouthEast European Design Automation, Computer Engineering, Computer Networks and Social Media Conference, New York, NY, USA, Jun 2016; SEEDA-CECNSM ’16, pp. 42–47. [CrossRef]
- Littarru, E.; Modesti, M.; Alfieri, G.; Pettinelli, S.; Floridia, G.; Bellincontro, A.; Sanmartin, C.; Brizzolara, S. Optimizing the winemaking process: NIR spectroscopy and e-nose analysis for the online monitoring of fermentation. Journal of the Science of Food and Agriculture 2025, 105, 1465–1475. [Google Scholar] [CrossRef] [PubMed]
- Modesti, M.; Alfieri, G.; Pardini, L.; Cerreta, R.; Mencarelli, F.; Bellincontro, A. Application of a Low-Cost Device VIS-NIRs-Based for Polyphenol Monitoring During the Vinification Process. IVES Conference Series 2022. Accessed: 2025-05-04.
- Taglieri, I.; Mencarelli, F.; Bellincontro, A.; Modesti, M.; Cerreta, R.; Zinnai, A. Development of a micro-Vis-NIR and SAW Nanobiosensor to Measure Polyphenols in Must/Wine On-Time and Online. Acta Horticulturae 2023, 1370, 39–46. [Google Scholar] [CrossRef]
- Cozzolino, D.; Kwiatkowski, M.J.; Parker, M.; Cynkar, W.U.; Dambergs, R.G.; Gishen, M.; Herderich, M.J. Prediction of phenolic compounds in red wine fermentations by visible and near infrared spectroscopy. Analytica Chimica Acta 2004, 513, 73–80. [Google Scholar] [CrossRef]
- Kontogiannis, S.; Gkamas, T.; Pikridas, C. Deep Learning Stranded Neural Network Model for the Detection of Sensory Triggered Events. Algorithms 2023, 16, 202. [Google Scholar] [CrossRef]
- Kontogiannis, S.; Kokkonis, G.; Pikridas, C. Proposed Long Short-Term Memory Model Utilizing Multiple Strands for Enhanced Forecasting and Classification of Sensory Measurements. Mathematics 2025, 13, 1263. [Google Scholar] [CrossRef]
- Kontogiannis, S.; Kokkonis, G. Proposed Fuzzy Real-Time HaPticS Protocol Carrying Haptic Data and Multisensory Streams. INTERNATIONAL JOURNAL OF COMPUTERS COMMUNICATIONS & CONTROL 2020, 15. [Google Scholar]
- Kontogiannis, S.; Kokkonis, G.; Ellinidou, S.; Valsamidis, S. Proposed Fuzzy-NN Algorithm with LoRaCommunication Protocol for Clustered Irrigation Systems. Future Internet 2017, 9, 78. [Google Scholar] [CrossRef]
- Kokkonis, G.; Chatzimparmpas, A.; Kontogiannis, S. Middleware IoT protocols performance evaluation for carrying out clustered data. In Proceedings of the South-Eastern European Design Automation, Computer Engineering, Computer Networks and Society Media Conference (SEEDA CECNSM), 2018, Vol. 1, pp. 1–5. [CrossRef]
- ThingsBoard. ThingsBoard Open-source IoT Platform, 2019. Available at: https://thingsboard.io/, [Online; accessed Oct 2020].
- Seesaard, T.; Wongchoosuk, C. Recent Progress in Electronic Noses for Fermented Foods and Beverages Applications. Fermentation 2022, 8, 302. [Google Scholar] [CrossRef]
- Oikonomou, P.; Goustouridis, D.; Raptis, I.; Manoli, K.; Sanopoulou, M. Must fermentation progress monitoring by polymer coated capacitive vapour sensor arrays. In Proceedings of the SENSORS, 2009 IEEE, 2009, pp. 1443–1446. [CrossRef]
- Canete-Carmona, E.; Gallego-Martinez, J.J.; Martin, C.; Brox, M.; Luna-Rodriguez, J.J.; Moreno, J. A Low-Cost IoT Device to Monitor in Real-Time Wine Alcoholic Fermentation Evolution Through CO2 Emissions. IEEE Sensors Journal 2020, 20, 6692–6700. [Google Scholar] [CrossRef]
- Ye, M.; Liu, Y.; Li, Q. Recent Progress in Smart Electronic Nose Technologies Enabled with Machine Learning Methods. Sensors 2021, 21, 7620. [Google Scholar] [CrossRef] [PubMed]
- Lozano, J.; Santos, J.; Horrillo, M. Wine Applications With Electronic Noses. In Electronic Noses and Tongues in Food Science; Méndez, M.L.R., Ed.; Academic Press, 2016; pp. 137–148. [CrossRef]
- Vanaraj, R.; I. P, B.; Mayakrishnan, G.; Kim, I.S.; Kim, S.C. A Systematic Review of the Applications of Electronic Nose and Electronic Tongue in Food Quality Assessment and Safety. Chemosensors 2025, 13, 161. [CrossRef]
- Peris, M.; Escuder-Gilabert, L. On-line Monitoring of Food Fermentation Processes Using Electronic Noses and Electronic Tongues: A Review. Analytica Chimica Acta 2013, 804, 29–36. [Google Scholar] [CrossRef]
- Syahputra, T.S.; Ihsan, N.; Kombo, K.O.; Faizah, K.; Wahyono.; Widada, J.; Triyana, K. Integration of low-cost multispectral sensors and electronic nose for enhanced fermentation monitoring in tempeh production. Journal of Food Measurement and Characterization 2025, 19, 3687–3701. [CrossRef]
- Sun, H.; Ma, H.; Hao, M.; Pretorius, I.S.; Chen, S. Identification of yeast population dynamics of spontaneous fermentation in Beijing wine region, China. Annals of Microbiology 2009, 59, 69–76. [Google Scholar] [CrossRef]
- Li, C.; Wang, Y.; Sha, S.; Yin, H.; Zhang, H.; Wang, Y.; Zhao, B.; Song, F. Analysis of the tendency for the electronic conductivity to change during alcoholic fermentation. Scientific Reports 2019, 9, 5512. [Google Scholar] [CrossRef]
- Han, F.; Zhang, D.; Aheto, J.; Feng, F.; Duan, T. Integration of a Low-Cost Electronic Nose and a Voltammetric Electronic Tongue for Red Wines Identification. Journal of Food Science & Nutrition 2020, 8, 4330–4339. [Google Scholar] [CrossRef]
- Martelo-Vidal, M.J.; Vázquez, M. Determination of polyphenolic compounds of red wines by UV-VIS-NIR spectroscopy and chemometrics tools. Food Chemistry 2014, 158, 28–34. [Google Scholar] [CrossRef]
- Jeong, J.; Kim, S. Application of machine learning for quantitative analysis of industrial fermentation using image processing. Food Science and Biotechnology 2025, 34, 373–381. [Google Scholar] [CrossRef]
- Cheynier, V.; Dueñas-Paton, M.; Salas, E.; Maury, C.; Souquet, J.M.; Sarni-Manchado, P.; Fulcrand, H. Structure and Properties of Wine Pigments and Tannins. American Journal of Enology and Viticulture 2006, 57, 298. [Google Scholar] [CrossRef]
- Nel, A.P. Tannins and anthocyanins: From their origin to wine analysis - A review. South African Journal of Enology and Viticulture 2018, 39, 1–20. [Google Scholar] [CrossRef]
- Figueiredo-González, M.; Cancho-Grande, B.; Simal-Gándara, J. Effects on colour and phenolic composition of sugar concentration processes in dried-on- or dried-off-vine grapes and their aged or not natural sweet wines. Trends in Food Science & Technology 2013, 31, 36–54. [Google Scholar] [CrossRef]
- Goode, J. Flawless: Understanding Faults in Wine; Univ of California Press, 2018.
- Cosme, F.; Nunes, F.M.; Filipe-Ribeiro, L. Chemistry and Biochemistry of Winemaking, Wine Stabilization and Aging; BoD – Books on Demand, 2021.
- Gkamas, T.; Karaiskos, V.; Kontogiannis, S. Performance Evaluation of Distributed Database Strategies Using Docker as a Service for Industrial IoT Data: Application to Industry 4.0. Information 2022, 13, 190. [Google Scholar] [CrossRef]
- Sipos, A.; Florea, A.; Arsin, M.; Fiore, U. Using Neural Networks to Obtain Indirect Information about the State Variables in an Alcoholic Fermentation Process. Processes 2021, 1, 74. [Google Scholar] [CrossRef]
- Oikonomou, P.; Raptis, I.; Sanopoulou, M. Monitoring and Evaluation of Alcoholic Fermentation Processes Using a Chemocapacitor Sensor Array. Sensors 2014, 14, 16258–16273. [Google Scholar] [CrossRef]
- Darias-Martin, J.; Socas-Hernandez, A.; Diaz-Romero, C.; Diaz-Diaz, E. Comparative study of methods for determination of titrable acidity in wine. Journal of Food Composition and Analysis 2003, 16. [Google Scholar] [CrossRef]
- Kaur, N.; Kaur, G.; Aruchamy, P.; Chaudhary, N. An Integrated Approach Based on Fuzzy Logic and Machine Learning Techniques for Reliable Wine Quality Prediction. Procedia Computer Science 2025, 252, 613–622. [Google Scholar] [CrossRef]
- Prusova, B.; Humaj, J.; Kulhankova, M.; Kumsta, M.; Sochor, J.; Baron, M. Capture of Fermentation Gas from Fermentation of Grape Must. Foods 2023, 12, 574. [Google Scholar] [CrossRef]
- Román, R.C.; Hernández, O.G.; Urtubia, U.A. Prediction of problematic wine fermentations using artificial neural networks. Bioprocess and Biosystems Engineering 2011, 34, 1057–1065. [Google Scholar] [CrossRef]
- Silva, R.; Gomes, V.; Mendes-Faia, A.; Melo-Pinto, P. Using Support Vector Regression and Hyperspectral Imaging for the Prediction of Oenological Parameters on Different Vintages and Varieties of Wine Grape Berries. Remote Sensing 2018, 10, 312. [Google Scholar] [CrossRef]











| Hyperparameter | Description | Calculation | Calibrated Value |
|---|---|---|---|
| offset | offset from minimum value for the attribute | ||
| offset | offset from minimum value for the attribute | ||
| w curve bandwidth | Width of the gaussian-skewed gaussian curve expressed as a fraction of the standard deviation | default k=3 | |
| center value of the low membership function | |||
| center value of the medium membership function | |||
| center value of the high membership function | kd=1 |
| Antecedent | Consequent |
|---|---|
| IF phase is lag | THEN biomass grows slowly (), sugar remains high (210 g/L) |
| IF phase is exponential | THEN biomass follows sigmoid (), sugar decays exponentially |
| IF phase is stationary | THEN biomass declines linearly (), sugar approaches 30 g/L |
| IF phase is death | THEN biomass decays exponentially (), sugar stabilizes at 20 g/L |
| IF phase is lag | THEN pH = 4.5 (constant), C |
| IF phase is exponential | THEN pH decreases sigmoidally, T strictly controlled |
| IF phase is stationary | THEN pH stabilizes near 3.2, T maintenance continues |
| IF phase is death | THEN pH slowly recovers, T control remains active |
| Antecedents and Conditions | Consequent conditions Actions |
|---|---|
| If lag fermentation phase (0-20h) | |
| Biomass: | |
| Sugar: | (constant high) |
| pH: | (no change) |
| Temp: | (strict control) |
| CO2: | (very low) |
| Alcohol: | (none produced) |
| If exponential fermentation phase (20-70h) | |
| Biomass: | |
| Sugar: | |
| pH: | |
| Temp: | |
| CO2: | |
| Alcohol: | |
| If stationary fermentation phase (70-150h) | |
| Biomass: | |
| Sugar: | |
| pH: | (stabilized low) |
| Temp: | |
| CO2: | |
| Alcohol: | |
| If death fermentation phase (>150h) | |
| Biomass: | |
| Sugar: | (constant low) |
| pH: | |
| Temp: | |
| CO2: | |
| Alcohol: | (slow decline) |
| Ethanol (g/L) | % vol |
|---|---|
| 10 | 1.27 |
| 12.6 | 1.59 (Table wine minimum) |
| 45 | 5.7 |
| 82.9 | 10.5 (Dry wine minimum) |
| 94.7 | 12.0 (Typical non-dry wine) |
| 150 | 19.0 (Fortified wine maximum) |
| Parameter | Value |
|---|---|
| Number of attributes (k) | 6 |
| Time window length () | 255 (12 × 24) - 24hours |
| Prediction length () | 288 (12 × 24)- 24hours |
| Number of LSTM layers (l) | 10 |
| Number of LSTM cells per layer () | 64 |
| Optimizer | Adam |
| Minimum learning rate | |
| Learning rate reduction factor | 25% |
| Learning rate patience | 1 epoch |
| Early stopping patience | 5 epochs |
| Max number of epochs | 100 |
| Metric | Mean | Std. Dev. |
|---|---|---|
| Validation RMSE (Epochs=40.66) | 0.161468 | 0.001817 |
| Evaluation RMSE | 0.159915 | 0.000895 |
| Trainable Epochs over train datasets | ||
|
Dataset D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 Epochs 51 67 47 55 44 38 36 33 33 30 29 25 | ||
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).