-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
There are situations where having additional control target of maximum correction IOB would be useful. One such example is pre workout where BGs are rising fast, and Loop predicts an eventual BG of higher then the pre-workout target. Loop then corrects, adding to the user’s IOB pre-workout. In these situations, particularly for sustained exercise (2-5 hours) it would be ideal to have an IOB limit – so that Loop can add a bit of IOB since the user is higher then their target, but not so much that its going to cause the user to crash once exercise related effects kick in and increase sensitivity.
@kenstack and I have implemented it here: https://github.com/Kdisimone/Loop/tree/plgs-issue
In this implementation, once the user sets a maximum correction IOB limit, Loop will default to the scheduled basal rate if the correction would cause IOB to rise over this threshold. If the IOB limit is set to zero, Loop then reverts to only reducing basal if BGs are trending below target, ie Predictive Low Glucose Suspend mode. Boluses for food and direct user boluses are unaffected by this limit.
This feature might also be helpful for new users who are just getting into closed looping