Abstract

This paper presents a mathematical model of glucose-insulin dynamics which is specific for type 2 diabetic patients. The general modelling is obtained by simplification of a global compartmental model by John Thomas Sorensen. The model parameters are estimated using nonlinear optimization and data collected in Rwanda for type 2 diabetic patients. In order to identify and evaluate possible abnormalities of type 2 diabetic patients, the Sampling Importance Resampling (SIR) particle filtering algorithm is used and implemented through discretization of the developed mathematical model. This process is done by clamping insulin and glucose concentrations at around clinical trial values as proposed by Defronzo. Furthermore, for detecting potential abnormalities in type 2 diabetic patients, we compare our results with results obtained from a simulation of the mathematical model for healthy subjects. The proposed mathematical model allows further investigation of the dynamic behavior of glucose, insulin, glucagon, stored insulin, and labile insulin in different organs for type 2 diabetic patients.

1. Introduction

Diabetes mellitus is one of the metabolic diseases that affect a large number of people in the world. It is characterized by chronic hyperglycemia resulting from defects in insulin secretion, insulin action, or both [1]. Since antiquity chronic disease is recognized by researchers, in about 1550 BC, frequent urination and excessive drinking were known on Egyptian papyrus [2]. Four main groups of subdivision were suggested by the World Health Organization (WHO) in 1999 [3]: (1) Young children are affected by type 1, which is due to failure to produce enough insulin. (2) Lack of physical activity and excessive body cause type 2 and either the cells of patients who suffer from type 2 fail to respond to insulin properly or the pancreas does not produce enough insulin. (3) Pregnant women without any antecedent diabetes can suffer from gestational diabetes due to high blood sugar levels but this diabetes similar to type 2 usually disappears after the woman gives birth to her new baby. (4) The causes of specific types include genetic defects in -cells function and in insulin action. Among other causes of these specific types are genetic syndromes associated with diabetes and diabetes secondary to other conditions such as pancreatitis and cystic fibrosis.

American Diabetes Association [4] argued the difference between two main types of diabetes, that is, type 1 and type 2. Indeed, the destruction of pancreatic -cells due to an autoimmune process is the cause of type 1, while the failure of -cells in secretion of adequate insulin and insulin resistance in muscles and adipose tissues lead to type 2, which is a progressive disease. As metabolic illness, type 1 or type 2 affects internal organs of the body. These include pancreas, heart, liver, and lungs. Type 1 or type 2 causes kidney to suffer from nephropathy when the small blood vessels are damaged. If type 1 or type 2 is not well monitored, it has a negative impact on limbs. Diabetes mellitus does not affect only the internal organs of human body, but it may also affect the senses. The most normally targeted is the sense of sight. Furthermore, the blindness is caused by seriousness of the retina damage (retinopathy). Long suffering of the human body thanks to diabetes mellitus can also have harmful effects on other organs when nerves are damaged (neuropathy) [3]. Some cardiovascular diseases such as stroke, heart disease, or heart attack result in abnormalities associated with diabetes mellitus. Even if the level of blood sugar can reach 175 mg/dl after eating, this level decreases after a short time if a person is normal and does not suffer from diabetes. This is not the case for a diabetic patient, since the blood sugar level is often maintained at 180 after eating. The dysfunction of -cells enables impaired glucose tolerance and impaired fasting glucose, that is, when there is no caloric intake for at least 8 hours. The consequence of this dysfunction is type 2 diabetes and failure of the cells to respond to glucagon, which prevents blood glucose levels from dropping too low.

