Previous Article in Journal
Machine Learning for Causal Inference in Hospital Diabetes Care: TMLE Analysis of Selection Bias in Diabetic Foot Infection Treatment—A Cautionary Tale
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Mathematical Modeling Approach to Estimate Blood Glucose Behavior in Individuals with Prediabetes

by
Alexis Alonso-Bastida
1,2,
Dolores Azucena Salazar-Piña
3,*,
Manuel Adam-Medina
2,*,
Lourdes Gutiérrez-Xicotencatl
4,
Christian Ríos-Enríquez
2,
Margarita Ramos-García
3 and
Daniel Villanueva-Vásquez
5
1
Centro de Investigación en Salud Poblacional, Instituto Nacional de Salud Pública, Cuernavaca 62100, Morelos, Mexico
2
Departamento de Ingeniería Electrónica, TecNM/CENIDET, Interior Internado Palmira S/N, Palmira, Cuernavaca 62490, Morelos, Mexico
3
Facultad de Nutrición, Universidad Autónoma del Estado de Morelos, Cuernavaca 62350, Morelos, Mexico
4
Centro de Investigación Sobre Enfermedades Infecciosas, Instituto Nacional de Salud Pública, Cuernavaca 62100, Morelos, Mexico
5
Tecnológico Nacional de México, Instituto Tecnológico de Toluca, Av. Tecnológico s/n, Colonia Agrícola Bellavista, Metepec 52149, Estado de Mexico, Mexico
*
Authors to whom correspondence should be addressed.
Diabetology 2025, 6(11), 123; https://doi.org/10.3390/diabetology6110123
Submission received: 26 August 2025 / Revised: 20 October 2025 / Accepted: 22 October 2025 / Published: 29 October 2025

Abstract

Background: Glucose homeostasis is a crucial physiological process, and its disruption is closely linked to the onset of Type 2 Diabetes Mellitus (T2DM), a major global health issue. Objective: This study presents a novel mathematical model to describe glucose dynamics in both healthy individuals and those with prediabetic risk factors. Methods: We analyzed 311 days of continuous glucose monitoring data from 43 participants (14 healthy and 29 at risk, aged 25–55), using a Dual Extended Kalman Filter to estimate parameters and unmeasurable variables, while accounting for parametric variability. We applied the Levenberg–Marquardt algorithm to minimize estimation error. Results: Based on average parameter values and standardized inputs, 311 simulations were conducted, showing strong agreement with experimental data (r = 0.98, p < 0.01). Conclusions: The model provides an accurate representation of glucose regulation and serves as a valuable in-silico tool for advancing preventive strategies against T2DM, marking one of the first models specifically tailored to individuals with prediabetes.

Graphical Abstract

1. Introduction

Glucose homeostasis is a vital self-regulatory process that maintains blood glucose concentrations within a narrow physiological range, thereby preventing hyperglycemia and hypoglycemia [1]. This balance is primarily regulated by two counter-regulatory hormones: insulin, secreted in response to elevated glucose levels to promote its decrease [2], and glucagon, released when concentrations fall below basal levels to induce an increase in glucose [3]. The main exogenous alteration of this system is dietary intake, particularly carbohydrates, which causes acute elevations in blood glucose [4,5]. Other factors, including physical activity [6], psychological stress [7], and hormonal factors [8], can lead to sustained alterations in glycemic dynamics. Persistent dysregulation of this balance, driven by these exogenous factors, may compromise the homeostatic system, resulting in a wide spectrum of complications [9,10] and an increased risk of non-transmissible chronic diseases [11,12].
Type 2 Diabetes Mellitus (T2DM) is a chronic degenerative metabolic disease characterized by impaired glucose homeostasis and persistently elevated blood glucose levels [13,14]. Its progression is associated with multiple comorbidities that diminish life quality and require ongoing treatment. This impacts the economic burden of the disease, with an estimated annual individual cost of between 1583 and 2842 USD [15], which strains public health systems worldwide. In 2019, regions with the highest disease prevalence reported healthcare expenditures ranging from 52.3 to 294.6 billion USD [16,17]. These costs are expected to increase in parallel with the global rise in diabetes prevalence, which reached 536.6 million cases in 2021 and continues to grow [18]. Therefore, developing effective prevention strategies is essential to mitigate both the health and economic impacts of this disease.
Within diabetes prevention, various strategies have been developed to reduce the prevalence of the disease in society. These include the promotion of healthy eating habits [19], lifestyle modifications [20], and, in some countries, the implementation of front-of-package labeling of processed foods containing excessive amounts of compounds harmful to metabolic health [21]. Mathematical models have long been used to explore glucose-insulin dynamics [22], from population-based simulations predicting disease incidence to individual-level models supporting insulin therapy [23]. However, few models have focused on capturing glucose homeostasis in individuals at the prediabetes stage a critical window for prevention integrating real interstitial glucose data into parameter estimation frameworks. For instance, Ha et al. [24] developed a model that simulates the deterioration of metabolic function leading to T2DM, demonstrating how deficient insulin secretion accelerates disease progression. Using intelligent techniques, Omana et al. [25] proposed a predictive model to estimate the risk of developing T2DM, intending to support early prevention and improve community health outcomes. Similarly, Alonso-Bastida et al. [26] built virtual patients based on glucose homeostasis models of healthy individuals to generate glycemic profiles for the Mexican population, considering dietary habits and consumption patterns. They also evaluated the feasibility of implementing sustainable and healthy diets among at-risk groups in Mexico [27].
Mathematical models of glucose homeostasis are also used as tools to support glycemic control in patients dependent on exogenous insulin. These models provide information on the interaction between food intake and insulin infusion, allowing for the calculation of appropriate insulin doses to prevent hypoglycemic episodes [28]. The study compared directly measured HbA1c with calculated HbA1c, obtained using the formula of Misquith et al. [29]: HbA1c = 2.6 + 0.03 × FBS (mg/dL). Data distribution was assessed using the Kolmogorov–Smirnov test, which indicated non-normality and justified the use of non-parametric methods. Spearman analysis showed strong correlations between calculated HbA1c, calculated average glucose (AG), and estimated average glucose with their measured counterparts. The Wilcoxon signed-rank test revealed a significant difference between calculated and measured HbA1c (Z = −9.49; p < 0.0001). Furthermore, Bablok regression demonstrated significant deviation from linearity, suggesting systematic disagreement between the two methods. In this context, Orozco-López et al. [30] proposed a methodology for generating virtual patients with type 1 diabetes mellitus (T1DM), enhancing individual variability and offering an alternative approach to optimize insulin dosage and improve treatment efficiency. Mughal et al. [31] compared several control strategies based on Hovorka’s glucose homeostasis model in individuals with T1DM [32], evaluating the robustness of glycemic regulation under different exogenous insulin dosing protocols. All these differences highlight the need for health sectors to develop effective strategies for the prevention and management of T2DM.
From a mathematical perspective, modeling glucose homeostasis provides a useful framework for exploring the dynamics of metabolic regulation and early dysregulation. In this study, we developed a simplified but physiologically consistent model describing glucose regulation in healthy and prediabetic individuals, using interstitial glucose measurements to better capture early metabolic alterations. The proposed model is intended to support in-silico experimentation and guide public health strategies aimed at preventing Type 2 Diabetes Mellitus. To accomplish this, it incorporates a Dual Extended Kalman Filter (DEKF) for dynamic parameter estimation, improving interpretability and robustness in simulating glucose–insulin interactions compared with previous approaches.

