Next Article in Journal
Microalgae-Based Food Additives for Improved Shelf Life and Nutritional Value
Previous Article in Journal
Can Elevation Affect the Distribution of Nymphalidae Butterflies Adjacent to the Protected Regions in the Eastern Himalayan Landscape of West Bengal, India?
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Lemon-Flavored Gummy Candies: Sourness, Flavor and Overall Acceptance Optimization Using Lattice-Simplex Mixture Design Implemented with Python Programming Language †

by
Jorge Adahir Cruz-Enriquez
1,
Laura García-Curiel
2,*,
Jesús Guadalupe Pérez-Flores
1,*,
Elizabeth Contreras-López
1,
Emmanuel Pérez-Escalante
1,
Karla Soto-Vega
1,
Mirandeli Bautista-Ávila
3,
Carlos Ángel-Jijón
1 and
Juan Ramírez-Godínez
4
1
Área Académica de Química, Instituto de Ciencias Básicas e Ingeniería, Universidad Autónoma del Estado de Hidalgo, Carretera Pachuca-Tulancingo km 4.5, Mineral de la Reforma 42184, Hidalgo, Mexico
2
Área Académica de Enfermería, Instituto de Ciencias de la Salud, Universidad Autónoma del Estado de Hidalgo, Circuito Ex Hacienda La Concepción S/N, Carretera Pachuca-Actopan, San Agustín Tlaxiaca 42060, Hidalgo, Mexico
3
Área Académica de Farmacia, Instituto de Ciencias de la Salud, Universidad Autónoma del Estado de Hidalgo, Circuito Ex Hacienda La Concepción S/N, Carretera Pachuca-Actopan, San Agustín Tlaxiaca 42060, Hidalgo, Mexico
4
Área Académica de Turismo y Gastronomía, Instituto de Ciencias Económico Administrativas, Universidad Autónoma del Estado de Hidalgo, Ex hacienda La Concepción S/N, Pueblo San Juan Tilcuautla, La Concepción 42160, Hidalgo, Mexico
*
Authors to whom correspondence should be addressed.
Presented at the 5th International Electronic Conference on Foods, 28–30 October 2024; Available online: https://sciforum.net/event/Foods2024.
Biol. Life Sci. Forum 2024, 40(1), 41; https://doi.org/10.3390/blsf2024040041
Published: 26 February 2025
(This article belongs to the Proceedings of The 5th International Electronic Conference on Foods)

Abstract

:
Acidulants enhance the tartness and flavor of gummy candies. This study employed Python, a free, open-source tool, to perform a simplex–lattice mixture design, optimizing the sourness, flavor, and overall acceptance of lemon-flavored gummies. Citric, malic, and fumaric acids were evaluated, and a combined model measured their sensory attributes. The results showed high R2 values and significant effects for individual and interaction terms. The optimal mixture (5.85 g citric, 4.8 g malic, 4.35 g fumaric acids) achieved a combined sensory score of 100.11. This study highlights Python’s utility in product development, providing an accessible resource for researchers and food developers.

1. Introduction

Gummy candies are confectionery products primarily made with saturated refined sucrose and corn syrup solutions, though polyols are sometimes used as a substitute for sucrose. These ingredients are mixed and heated to a cooking temperature between 106 and 120 °C, after which prehydrated gelatin is added. The mixture is then combined with colorants, flavorings, and acidulants. The resulting mixture is poured into molds, commonly made of starch, to shape the gummies. Once unmolded, they are coated with a mix of refined sucrose and acidulants, chocolate, powdered chili, or glazing agents such as beeswax, carnauba wax, or palm oil [1,2,3].
Acidulants are added to gummies and candies to enhance flavors by intensifying certain desired notes, making them stronger and longer lasting [4]. They are also added to impart a tart and tangy taste. Citric acid is the most commonly used food acid because it causes minimal degradation of food components. Other food acids, such as malic acid, create different flavor profiles compared to citric acid [5].
Mixture design is a statistical tool used in the food industry and research to combine different ingredients to develop or modify products and achieve specific and optimal characteristics. The simplex–lattice mixture design (SLMD) has been successfully applied to optimize food formulations [6].
Python is ideal for analyzing and optimizing food formulations due to its free, open-source accessibility. It helps bridge the digital divide between research institutions and food companies of various sizes and economic capacities that cannot afford proprietary software. Python is a powerful and flexible tool with libraries like ‘NumPy’, ‘SciPy’, ‘Pandas’, ‘Scikit-learn’, and ‘Matplotlib’ that facilitate complex analyses and optimization. Its reliability is supported by an active developer community that provides ongoing support and updates. Additionally, Python integrates seamlessly with other tools and platforms, enhancing collaboration and efficiency in research and development projects.
While previous studies have utilized mixture design techniques to optimize food products, this study stands out by integrating computational modeling with sensory evaluation through Python programming. Unlike traditional methods that rely on proprietary statistical software, this research demonstrates the potential of open-source tools in food product development. The novelty lies in the comprehensive application of Python for experimental design and data analysis, which showcases it as a cost-effective, flexible, and reproducible approach. This approach opens new possibilities for innovative applications in food science.
Based on all the above, the objective of this contribution was to develop a script in the Python programming language using the simplex–lattice mixture design to optimize the pleasantness of some lemon-flavored gelatin gummies to provide a practical case study that demonstrates how these tools have the potential to improve the sensory properties of products in the confectionery industry.

2. Materials and Methods

2.1. Gummy Candies Production

For academic purposes, the gummy candies were produced by a confectionery company located in Mineral de la Reforma, Hidalgo, Mexico. The company requested anonymity to protect its trade practices. Due to the nature of the project, the specific quantities of ingredients and food additives used (except for acidulants) and the cooking times and temperatures were not disclosed. However, the process is described in general terms for context:
A candy mixture was prepared by heating sucrose, 42 DE glucose syrup, and water to a specific temperature. After cooling, prehydrated pork gelatin was added and stirred continuously until a uniform mixture was achieved. Subsequently, a liquor made with lemon essence, green colorant, water, and 15 g of an acid blend (citric, fumaric, and malic acids) was incorporated and adjusted based on the simplex–lattice mixture design in Table 1. This amount of acid ensured a concentration of 10 g per kg of product, within the recommended range of 2 to 10 g per kg for gummy candies, depending on the flavoring used.
The mixture of all ingredients and food additives was homogenized and poured into molds. The gummies were allowed to solidify and rest for a specific period, and were then de-molded, humidified, coated with refined sugar, and left to rest for an additional period. Finally, they were stored in airtight glass containers until they were used in the sensory analysis.

2.2. Sensory Analysis

The sensory analysis was conducted as described in previous studies, with some modifications [7,8]. The evaluation was performed by 30 trained panelists, all students from the Food Chemistry undergraduate program at the Autonomous Universidad Autónoma del Estado de Hidalgo, Mexico. The panelists were trained to assess the analyzed attributes (sourness, flavor, and overall acceptance). Samples were presented individually to the evaluators on cardboard plates labeled with three-digit codes. The panelists assigned scores from 1 to 5 for each attribute as follows:
  • Sourness: 1 = very slightly intense; 2 = slightly intense; 3 = adequate; 4 = intense; and 5 = very intense.
  • Flavor: 1 = dislike; 2 = neither like nor dislike; 3 = like slightly; 4 = like moderately; and 5 = like very much.
  • Overall acceptance: 1 = dislike; 2 = neither like nor dislike; 3 = like slightly; 4 = like moderately; and 5 = like very much.

2.3. Python Scripts

All scripts used to produce the analysis results presented in this paper were implemented using the Anaconda suite (base: Python 3.12.2) and Visual Studio Code (v.1.91.1) as the integrated development environment on a computer running the elementary OS 7.1 Horus operating system (based on Ubuntu 22.04.3 LTS, Linux 6.5.0-44-generic).
All scripts are provided as executable Jupyter Notebooks, along with datasets and model summaries, and are available from this GitLab repository: https://gitlab.com/FoodChem-DataSci-Lab/lemon-flavored-gummy-candies (accessed on 1 December 2024). These resources have been made publicly accessible to allow researchers, students, food developers, and other interested individuals to download, analyze, and implement the materials in their own projects.

2.3.1. Experimental Design