Often the statistics based on death certificates show that individuals do not die only of cardiovascular and renal disease but also diabetes and effects uniquely related to it are the main cause of death in the world [5]. This is global challenge to estimate deaths attributable to diabetes. In 2007, International Diabetes Federation argued in the report that more than 300 million people in the world are affected by diabetes [6]. The prediction of this disease show that it can affect 380 million by 2025 [7]. It is estimated that 14.2 million adults suffer from diabetes in Sub-Saharan Africa. The causes of this big number are limited health systems and lack of skilled healthcare providers [8]. Although most countries of this region do not have reliable data, it is expected that diabetes will affect 34.2 million adults by the year 2040 [9]. In addition, among identified cases of 90–95% in this region are type 2 diabetic patients [10]. In Rwanda, an approximate of 194,300 diabetic cases were diagnosed in adults in 2015 and the country registered 5000 diabetes-related deaths [11, 12]. It is known that there is a direct relationship, even a correlation, between overweight population and the increase of metabolic diseases. In Rwanda, the level of treatment of type 2 diabetes as endocrine disorders is highly appreciated but it is costing a lot of money [13]. Between October 1, 2006, and September 30, 2014, Tapela et al. conducted a study on noncommunicable diseases (NCDs) in rural districts in Rwanda [14]. The sample size was 544 patients and the outcomes of their study show that the majority suffered from type 2 diabetes and 10.3% were the median baseline glycated hemoglobin (HbA1c). Despite all these difficulties, efforts have been made to combat diabetes mellitus [1517]. Since 2006, support came from World Diabetes Foundation to Rwandan Diabetes Association to fund the training healthcare providers in 15 Rwandan districts. In Rwanda, the world diabetes day represents a key initiative to raise awareness on diabetes mellitus, where public speaking, sensitization walk, mass screening of diabetes with involvement of Rwandan diabetic association, and Ministry of Health through RBC (Rwanda Biomedical Center) coordinate all activities. Although Rwanda is one of the few countries in Sub-Saharan Africa which have the strategic plan to treat NCDs; chronic disease management remains a major challenge [11, 18]. The role of mathematics in controlling diabetes mellitus is materialized by several mathematical models of glucose and insulin. Some of them deal with glucose regulation in healthy human subjects [1921] and others focus on therapy [22]. Among all those, the most popular approach is compartmental modelling. In 1981, Bergman et al. [23] developed the minimal compartmental model of diabetes dynamics. This mathematical model has been used in diabetic studies [24]. However, more complicated mathematical models have been developed by different authors: Cobelli and Mari [25], Sorensen [26], and Hovorka et al. [27]. The mathematical modelling of glucose dynamics and metabolism in human body is very essential. Indeed, the adjustment and modification of this mathematical model lead to study the physiological behavior of type 2 diabetic patients. This mechanism is made by developing a mathematical model with adapted parameters. The same approach has been used by Vahidi [28]. However, type 2 diabetes modelling is not as simple, since there are several abnormalities associated with the disease in different organs, which in turn are associated with the deterioration of glucose homeostasis. Glucose metabolic rates in the related organs are affected by these abnormalities. Moreover, these abnormalities also target the secretion rate of insulin in the pancreas and other regulatory hormones in terms of their glucose secretion rates. The objective of this work is to test abnormalities of type 2 diabetic patients in Rwanda using adapted mathematical model of glucose-insulin system presented in [29]. The model equations are nonlinear, so that their resolution requires the use of sophisticated computational tools. In Eleni and Smyth’s work [30], the list of techniques which are nonlinear has been proposed to be applied in civil engineering. These include the Unscented Kalman Filter (UKF), Least Squares Estimation (LSE), the Extended Kalman Filter (EKF), and Sequential Monte Carlo Methods (Particle Filters). Wu and Smyth [31] argued that the most used technique in state estimating and in identifying parameters is UKF rather than EKF, since UKF is more robust and uses higher degree of freedom systems to measure the noise levels. In addition, Kalman filters play a crucial role in several fields of science, particularly in structural health monitoring [32]. This work deals with the particle filter algorithm to test abnormalities of glucose-insulin system. Moreover, the numerical simulations are carried out using Sampling Importance Resampling (SIR) algorithm for the particle filter [3336].

2. Materials and Methods

2.1. Data Sources

