Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
529b317
Merge pull request #2 from openaps/dev
logichammer Dec 30, 2015
e500b82
Merge pull request #4 from openaps/dev
logichammer Jan 19, 2016
338fca3
Merge pull request #5 from openaps/dev
logichammer Jan 26, 2016
2973713
Revised BGI explanation, NS upload info added, pseudo code loop examp…
logichammer Jan 28, 2016
9876832
small edit to image tag
logichammer Jan 28, 2016
19af258
add caveat to BGI example
logichammer Jan 28, 2016
b53a64b
Merge Nightscout upload instructions
logichammer Feb 3, 2016
415e3a7
Update using.md
joannestevens Feb 20, 2016
baa07cb
Create wifi.md
jmatheson Feb 27, 2016
3b79426
Update wifi.md
jmatheson Feb 27, 2016
98f332c
Update wifi.md
jmatheson Feb 27, 2016
9f4b0dc
Added link to wifi troubleshooting
jmatheson Feb 27, 2016
c1bfbe1
Update wifi.md
jmatheson Feb 27, 2016
bb8f453
Update wifi.md
jmatheson Feb 27, 2016
cd05821
Merge pull request #2 from openaps/dev
jmatheson Feb 27, 2016
09b566f
Adjusted text
jmatheson Feb 28, 2016
389d391
Update vizualization.md
live4sw Feb 29, 2016
63d29c7
Update Using-oref0-tools.md
live4sw Mar 4, 2016
231f821
Update using.md
Mar 6, 2016
09b0b81
Update using.md
mikestebbins Mar 7, 2016
ccd3ed0
make inline link relative
bewest Mar 25, 2016
49e04da
tweak some copyright info
bewest Mar 25, 2016
46a4601
add logo
bewest Mar 25, 2016
1182d7e
don't forget file extension of .md for loops-in-progress
bewest Mar 25, 2016
d4633fb
fix broken reference target
bewest Mar 25, 2016
87e9a57
remove stale/unused content
bewest Mar 26, 2016
adb3960
try tweaking conf.py a bit more
bewest Mar 26, 2016
ac59437
Merge remote-tracking branch 'mikestebbins/dev' into wip-2016-spring
bewest Mar 26, 2016
91131b3
Merge remote-tracking branch 'ceben80/dev' into wip-2016-spring
bewest Mar 26, 2016
8c540bc
Merge remote-tracking branch 'live4sw/patch-2' into wip-2016-spring
bewest Mar 26, 2016
09dadbf
Merge remote-tracking branch 'live4sw/patch-1' into wip-2016-spring
bewest Mar 26, 2016
c89d465
Merge remote-tracking branch 'jmatheson/dev' into wip-2016-spring
bewest Mar 26, 2016
340052a
Merge remote-tracking branch 'joannestevens/patch-1' into wip-2016-sp…
bewest Mar 26, 2016
4c0676e
tweak wifi edits from @jmatheson
bewest Mar 26, 2016
62ccdf5
Merge remote-tracking branch 'logichammer/dev' into wip-2016-spring
bewest Mar 26, 2016
22a3e75
fix image links on readme
bewest Mar 26, 2016
e3d6ac2
fix another link
bewest Mar 26, 2016
ea31ed6
use https links to rtd
bewest Mar 26, 2016
fa0def1
Merge pull request #109 from bewest/bewest-dev-w-dana
danamlewis Mar 29, 2016
1a6b5d7
Merge branch 'dana-dev' of github.com:openaps/docs into wip-2016-spring
bewest Mar 29, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add caveat to BGI example
  • Loading branch information
logichammer committed Jan 28, 2016
commit 19af25863860b6c01dc8b05df803af8b8035a435
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ At the beginning of each phase, an outline summarizes:
* [Configuring and Learning to Use openaps Tools](docs/Log-clean-analyze-with-openaps-tools/using.md)
* [Phase 2: Build a Manual System](docs/Build-manual-system/considerations.md)
* [Using oref0 Tools](docs/Build-manual-system/Using-oref0-tools.md)
* [Understanding oref0-determine-basal recommendations] (docs/Build-manual-system/Understand-determine-basal.md)
* [Understanding oref0-determine-basal recommendations](docs/Build-manual-system/Understand-determine-basal.md)
* [Creating a Loop and Retry Logic](docs/Build-manual-system/loop-and-retry-logic.md)
* [Phase 3: Automate Your System](docs/Automate-system/considerations.md)
* [Creating a Schedule](docs/Automate-system/create-schedule.md)
Expand Down
3 changes: 2 additions & 1 deletion docs/Build-manual-system/Using-oref0-tools.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Using oref0 Tools
# Using oref0 Tools

## Add the oref0 Virtual Devices
In Phase 1, you added two physical medical devices to openaps—your pump and your cgm. This was done using the command `$ openaps device add` and then specifying the device name, type, and parameters. OpenAPS tools to gather system profile parameters such as pump settings, calculate the current insulin on board (IOB), and determine if the pump temp basal should be updated or not, are contained in the OpenAPS reference system oref0. Since there is no physical oref0 device, you are essentially adding it to the openaps environment as a virtual device or plugin.
Expand Down Expand Up @@ -293,3 +293,4 @@ openaps upload-recent-treatments
````

I've noticed it can take a couple of minutes after a successful load of data in NS for the data to show up in the interface so be patient!
![Basal Profile](../Images/nightscout.png)
1 change: 1 addition & 0 deletions reference-design.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ The algorithm above is sufficient for a simple and safe OpenAPS implementation,

To calculate this deviation, OpenAPS first calculates a term we call “BG Impact” or BGI. BGI is simply the expected effect of the net IOB, calculated by multiplying the current insulin activity times the ISF (see example below). the current insulin activity (first derivative of IOB) * insulin sensitivity. When expressed in units of mg/dL/5m, this represents the degree to which BG “should” be rising or falling, and can be directly compared to the delta between the current and last CGM reading, or an average delta over the last 15m or so. To calculate the deviation, OpenAPS does exactly this comparison, between the 15m average delta in CGM readings and the predicted BGI.

**The following example uses straight linear math for the purposes of simplicity in explanation. In reality, the AP algorithm assumes that insulin effectiveness starts off flat, over time builds in efficacy, and eventually tapers off in its usefulness. **
Example: take the scenario of correcting a BG of 200 (where ISF is 1u per 100 mg/dL, DIA is 4 hours, and target BG is 100).
1. 1u insulin is given to bring BG to 100
2. There are 48 5-minute segments in 4 hours
Expand Down