A Python script was developed and is documented in the “simplex-lattice.ipynb” file. The code was used to create simplex–lattice mixture designs to analyze the impact of different component ratios on responses (sourness, flavor, and overall acceptance levels), using the statistical framework reported in previous studies [8,9,10]. The levels for the factors ‘x1’, ‘x2’, and ‘x3’ (citric, malic, and fumaric acids) were set at [0, 0.25, 0.5, 0.75, 1] (‘levels = [0, 0.25, 0.5, 0.75, 1]’). Combinations of these levels that summed to one were generated (‘np.isclose(x1 + x2 + x3, 1)’) and stored in a pandas data frame (‘df = pd.DataFrame(combinations, columns = factors)’). Each combination received a unique index (‘df[‘mix_index’] = range(1, len(df) + 1)’), and the amounts of acid (in g) were calculated by multiplying the factor values by 15.
A ternary plot was created using the ‘mpltern’ library to visualize these combinations (‘ax.scatter(df[‘x1’], df[‘x2’], df[‘x3’], facecolors = ‘black’, edgecolors = ‘black’, s = 20)’). Points were labeled with their mixture index for clarity (‘ax.text(row[‘x1’], row[‘x2’], row[‘x3’], str(int(row[‘mix_index’])), fontsize = 10, ha = ‘center’, va = ‘bottom’, color = ‘blue’)’). The data were saved in a CSV file (‘df.to_csv(‘simplex-lattice-mixture-design.csv’, index = False)’) and as a high-resolution PNG image (‘plt.savefig(‘ternary-diagram-mixture-design.png’, dpi = 300, bbox_inches = ‘tight’)’) with both elements shown in Table 1 and Figure 1, respectively. This process aided in optimizing formulations and provided a clear visual representation for further analysis.

2.3.2. Python Script for Analyzing the Results

The following script was adapted to analyze sourness, flavor, and overall acceptance levels. However, the explanation focused on the analysis of the flavor level. The script for modeling flavor was saved in a file named “flavor.ipynb”. Initially, the dataset containing the mixture components (‘x1’, ‘x2’, ‘x3’) and the response (‘y’) was loaded using pandas (‘data = pd.read_csv(‘flavor.csv’)’). Interaction terms, including two-way and three-way interactions (‘X[‘x1:x2’] = X[‘x1’] × X[‘x2’]’, etc.), were added. A linear regression model without an intercept was fitted using the ‘statsmodels’ library to estimate the effects of the components (‘model = sm.OLS(y, X, hasconst = False).fit()’). The model’s coefficients were saved, and a function was defined to predict the flavor level based on these coefficients (‘def flavor_level(x, coefficients):…’). A grid of possible mixtures was created, and predictions were made to identify the optimal mixture (‘optimal_mixture = None, max_level = -np.inf’).
A ternary plot was generated using the ‘mpltern’ library to visualize the predicted responses across different mixtures, and the plot was saved as a high-resolution PNG image (‘plt.savefig(“Ternary_plot_flavor.png”, dpi = 300)’). The second part of the code calculated the centroid of the design (‘centroid_x1 = data[‘x1’].mean()’, etc.), included quadratic terms, and used an adjusted model to create an effect plot showing the impact of deviations from the centroid on the response (‘plt.savefig(“ModelEff_plot_flavor.png”, dpi = 300)’). This visualization illustrated the influence of each component on the predicted flavor level.

2.3.3. Combined Response Analysis for Sourness, Flavor, and Overall Acceptance

A Python script was developed and saved in a file named “combined-model.ipynb”. The script was designed to combine and analyze datasets for sourness, flavor, and overall acceptance, aiming to find an optimal mixture of components. The datasets were loaded using the ‘pandas’ library (‘sourness_dataset = pd.read_csv(‘sourness.csv’)’, etc.), and interaction terms were added to capture the combined effects of the components (‘df[‘x1:x2’] = df[‘x1’] × df[‘x2’]’, etc.). Separate regression models were fitted for each dataset using the ‘statsmodels’ library (‘model = sm.OLS(y, X, hasconst = False).fit()’), capturing the influence of the factors and their interactions.
A combined dataset was then created, including all three response variables and a new variable representing the average combined response (‘combined_dataset[‘y_combined’] = (combined_dataset[‘y_sourness’] + combined_dataset[‘y_flavor’] + combined_dataset[‘y_overall_acceptance’])/3’). This dataset was also enriched with interaction terms, and a combined model was fitted to predict the average response (‘combined_model = sm.OLS(y_combined, X_combined, hasconst = False).fit()’). The model’s coefficients were saved, and a function was created to predict responses based on component ratios (‘def combined_model_predict(x1, x2, x3):…’). The optimal mixture was identified by evaluating predictions across a grid of possible mixtures, and the best combination was recorded.
Visualizations included a ternary plot of the predicted responses (‘ax.tricontour(grid[:, 0], grid[:, 1], grid[:, 2], predicciones, levels = sorted(levels))’) and an effect plot showing the impact of deviations from the centroid on the response (‘ax.plot(x_vals, y_x1, label = ‘x1’, color = ‘black’)’). These plots were saved as high-resolution images for further analysis. The script provided a comprehensive method for evaluating the combined effects of sourness, flavor, and overall acceptance in mixtures, facilitating optimization and visualization of the best formulation.

