Skip to content

Commit 66d9eb6

Browse files
authored
attempting to fix menu drop down
1 parent d0d2f26 commit 66d9eb6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

docs/docs/While You Wait For Gear/understanding-insulin-on-board-calculations.md

-5
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ There are three key assumptions the OpenAPS algorithm makes about how insulin ac
3939

4040
> **NOTE:** The insulin action assumptions described here are set to change with the release of [oref0, version 0.6.0](https://github.com/openaps/oref0/tree/0.6.0-dev). The new assumptions will use exponential functions for the insulin action curves and will allow some user flexibility to use pre-set parameters for different classes of fast-acting insulins (Humalog, Novolog, and Apidra vs. Fiasp, for example). For a discussion of the alternate specifications of insulin action curves, see [oref0 Issue #544](https://github.com/openaps/oref0/issues/544). When oref0, version 0.6.0 is released and the current assumptions are no longer recommended, this documentation will be updated.
4141
42-
4342
## What The Insulin Activity Assumptions Look Like
4443
Given a `dia` setting of 3 hours, insulin activity peaks at 75 minutes, and between the 74th and 75th minutes, approximately 1.11 percent of the insulin gets used up.
4544

@@ -63,7 +62,6 @@ For shorter `dia` settings, the `peak` occurs sooner and at a higher rate. For l
6362

6463
![activity_dia_2_8](../Images/OpenAPS_activity_by_dia_2_8.png)
6564

66-
6765
## Cumulative Insulin Activity
6866

6967
Given these `activity` profiles, we can plot cumulative `activity` curves, which are S-shaped and range from 0 to 100 percent. (Note: This step isn't taken in the actual [`oref0/lib/determine-basal/determine-basal.js`](https://github.com/openaps/oref0/blob/master/lib/determine-basal/determine-basal.js) program, but plotting this out is a useful way to visualize/understand the insulin on board curves.)
@@ -88,12 +86,9 @@ Similar to calculations above, the code in [oref0/lib/iob/calculate.js](https://
8886

8987
Finally, two sources to benchmark the `iob` curves against can be found [here](http://journals.sagepub.com/doi/pdf/10.1177/193229680900300319) and [here](https://www.hindawi.com/journals/cmmm/2015/281589/).
9088

91-
---
92-
9389
> **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.
9490
9591
>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*.
96-
9792
</details>
9893
9994
---

0 commit comments

Comments
 (0)