Skip to content

Commit 0cf991c

Browse files
committed
✏️ Equation: Remove subscript notation in the middle of ISF
which was used to prevent a tooltip from popping up and the equation from being messed up
1 parent 627db01 commit 0cf991c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/operation/algorithm/auto-adjust.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ In the scenario where *Loop* will either increase basal rate or issue an automat
8080

8181
The amount of insulin needed, or dose, is calculated using the desired reduction in glucose and the user’s ISF. For the *Loop* algorithm, the desired reduction in glucose is the delta between the eventual glucose and the correction target:
8282

83-
$$ \mathit{dose} = \frac{\mathit{BG_{eventual}} - \mathit{BG_{target}}}{\mathit{I_SF}} $$
83+
$$ \mathit{dose} = \frac{\mathit{BG_{eventual}} - \mathit{BG_{target}}}{\mathit{I}\mathit{SF}} $$
8484

8585
!!! info "Loop Dose Calculation"
8686

@@ -114,13 +114,13 @@ To illustrate how the *Loop* calculates the temporary basal rate when there is a
114114

115115
* $\mathit{BG_eventual} = 200 \mathrm{\frac{mg}{dL}}$
116116
* $\mathit{BG_target} = 100 \mathrm{\frac{mg}{dL}}$
117-
* ${\mathit{I_SF} = 50 \mathrm{\frac{\frac{mg}{dL}}{U}}}$
117+
* ${\mathit{I}\mathit{SF} = 50 \mathrm{\frac{\frac{mg}{dL}}{U}}}$
118118
* $\mathit{BR_scheduled} = 1 \mathrm{\frac{U}{hr}}$
119119
* $\mathit{BR_max} = 6 \mathrm{\frac{U}{hr}}$ (set by user in Loop)
120120

121121
First, calculate the dose:
122122

123-
$$ dose = \frac{\mathit{BG_eventual} - \mathit{BG_target}}{\mathit{I_SF}} = \frac{200 \mathrm{\frac{mg}{dL}} - 100 \mathrm{\frac{mg}{dL}}}{50 \mathrm{\frac{\frac{mg}{dL}}{U}}} = 2 \mathrm{U} $$
123+
$$ dose = \frac{\mathit{BG_eventual} - \mathit{BG_target}}{\mathit{I}\mathit{SF}} = \frac{200 \mathrm{\frac{mg}{dL}} - 100 \mathrm{\frac{mg}{dL}}}{50 \mathrm{\frac{\frac{mg}{dL}}{U}}} = 2 \mathrm{U} $$
124124

125125
Then, convert the dose into a basal rate to be issued for the next 30 minutes:
126126

@@ -139,7 +139,7 @@ $$ \mathit{BR_{temp}} = \max(\min( \mathit{BR_{required}}, \mathit{BR_max}), 0)
139139
Consider the following values as fixed values for our calculation:
140140

141141
* $\mathit{BG_target} = 100 \mathrm{\frac{mg}{dL}}$
142-
* $\mathit{I_SF} = 50 \mathrm{\frac{\frac{mg}{dL}}{U}}$
142+
* $\mathit{I}\mathit{SF} = 50 \mathrm{\frac{\frac{mg}{dL}}{U}}$
143143
* $\mathit{BR_scheduled} = 1 \mathrm{\frac{U}{hr}}$
144144
* $\mathit{BR_max} = 6 \mathrm{\frac{U}{hr}}$
145145

0 commit comments

Comments
 (0)