Skip to content

Conversation

@scottleibrand
Copy link
Contributor

No description provided.

@scottleibrand scottleibrand merged commit 597412d into dev Sep 25, 2017
@scottleibrand scottleibrand deleted the minGuardBG branch September 25, 2017 02:07
@philipgo
Copy link
Contributor

philipgo commented Sep 25, 2017

Even after this fix I still see MinPredBG=999. Is that part of the same problem or is that a different issue?

Starting supermicrobolus pump-loop at Mon Sep 25 13:49:03 CEST 2017 with 1 secon d wait_for_silence: Waiting up to 4 minutes for new BG: ........................Radio ok. Listening: .No pump comms detected from other rigs Preflight OK. Profile less than 60m old. Temp duration >20m. Refreshed pumphisto ryRemoved duplicate bolus/carb entries:7 and meal.json Checking pump clock: "2017-09-25T13:53:40+02:00" is within 1m of current time: M on Sep 25 13:53:51 CEST 2017 and that pumphistory is less than 1m old. Temp refreshed Autotune exists! Hoorah! You can use microbolus-related features. {"carbs":61,"mealCOB":33,"currentDeviation":22.94,"maxDeviation":20.53,"minDevia tion":14.78,"slopeFromMaxDeviation":0,"slopeFromMinDeviation":0.977} {"iob":6.956,"activity":0.0852,"bolussnooze":4.125,"basaliob":0.34,"netbasalinsu lin":1.25,"hightempinsulin":2.8,"microBolusInsulin":2.1,"microBolusIOB":1.181,"t ime":"2017-09-25T11:53:43.000Z","lastBolusTime":1506337922000} {"delta":9,"glucose":121,"short_avgdelta":8,"long_avgdelta":4.6} {"duration":23,"rate":0.8,"temp":"absolute"} Autosens adjusting basal from 0.9 to 0.8; target_bg from 95 to 100; sens from 37 .1 to 42.2 (autosens ratio 0.88) min_bg unchanged: 100; target_bg unchanged: 100; max_bg unchanged: 100 Carb Impact: 26 mg/dL per 5m; CI Duration: 1.6 hours; remaining CI (2h peak): 0 mg/dL per 5m Accel. Carb Impact: 10 mg/dL per 5m; ACI Duration: 4.1 hours predCIs: 24.6 23.2 21.9 20.5 19.1 17.7 16.4 15 13.6 12.2 10.8 9.5 8.1 6.7 5.3 4 2.6 1.2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 remainingCIs: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 COB: 33 remainingCItotal/csf: 31.26 remainingCarbs: 0 UAM Impact: 26 mg/dL per 5m; UAM Duration: 3 hours minPredBG: 82 minIOBPredBG: 39 minCOBPredBG: 51 minUAMPredBG: 199 avgPredBG: 89 COB: 33 carbs: 61 minGuardBG 51 projected below 70 - disabling SMB BG projected to remain above 100 for 110 minutes bgUndershoot: -173 zeroTempDuration: 110 zeroTempEffect: 69 carbsReq: -66 Checking deliverAt: 2017-09-25T11:54:03.503Z is within 1m of current time: Mon S ep 25 13:54:03 CEST 2017 and that smb-suggested.json is less than 1m old enact/smb-suggested.json: {"insulinReq":0,"bg":121,"reservoir":"89.0","temp":"ab solute","snoozeBG":244,"predBGs":{"COB":[121,128,133,138,142,145,148,150,151,151 ,151,150,148,146,142,138,134,128,122,115,108,102,97,92,87,83,79,76,72,69,67,64,6 2,60,59,57,56,55,54,53,53,52,52,51],"aCOB":[121,113,105,97,90,83,76,70,65,60,55, 51,48,44,42,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,40,41,42,44,45,47,48,49 ,51,52,53,54,55,56,57,57,58],"UAM":[121,128,135,142,149,155,162,168,174,181,187, 193,199,205,211,217,223,229,234,239,244,249,254,258,262,266,269,272,275,277,279, 280,281,281,281,280,279,278,277,276,275,275,274,274,274,273],"IOB":[121,127,131, 133,134,134,131,128,122,116,107,98,86,76,66,57,48,40,39]},"minPredBG":999,"IOB": 6.956,"reason":"COB: 33, Dev: 156, BGI: -17.98, ISF: 42, Target: 100, minPredBG 82, minGuardBG 51, IOBpredBG 39, COBpredBG 51, UAMpredBG 273; 273-82 in range: b olus snooze, no temp required, temp 0.8 ~ req 0.8U/hr. ","COB":33,"eventualBG":2 73,"tick":"+9","deliverAt":"2017-09-25T11:54:03.503Z"} No smb_enact needed. Temp refreshed: monitor/temp_basal.json: {"duration":23,"ra te":0.8,"temp":"absolute"} No bolus needed (yet). Settings less than 15 minutes old Edison on battery: 88%. Pumphistory-24 < 30m old Completed supermicrobolus pump-loop at Mon Sep 25 13:54:08 CEST 2017:

@scottleibrand
Copy link
Contributor Author

That's an unrelated cosmetic bug: I originally wanted to make minPredBG a top-level variable, but ended up not using it, so it never got set. You can see that there is another reference to minPredBG in the reason field on the next line that does get set properly: that's the one that's actually getting used. I'll remove the extra one that's showing 999, but you can ignore it for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants