Permalink
Find file Copy path
33 lines (21 sloc) 1.9 KB

Sensitivity detection

Sensitvity algorithm

Currently we have 4 sensitivity detection models:

  • Sensitivity Oref0
  • Sensitivity AAPS
  • Sensitivity WeightedAverage
  • Sensitivity Oref1

Sensitivity Oref0

Basically sensitivity is calculated from 24h data in the past and carbs (if not absorbed) are cut off after time specified in preferences. The algorithm is similiar to OpenAPS Oref0, described in OpenAPS Oref0 documentation.

Sensitivity AAPS

Sensitivity is calculated the same way like Oref0 but you can specify time to the past. Minimal carbs absorption is calculated from max carbs absorption time from preferences

Sensitivity WeightedAverage

Sensitivity is calculated as a weighted average from deviations. Newer deviations have higher weight. Minimal carbs absorption is calculated from max carbs absorption time from preferences. This algorithm is fastest in following sensitivity changes.

Sensitivity Oref1

Sensitivity is calculated from 8h data in the past or from last site change, if it is less than 8h ago. Carbs (if not absorbed) are cut after time specified in preferences. Only the Oref1 algorithm supports un-announced meals (UAM). This means that times with detected UAM are excluded from sensitivity calculation. So if you are using SMB with UAM, you have to choose Oref1 algorithm to work properly. For more information read OpenAPS Oref1 documentation.

COB Examples

Oref0 / Oref1 - unabsorbed carbs are cut off after specified time

COB from oref0

AAPS, WeightedAverage - absorption is calculated to have COB == 0 after specified time

COB from AAPS

If minimal carbs absorption is used instead of value calculated from deviations, a green dot appears on COB graph