Physicians consented purposefully patients known with type 2 diabetes coming for regular follow-up in public hospital in Kigali, Rwanda. The protocols were approved by the Ethical Committee of College of Medicine and Health Sciences (CMHS) Institutional Review Board (IRB) at the University of Rwanda. Selected patients were adult patients on treatment (oral medications, insulinotherapy, or combined oral medications and insulinotherapy). After consent, the selected patients were asked to get fasting blood sugars at home and a sample was taken at least 8 hours after the last meal to determine the fasting glucose blood levels. A blood sample is taken and different tests are performed to determine the individual’s blood glucose levels. Patients with end-stage renal disease were excluded, since their glycemia is pathophysiologically normal despite being diabetic. Confused patients and patients with inability to consent for this study were excluded. HbA1C in some of patients who had clear indication were done in laboratories of the same institution. Physician recorded them on different days and reported them to the research team as a summarized progressive report of records. The data are collected for 103 patients (51 males and 52 females) but on daily basis, 10 patients have been followed up where needed and medical measures were recorded every morning for a period of one month. All HbA1C were reported.

2.2. Model Equations

For a healthy human being, a global mathematical model developed by Sorensen [26] is widely used. It is a compartmental model with 6 compartments and a system of 22 ordinary differential equations. The complexity of this mathematical model in terms of resolution and numerical simulations motivated us to develop a simplified mathematical model for type 2 diabetic patients [29]. The proposed mathematical model constitutes three main concentrations in the human body: glucose, insulin, and glucagon. We mainly consider four compartments: heart and lungs, liver, tissues, and pancreas. The tissues compartment constitutes a set of brain, kidney, gut, and periphery. To test, we adapt this model by introducing two additional compartments for the insulin related to a small labile insulin and to a large insulin storage [37]. Therefore, the mathematical model is comprised of four subsystems: glucose, insulin, glucagon, and pancreas. Table 1 shows the nomenclature of variables and parameters, while Table 2 presents parameters to be estimated.

In Figure 1, we give a schematic representation of the model for a diabetic patient.

The general form of the mass balance equation for glucose, insulin, and glucagon submodels is as follows:where is the volume of compartment, denotes the concentration of either insulin, glucose, or glucagon, is the time, is the blood flow rate, and and are the metabolic production and consumption rates of the material balance substance, respectively. The adapted and simplified mathematical model of glucose and insulin to test abnormalities of type 2 diabetic patients in Rwanda is defined by three parts of mathematical system. The first system is the six following ordinary differential equations:where the first three equations consist of glucose submodel, while the last three are insulin submodel.

The dynamics of glucagon have effects on the metabolic rates of glucose. One compartment is enough to model effects of glucagon hormone. The second part of mathematical system to test abnormalities of type 2 diabetic patients in Rwanda is the following equation adapted from Sorensen [26] to justify the role of glucagon and to present glucagon submodel:where is a multiplicative constant for plasma glucagon clearance rate and denotes the rate for pancreatic glucagon release. The third model system and the last to test abnormalities of type 2 diabetic patients are constructed by taking into account the pancreas compartment updated to non-insulin-dependent diabetes mellitus conditions. Furthermore, the change in blood glucose concentration allows pancreatic insulin to release. Landahl and Grodsky [37] developed mathematical model of this pancreatic mechanism using two compartments: a small labile insulin compartment and a large insulin storage compartment. This mathematical model shows a biphasic insulin release response to glucose stimulation [38] for type 2 diabetic patients. Taking into account the fact that insulin is secreted from -cells in the pancreas in a complex mechanism and considering mathematical model developed by in Landahl and Grodsky [37], we propose the following mass balance equations of pancreas submodel:

Finally, the mathematical model to test abnormalities of type 2 diabetic patients in Rwanda is a system of 9 ordinary differential equations (2)–(4) along with the nomenclature shown in Tables 1 and 2.

3. Model Parameters

The parameters for the patient model have been adjusted using the blood glucose clinical data collected at three different hospitals in Kigali, Rwanda. Notice that a large sample size is not mandatory to determine parameters in compartmental theory such as blood insulin and/or glucose. In this paper, a sample of 10 patients are followed up on daily basis and have been considered and the fasting blood sugar levels were recorded every morning for a period of one month. Using the average taken as daily blood sugar level, the blood insulin data are obtained using Bergman’s insulin minimal model [23]:with initial condition , where and are parameters of mathematical model, is the value of glucose at a given time , and denotes the threshold for blood glucose concentration. Solving equation (5), we get