3. Results and Discussion

The comparative analysis of the polynomial models for sourness, flavor, overall acceptance, and combined attributes in lemon-flavored gummy candies is shown in Table 2. Each model provides a unique perspective on how different acids (x1, x2, x3) and their interactions influence the sensory characteristics and acceptability of the products. The models show high levels of fit, as indicated by the R2 values, which are all above 0.99. This suggests that the chosen variables and interactions effectively capture the variance in the observed data.
In the sourness level model, the coefficients for the main effects of x1 (79.53), x2 (92.96), and x3 (71.74) are all significant and positive, indicating strong individual contributions of citric, malic, and lactic acids to perceived sourness. The interaction terms, particularly the three-way interaction x1:x2:x3 (295.70), also show a positive contribution, although it is not statistically significant (p = 0.22). This suggests a potential synergistic effect that aligns with the sensory impact of these acids on sourness [5].
For the flavor level model, the main effects of x1 (83.70), x2 (87.20), and x3 (92.77) are highly significant, demonstrating that each acid independently enhances flavor perception. However, the interaction terms, including x1:x2 (−19.27) and x1:x3 (3.02), have smaller coefficients and are not significant, indicating minimal synergistic effects. The three-way interaction term x1:x2:x3 (145.78) shows a large coefficient but lacks statistical significance (p = 0.40). This pattern implies that each acid primarily influences distinct flavor notes, contributing to additive rather than synergistic effects.
In the overall acceptance model, the coefficients for x1 (109.47) and x2 (117.75) are substantial and significant, reflecting their strong positive impact on consumer preference. The coefficient for x3 (103.39) is slightly lower but still significant, highlighting its role in acceptance. The interaction terms, such as x1:x2 (18.77) and x1:x2:x3 (81.19), show lower coefficients and lack significance, indicating that combined effects among the acids are less influential on overall acceptance than individual contributions.
Finally, the combined response model incorporates data from the three individual models (sourness, flavor, and overall acceptance) to identify the optimal mix of x1, x2, and x3. The model’s high R2 value and significant individual effect coefficients confirm the critical roles of citric, malic, and lactic acids in shaping the sensory profile. The three-way interaction term (positive in all models but not significant) suggests a consistent, albeit modest, combined effect across sensory attributes. This reinforces the nuanced interplay between these acids in creating a balanced sensory experience.
Figure 2 shows the contour and effect (Piepel direction) plots, which illustrate the relationships among the factors citric acid (x1), malic acid (x2), and fumaric acid (x3) concerning sourness level (Figure 2a), flavor level (Figure 2b), overall acceptance level (Figure 2c), and a combined metric of these attributes (Figure 2d). Figure 2d aggregates the sourness, flavor, and overall acceptance levels results, aiming to find the best mix of x1, x2, and x3 to maximize the overall sensory qualities of the gummies. Together, these plots provide a comprehensive analysis for optimizing product formulation to achieve a balanced sensory profile.
The combined model analysis identified the optimal mixture of acids to achieve the highest overall sensory qualities of the lemon-flavored gummy candies. The best combination was determined to be 5.85 g of citric acid, 4.8 g of malic acid, and 4.35 g of fumaric acid. This formulation resulted in a combined score (y) of 100.11 for sourness, flavor, and overall acceptance. The combined model analysis identified the optimal mixture of acidulants to achieve the highest overall sensory qualities of the lemon-flavored gummy candies. The ideal combination was 5.85 g of citric acid, 4.8 g of malic acid, and 4.35 g of fumaric acid. This formulation yielded a theoretical combined score (y) of 100.11 for sourness, flavor, and overall acceptance, indicating that this specific ratio could achieve the desired balance of sourness, flavor intensity, and consumer acceptance. Confirmatory experiments are recommended for future research to validate these models’ effectiveness. This study’s primary aim was to develop and implement the necessary Python scripts to generate simplex–lattice mixture designs and subsequently analyze the results, providing an alternative to R and proprietary software. This approach offers a valuable tool for researchers, students, food developers, and others interested in the field.
These models highlighted the importance of understanding both the individual and interactive effects of acidulants in lemon-flavored gummy candies, as they can significantly influence sensory attributes and consumer acceptance. This information is valuable for formulating and optimizing similar products, helping to tailor products to specific taste profiles and consumer preferences.

