From the Glucosym Github repository at:
GlucoSym is an open-source simulator aimed to help in the testing and development of insulin delivery automation systems.
This is a second iteration with changes to the simpancreas algorithm to improve its carb management strategies.
To compare this iteration of the algorithm with the past one, please take a look at the past post:
simpancreas + Glucosym
Here are the resulting runs for each patient:
What about carbs?
Here’s a run for Patient A ( In my opinion one of the hardest ones ), with the following simulation characteristics:
— base_insulin_sensitivity: 40
— Ran starting with NO data.
— Ran for 5 days ( 1440 hours ).
— Ran assuming 20gr meals were given 3 times a day. Meals were configured for a 3 hour digestion time.
The simulation was restarted afterwards incrementing the carb amount to 40gr per meal and ran for an extra 5 days: