oref0 icon indicating copy to clipboard operation
oref0 copied to clipboard

Introduce inherent fat and protein insulination

Open mountrcg opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. There is no current problem in oref. The feature would enable a user to input a meal consisting either:

A) Carbs, Protein, Fat in g -or- B) Carbs in g and total calories in kcal

Oref would consider the excess calories from fat and protein

A) fat in g * 9 + protein in g * 4 B) total calories - carbs in g * 4

as additional insulinRec over a certain amount of time, more specifically at certain points of times in the future

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Currently attributes for protein and fat exist in NS treatments. However in a macro specific way of tracking meal consumption they do not help atm as the calories from them have to be converted into extended carbs or FPU and will increase the carb accounting. Also a standardized, user customizable way to consider fat protein insulination can be introduced in oref and help lots of people who think T1's received a big hint regarding carbs and try to get by with a more fat & protein focused diet.

High level solution design The algorythm to deduce insulinReq from fat and protein are wel tested and available and can be customized by any individual specifying the following:

  1. Conversion rate of excess calories in to carb equivalant FPU (Fat Protein Units): with me 10g/100kcal
  2. time periods different FPU amounts should be uniformely distributed over and result in insulinReq
  • onset start in min: 60
  • max duration in min: 560
  • standard: duration = MINIMUM(120min + x FPU * 60 min;560 min)

Suggestions could alway draw the specific insulinReq depending on when the last suggestion was made and how much FPU are left to insulinate and calculate insulinRec for the time period since last suggestion.

This way one could get rid of carbs that are not carbs but fat and protein.

mountrcg avatar Nov 26 '21 07:11 mountrcg

A Feature Request for total calories in NS has been entered to support option (B) of meal specification.

mountrcg avatar Nov 26 '21 07:11 mountrcg