In numerical test, we consider the values of , , and as 0.0055, 0.29 [23], and 92.5 [26], respectively.

The parameter values used for type 2 diabetes can be found in the literature [26, 29], and they are summarized in Table 3.

For identification of the parameters of mathematical model (2)–(4), we need to solve a nonlinear optimization problem formulated below. Let

It follows that the mathematical model can be rewritten aswhereand is a column vector of the parameters, that is,

Using this setting, the optimization problem isunder the constraints in (8), where and are the weights and n is the clinical sample size. The superscript “obs” refers to the observed clinical measurements of the concentrations of glucose and insulin. We perform a dynamic simulation of a healthy human being using the mathematical model (2). On the other hand, the simulation results of type 2 diabetic patients are obtained by considering the mathematical model (2)–(4). The clinical data for healthy human being are obtained from the numerical resolution of global model developed in [35] using MATLAB solvers of ordinary differential equations such as ode45 and the optimization is carried out using built-in functions such as fmincon. Figures 2 and 3 show the overall trend of concentrations of glucose and insulin compared with clinical data for healthy human body and type 2 diabetic patients, respectively. The estimated parameters of the mathematical model are shown in Table 4.

4. Test of Abnormalities of Type 2 Diabetic Patients

The physiology of glucose-insulin system provides insights on abnormalities associated with the patients. Therefore, since the mathematical model is a representation of this physiological behavior, we can use it to test abnormal functionality in the liver, tissues, and other organs. For diabetic patients, high levels of concentrations in blood glucose in the body are an indication of the abnormal functionality. Therefore, if the rates of glucose and insulin in different organs are compared with their corresponding rate of a healthy body, we can have insights into the level of organ malfunction. To perform the comparison, the model equations (2) are considered as the dynamic model of a healthy subject. This model is completed by equations (3) and (4) in order to get the dynamic model for patients who suffer from type 2 diabetes. The basal conditions of concentrations of glucose and insulin in the tissue for diabetic and healthy subjects are reported in Nagasaka et al.’s work [39] but we use those given in Vahidi’s work [28]. They are and for the diabetic group and 85 ± 8 mg/dl and for healthy subjects. Defronzo et al. [40] proposed two original tests: the first requires maintaining a high insulin level by perfusion or infusion with insulin (euglycemic hyperinsulinemic clamp), while the second requires maintaining a high blood sugar level by perfusion or infusion with glucose (hyperglycemic clamp). Using the first test, the experimental procedure of continuous insulin infusion leads to raising the plasma insulin concentration at around , while the plasma glucose concentration remains at basal levels by glucose injection based on negative feedback principle [40]. Therefore, the effect of insulin sensitivity in human body is justified by the measurement glucose infusion rate. The second test is performed by raising and maintaining plasma glucose concentration at which is above basal levels. For this second test, a continuous glucose infusion is used but insulin injection is not performed. This process of maintaining amount of glucose infusion rate at steady state of hyperglycemia level requires the measurement made due to glucose metabolized body cells and insulin supplied by the pancreas [40].

In this work, we use two of these clinical trials to evaluate abnormalities of type 2 diabetic patients in Rwanda. As we mentioned above, the abnormalities of type 2 diabetic patients are detected by comparison of patient model results with those of healthy subjects. In order to perform the comparison, we require measuring glucose and insulin from different parts of the body. However, to take blood samples from many internal body organs, for instance, heart and liver, is clinically impossible. Therefore, in order to estimate concentrations of these parameters, we need to rely on measurements from peripheral tissues.

All estimated values are carried out by implementing the Sampling Importance Resampling (SIR) algorithm. This algorithm enables us to estimate glucose and insulin in heart and liver by measuring the noise of glucose and insulin in peripheral tissues as available measured data. For more details about the SIR algorithm, we refer to Andrieu et al. [33], Arulampalam et al. [34], and Doucet et al. [35]. Therefore, in numerical simulations, we consider , minutes, and particles and we assume that the states and measurement noises have a normal probability distribution with density function , , and , where means normal distribution and I is identity matrix of order .