2. Materials and Methods

  • Experimental Protocol in Human Subjects: All procedures involving human participants complied with the Declaration of Helsinki, the Belmont Report, and national regulations. The study protocol was reviewed and approved by the Ethics Committee of the Faculty of Medicine, Universidad Autónoma del Estado de Morelos (Approval Code: CONBIOETICA-17-CEI-003-201-81112). Recruitment took place between August 2022 and August 2023. Informed consent was obtained from all participants, and personal data was anonymized and securely stored. Additional details on ethical and methodological procedures are provided in Supplementary Materials, Section S1.
  • Experimental tests: Participants were selected and classified according to their fasting capillary glucose levels: those with values below 100 mg/dL were considered normoglycemic, while levels between 100–126 mg/dL indicated prediabetes [33]. Selected participants underwent anthropometric and body composition assessments and were implanted with an interstitial glucose sensor to allow continuous monitoring of glucose levels.
  • Mathematical modeling: To start the model, a mathematical representation of glucose homeostasis was generated. Using experimental data, glucose signals were processed, and key model parameters and variables were estimated. Local minima for these parameters were then calculated, and the model was validated using correlation and error analyses, comparing measured values with model approximations.

2.1. Instrumentation

An interstitial continuous glucose monitoring (CGM) system (FreeStyle Libre, Abbott®; Witney, UK) was used to obtain constant glucose measurements. Body measurements were carried out by using a segmental bioimpedance scale (BC-545 Segmental, Tanita®, Tokyo, Japan) and a stadiometer. Additionally, for capillary glucose measurement, the Accu-Check Instant system (Roche®, Mannheim, Germany) was used. Finally, a food intake and physical activity diary was used to count macronutrients and the intensity of physical activity performed.

2.2. Study Population

Participants were classified into two groups based on their glycemic status and associated health indicators. The first group consisted of 14 individuals (5 women and 9 men), aged 25 to 55 years, with no prior diagnosis of diabetes or chronic degenerative diseases, who maintained constant glucose levels below 170 mg/dL throughout the day. These participants were classified as having a healthy weight based on body mass index (BMI) criteria (18.5–24.9 kg/m2). The second group included 29 individuals (16 women and 13 men), also aged 25 to 55 years, who presented metabolic risk factors and daily peak glucose levels below 200 mg/dL [33]. This group was classified as overweight, defined as a BMI of 25.0–29.9 kg/m2 for both genders. Group categorization was based on current clinical standards for glucose monitoring and BMI classification. Throughout the study, person-centered and non-stigmatizing language was consistently used when describing participant groups.

2.3. Mathematical Representation

The proposed glucose homeostasis dynamics for individuals with prediabetes and without diagnosed diabetes are based on Bergman’s minimal model and adapted by Kaveh et al. [34]. Our model introduces mathematical and parametric adjustments to improve simplicity and fidelity. The model consists of four components: (1) plasma glucose concentration, (2) insulin-induced glucose reduction, (3) plasma insulin concentration, and (4) interstitial glucose concentration (Figure 1). Parameter definitions are provided in the Nomenclature section.
Equation (1) captures the rate of change in plasma glucose G ( t ) , integrating its return to a set-point G s t ( t ) , insulin-mediated uptake X ( t ) , and glucose input from carbohydrate ingestion G i n t ( t ) . Equation (2) models insulin action X ( t ) as a function of its decay and stimulation by deviations in plasma insulin I ( t ) from basal levels I b . Equation (3) describes insulin secretion and clearance, driven by glucose levels exceeding a threshold h and modulated by time. Finally, Equation (4) represents the rate of change in the interstitial glucose G s c ( t ) , which adjusts toward plasma glucose with a delay determined by k s c .
G ˙ t = p 1 G t G s t t X t G t + p 4 G i n t ( t ) ;
X ˙ t = p 2 X t + p 3 I t I b ;
I ˙ t = η I t I b + γ G t h t ;
G ˙ s c t = k s c G t G s c t .

2.3.1. Steady-State Glucose Variation

Glucose homeostasis in humans is regulated by complex physiological mechanisms that prevent plasma glucose levels from remaining strictly at basal concentrations throughout the day. These fluctuations are influenced by endogenous rhythms, particularly the circadian cycle, which modulates metabolic activity over the course of 24 h. To account for this, we define the steady-state glucose term G s t ( t ) , which incorporates both the basal glucose level G b and the time-dependent variation induced by circadian influences G c t , as described by Mansell et al. [35]. This relationship is expressed mathematically in Equation (5).
G s t t = G b + G c t .

2.3.2. Circadian Cycle Effect

The circadian component G c ( t ) captures the endogenous variation in glucose levels driven by biological rhythms that regulate hormonal secretion, insulin sensitivity, and hepatic glucose production. This effect is modeled using a third-degree polynomial that describes glucose dynamics over a full day (0 ≤ t ≤ 1440 min). For simulations extending beyond 24 h, the time variable t is reset at the start of each new day to preserve periodicity. The circadian variation is defined in Equation (6).
G c t = g 1 t 3 + g 2 t 2 + g 3 t + g 4 ;
To evaluate the impact of inter-individual biological variability, a sensitivity analysis of the circadian parameters g 1 , …, g 4 is presented in Supplementary Materials, Section S5, illustrating how their variation within plausible physiological ranges affects glucose dynamics across simulated subjects.

2.3.3. Digestion Dynamics

In glucose–insulin system modeling, nutrient intake is typically represented by carbohydrate absorption, often approximated by an exponential decay function [36,37]. However, the human homeostatic response to feeding involves subtle physiological phenomena, such as variability in gastric emptying, changes in eating-related behaviors, and other factors that disrupt average postprandial glucose patterns, including oscillatory dynamics [38,39,40]. These effects are difficult to capture explicitly, but they can significantly influence glucose regulation. To explain this, we propose a novel formulation of the digestion effect, modeled as an underdamped oscillatory signal modulated by a Gaussian envelope f G ( t ) , as shown in Equation (7).
G i n t t = k I n t · I n t a k e ( t ) · 2 t I s i n s i n   t I 2 · c o s c o s   1 t I 2 c o s c o s   t I 2 · s i n s i n   ( 1 ) t I k s 1 + f G ( t )   ;
This equation provides an alternative approach to represent unmodeled regulatory effects that influence postprandial glucose variability. Its flexible structure supports digestion-related simulations and sensitivity analyses in intervention studies, where timing, magnitude, and response shape are critical. By adjusting k I n t , k s , and the form of f G ( t ) , we could variability and model robustness. A sensitivity analysis of Equation (7) is included in Supplementary Materials, Section S5, highlighting how parameter variation reflects inter-individual differences in digestive glucose dynamics.

2.3.4. Gaussian Function as Particularity Factor

The Gaussian function ( f G t ) modulates the digestion signal and can be included or omitted depending on the modeling objective. Its role is to introduce intake-specific variability, reflecting subtle differences in glucose absorption due to circadian timing and exogenous factors. This modulation allows amplification or attenuation of the postprandial glucose effect during the absorption window. The function is defined in Equations (8) and (9).
f G t = k a e t k b 2 2 k c 2 ;
t I = k t · t i n t a k e .
A sensitivity analysis of the Gaussian parameters is presented in Section S5, to explore how variations in k a , k b , and k c influence glucose responses across different intake scenarios.

2.4. Characterization Methodology

Given the experimental conditions and the complexity of the proposed model, certain parameters and variables are not directly measurable. To address this, we developed a characterization methodology that enables parametric estimation under these constraints:
1. Dynamics of the Effect of Digestion on the Glucose-Insulin System: The digestion process was represented by adapting the model proposed by Kaveh et al. [34], which treats carbohydrate uptake as a perturbation D ( t ) . Using daily glucose measurements and their oscillation minima, we derived D ( t ) and assumed it as the digestion effect G i n t ( t ) , capturing both dietary intake and homeostatic influences. This signal was used as input for characterizing our model. A detailed overview of the estimation process is provided in Supplementary Materials, Section S2.
2. Estimation of Non-Measurable Variables and Parameters of the Model: To address uncertainty in signals and parameters, the methodology of Alonso-Bastida et al. [41] was used, employing a Dual Extended Kalman Filter (DEKF) to estimate both system states and non-measurable parameters.
3. Generation of the Local Minimum in the Estimated Parameters: The Levenberg–Marquardt algorithm was used to identify the local minima of the estimated parameters, minimizing the error between model predictions and observed glucose dynamics. This step ensures the convergence of the estimation process and the stability of parameter values.
4. Validation of the Mathematical Model: We validated the model by comparing DEKF-estimated variables with measured glucose values, using error dynamics, performance indices, and Spearman’s rho correlation. The results were contrasted with the local minima of the estimated parameters to assess consistency and reliability.
5. Stability of the Mathematical Model: The stability of the nonlinear system was evaluated by using the Lyapunov theorem combined with Monte Carlo simulations, considering the upper and lower bounds of each model parameter.
This methodological framework constitutes the core contribution of the study. While the DEKF [42,43,44] and Levenberg–Marquardt [45,46,47] algorithms are well established in the literature, their integration within this modeling context provides a novel computational strategy to describe glucose homeostasis in healthy and prediabetic individuals. Full algorithmic details and implementation procedures are provided in Supplementary Materials, Section S3.

