The Open-Source Framework for Diabetes Simulation

Simulate the functionality of an automated insulin delivery (AID) system – free, open source, and in your own browser
Simulator
Discover our open-source tool
Information
Learn about the project
Use Cases
Who benefits from LT1?



At a glance…

Our code simulates the closed-loop interaction between a person with type 1 diabetes and an (automatic) insulin delivery (AID) system: The body’s response to external influences (meals, administered insulin, physical activity) is simulated using a physiological model. The calculated glucose measurement from the sensor is passed back to the AID algorithm, which determines the next insulin dosage and passes it on to the pump – the loop is complete and the next cycle begins.

controller
controller
reality
reality
simulation
pump
pump
pumpmodel
pumpmodel
realpatient
realpatient
virtualpatient
virtualpatient
sensor
sensor
sensormodel
sensormodel
Text is not SVG - cannot display

In our first simulator tool, the results are visualized in interactive charts, together with the algorithm log output; this provides unprecedented possibilities to familiarize oneself with the settings of an AID system, to analyze various scenarios (e.g. the influence of meal announcements), and gain insight into closed-loop glucose regulation.

Use Cases – who can benefit from this project?

  1. Education / information: People with type 1 diabetes can use our tools to understand in more detail how an AID system works – or insulin therapy in general. Our aim is to contribute to their empowerment.
  2. Coaching & training: Physicians and staff in diabetes teams and clinics have a variety of opportunities to enrich patient discussions and training sessions with interactive demonstrations.
  3. Research: Scientists can easily and efficiently conduct in silico studies, e.g. to evaluate strategies for the best possible treatment, and then publish their whole source code – not just aggregated results. This facilitates the use of research results and combats the replication crisis.
  4. Development: Developers who program new software for AID systems, including the #WeAreNotWaiting community and their do-it-yourself project OpenAPS and its offshoots, can test their algorithms easily, free of charge and – above all – without endangering their own health.
  5. Marketing / Customer Relations: Our long-term goal is to also make the algorithms of commercial manufacturers of AID systems available in our simulator – for them it’s an exciting opportunity to present the advantages of their devices; for patients it’s the ideal basis for an informed decision.

Curious?

Then just try try it out, our tools work in any modern browser. In the methods section you will find technical details. The link to the software repository is provided in the open source section. If you are ready to support our project or have any comments or suggestions, we are happy to hear from you via the contact form.