The discretization of the mathematical model (2)–(4) is done using fixed-step backward difference approximation bywhere and with being total number of discretization points such that . Hence, we recursively in time estimate the following state dynamic model:where and are the state vector and the measurement vector, respectively. and are the stochastic process and measurement noise, respectively, and they are independent and identically distributed (i.i.d.). The function refers to the dynamic equations for the process model, while P denotes the matrix from the equations modelling the sensors referred to as the measurement model given as

We present and discuss the results of the two tests mentioned above, since they are clinical trials performed for both insulin and glucose. The numerical results are given in Figures 49.

The numerical results of two above tests are shown in Figures 4 and 5, respectively. Figure 4 indicates that glucose concentrations are maintained at above the basal level for both patients suffering from type 2 diabetes and healthy subjects. Moreover, as can be seen in Figure 6, these tests show that, in heart, glucose concentration is significantly higher in type 2 diabetic patients than in healthy subjects, whereas insulin is lower in the type 2 diabetic patients than in the healthy subjects (see Figure 7). The low insulin justifies why the body is not properly making or does not make the insulin hormone. Therefore, this blood hyperglycemia is an essential characteristic of diabetes in patients. Since the insulin is resistant for type 2 diabetic patients, the pancreas simply is not able to produce enough insulin, which is very important so that human body cells take up glucose and blood sugar or raise blood glucose levels. Figure 5 shows that, during both tests, the concentration of insulin is clamped at . Consequently, there is no change of insulin effects as pancreatic hormone on the metabolic rates and the patients’ body resistance against insulin remains unchanged. Moreover, the deficiencies in glucose metabolic rate result in glucose resistance in those in liver or tissues. Figure 8 indicates that hepatic glucose is produced at high rate in type 2 diabetic patients compared to one for healthy subjects with normal hepatic glucose. These results are consistent with what happens in glucose metabolism for diabetic patients. Indeed, if type 2 diabetic patients suffer from insulin resistance, the liver often produces glucose when not really needed because insulin is not regulating this sugar. The signal of hormone is not recognized by an insulin resistance so that the glucose does not flow in the blood. That raises blood glucose levels in type 2 diabetic patients compared to the decrease in healthy subjects, as shown in Figure 6. Moreover, the insulin produced in pancreas leads into the liver. Although Figure 9 shows that the insulin in the liver is generally high for the type 2 diabetic patients compared to that of the healthy subjects, it does not allow type 2 diabetic patients to use glucose for energy due to its resistance. Therefore, the blood insulin decreases as shown in Figure 7 and when the insulin is not enough, the body can no longer move glucose from the blood into the cells. This mechanism causes high blood glucose levels. This is illustrated in Figure 6.

5. Concluding Remarks

It is of importance to describe as accurately as possible the physiological behavior of glucose-insulin system by a relatively simple mathematical model. However, the homeostasis of blood glucose in type 2 diabetic patients makes it inherently complex to develop such a model.

In this paper, we have proposed a four-compartmental mathematical model able to describe the variation of glucose-insulin concentrations for type 2 diabetic patients. We used data collected by a regular follow-up of type 2 diabetic patients in public hospitals in Kigali, Rwanda. We have implemented the Sampling Importance Resampling (SIR) particle filtering algorithm using the developed mathematical model in order to detect potential abnormalities in type 2 diabetic patients by comparing numerical results for healthy subjects and type 2 diabetic patients. The results of our simulations are found to be clinically consistent with physiological responses. The proposed mathematical model can also be used by physiologists and other experts in medicine for monitoring glucose-insulin system.

Data Availability

The description of how the data are found is presented in the manuscript.

Conflicts of Interest

The authors declare no conflicts of interest.

Acknowledgments

The authors would like to thank the study’s subjects for their participation and acknowledge the assistance of medical doctors of public hospital in Kigali, Rwanda, with data collection and Ethical Committee of College of Medicine and Health Sciences (CMHS), Institutional Review Board (IRB), at the University of Rwanda for approving protocols. This work was supported by the University of Rwanda through its Directorate of Research and Innovation (Research Grant 2015/2016).