3. Results

3.1. Signal and Parameter Estimation

We used the DEKF methodology to estimate states and parameters under parametric uncertainty in nonlinear systems, incorporating digestion effects as an input to the glucose-insulin system. This approach uses a proposed mathematical model of glucose homeostasis to implement DEKF across both glucose profiles. The general DEKF conditions are as follows:
  • System Configuration for DEKF Estimation: The estimated states are x ^ T = [ G   X   I   G s c   ] , with parametric uncertainty addressed individually for each participant. For healthy individuals, the parameters are θ ^ H = [ p 1   p 4   p 2   p 3   η   γ   k s c   ] ; for those with prediabetes, θ ^ R F = [ p 1   p 4   p 2   p 3   η   γ   h   ] . The system input is u = G i n t , and measurable outputs are Y T = [ G   0   0   G s c   ] . Notably, since only interstitial glucose is measured, G ( t ) is considered with a 15-min lead relative to G s c ( t ) , following Stout et al. [48].
  • Observability Analysis and Model Conditioning: Perform observability analysis and adapt the nonlinear model to meet DEKF requirements.
  • Initialization of Estimation Conditions: Define initial states ( x o ), parameters ( θ o ), estimates ( x ^ o ,   θ ^ o ), noise covariance matrices ( v ,   ω ), sampling time ( t s ) and apply a truncated Taylor series expansion.
  • Iterative Estimation Procedure: Implement the DEKF update cycle based on the number of available system measurements.
Note: The application of DEKF within the system is described in detail in the Supplementary Materials, Sections S3 and S4.
Partial results from a healthy participant, as an example of the estimation of the glucose process, are presented in Figure 2 and organized into four sections. Section (a) shows the comparison between the measured interstitial glucose (blue line) and its DEKF-based estimation (red dashed line), demonstrating convergence between both signals. Section (b) complements this by illustrating the estimation error dynamics, which fluctuate near zero, further confirming convergence. Sections (c) and (d) display the temporal evolution of the estimated parameters “Insulin-independent constant rate” ( p 1 ) and “Ratio of plasma glucose to interstitial glucose” ( k s c ) during DEKF initialization, highlighting their variability over time.

3.2. Model Performance

We evaluated the model performance in two stages for both profiles (healthy and prediabetic). First, we assessed the accuracy of state estimation using DEKF and experimental data. Then, we evaluated how well the proposed model reproduced the system dynamics using the local minimum values of the estimated parameters.

3.2.1. Performance of State Estimation

Since only G ( t ) and G s c ( t ) are measurable, we evaluated the performance of their DEKF-based estimates using standard error rates for each profile. The applied metrics were the Integral of Absolute Error (IAE), Integral of Squared Error (ISE), and Mean Squared Error (MSE). Table 1, located in the section “Dual Extended Kalman Filter Estimation with Parameter Variation” summarizes the results, with MSE values ranging from 1.3 to 2.3 (mg/dL)2 for both estimates across profiles. These results indicate that the estimation is appropriate given the experimental conditions.

3.2.2. Model Performance with Local Minimum Values

To ensure good model performance, we accounted for the high parametric variability over time observed in Figure 2. We applied the Levenberg–Marquardt algorithm to identify the local minima of each estimated parameter, yielding optimal values for approximating glycemic behavior using a model with constant parameters. We evaluated model performance by comparing its response—using the locally optimized parameters and the same input signal G i n t ( t ) —with the state estimates from DEKF ( G ^ ,   X ^ ,   I ^ ,   G ^ s c ) for both profiles.
Table 1, under the section “Estimation of the proposed model with local minimum values of the parameters” presents the results. As expected, the model with static parameters performs slightly worse than DEKF, with MSE differences of 9.5 (mg/dL)2 for G(t) in healthy individuals and 69.1 (mg/dL)2 in those with prediabetes. Nonetheless, these values are highly acceptable and adequately capture the system’s dynamics.

3.2.3. Comparative Analysis Between Measured Glucose

To compare the model with real-life behavior, we used experimental data and the average parameter values calculated for each profile to simulate the system. Each simulation scenario incorporated the same intake conditions (previously determined, see Supplementary Materials, Section S2) and the corresponding average parameter values. The simulated results were compared with daily measurements, using the average glucose level for each day as a reference. Figure 3 presents the outcomes, highlighting three key aspects of the comparative analysis.
  • The first aspect highlights the real-time comparison between daily glucose measurements and model-based estimations. Panels “a” and “d” show the measured glucose (blue line) and the estimated signal (orange dashed line), selected based on median performance indices. These examples demonstrate the model’s fidelity, with only minor underestimation.
  • The second aspect, shown in panels “b” and “e,” illustrates the error dynamics between measurement and estimation. These results confirm the model’s predictive capacity, with the largest deviations—typically triggered by intake events—ranging from 5 to 20 mg/dL across both profiles.
  • The third aspect, shown in panels “c” and “f,” evaluates the model’s effectiveness across measurement days by comparing average glucose values from the measurements and estimates. This approach assesses the cumulative estimation error and reveals a strong positive correlation: Spearman’s r = 0.9839, p < 0.01 for healthy individuals, and r = 0.9851, p < 0.01 for those with prediabetes. We calculated correlations using MATLAB’s (version R2023b) “corr (‘Type’, ’Spearman’)” function.

3.3. Local Minima of Model Parameters

We applied the Levenberg–Marquardt algorithm to obtain the local minimum values for each parameter in the proposed model, ensuring system stability. For parameters related to feeding effects and circadian rhythms, we used MATLAB’s “Curve Fitting” tool to optimize each value. Table 2 summarizes all model parameters, including their average, minimum, and maximum values across samples. Columns 3 and 4 present the numerical results for healthy individuals and those with prediabetes, respectively.

3.4. Stability of the Mathematical Model

In this work, we use the Levenberg-Marquardt method to compute the local minimum values of the model parameters. These optimized values ensure the stability of the nonlinear system, and we validated this stability using the Lyapunov theorem for nonlinear dynamics.
Theorem 1
(Indirect Method, [48]). Let the origin  x = 0  be an equilibrium point of the nonlinear system  x ˙ = f ( x ) , where  f : D R n   is a continuously differentiable function and  D R n  is a neighborhood of the origin. Let
A = f ( x ) x | x = 0
Then, the origin is asymptotically stable if all the eigenvalues of A have a negative real part. The origin is UNSTABLE if one or more eigenvalues of A have a positive real part.
We followed the formal proof outlined by Hassan [49] and implemented a Monte Carlo methodology [50] to evaluate the system’s stability under parametric uncertainty. Using normally distributed variations bounded by the minimum and maximum values of each parameter, we generated 100,000 scenarios per profile. In all cases, the system’s eigenvalues had negative real parts (ranging from −0.2271 to −0.0470), confirming asymptotic stability across all simulations.

3.5. Comparative Analysis Between Measured Glucose Profiles and Model Simulation

