Skip to content

Instantly share code, notes, and snippets.

@cjo20
Created September 21, 2015 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cjo20/9f66a020fb4cc0c13d19 to your computer and use it in GitHub Desktop.
Save cjo20/9f66a020fb4cc0c13d19 to your computer and use it in GitHub Desktop.
1u drops 40mg/dl
1u covers 10g carbs
15 min carb delay
30g carbs/hr
At 1200: BG 400, take 7.5u to drop BG to 100
At 1245: Eat 30g carbs
At 1300: Absorb starts. Expected end time for absorbing 1400. Given a 4 hour dia, BG drop is going to be ~1/4 of total expected drop = 75mg/dl during that hour. 75mg/dl is equivalent to 1.875u. This covers 18.75g carbs. This would normally take 37.5 minutes to absorb.
With a liverSensRatio of 1, this means the end of absorbtion will be pushed out to 1438. With a liverSensRatio of 8, the 18.75g carbs becomes 150g, which then takes 5 hours to be absorbed. This pushes the end of absorbtion up to 1800.
At 1615: Eat 90g (sugary) carbs with no bolus. Previous bolus has finished, so no delay due to liver factor. Previous absorb has not finished, so BG does not rise from these carbs yet
At 1800: Previous absorb finishes, start working on 100g carbs, absorbing 30g/hr for 3 hours.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment