pp_ISF & delta_ISF - blaqone/autoISF GitHub Wiki
AutoISF in the context of delta incorporates two distinct effects. The first effect activates during meal absorption, specifically designed to assist users managing gastroparesis. Users have the flexibility to define a time window (pp_ISF_hours
) during which this effect remains active. Alternatively, any user can set enable_pp_ISF_always=true
to ensure continuous activation. The latter option is recommended for users in pure UAM mode, where meal start detection is not applicable.
When a positive short_avgdelta and an average glucose level exceeding the target+10 are present, the resulting formula is:
pp_ISF = 1 + delta * pp_ISF_weight
For an initial value of pp_ISF_weight
, consider using 0.005. Monitor reactions closely, and cautiously increase the weight, noting that a weight of 0 disables this contribution.
In the absence of postprandial settings, the alternative method emulates what AAPS users did by defining automation rules that modify profiles or targets based on the delta level. Similar to the case of bg_ISF
, a polygon is employed to lookup an ISF modification. For safety, this modification is halved (target_penalty) when bg < target + 30. Finally, the delta_ISFrange_weight is applied:
delta_ISF = 1 + delta_ISFrange_weight * target_penalty * delta_polygon_Lookup
Consider using 0.02 as the initial value for delta_ISFrange_weight
. Exercise caution when increasing it, and evaluate reactions by checking the SMB-tab. A weight of 0 disables this contribution.