4. Conclusions

This study successfully utilized Python to optimize the flavor profile of lemon-flavored gummy candies using a simplex–lattice mixture design. The main findings demonstrated the optimal combination of acidulants, highlighting the effectiveness of the combined model in fine-tuning sensory attributes. Python proved advantageous due to its accessibility and flexibility, offering a cost-effective alternative to proprietary software. This approach provided an open-source tool for researchers, students, and food developers and supports more inclusive innovations in product development. Future confirmatory experiments are recommended to validate the robustness of these models. The findings underscore the importance of understanding the individual and interactive effects of acidulants in confectionery products, paving the way for tailored product optimization. This research is of great interest to both academia and industry, providing valuable insights and practical tools for enhancing food product development.
Future research could expand the application of this methodology to a wider range of confectionery products, including jellies, marshmallows, and hard candies, to optimize sensory attributes beyond acidity and flavor. Moreover, integrating advanced computational tools, such as machine learning algorithms, could enhance predictive modeling capabilities, enabling more precise formulation optimization. Exploring alternative mixture designs implemented in Python and applying multi-objective optimization approaches would also be valuable for addressing complex formulation challenges that require balancing multiple sensory or functional attributes. Python’s versatility in managing large datasets and performing complex analyses further presents opportunities for real-time quality control and automated formulation adjustments in industrial settings. These potential research directions highlight the importance of computational tools in advancing food science and driving innovation in product development.

Author Contributions

Conceptualization, J.G.P.-F. and L.G.-C.; methodology, E.C.-L. and L.G.-C.; software, J.G.P.-F.; validation, K.S.-V., E.P.-E. and C.Á.-J.; formal analysis, E.C.-L. and L.G.-C.; investigation, J.A.C.-E.; resources, E.C.-L. and L.G.-C.; data curation, L.G.-C.; writing—original draft preparation, J.G.P.-F.; writing—review and editing, J.A.C.-E. and L.G.-C.; visualization, J.G.P.-F.; supervision, J.R.-G. and M.B.-Á.; project administration, K.S.-V. and E.P.-E.; funding acquisition, E.C.-L. and L.G.-C. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

There is no human ethics committee or formal documentation process in place, and ethical approval for conducting sensory evaluation studies is not required at the University. The experimental protocol adhered to the relevant operational guidelines stated in Mexico.

Informed Consent Statement

Appropriate protocols were implemented to safeguard participants’ rights and privacy throughout the study. Participation was entirely voluntary, with no coercion involved. All participants received full disclosure of the study’s requirements and potential risks, and informed consent was obtained before the sensory evaluation.

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Acknowledgments

The authors thank the Sistema Nacional de Investigadoras e Investigadores (SNII-CONAHCyT) and the Universidad Autónoma del Estado de Hidalgo (UAEH) for their support in carrying out this research. The authors also extend their gratitude to the confectionery company that collaborated in this study for its valuable contribution. Finally, the authors dedicate this research to the memory of Santiago Ricardo Tomás Filardo Kerstupp (1945–2021).

Conflicts of Interest

The authors declare no conflicts of interest, including those related to the confectionery company.