We conducted a graphical comparison between glucose measurements from healthy and prediabetic individuals, arranging the simulation results of the proposed model into three panels (Figure 4): the first two graphs show measured glucose levels (gray lines) for each group, in contrast to the model simulation (black dashed line), which assumes three standardized intakes at hours 7.5, 13, and 21, each with 250 g of carbohydrates. We modeled the dietary effect using Equations (7)–(9) and illustrated in the lower panel. In this part, the model evaluates the performance under average population conditions, defined by the 5th and 95th percentile glucose levels (healthy: 77.09–125.59 mg/dL; prediabetic: 81.97–140.65 mg/dL). The simulation remains within these bounds most of the time, except during brief drops caused by intake effects, indicating acceptable performance within the expected variability of real-life measurements.

4. Discussion

The increasing number of T2DM cases worldwide places a significant economic burden on public health systems, highlighting the need to understand glucose homeostasis for effective prevention and intervention. In this work, we propose a mathematical model that estimates the average glucose–insulin dynamics in healthy and prediabetic individuals. Inspired by Bergman’s formulation [51], our model integrates the effects of circadian rhythms and digestion on blood glucose regulation.
The proposed model shows strong versatility in representing glycemic profiles of both healthy and prediabetic individuals, due to its parametric flexibility. This represents a significant advance in glucose homeostasis modeling, as it includes prediabetic dynamics for the first time. Similar to Bergman’s minimal model [51], it can now estimate glycemic variation in healthy, prediabetic, and T1DM populations, demonstrating that a relatively simple structure can generate accurate predictions. This is supported by an average Spearman correlation of r = 0.98, interpreted cautiously due to the limited sample size.
The proposed model maintains a high degree of mathematical simplicity, consisting of four differential equations and three algebraic relations to account for food intake. In contrast, analogous models in the literature are more complex: Dalla et al. [52] use 12 equations for healthy individuals; López-Palau et al. [53] and Visentin et al. [54] present models for T2DM with 28 and 14 equations, respectively; and for T1DM, Hovorka et al. [32] and Visentin et al. [55], used 9 and 16 differential equations. While more equations allow for richer dynamics, glucose and insulin concentrations remain the essential variables for guiding decisions related to glucose homeostasis. This underscores the value of simpler mathematical alternatives that enable rapid and efficient decision-making.
The robustness of the proposed model stems from key additions to classical formulations. We modeled the circadian cycle effect, previously introduced by Mansell et al. [35] using triangular functions, with a polynomial based on minimum glucose values at each time point—offering a simpler yet effective representation of daily glucose settling. Additionally, the incorporation of food intake dynamics significantly enhances model robustness. In healthy and prediabetic individuals, glucose exhibits underdamped oscillatory behavior due to autoregulatory processes not captured in prior models. This pattern is aligns with previously reported observations [40].
However, the model has limitations. We developed the model using a small population sample, which may not fully capture the heterogeneity of prediabetes phenotypes [56,57]. We estimated glucose concentrations from interstitial glucose measurements, which inherently present a temporal delay of approximately 13.5 min relative to blood glucose levels [58]. This delay introduces uncertainty in the characterization of rapid glycemic changes, particularly postprandial responses [59]. Furthermore, the estimation and characterization methodology relies on average dynamics and parametric fitting, which, while effective for population-level modeling, may not reflect individual variability or transient physiological adaptations.
Regarding the analysis performed, we demonstrate that the proposed model offers a high degree of specificity compared to existing literature, due to its mathematical structure and applicability in various glucose-related contexts. The model presents several distinctive contributions to the study of glucose homeostasis:
-
Robust extension of the classical Bergman representation
-
Mathematical simplicity that enables fast and efficient decision-making
-
Novel integration of dietary intake effects on the glucose–insulin system
-
Flexibility to generate individualized dynamics for virtual patients and populations

5. Conclusions

This study presents a new mathematical model that delineates glucose homeostasis in both healthy and prediabetic individuals, a group often underrepresented in existing modeling approaches. The model demonstrated a strong fit with experimental data (r = 0.98, p < 0.01), supporting its potential to capture key aspects of glucose regulation. Nonetheless, the results should be interpreted with caution given the limited sample size and the use of interstitial glucose data, which inherently involves an approximate 15-min delay relative to plasma glucose levels.
A major strength of this work lies in the integration of a Dual Extended Kalman Filter (DEKF), enabling the model to estimate parameters and minimize prediction error in real time. This feature improves the model’s ability to represent physiological glucose dynamics and offers a practical platform for in-silico experimentation. Beyond its computational contribution, this approach can inform predictive and preventive strategies against Type 2 Diabetes Mellitus. Further research with larger cohorts will help validate and extend its clinical applicability.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/diabetology6110123/s1. Table S1: Characteristics of the experimental protocol; Figure S1: Workflow of the proposed methodology for glucose–insulin model development; Figure S2: Processing of the digestion effect in the glucose–insulin model; Figure S3: Signal filtering applied to glucose measurements; Figure S4: Temporal variation of minimum glucose concentrations across individual profiles; Figure S5: Workflow for calculating the digestion effect in the glucose–insulin system; Figure S6: Sensitivity analysis of the cubic coefficient g1; Figure S7: Sensitivity analysis of the quadratic coefficient g2; Figure S8: Sensitivity analysis of the linear coefficient g3; Figure S9: Sensitivity analysis of the constant offset g4; Figure S10: Sensitivity analysis of the carbohydrate intake coefficient (kint); Figure S11: Sensitivity analysis of the digestion scaling exponent (ks); Figure S12: Sensitivity analysis of the digestion time constant (kt) [47,48,49,60,61,62,63,64].

Author Contributions

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

Funding

The research received financial support from CONACYT (project number 320155) and TecNM (project numbers 14002.22P and 14003.22P).

Institutional Review Board Statement

This research was conducted following the Mexican Official Standard NOM-012-SSA3-2012. Establishes the criteria for conducting human health research projects in Mexico. We considered the International Guidelines for Research (CIOMS), the Nuremberg Code, and the Declaration of Helsinki. This article results from a pilot study conducted at the Nutrition and Food Guidance Clinic of the Faculty of Nutrition of the Autonomous University of Morelos State. People attending nutritional consultations were invited to voluntarily participate in the study. We explained to each one the scope of the research, and they signed a letter of informed consent for the use of their sociodemographic and biometric data determined in the clinic. No substances or medications were administered in this study. The authors declare that the project “Development of Mathematical Models for Follow-up and Control in Patients with Diabetes Mellitus” was approved by the Research Commission and the Bioethics Committee of the Faculty of Medicine of the Autonomous University of Morelos State (CONBIOETICA-17-CEI-003-201-81112) on 16 June 2022.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The original contributions presented in this study are included in the article/Supplementary Materials. Further inquiries can be directed to the corresponding author(s).

Acknowledgments

