Skip to content

Commit

Permalink
Update understanding-insulin-on-board-calculations.md
Browse files Browse the repository at this point in the history
  • Loading branch information
danamlewis authored Nov 14, 2020
1 parent 29338f6 commit 536a2f2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ Finally, two sources to benchmark the `iob` curves against can be found [here](h
**A NOTE ABOUT VARIABLE NAMES:** A separate program [oref0/lib/iob/total.js](https://github.com/openaps/oref0/blob/master/lib/iob/total.js) creates variables named `activity` and `iob`. Those two variables, however, are not the same as the `activity` and `iob` variables plotted in this documentation page. Those two variables are summations of all insulin treatments still active.

The `activity` and `iob` concepts plotted here are expressed in percentage terms and are used to scale the `treatment.insulin` dosage amounts, so the units for the `activityContrib` and `iobContrib` variables are *units of insulin per minute* and *units of insulin remaining at each minute*, repectively. Because the `activity` and `iob` variables in [oref0/lib/iob/total.js](https://github.com/openaps/oref0/blob/master/lib/iob/total.js) are just the sums of all insulin treatments, they're still in the same units of measurements: *units of insulin per minute* and *units of insulin remaining each minute*.

</details>

---
Expand Down

0 comments on commit 536a2f2

Please sign in to comment.