» Articles » PMID: 34328030

Efficient Closed Loop Simulation of Do-It-Yourself Artificial Pancreas Systems

Overview
Specialty Endocrinology
Date 2021 Jul 30
PMID 34328030
Citations 4
Authors
Affiliations
Soon will be listed here.
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.

Method: Firstly, AndroidAPS is re-implemented in MATLAB and verified. Then, the function is incorporated into T1DMS. To evaluate the new setup, a scenario covering 2 days in real time is run for 30 virtual patients. The results are compared to those presented in the literature.

Results: Unit tests and integration tests proved the equivalence of the new implementation and the original AndroidAPS code. Simulation of the scenario required approximately 15 minutes, corresponding to a speed-up factor of roughly 1000 with respect to real time. The results closely resemble those presented by Toffanin et al. Discrepancies were to be expected because a different virtual population was considered. Also, some parameters could not be extracted from and harmonized with the original setup.

Conclusions: The new implementation facilitates extensive in silico trials of AndroidAPS due to the significant reduction of runtime. This provides a cheap and fast means to test new versions of the algorithm before they are shared with the community.

Citing Articles

medical device testing of anatomically and mechanically conforming patient-specific spinal fusion cages designed by full-scale topology optimisation.

Smit T, Aage N, Haschtmann D, Ferguson S, Helgason B Front Bioeng Biotechnol. 2024; 12:1347961.

PMID: 39318669 PMC: 11420557. DOI: 10.3389/fbioe.2024.1347961.


Recent advances in the precision control strategy of artificial pancreas.

Ming W, Guo X, Zhang G, Liu Y, Wang Y, Zhang H Med Biol Eng Comput. 2024; 62(6):1615-1638.

PMID: 38418768 DOI: 10.1007/s11517-024-03042-x.


Developing the UVA/Padova Type 1 Diabetes Simulator: Modeling, Validation, Refinements, and Utility.

Cobelli C, Kovatchev B J Diabetes Sci Technol. 2023; 17(6):1493-1505.

PMID: 37743740 PMC: 10658679. DOI: 10.1177/19322968231195081.


Closing the loop for patients with Parkinson disease: where are we?.

Teymourian H, Tehrani F, Longardner K, Mahato K, Podhajny T, Moon J Nat Rev Neurol. 2022; 18(8):497-507.

PMID: 35681103 DOI: 10.1038/s41582-022-00674-1.

References
1.
Petruzelkova L, Soupal J, Plasova V, Jiranova P, Neuman V, Plachy L . Excellent Glycemic Control Maintained by Open-Source Hybrid Closed-Loop AndroidAPS During and After Sustained Physical Activity. Diabetes Technol Ther. 2018; 20(11):744-750. DOI: 10.1089/dia.2018.0214. View

2.
Cryer P, Davis S, Shamoon H . Hypoglycemia in diabetes. Diabetes Care. 2003; 26(6):1902-12. DOI: 10.2337/diacare.26.6.1902. View

3.
Kesavadev J, Srinivasan S, Saboo B, Krishna B M, Krishnan G . The Do-It-Yourself Artificial Pancreas: A Comprehensive Review. Diabetes Ther. 2020; 11(6):1217-1235. PMC: 7261300. DOI: 10.1007/s13300-020-00823-z. View

4.
Braune K, ODonnell S, Cleal B, Lewis D, Tappe A, Willaing I . Real-World Use of Do-It-Yourself Artificial Pancreas Systems in Children and Adolescents With Type 1 Diabetes: Online Survey and Analysis of Self-Reported Clinical Outcomes. JMIR Mhealth Uhealth. 2019; 7(7):e14087. PMC: 6691673. DOI: 10.2196/14087. View

5.
Melmer A, Zuger T, Lewis D, Leibrand S, Stettler C, Laimer M . Glycaemic control in individuals with type 1 diabetes using an open source artificial pancreas system (OpenAPS). Diabetes Obes Metab. 2019; 21(10):2333-2337. DOI: 10.1111/dom.13810. View