The development of this project was supported by the National Council of Science and Technology (CONACYT), the National Technological Institute of Mexico (TecNM)/CENIDET, and the Clinic of Nutrition and Food Guidance of the Faculty of Nutrition of the UAEM.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
BGCBlood glucose concentration
IGCInterstitial glucose concentration
DEKFDual Extended Kalman Filter
IAEIntegral of absolute error
ISEIntegral of squared error
MSEMean square error
T1DMType 1 Diabetes Mellitus
T2DMType 2 Diabetes Mellitus
SymbolUnitsDescription
System states
G ( t ) m g / d L Blood glucose concentration
X ( t ) 1 / m i n Effect of glucose lowering by insulin action
I ( t ) m U / d L Plasma insulin concentration
G s c ( t ) m g / d L Interstitial glucose concentration
Algebraic relationships
G s t t m g / d L Glucose concentration at steady state
G c ( t ) m g / d L Effect of the circadian cycle on glucose
System inputs
G i n t ( t ) m g / d L Effect of diet on insulin-glucose variation
System parameters
G b mg/dLBasal glucose concentration
I b m U / d L Basal insulin concentration
p 1 1 / m i n Insulin-independent constant rate
p 2 1 / m i n Rate of decrease in tissue glucose uptake ability
p 3 ( μ U m L ) m i n 2 Insulin-dependent increase
p 4 1 / m i n Relationship between the effect of feeding on plasma glucose
γ ( μ U m L ) m i n 2 ( m g d L ) Insulin release rate by β-cells
η 1 m i n First-order decay rate of insulin in blood
h mg/dLGlucose threshold in β-cell secretion
k s c 1 / m i n Ratio of plasma glucose to interstitial glucose
k s ( )Proportionality of the oscillatory signal
k t 1 / m i n Constant rate of the effect of food on glucose-insulin
k I n t 1 / d L Ratio between carbohydrates consumed and the effect on the glucose-insulin system
g 1 m g ( d L · m i n 3 ) Polynomial coefficient 1 of the effect of the circadian cycle on glucose variation
g 2 m g ( d L · m i n 2 ) Polynomial coefficient 2 of the effect of the circadian cycle on glucose variation
g 3 m g ( d L · m i n ) Polynomial coefficient 3 of the effect of the circadian cycle on glucose variation
g 4 m g / d L Polynomial coefficient 4 of the effect of the circadian cycle on glucose variation
I n t a k e gCarbohydrates consumed
k a m g / d L Bell crest in the Gaussian function
k b m i n Center of the bell in the Gaussian function
k c m i n Standard deviation in the bell of the Gaussian function
t minTime
DEKF and Levenberg-Marquardt
x -States (System variables)
θ -Parameters to estimated
x ^ , θ ^ -State and parameter estimate
Q , R -Noise matrices in measurements and the system
P -Covariance Error Matrices
K -Kalman gain
t s -Sampling time
A , C -Jacobians in relation to x ^ j , k 1 ,   θ ^ j , k 1
T -Transpose
t o l -Tolerance
I t e m a x -Maximum number of iterations
μ -Combination coefficient
J -Jacobians in relation to θ ^ i
e -Error between measurements and estimations