References

  1. de Jesús González-Otamendi, M.; Pérez-Flores, J.G.; Contreras-López, E.; Soto-Vega, K.; García-Curiel, L.; Pérez-Escalante, E.; Islas-Martínez, D.; Jijón, C.Á.; Portillo-Torres, L.A. Uso de Polioles en la Industria de la Confitería. Cienc. Lat. 2024, 8, 499–528. [Google Scholar] [CrossRef]
  2. Hartel, R.W.; Von Elbe, J.H.; Hofberger, R. (Eds.) Jellies, Gummies and Licorices. In Confectionery Science and Technology; Springer International Publishing: Cham, Switzerland, 2018; pp. 329–359. Available online: https://link.springer.com/chapter/10.1007/978-3-319-61742-8_12 (accessed on 10 August 2024).
  3. Fragoso, B.Y.S.A.; Curiel, L.G.; Flores, J.G.P.; López, E.C.; Escalante, E.P.; Torres, L.A.P.; Olivares, L.G.G.; Ávila, M.B.; Godínez, J.R. Gomitas: Revisión de sus Ingredientes, Proceso de Elaboración, Estabilidad, Vida Útil y Tendencias del Mercado. Cienc. Lat. 2024, 8, 7512–7543. [Google Scholar] [CrossRef]
  4. Gómez Ramírez, M.M.; Sánchez Orozco, N.E. (Eds.) Productos gelificados y aireados. In Confitería: De lo artesanal a la Tecnología; Universidad Autónoma de Aguascalientes: Aguascalientes, Mexico, 2011; pp. 179–209. [Google Scholar]
  5. Ge, H.; Wu, Y.; Woshnak, L.L.; Mitmesser, S.H. Effects of hydrocolloids, acids and nutrients on gelatin network in gummies. Food Hydrocoll. 2021, 113, 106549. [Google Scholar] [CrossRef]
  6. Squeo, G.; De Angelis, D.; Leardi, R.; Summo, C.; Caponio, F. Background, Applications and Issues of the Experimental Designs for Mixture in the Food Sector. Foods 2021, 10, 1128. [Google Scholar] [CrossRef]
  7. Kayacier, A.; Yüksel, F.; Karaman, S. Simplex lattice mixture design approach on physicochemical and sensory properties of wheat chips enriched with different legume flours: An optimization study based on sensory properties. LWT-Food Sci. Technol. 2014, 58, 639–648. [Google Scholar] [CrossRef]
  8. Plustea, L.; Dossa, S.; Dragomir, C.; Cocan, I.; Negrea, M.; Obistioiu, D.; Poiana, M.A.; Voica, D.; Berbecea, A.; Alexa, E. Comparative Study of the Nutritional, Phytochemical, Sensory Characteristics and Glycemic Response of Cookies Enriched with Lupin Sprout Flour and Lupin Green Sprout. Foods 2024, 13, 656. [Google Scholar] [CrossRef] [PubMed]
  9. Akonor, P.T. Optimization of a fruit juice cocktail containing soursop, pineapple, orange and mango using mixture design. Sci. Afr. 2020, 8, e00368. [Google Scholar] [CrossRef]
  10. Rad, A.H.; Pirouzian, H.R.; Toker, O.S.; Konar, N. Application of simplex lattice mixture design for optimization of sucrose-free milk chocolate produced in a ball mill. LWT 2019, 115, 108435. [Google Scholar]
