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.

Highlights

  • In 2013, the #WeAreNotWaiting community was founded with the objective of reducing the burden of type 1 diabetes (T1D) on patients with diabetes (PWD) and their families, especially at night.[1,2] In 2015, these efforts resulted in the OpenAPS project, an open-source, hybrid closed-loop (HCL), do-it-yourself (DIY) artificial pancreas system (APS).[3,4] Due to its DIY nature, OpenAPS is not commercially available, but must be built and setup individually by anyone who wants to use it

  • 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

Read more

Summary

Introduction

In 2013, the #WeAreNotWaiting community was founded with the objective of reducing the burden of type 1 diabetes (T1D) on patients with diabetes (PWD) and their families, especially at night.[1,2] In 2015, these efforts resulted in the OpenAPS project, an open-source, hybrid closed-loop (HCL), do-it-yourself (DIY) artificial pancreas system (APS).[3,4] Due to its DIY nature, OpenAPS is not commercially available, but must be built and setup individually by anyone who wants to use it It is neither regulated by the U.S Food and Drug Administration (FDA) nor any other regulatory authority. The objective of this work is to speed up simulation by implementing the algorithm directly in MATLAB®/Simulink®

Objectives
Methods
Results
Conclusion
Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.