References

  1. Kusunoki, Y.; Konishi, K.; Tsunoda, T.; Koyama, H. Significance of Glycemic Variability in Diabetes Mellitus. Intern. Med. 2022, 61, 281–290. [Google Scholar] [CrossRef]
  2. Taylor, S.I.; Yazdi, Z.S.; Beitelshees, A.L. Pharmacological treatment of hyperglycemia in type 2 diabetes. J. Clin. Investig. 2021, 131, e142243. [Google Scholar] [CrossRef]
  3. Stinson, S.E.; Jonsson, A.E.; de Retana Alzola, I.F.; Lund, M.A.V.; Frithioff-Bojsoe, C.; Aas Holm, L.; Fonvig, C.E.; Pedersen, O.; Angquist, L.; Sorensen, T.I.A.; et al. Hyperglucagonemia in Pediatric Adiposity Associates with Cardiometabolic Risk Factors but Not Hyperglycemia. J. Clin. Endocrinol. Metab. 2022, 107, 1569–1576. [Google Scholar] [CrossRef] [PubMed]
  4. Hatamoto, Y.; Tanoue, Y.; Yoshimura, E.; Matsumoto, M.; Hayashi, T.; Ogata, H.; Tanaka, S.; Tanaka, H.; Higaki, Y. Delayed Eating Schedule Raises Mean Glucose Levels in Young Adult Males: A Randomized Controlled Cross-Over Trial. J. Nutr. 2023, 153, 1029–1037. [Google Scholar] [CrossRef] [PubMed]
  5. Hu, Y.; Zhang, P.; Ding, B.; Cao, X.; Zhong, Y.; Lee, K.O.; Ma, J.H. Response of blood glucose and GLP-1 to different food temperature in normal subject and patients with type 2 diabetes. Nutr. Diabetes 2022, 12, 28. [Google Scholar] [CrossRef] [PubMed]
  6. Trim, W.V.; Walhin, J.P.; Koumanov, F.; Turner, J.E.; Shur, N.F.; Simpson, E.J.; Macdonald, I.A.; Greenhaff, P.L.; Thompson, D. The impact of physical inactivity on glucose homeostasis when diet is adjusted to maintain energy balance in healthy, young males. Clin. Nutr. 2023, 42, 532–540. [Google Scholar] [CrossRef]
  7. Sunena; Mishra, D.N. Stress Etiology of Type 2 Diabetes. Curr. Diabetes Rev. 2022, 18, e240222201413. [Google Scholar] [CrossRef]
  8. Eom, Y.S.; Wilson, J.R.; Bernet, V.J. Links between Thyroid Disorders and Glucose Homeostasis. Diabetes Metab. J. 2022, 46, 239–256. [Google Scholar] [CrossRef]
  9. Ceriello, A. Hyperglycemia and the worse prognosis of COVID-19. Why a fast blood glucose control should be mandatory. Diabetes Res. Clin. Pract. 2020, 163, 108186. [Google Scholar] [CrossRef]
  10. Papachristoforou, E.; Lambadiari, V.; Maratou, E.; Makrilakis, K. Association of Glycemic Indices (Hyperglycemia, Glucose Variability, and Hypoglycemia) with Oxidative Stress and Diabetic Complications. J. Diabetes Res. 2020, 2020, 7489795. [Google Scholar] [CrossRef]
  11. Gilon, P. The Role of alpha-Cells in Islet Function and Glucose Homeostasis in Health and Type 2 Diabetes. J. Mol. Biol. 2020, 432, 1367–1394. [Google Scholar] [CrossRef] [PubMed]
  12. Sasaki, N.; Ozono, R.; Higashi, Y.; Maeda, R.; Kihara, Y. Association of Insulin Resistance, Plasma Glucose Level, and Serum Insulin Level with Hypertension in a Population with Different Stages of Impaired Glucose Metabolism. J. Am. Heart Assoc. 2020, 9, e015546. [Google Scholar] [CrossRef]
  13. Iacobini, C.; Vitale, M.; Pesce, C.; Pugliese, G.; Menini, S. Diabetic Complications and Oxidative Stress: A 20-Year Voyage Back in Time and Back to the Future. Antioxidants 2021, 10, 727. [Google Scholar] [CrossRef]
  14. Paul, S.; Ali, A.; Katare, R. Molecular complexities underlying the vascular complications of diabetes mellitus—A comprehensive review. J. Diabetes Complicat. 2020, 34, 107613. [Google Scholar] [CrossRef]
  15. Gallardo-Rincon, H.; Cantoral, A.; Arrieta, A.; Espinal, C.; Magnus, M.H.; Palacios, C.; Tapia-Conyer, R. Review: Type 2 diabetes in Latin America and the Caribbean: Regional and country comparison on prevalence, trends, costs and expanded prevention. Prim. Care Diabetes 2021, 15, 352–359. [Google Scholar] [CrossRef]
  16. O’Connell, J.M.; Manson, S.M. Understanding the Economic Costs of Diabetes and Prediabetes and What We May Learn About Reducing the Health and Economic Burden of These Conditions. Diabetes Care 2019, 42, 1609–1611. [Google Scholar] [CrossRef]
  17. Williams, R.; Karuranga, S.; Malanda, B.; Saeedi, P.; Basit, A.; Besancon, S.; Bommer, C.; Esteghamati, A.; Ogurtsova, K.; Zhang, P.; et al. Global and regional estimates and projections of diabetes-related health expenditure: Results from the International Diabetes Federation Diabetes Atlas, 9th edition. Diabetes Res. Clin. Pract. 2020, 162, 108072. [Google Scholar] [CrossRef]
  18. Ogurtsova, K.; Guariguata, L.; Barengo, N.C.; Ruiz, P.L.; Sacre, J.W.; Karuranga, S.; Sun, H.; Boyko, E.J.; Magliano, D.J. IDF diabetes Atlas: Global estimates of undiagnosed diabetes in adults for 2021. Diabetes Res. Clin. Pract. 2022, 183, 109118. [Google Scholar] [CrossRef]
  19. Forouhi, N.G.; Wareham, N.J. Epidemiology of diabetes. Medicine 2019, 47, 22–27. [Google Scholar] [CrossRef]
  20. Gruss, S.M.; Nhim, K.; Gregg, E.; Bell, M.; Luman, E.; Albright, A. Public Health Approaches to Type 2 Diabetes Prevention: The US National Diabetes Prevention Program and Beyond. Curr. Diabetes Rep. 2019, 19, 78. [Google Scholar] [CrossRef] [PubMed]
  21. White, M.; Barquera, S. Mexico Adopts Food Warning Labels, Why Now? Health Syst. Reform 2020, 6, e1752063. [Google Scholar] [CrossRef]
  22. Yang, B.; Sherman, A.S. Crafting Mathematical Models for Type 2 Diabetes Progression: Leveraging Longitudinal Data. bioRxiv 2025. [Google Scholar] [CrossRef]
  23. Leal, J.; Morrow, L.M.; Khurshid, W.; Pagano, E.; Feenstra, T. Decision models of prediabetes populations: A systematic review. Diabetes Obes. Metab. 2019, 21, 1558–1569. [Google Scholar] [CrossRef]
  24. Ha, J.; Sherman, A. Type 2 diabetes: One disease, many pathways. Am. J. Physiol. Endocrinol. Metab. 2020, 319, E410–E426. [Google Scholar] [CrossRef]
  25. Omana, J.; Moorthi, M. Predictive Analysis and Prognostic Approach of Diabetes Prediction with Machine Learning Techniques. Wirel. Pers. Commun. 2022, 127, 465–478. [Google Scholar] [CrossRef]
  26. Alonso-Bastida, A.; Adam-Medina, M.; Posada-Gomez, R.; Salazar-Pina, D.A.; Osorio-Gordillo, G.L.; Vela-Valdes, L.G. Dynamic of Glucose Homeostasis in Virtual Patients: A Comparison between Different Behaviors. Int. J. Environ. Res. Public Health 2022, 19, 716. [Google Scholar] [CrossRef] [PubMed]
  27. Alonso-Bastida, A.; Salazar-Pina, D.A.; Adam-Medina, M.; Ramos-Garcia, M.L. Socioeconomic Level and the Relationship in Glycemic Behavior in the Mexican Population. A Nutritional Alternative Focused on Vulnerable Populations. J. Community Health 2023, 48, 687–697. [Google Scholar] [CrossRef] [PubMed]
  28. Sala-Mira, I.; Garcia, P.; Diez, J.L.; Bondia, J. Internal model control based module for the elimination of meal and exercise announcements in hybrid artificial pancreas systems. Comput. Methods Programs Biomed. 2022, 226, 107061. [Google Scholar] [CrossRef]
  29. Misquith, A.; Rangareddy, H.; Chikkanarayanappa, V.; Sultana, A.; Ashakiran, S. Mathematical model for assessing glycemic control in type 2 diabetes mellitus. Bioinformation 2024, 20, 116–120. [Google Scholar] [CrossRef] [PubMed]
  30. Orozco-Lopez, O.; Rodriguez-Herrero, A.; Castaneda, C.E.; Garcia-Saez, G.; Elena Hernando, M. Method to generate a large cohort in-silico for type 1 diabetes. Comput. Methods Programs Biomed. 2020, 193, 105523. [Google Scholar] [CrossRef]
  31. Mughal, I.S.; Patanè, L.; Xibilia, M.G.; Caponetto, R. Variable structure-based controllers applied to the modified Hovorka model for type 1 diabetes. Int. J. Dyn. Control 2023, 11, 3159–3175. [Google Scholar] [CrossRef]
  32. Hovorka, R.; Canonico, V.; Chassin, L.J.; Haueter, U.; Massi-Benedetti, M.; Orsini Federici, M.; Pieber, T.R.; Schaller, H.C.; Schaupp, L.; Vering, T.; et al. Nonlinear model predictive control of glucose concentration in subjects with type 1 diabetes. Physiol. Meas. 2004, 25, 905–920. [Google Scholar] [CrossRef] [PubMed]
  33. American Diabetes Association Professional Practice Committee. 2. Diagnosis and Classification of Diabetes: Standards of Care in Diabetes-2024. Diabetes Care 2024, 47, S20–S42. [Google Scholar] [CrossRef]
  34. Kaveh, P.; Shtessel, Y.B. Blood Glucose Regulation via Double Loop Higher Order Sliding Mode Control and Multiple Sampling Rate. In Modern Sliding Mode Control Theory; Lecture Notes in Control and Information Sciences; Elsevier: Amsterdam, The Netherlands, 2008; Volume 375, pp. 427–445. [Google Scholar] [CrossRef]
  35. Mansell, E.J.; Docherty, P.D.; Fisk, L.M.; Chase, J.G. Estimation of secondary effect parameters in glycaemic dynamics using accumulating data from a virtual type 1 diabetic patient. Math. Biosci. 2015, 266, 108–117. [Google Scholar] [CrossRef]
  36. Chen, C.L.; Tsai, H.W. Modeling the physiological glucose-insulin system on normal and diabetic subjects. Comput. Methods Programs Biomed. 2010, 97, 130–140. [Google Scholar] [CrossRef]
  37. Rodriguez-Herrero, A.; Perez-Gandia, C.; Rigla, M.; de Leiva, A.; Gomez, E.J.; Hernando, M.E. A simulation study of an inverse controller for closed- and semiclosed-loop control in type 1 diabetes. Diabetes Technol. Ther. 2010, 12, 95–104. [Google Scholar] [CrossRef]
  38. Alonso-Bastida, A.; Adam-Medina, M.; Salazar-Pina, D.A.; Escobar-Jimenez, R.F.; Parra-Cabrera, M.S.; Cervantes-Bobadilla, M. Impact on Glycemic Variation Caused by a Change in the Dietary Intake Sequence. Foods 2023, 12, 1055. [Google Scholar] [CrossRef]
  39. Hinshaw, L.; Schiavon, M.; Mallad, A.; Man, C.D.; Basu, R.; Bharucha, A.E.; Cobelli, C.; Carter, R.E.; Basu, A.; Kudva, Y.C. Effects of delayed gastric emptying on postprandial glucose kinetics, insulin sensitivity, and β-cell function. Am. J. Physiol.-Endocrinol. Metab. 2014, 307, E494–E502. [Google Scholar] [CrossRef]
  40. Zannidi, D.; Methven, L.; Woodside, J.V.; McKenna, G.; Forde, C.G.; Jackson, K.G.; Shafat, A.; Schimmel, M.; Clegg, M. Variations in oral performance and processing behaviours among older adults: Associations with gastric emptying, postprandial glucose and insulin responses. Exp. Gerontol. 2025, 211, 112893. [Google Scholar] [CrossRef]
  41. Alonso-Bastida, A.; Franco-Nava, M.A.; Adam-Medina, M.; López-Zapata, B.; Álvarez-Gutiérrez, P.E.; García-Morales, J. Mathematical modeling of thermal interactions in a self-cooling pilot-scale photobioreactor. Case Stud. Therm. Eng. 2022, 31, 101825. [Google Scholar] [CrossRef]
  42. Xu, W.; Wang, S.; Jiang, C.; Fernandez, C.; Yu, C. A novel adaptive dual extended Kalman filtering algorithm for the Li-ion battery state of charge and state of health co-estimation. Int. J. Energy Res. 2021, 45, 14592–14602. [Google Scholar] [CrossRef]
  43. Wu, M.; Qin, L.; Wu, G. State of charge estimation of power lithium-ion battery based on an adaptive time scale dual extend Kalman filtering. J. Energy Storage 2021, 39, 102535. [Google Scholar] [CrossRef]
  44. Park, J.; Lee, M.; Kim, G.; Park, S.; Kim, J. Integrated Approach Based on Dual Extended Kalman Filter and Multivariate Autoregressive Model for Predicting Battery Capacity Using Health Indicator and SOC/SOH. Energies 2020, 13, 2138. [Google Scholar] [CrossRef]
  45. Wang, W.; Xu, X.; Yan, Z.; Wang, H. An online optimization method for extracting parameters of multi-parameter PV module model based on adaptive Levenberg-Marquardt algorithm. Energy Convers. Manag. 2021, 245, 114611. [Google Scholar] [CrossRef]
  46. Rubio, J. Stability Analysis of the Modified Levenberg–Marquardt Algorithm for the Artificial Neural Network Training. IEEE Trans. Neural Netw. Learn. Syst. 2021, 32, 3510–3524. [Google Scholar] [CrossRef] [PubMed]
  47. Umar, A.O.; Sulaiman, I.M.; Mamat, M.; Waziri, M.Y.; Zamri, N. On damping parameters of Levenberg-Marquardt algorithm for nonlinear least square problems. J. Phys. Conf. Ser. 2020, 1734, 1734. [Google Scholar] [CrossRef]
  48. Stout, P.J.; Peled, N.; Erickson, B.J.; Hilgers, M.E.; Racchini, J.R.; Hoegh, T.B. Comparison of glucose levels in dermal interstitial fluid and finger capillary blood. Diabetes Technol. Ther. 2001, 3, 81–90. [Google Scholar] [CrossRef] [PubMed]
  49. Khalil, H.K. Nolinear Systems, 3rd ed.; Prentice Hall: Hoboken, NJ, USA, 2002. [Google Scholar]
  50. Li, J.; Zhou, J.; Chen, B. Review of wind power scenario generation methods for optimal operation of renewable energy systems. Appl. Energy 2020, 280, 115992. [Google Scholar] [CrossRef]
  51. Neatpisarnvanit, C.; Boston, J.R. Estimation of plasma insulin from plasma glucose. IEEE Trans. Biomed. Eng. 2002, 49, 1253–1259. [Google Scholar] [CrossRef]
  52. Dalla Man, C.; Rizza, R.A.; Cobelli, C. Meal simulation model of the glucose-insulin system. IEEE Trans. Biomed. Eng. 2007, 54, 1740–1749. [Google Scholar] [CrossRef]
  53. Lopez-Palau, N.E.; Olais-Govea, J.M. Mathematical model of blood glucose dynamics by emulating the pathophysiology of glucose metabolism in type 2 diabetes mellitus. Sci. Rep. 2020, 10, 12697. [Google Scholar] [CrossRef] [PubMed]
  54. Visentin, R.; Cobelli, C.; Dalla Man, C. The Padova Type 2 Diabetes Simulator from Triple-Tracer Single-Meal Studies: In Silico Trials Also Possible in Rare but Not-So-Rare Individuals. Diabetes Technol. Ther. 2020, 22, 892–903. [Google Scholar] [CrossRef] [PubMed]
  55. Visentin, R.; Campos-Nanez, E.; Schiavon, M.; Lv, D.; Vettoretti, M.; Breton, M.; Kovatchev, B.P.; Dalla Man, C.; Cobelli, C. The UVA/Padova Type 1 Diabetes Simulator Goes from Single Meal to Single Day. J. Diabetes Sci. Technol. 2018, 12, 273–281. [Google Scholar] [CrossRef] [PubMed]
  56. Stefan, N.; Fritsche, A.; Schick, F.; Haring, H.U. Phenotypes of prediabetes and stratification of cardiometabolic risk. Lancet Diabetes Endocrinol. 2016, 4, 789–798. [Google Scholar] [CrossRef]
  57. Qiu, S.; Cai, X.; Zhou, X.; Xu, J.; Sun, Z.; Guo, H.; Wu, T. Muscle Quality in Relation to Prediabetes Phenotypes: A Population-Based Study with Mediation Analysis. J. Clin. Endocrinol. Metab. 2024, 109, e1151–e1158. [Google Scholar] [CrossRef]
  58. Kulcu, E.; Tamada, J.A.; Reach, G.; Potts, R.O.; Lesho, M.J. Physiological differences between interstitial glucose and blood glucose measured in human subjects. Diabetes Care 2003, 26, 2405–2409. [Google Scholar] [CrossRef]
  59. Keenan, D.B.; Mastrototaro, J.J.; Voskanyan, G.; Steil, G.M. Delays in minimally invasive continuous glucose monitoring devices: A review of current technology. J. Diabetes Sci. Technol. 2009, 3, 1207–1214. [Google Scholar] [CrossRef]
  60. Orozco-Lopez, J.O.; Castaneda, C.E.; Rodriguez-Herrero, A.; Garcia-Saez, G.; Hernando, E. Linear Time-Varying Luenberger Observer Applied to Diabetes. IEEE Access 2018, 6, 23612–23625. [Google Scholar] [CrossRef]
  61. Gonzalez, A.A.; Voos, H.; Darouach, M. Glucose-Insulin System Based on Minimal Model: A Realistic Approach. In Proceedings of the UKSim-AMSS 17th International Conference on Computer Modelling and Simulation, UKSim 2015, Cambridge, UK, 25–27 March 2015; pp. 55–60. [Google Scholar] [CrossRef]
  62. Wan, E.A.; Nelson, A.T. Dual Extended Kalman Filter Methods. In Kalman Filtering and Neural Networks; Wiley: Hoboken, NJ, USA, 2003. [Google Scholar] [CrossRef]
  63. D’ Hères, S.M. and Gildas Besancon. Nonlinear Observers and Applications: Preface. In Lecture Notes in Control and Information Sciences; Springer: Berlin/Heidelberg, Germany, 2007. [Google Scholar] [CrossRef]
  64. Hermann, R.; Krener, A.J. Nonlinear Controllability and Observability. IEEE Trans. Autom. Control 1977, 22, 728–740. [Google Scholar] [CrossRef]