Figure 1. A 15-point augmented simplex-lattice mixture design to evaluate the effects of citric acid (x1), malic acid (x2), and fumaric acid (x3).
Figure 1. A 15-point augmented simplex-lattice mixture design to evaluate the effects of citric acid (x1), malic acid (x2), and fumaric acid (x3).
Blsf 40 00041 g001
Figure 2. Contour and effect (Piepel direction) plots indicating the effect of citric acid (x1), malic acid (x2), and fumaric acid (x3) levels on lemon-flavored gummy candies sensory attributes: sourness level (a), flavor level (b), overall acceptance level (c), and combined level (d).
Figure 2. Contour and effect (Piepel direction) plots indicating the effect of citric acid (x1), malic acid (x2), and fumaric acid (x3) levels on lemon-flavored gummy candies sensory attributes: sourness level (a), flavor level (b), overall acceptance level (c), and combined level (d).
Blsf 40 00041 g002
Table 1. Experimental design and mass fraction of the three acids used in the formulation of lemon-flavored gummy candies according to the simplex–lattice mixture design.
Table 1. Experimental design and mass fraction of the three acids used in the formulation of lemon-flavored gummy candies according to the simplex–lattice mixture design.
x1x2x2Mix IndexCitric Acid (g) *Malic Acid (g) *Fumaric Acid (g) *
00110015
00.250.75203.7511.25
00.50.5307.57.5
00.750.254011.253.75
01050150
0.2500.7563.75011.25
0.250.250.573.753.757.5
0.250.50.2583.757.53.75
0.250.75093.7511.250
0.500.5107.507.5
0.50.250.25117.53.753.75
0.50.50127.57.50
0.7500.251311.2503.75
0.750.2501411.253.750
100151500
* The mass fractions of citric acid, malic acid, and fumaric acid were adjusted according to the simplex–lattice mixture design to optimize the sourness, flavor, and overall acceptance of the lemon-flavored gummy candies.
Table 2. Comparative analysis of polynomial models for sourness, flavor, overall acceptance, and combined attributes in lemon-flavored gummy candies.
Table 2. Comparative analysis of polynomial models for sourness, flavor, overall acceptance, and combined attributes in lemon-flavored gummy candies.
ResponsePolynomial EquationR2R2-AdjustedF-StatisticAIC *BIC *
Sourness levely = 79.53x1 + 92.96x2 + 71.74x3 + 0.02x1x2 + 34.02x1x3 − 8.26x2x3 + 295.70x1x2x30.9950.990208.5111.798116.754
Flavor level y = 83.70x1 + 87.20x2 + 92.77x3 − 19.27x1x2 + 3.02x1x3 − 26.41x2x3 + 145.78x1x2x30.9970.994385102.974107.930
Overall Acceptance levely = 109.47x1 + 117.75x2 + 103.39x3 + 18.77x1x2 + 27.63x1x3 − 21.51x2x3 + 81.19x1x2x30.9930.987163.2123.807128.763
Combined levely = 90.90x1 + 99.30x2 + 89.30x3 − 0.16x1x2 + 21.56x1x3 − 18.73x2x3 + 174.22x1x2x30.9980.99762498.484103.440
* AIC = Akaike Information Criterion; BIC = Bayesian Information Criterion.
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.

Share and Cite

MDPI and ACS Style

Cruz-Enriquez, J.A.; García-Curiel, L.; Pérez-Flores, J.G.; Contreras-López, E.; Pérez-Escalante, E.; Soto-Vega, K.; Bautista-Ávila, M.; Ángel-Jijón, C.; Ramírez-Godínez, J. Lemon-Flavored Gummy Candies: Sourness, Flavor and Overall Acceptance Optimization Using Lattice-Simplex Mixture Design Implemented with Python Programming Language. Biol. Life Sci. Forum 2024, 40, 41. https://doi.org/10.3390/blsf2024040041

AMA Style

Cruz-Enriquez JA, García-Curiel L, Pérez-Flores JG, Contreras-López E, Pérez-Escalante E, Soto-Vega K, Bautista-Ávila M, Ángel-Jijón C, Ramírez-Godínez J. Lemon-Flavored Gummy Candies: Sourness, Flavor and Overall Acceptance Optimization Using Lattice-Simplex Mixture Design Implemented with Python Programming Language. Biology and Life Sciences Forum. 2024; 40(1):41. https://doi.org/10.3390/blsf2024040041

Chicago/Turabian Style

Cruz-Enriquez, Jorge Adahir, Laura García-Curiel, Jesús Guadalupe Pérez-Flores, Elizabeth Contreras-López, Emmanuel Pérez-Escalante, Karla Soto-Vega, Mirandeli Bautista-Ávila, Carlos Ángel-Jijón, and Juan Ramírez-Godínez. 2024. "Lemon-Flavored Gummy Candies: Sourness, Flavor and Overall Acceptance Optimization Using Lattice-Simplex Mixture Design Implemented with Python Programming Language" Biology and Life Sciences Forum 40, no. 1: 41. https://doi.org/10.3390/blsf2024040041

APA Style

Cruz-Enriquez, J. A., García-Curiel, L., Pérez-Flores, J. G., Contreras-López, E., Pérez-Escalante, E., Soto-Vega, K., Bautista-Ávila, M., Ángel-Jijón, C., & Ramírez-Godínez, J. (2024). Lemon-Flavored Gummy Candies: Sourness, Flavor and Overall Acceptance Optimization Using Lattice-Simplex Mixture Design Implemented with Python Programming Language. Biology and Life Sciences Forum, 40(1), 41. https://doi.org/10.3390/blsf2024040041

Article Metrics

Back to TopTop