--
You received this message because you are subscribed to the Google Groups "OpenAPS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openaps-dev...@googlegroups.com.
To post to this group, send email to opena...@googlegroups.com.
Visit this group at http://groups.google.com/group/openaps-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/openaps-dev/06ebd689-0cff-4276-b3c6-451adab71bc3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenAPS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openaps-dev...@googlegroups.com.
To post to this group, send email to opena...@googlegroups.com.
Visit this group at http://groups.google.com/group/openaps-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/openaps-dev/b2ba6ecb-60e7-4011-bed6-5a0a3d73cc88%40googlegroups.com.
Initial values and assumptions:
1u per 5g consumed
1u will drop 25mg/dl
5g will raise 25mg/dl or simply 1g:5mg/dl
26 initial carbs-(60 minutes measured – 30 for initial rise
divided by 2 mg/dl rise / min averaged equals out to 11 carbs / hour
However if 26-(90-30)/2=-4 (no ketones in urine haha)
Thanks for everything!
Was I to measure entire time I was rising or just initial uptick? I was a bit confused at that point. Using Miss Leibrand (And congratulations on the wedding and the closed loop that's impressive!)
Mr. Leibrand a question regarding iob-cob decay as I've no hardware just enjoying trying to crunch numbers atm.Initial values and assumptions:
So consuming 26g of carbs with initial BG value of 121, I expect 130 mg/dl rise to a value of 251 at the end of the test. Rise began 30 minutes after carbs taken.
1u per 5g consumed
1u will drop 25mg/dl
5g will raise 25mg/dl or simply 1g:5mg/dl
Peaks 90 minutes after consumed
Initial carb intake 7:01 am. Uptick began at 7:27am going from 110mg/dl to 117 mg/dl
26 initial carbs-(60 minutes measured – 30 for initial rise divided by 2 mg/dl rise / min averaged equals out to 11 carbs / hour
However if 26-(90-30)/2=-4 (no ketones in urine haha)
Thanks for everything!
Was I to measure entire time I was rising or just initial uptick? I was a bit confused at that point. Using Miss Leibrand (And congratulations on the wedding and the closed loop that's impressive!)
--On Monday, March 23, 2015 at 6:19:14 PM UTC-4, Scott Leibrand wrote:
So the math in my personal fork of wip/iob-cob has code to take temp basals from the pump and display them as microboluses, the same way DIYPS does. Neither DIYPS nor Nightscout currently supports extended boluses, but since they're functionally identical to high temp basals, it would be fairly easy to add them. (We just don't use extended boluses ourselves, in favor of lots of DIYPS-recommended 0.5U boluses for meals.)Also, if you're trying to replicate the OpenAPS math, that is actually far simpler than the math in Nightscout. Nightscout wip/iob-cob includes both an every-5-minute breakdown of IOB/COB decay, as well as an extra liverCarb overlay that models a delay in carb absorption when insulin activity is high, to better predict the effect of liver carb uptake. OpenAPS, OTOH (and the closedloop portion of DIYPS) simply do the bolus calculator math to determine how BG will "eventually" turn out, without concern for the intermediate predictions of how it'll get there.I also just had another request to write up the actual math that OpenAPS will use, perhaps as a flowchart or a set of manual steps that can be implemented with pen and paper (or coded into whatever language you want). So if I end up doing that, I might have something more for you soon...-ScottOn Mon, Mar 23, 2015 at 12:20 PM, Bert Berla <bert....@gmail.com> wrote:Is there a version of cgm-remote-monitor that contains the math currently being used in #DIYPS or #openAPS? Some things I can't seem to find but that seem important are extended boluses and temp basals, for example. Perhaps I'm just looking in the wrong places. These seem important to me for testing during the 'open loop' phase, but perhaps they aren't so important during closed-loop operation.--
Bert
On Saturday, March 21, 2015 at 12:54:11 PM UTC-5, Bert Berla wrote:So, it looks like there are a number of differences in our IOB-COB math. I'll spend some time reading both files and see what else are the differences, and try to understand it better overall.
Id love to build a simulator to play around with and try to get the predictions to look more like the curves my intuition tells me to expect. I might just do it in Excel or something, though.
Another question - when I turn on the look back in Nightscout, from what point in time are those blue dot predictions generated?
You received this message because you are subscribed to the Google Groups "OpenAPS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openaps-dev...@googlegroups.com.
To post to this group, send email to opena...@googlegroups.com.
Visit this group at http://groups.google.com/group/openaps-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/openaps-dev/b2ba6ecb-60e7-4011-bed6-5a0a3d73cc88%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "OpenAPS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openaps-dev...@googlegroups.com.
To post to this group, send email to opena...@googlegroups.com.
Visit this group at http://groups.google.com/group/openaps-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/openaps-dev/49e29d09-3325-475c-91f6-5684f75b036e%40googlegroups.com.
Wait, you only rose 7 points from 26 carbs? Or is that a typo?
| Time | CGM Read | Meter | Carbs | ||||||||||||||
| 7:01 AM | 121 | 121 | 26g Carbs | ||||||||||||||
| 7:07 AM | 115 | ||||||||||||||||
| 7:12 AM | 114 | ||||||||||||||||
| 7:17 AM | 111 | ||||||||||||||||
| 7:22 AM | 110 | ||||||||||||||||
| 7:27 AM | 110 | ||||||||||||||||
| 7:32 AM | 117 | ||||||||||||||||
| 7:37 AM | 126 | ||||||||||||||||
| 7:42 AM | 139 | ||||||||||||||||
| 7:47 AM | 149 | ||||||||||||||||
| 7:52 AM | 155 | ||||||||||||||||
| 7:57 AM | 165 | ||||||||||||||||
| 8:02 AM | 176 | ||||||||||||||||
| 8:07 AM | 182 | ||||||||||||||||
| 8:12 AM | 185 | ||||||||||||||||
| 8:17 AM | 184 | ||||||||||||||||
| 8:22 AM | 185 | ||||||||||||||||
| 8:27 AM | 185 | ||||||||||||||||
| 8:32 AM | 206 | 222 | |||||||||||||||
| 8:37 AM | 208 | ||||||||||||||||
| 8:42 AM | 207 | ||||||||||||||||
| 8:47 AM | 209 | 210 | |||||||||||||||
| 8:52 AM | 195 | 193 | |||||||||||||||
| 8:56 AM | 196 | ||||||||||||||||
| 9:02 AM | 196 | 201 | |||||||||||||||
| 9:07 AM | 195 | ||||||||||||||||
| 9:12 AM | 194 | 217 | |||||||||||||||
| 9:17 AM | 203 | ||||||||||||||||
| 9:22 AM | 200 | ||||||||||||||||
| 9:27 AM | 201 | ||||||||||||||||
| 9:32 AM | 201 | ||||||||||||||||
| 9:37 AM | 200 | ||||||||||||||||
| 9:41 AM | 198 | ||||||||||||||||
| 9:47 AM | 197 | 206 | |||||||||||||||
| 9:51 AM | Bolus: 4u Humulog | ||||||||||||||||
| 10:16 AM | 200 | 209 | |||||||||||||||
| 10:31 AM | 201 | 210 | |||||||||||||||
| 11:06 AM | 192 | 210 | |||||||||||||||
| 11:37 AM | 188 | 175 | |||||||||||||||
| 12:22 PM | 166 | 174 | |||||||||||||||
| |||||||||||||||||
To unsubscribe from this group and stop receiving emails from it, send an email to openaps-dev+unsubscribe@googlegroups.com.
To post to this group, send email to opena...@googlegroups.com.
Visit this group at https://groups.google.com/group/openaps-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/openaps-dev/c1ae2b84-04f0-49b6-ad9c-f8dd828eeb90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/openaps-dev/CAO0f5zYUT%2BFA4d2o%2BLuVe8_rwbH1RyWfcrNVXDDdxgrC4Y5b%3DA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openaps-dev/CAO0f5zYUT%2BFA4d2o%2BLuVe8_rwbH1RyWfcrNVXDDdxgrC4Y5b%3DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenAPS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openaps-dev+unsubscribe@googlegroups.com.
To post to this group, send email to opena...@googlegroups.com.
Visit this group at https://groups.google.com/group/openaps-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/openaps-dev/EC20EDCC-AA4C-4341-A4C6-CDC543BDCDE0%40gmail.com.
Just to add my feedback, I use the old COB calc from nightscout in HAPP to see future COB. I agree it's not that accurate, but I find it very helpful to get an idea of COB.
Interested to take a look at oref0 forecasting when time allows.