Figure 1. Schematic representation of the glucose-insulin model. Subsystems are represented as rectangles, with their interrelationships indicated by solid black arrows. The main system variables are represented by dashed lines.
Figure 1. Schematic representation of the glucose-insulin model. Subsystems are represented as rectangles, with their interrelationships indicated by solid black arrows. The main system variables are represented by dashed lines.
Diabetology 06 00123 g001
Figure 2. Estimation of states and parameters of glucose in a healthy person with a DEKF. (a) Contrast between interstitial glucose measurement and its estimation with the DEKF. (b) Dynamics of the estimation error. (c) Variation of parameter “ p 1 ” during dual estimation. (d) Variation of parameter “ k s c ” during dual estimation.
Figure 2. Estimation of states and parameters of glucose in a healthy person with a DEKF. (a) Contrast between interstitial glucose measurement and its estimation with the DEKF. (b) Dynamics of the estimation error. (c) Variation of parameter “ p 1 ” during dual estimation. (d) Variation of parameter “ k s c ” during dual estimation.
Diabetology 06 00123 g002
Figure 3. Evaluation of model performance against actual glucose measurement in healthy and prediabetic populations. (a,d) Contrast between interstitial glucose measurement and its estimation with the proposed model. (b,e) Dynamics of the estimation error. (c,f) Correlation between average glucose per day and average glucose with the proposed model.
Figure 3. Evaluation of model performance against actual glucose measurement in healthy and prediabetic populations. (a,d) Contrast between interstitial glucose measurement and its estimation with the proposed model. (b,e) Dynamics of the estimation error. (c,f) Correlation between average glucose per day and average glucose with the proposed model.
Diabetology 06 00123 g003
Figure 4. Comparison of measured glucose profiles and model simulation. Measured glucose (gray) and simulated response (black dashed line) for healthy and prediabetic individuals under standardized intake conditions. The lower panel shows the modeled dietary effect.
Figure 4. Comparison of measured glucose profiles and model simulation. Measured glucose (gray) and simulated response (black dashed line) for healthy and prediabetic individuals under standardized intake conditions. The lower panel shows the modeled dietary effect.
Diabetology 06 00123 g004
Table 1. Performance rates of methodologies used.
Table 1. Performance rates of methodologies used.
Dual Extended Kalman Filter Estimation with Parameter VariationSystem Variables
G ( t ) , mg/dL G s c ( t ) , mg/dL
HealthyHealthy
IAE: 883.9 (427.5, 1759.2)IAE: 682.9 (327.8, 1297.1)
ISE: 1981.3 (520.3, 6637.5)ISE: 1257.5 (409.9, 3627.0)
MSE: 2.1 (0.5, 7.0)MSE: 1.3 (0.4, 3.8)
PrediabetesPrediabetes
IAE: 967.5 (146.1, 1740.7)IAE: 793.5 (114.1, 1380.9)
ISE: 2255.6 (286.0, 5533.9)ISE: 1583.9 (278.1, 3735.6)
MSE: 2.3 (0.3, 5.8)MSE: 1.6 (0.2, 3.9)
Estimation of the proposed model with local minimum parametersSystem Variables
G ( t ) , mg/dL X ( t ) , 1/min I ( t ) , mU/dL G s c ( t ) , mg/dL
HealthyHealthyHealthyHealthy
IAE: 2249.8IAE: 3.6 × 10 3 IAE: 850.4IAE: 882.8
(933.9, 4770.3)(1.3 × 10 3 , 7.3 × 10 3 )(312.7, 1534.8)(423.8, 1666.5)
ISE: 8997.9ISE: 2.5 × 10 8 ISE: 1847.1ISE: 2119.9
(1882.2, 2.8 × 10 4 )(3.7 × 10 9 , 7.8 × 10 8 )(237.4, 5854.3)(650.7, 7213.4)
MSE: 9.5MSE: 2.7 × 10 11 MSE: 1.9MSE: 2.2
(2.0, 30.6)(3.9 × 10 12 , 8.3 × 10 11 )(0.2, 6.2)(0.6, 7.6)
PrediabetesPrediabetesPrediabetesPrediabetes
IAE: 5533.4IAE: 1.6IAE: 1191.0IAE: 2391.5
(1819.0, 10,315.0)(0.7, 3.7)(428.4, 3059.8)(263.3, 4287.9)
ISE: 6.5 × 10 4 ISE: 5.6 × 10 3 ISE: 3876.5ISE: 1.3 × 10 4
(8.9 × 10 3 , 2.1 × 10 5 )(1.3 × 10 3 , 2.3 × 10 2 )(400.2, 2.0 × 10 4 )(222.8, 4.6 × 10 4 )
MSE: 69.1MSE: 5.9 × 10 6 MSE: 4.1MSE: 14.7
(9.5, 224.3)(1.3 × 10 6 , 2.4 × 10 5 )(0.4, 22.1)(0.2, 49.3)
G ( t ) : Plasma glucose concentration; G s c ( t ) : Interstitial glucose concentration; X ( t ) : Glucose reduction effect derived from insulin action; I ( t ) : Plasma insulin concentration.
Table 2. Parameters of the proposed model.
Table 2. Parameters of the proposed model.
ProcessParameter, (Units)Healthy 1Prediabetes 2
Glucose dynamics p 1 , ( 1 m i n )0.0542 (0.0478, 0.0597)0.0545 (0.0469, 0.0638)
p 4 , ( 1 m i n )1.4980 (1.2999, 1.6796)1.7023 (1.4402, 1.9112)
G b , ( m g d L )70 (65, 75)80 (75, 85)
g 1 , ( m g ( d L · m i n 3 ) ) P 5 t h : −2.125 × 10 8 P 5 t h : 8.953 × 10 9
P 7.5 t h : −2.645 × 10 8 P 7.5 t h : 6.725 × 10 9
P 10 t h : −2.398 × 10 8 P 10 t h : 5.727 × 10 9
g 2 , ( m g ( d L · m i n 2 ) ) P 5 t h : 4.008 × 10 5 P 5 t h : −1.576 × 10 5
P 7.5 t h : 5.055 × 10 5 P 7.5 t h : −1.025 × 10 5
P 10 t h : 4.426 × 10 5 P 10 t h : −6.536 × 10 5
g 3 , ( m g ( d L · m i n ) ) P 5 t h : −0.0112 P 5 t h : 0.0057
P 7.5 t h : −0.0162 P 7.5 t h : 0.0019
P 10 t h : −0.0118 P 10 t h : −0.0020
g 4 , ( m g d L ) P 5 t h : 6.206 P 5 t h : 4.813
P 7.5 t h : 8.626 P 7.5 t h : 7.605
P 10 t h : 10.75 P 10 t h : 11.67
k s c , ( 1 m i n )0.1085 (0.0965, 0.1240)0.1085 (0.0965, 0.1240)
Dynamics of the effect of insulin on glucose concentration reduction p 2 , ( 1 m i n )0.1228 (0.1010, 0.1410)0.1224 (0.1059, 0.1408)
p 3 ,   ( ( μ U m L ) m i n 2 ) 9.21 × 10 8 9.56 × 10 8
8.95 × 10 8 ,   9.44 × 10 8 9.09 × 10 8 ,   1.05 × 10 7
Insulin dynamics η , ( 1 m i n )0.2465 (0.2129, 0.2758)0.2463 (0.2154, 0.2735)
γ , ( ( μ U m L ) m i n 2 ( m g d L ) ) 5.63 × 10 5 5.61 × 10 5
(4.60 × 10 5 , 6.33 × 10 5 )(4.72 × 10 5 , 6.56 × 10 5 )
h , ( m g d L )79.03 (70.68, 122.28) [28,49]94.857 (76.482, 109.785)
Digestion dynamics k I n t , ( 1 / d L )0.0039 (−0.0333, 0.0333)0.0039 (−0.0333, 0.0333)
k s , (-)4.203 (2.755, 6.188)4.203 (2.755, 6.188)
k t , ( 1 / m i n )0.0167 (0.0144, 0.0275)0.0167 (0.0144, 0.0275)
k a , ( m g d L )0.1 (−4.9140, 5.0480)0.1 (−4.9140, 5.0480)
k b , ( m i n )96.781 (20.74, 189.60)96.781 (20.74, 189.60)
k c , ( m i n )20.081 (−19.34, 115.90)20.081 (−19.34, 115.90)
1 Healthy: People without a diabetes diagnosis (people apparently healthy). 2 Prediabetes: People at risk of developing type 2 Diabetes Mellitus.
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

