| Literature DB >> 34328030 |
Jana Schmitzer1, Carolin Strobel1, Ronald Blechschmidt1, Adrian Tappe2, Heiko Peuscher1.
Abstract
BACKGROUND: Numerical simulations, also referred to as in silico trials, are nowadays the first step toward approval of new artificial pancreas (AP) systems. One suitable tool to run such simulations is the UVA/Padova Type 1 Diabetes Metabolic Simulator (T1DMS). It was used by Toffanin et al. to provide data about safety and efficacy of AndroidAPS, one of the most wide-spread do-it-yourself AP systems. However, the setup suffered from slow simulation speed. The objective of this work is to speed up simulation by implementing the algorithm directly in MATLAB®/Simulink®.Entities:
Keywords: AndroidAPS; artificial pancreas; glycemic control; hybrid closed-loop; in silico trial; type 1 diabetes
Mesh:
Substances:
Year: 2021 PMID: 34328030 PMCID: PMC8721541 DOI: 10.1177/19322968211032249
Source DB: PubMed Journal: J Diabetes Sci Technol ISSN: 1932-2968
Figure 1.The four main components of the T1DMS with their respective inputs and outputs.
Abbreviations: CR, carb ratio; DIA, duration of insulin activity; ISF, insulin sensitivity factor.
Figure 2.Times of day and amount of CHO of the main meals and snacks given in the two-day-scenario used for the simulation.
Threshold BG values of the different glycemic ranges
| Range | Threshold BG values |
|---|---|
| Level 2 hypoglycemic range | BG ≤ 54 mg/dl |
| Level 1 hypoglycemic range | 54 mg/dl < BG ≤ 70 mg/dl |
| Target range | 70 mg/dl < BG ≤ 180 mg/dl |
| Tight target range | 70 mg/dl < BG ≤ 140 mg/dl |
| Level 1 hyperglycemic range | 180 mg/dl < BG ≤ 250 mg/dl |
| Level 2 hyperglycemic range | BG > 250 mg/dl |
List of metrics for the performed simulation. Where available, the values from Toffanin et al. under the name of SMB_HB are given for comparison. All values are stated as median [25th to 75th percentiles], except M_O and M_PP, which are given as mean (±SD) due to the listing in Toffanin et al.
| O | N | PP | |
|---|---|---|---|
| M [mg/dl] | |||
| This work | 140.38 (±13.02) | 108.14 [106.12, 112.28] | 160.53 (±20.16) |
| Toffanin et al.
| 135.41 (±19.71) | 121.34 [112.73, 139.01] | 141.33 (±22.66) |
| SD [mg/dl] | |||
| This work | 37.95 [30.85, 52.74] | 12.81 [8.03, 19.07] | 35.12 [27.50, 48.76] |
| Toffanin et al.
| 25.51 [19.76, 31.89] | 13.57 [10.53, 17.20] | 26.91 [19.91, 33.74] |
| CV | |||
| This work | 0.28 [0.24, 0.35] | 0.12 [0.07, 0.17] | 0.23 [0.18, 0.27] |
| Toffanin et al.
| 0.20 [0.16, 0.23] | 0.11 [0.08, 0.13] | 0.19 [0.15, 0.25] |
| TIR [%] | |||
| This work | 82.45 [73.72, 90.28] | 100.00 [96.99, 100.00] | 70.67 [59.93, 85.51] |
| Toffanin et al.
| 92.59 [82.56, 98.07] | 100.00 [95.06, 100.00] | 90.15 [72.77, 97.72] |
| TTT [%] | |||
| This work | 58.21 [52.72, 70.64] | 97.66 [90.03, 100.00] | 35.26 [26.60, 51.93] |
| Toffanin et al.
| 57.25 [38.56, 80.51] | 86.09 [64.12, 100.00] | 45.10 [27.23, 75.13] |
| Ta250 [%] | |||
| This work | 0.00 [0.00, 6.70] | 0.00 [0.00, 0.00] | 0.00 [0.00, 10.15] |
| Toffanin et al.
| 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] |
| T54-70 [%] | |||
| This work | 0.00 [0.00, 1.01] | 0.00 [0.00, 3.01] | 0.00 [0.00, 0.00] |
| Toffanin et al.
| 0.69 [0.00, 1.68] | 0.00 [0.00, 0.00] | 0.00 [0.00, 2.21] |
| # HT | |||
| This work | 0.00 [0.00, 1.00] | 0.00 [0.00, 1.00] | 0.00 [0.00, 0.00] |
| Toffanin et al.
| 0.00 [0.00, 4.00] | 0.00 [0.00, 0.00] | 0.00 [0.00, 3.00] |
| LBGI | |||
| This work | 0.20 [0.13, 0.43] | 0.43 [0.30, 0.81] | 0.04 [0.02, 0.07] |
| Toffanin et al.
| 0.37 [0.07, 1.01] | 0.05 [0.00, 0.31] | 0.30 [0.04, 1.20] |
| Additional metrics | |||
| T180-250 [%] | 15.93 [9.72, 19.33] | 0.00 [0.00, 0.00] | 26.23 [14.49, 31.19] |
| Tb54 [%] | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] |
| HBGI | 3.35 [2.13, 5.38] | 0.10 [0.01, 0.44] | 5.54 [3.56, 8.56] |
Figure 3.Median and IQR (25th to 75th percentiles) of the BG values of all 30 in silico patients, plotted over the duration of the two-day scenario. The target range is colored as a horizontal area, the postprandial periods (PP) and the two nights (N) as vertical areas.
Figure 4.Mean of the BG values and the CHO intake of all 30 in silico patients. The target range is shown as a colored horizontal area and the two nights (N) are marked as colored vertical areas.
List of metrics for the performed simulation with the results separated into the three age groups children, adolescents, and adults.
| O | N | PP | |
|---|---|---|---|
| M [mg/dl] | |||
| Children | 151.11 (±8.26) | 111.31 [108.10, 113.66] | 176.45 (±13.72) |
| Adolescents | 142.75 (±10.86) | 108.82 [106.23, 110.69] | 165.29 (±15.83) |
| Adults | 127.29 (±6.00) | 106.52 [105.40, 108.07] | 139.84 (±9.43) |
| SD [mg/dl] | |||
| Children | 51.95 [43.14, 58.90] | 18.06 [14.74, 26.11] | 48.51 [39.37, 52.68] |
| Adolescents | 35.32 [33.04, 55.22] | 13.24 [10.13, 25.93] | 31.86 [28.89, 48.76] |
| Adults | 27.82 [21.82, 30.85] | 6.90 [5.81, 8.04] | 25.44 [20.17, 30.58] |
| CV | |||
| Children | 0.35 [0.30, 0.38] | 0.16 [0.14, 0.24] | 0.26 [0.24, 0.30] |
| Adolescents | 0.26 [0.24, 0.34] | 0.12 [0.10, 0.23] | 0.21 [0.19, 0.25] |
| Adults | 0.22 [0.18, 0.24] | 0.06 [0.06, 0.07] | 0.18 [0.16, 0.22] |
| TIR [%] | |||
| Children | 73.81 [70.98, 76.99] | 98.81 [92.94, 100.00] | 61.71 [53.64, 66.96] |
| Adolescents | 83.15 [70.98, 85.28] | 100.00 [93.35, 100.00] | 70.67 [56.37, 75.60] |
| Adults | 93.60 [90.28, 100.00] | 100.00 [100.00, 100.00] | 90.51 [85.51, 100.00] |
| TTT [%] | |||
| Children | 54.39 [51.30, 57.62] | 91.80 [84.84, 95.74] | 28.06 [23.33, 35.63] |
| Adolescents | 56.44 [50.82, 61.99] | 95.64 [84.11, 99.79] | 32.89 [20.35, 37.53] |
| Adults | 72.79 [70.64, 76.26] | 100.00 [100.00, 100.00] | 57.03 [51.93, 61.93] |
| Ta250 [%] | |||
| Children | 5.41 [0.00, 10.59] | 0.00 [0.00, 0.00] | 8.20 [0.00, 14.89] |
| Adolescents | 0.00 [0.00, 6.84] | 0.00 [0.00, 0.00] | 0.00 [0.00, 10.15] |
| Adults | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] |
| T180-250 [%] | |||
| Children | 19.39 [16.77, 23.12] | 0.00 [0.00, 4.05] | 30.23 [27.09, 37.04] |
| Adolescents | 16.83 [14.72, 19.23] | 0.00 [0.00, 1.04] | 27.99 [24.40, 30.75] |
| Adults | 6.40 [0.00, 9.72] | 0.00 [0.00, 0.00] | 9.49 [0.00, 14.49] |
| T54-70 [%] | |||
| Children | 0.40 [0.00, 1.53] | 1.19 [0.00, 4.57] | 0.00 [0.00, 0.00] |
| Adolescents | 0.00 [0.00, 1.08] | 0.00 [0.00, 3.22] | 0.00 [0.00, 0.00] |
| Adults | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] |
| Tb54 [%] | |||
| Children | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] |
| Adolescents | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] |
| Adults | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] |
| # HT | |||
| Children | 0.00 [0.00, 1.00] | 0.00 [0.00, 1.00] | 0.00 [0.00, 0.00] |
| Adolescents | 0.00 [0.00, 1.00] | 0.00 [0.00, 1.00] | 0.00 [0.00, 0.00] |
| Adults | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] |
| LBGI | |||
| Children | 0.30 [0.21, 0.46] | 0.60 [0.50, 1.05] | 0.04 [0.02, 0.06] |
| Adolescents | 0.37 [0.07, 1.01] | 0.05 [0.00, 0.31] | 0.30 [0.04, 1.20] |
| Adults | 0.13 [0.08, 0.15] | 0.24 [0.16, 0.30] | 0.04 [0.02, 0.07] |
| HBGI | |||
| Children | 4.96 [4.27, 7.09] | 0.41 [0.11, 0.75] | 7.73 [6.54, 11.25] |
| Adolescents | 3.27 [2.64, 6.48] | 0.18 [0.03, 0.75] | 5.47 [4.38, 9.84] |
| Adults | 1.60 [1.25, 2.30] | 0.01 [0.00, 0.03] | 2.52 [2.04, 3.75] |
Figure 5.Meal boluses with SMB, basal rates as well as basis basal rate calculated by AndroidAPS during the 48 h simulation, shown as an example for an adult in silico patient. The two nights (N) are marked as colored vertical areas.