Open adanvdo opened 3 years ago
Maybe check this
https://albertadiabeteslink.ca/process.php?docname=Understanding-Insulin-on-Board-2016-1.pdf
It's says that only corrective blouses are taken into account for IOB on omnipod, im not sure but it can be the explanation
@adanvdo I agree with you, this is not working properly. As far as I can tell, the "Insulin duration in hours" field is totally ignored, as are "Choose basal insulin profile" and "Choose bolus insulin profile. Also used for pump and pen". But which insulin profiles are enabled and which one you choose when entering a treatment are not ignored; you get different activity curves for FIASP and Humalog, e.g.
The curve it does use for Humalog seems a bit odd, though. It has an onset of 10 minutes (seems reasonable), a peak at 75 minutes (seems reasonable) and a total duration of 180 minutes (isn't that way too short?) See https://github.com/NightscoutFoundation/xDrip/blob/master/app/src/main/res/raw/insulin_profiles.txt#L43
For me, Humalog actually seems to peak weirdly fast so I find lying to xDrip+ that I'm using FIASP seems to give more accurate results. But I wish xDrip+ would just let the user set the curve parameters directly. Doesn't make sense to me to expect the shape and duration of the curve to be exactly the same in everyone's body.
@gruoner Is this a problem, or is it expected behavior?
i didn't implement the humalog-curve because i don't use humalog. When someone has a "better" curve, we can define different onset, peak and finished timestamps. BUT when using "multiple insulin profile" the "low level prediction values" "insulin duration in hours" is ignored (maybe we can disable this menu item when in multi-insulin).
Because i implemented much more features to multi-insulin as there is currently in the master branch, i can't implement a dialog for changing parameters for trapezoid curves without bothering u with much more new multi-* features.....
@TheConen Is this an issue or is it expected behavior? Thanks
I don't know - the values of Humalog have not been changed with #3157 . However, as we already discussed in #3306, the values that xDrip+ uses for some insulins might very well be wrong and could need some adjusting.
Regardless of my prediction settings or insulin profile, xdrip appears to be using an insulin duration of ~2.4 hours to calculate IOB.
I have tried with "multiple insulin profiles" both enabled and disabled. My low level insulin duration setting is at 3 hours.
Compared to the omnipod, xdrip is reporting a much lower IOB which results in a higher suggested bolus. Here is a specific example.
2:27 PM - Bolus 1 unit of Humalog. 4:26 PM - Omnipod shows IOB of 0.4 and suggests 0.5 units, but xdrip shows IOB of 0.27 and suggests 1 unit.
I usually try to bolus based on xdrip's suggestion, but for some reason there is a big difference between xdrip and omnipod.