Alonso-Bastida, A.; Salazar-Piña, D.A.; Adam-Medina, M.; Gutiérrez-Xicotencatl, L.; Ríos-Enríquez, C.; Ramos-García, M.; Villanueva-Vásquez, D. A Mathematical Modeling Approach to Estimate Blood Glucose Behavior in Individuals with Prediabetes. Diabetology 2025, 6, 123. https://doi.org/10.3390/diabetology6110123

AMA Style

Alonso-Bastida A, Salazar-Piña DA, Adam-Medina M, Gutiérrez-Xicotencatl L, Ríos-Enríquez C, Ramos-García M, Villanueva-Vásquez D. A Mathematical Modeling Approach to Estimate Blood Glucose Behavior in Individuals with Prediabetes. Diabetology. 2025; 6(11):123. https://doi.org/10.3390/diabetology6110123

Chicago/Turabian Style

Alonso-Bastida, Alexis, Dolores Azucena Salazar-Piña, Manuel Adam-Medina, Lourdes Gutiérrez-Xicotencatl, Christian Ríos-Enríquez, Margarita Ramos-García, and Daniel Villanueva-Vásquez. 2025. "A Mathematical Modeling Approach to Estimate Blood Glucose Behavior in Individuals with Prediabetes" Diabetology 6, no. 11: 123. https://doi.org/10.3390/diabetology6110123

APA Style

Alonso-Bastida, A., Salazar-Piña, D. A., Adam-Medina, M., Gutiérrez-Xicotencatl, L., Ríos-Enríquez, C., Ramos-García, M., & Villanueva-Vásquez, D. (2025). A Mathematical Modeling Approach to Estimate Blood Glucose Behavior in Individuals with Prediabetes. Diabetology, 6(11), 123. https://doi.org/10.3390/diabetology6110123

Article Metrics

Back to TopTop