Modeling the activity of mealtime insulins⌁
While simple "bilinear" models have been used in the past, precise modeling has been done for aspart and lispro. The biexponential model by Dragan Maksimovic described here fits the published data from clamp studies. Dragan has made a tremendous work with this model, adopted now by all DIY artificial pancreas algorithms.
A very good explanation of this various models in given in the openAPS documentation.
I use model to this compute the activity of each mealtime insulin dose. I selected a time-to-peak of 60 minutes and a duration of insulin action (DIA) of 300 min (5 hours!) as default. Mealtime insulins have a duration of activity closer to 180 min or 3 hours. For faster insulin aspart (Fiasp®), you may want to choose an even shorter time-to-peak and DIA.
You will be able to set your own time-to-peak and DIA values during the interactive setup, along with other "patient-related" variables.
In simple terms, this means that the effect of insulin will increase from the moment of injection until it reaches a maximum "peak", and then decrease to 0 at the end of the DIA.
Parameters⌁
td = duration duration of insulin activity (DIA)
tp = peak activity time
As can be seen on the picture below, with a DIA of 300 min and tp = 55 min (dark orange curves), 80\% of the insulin has been absorbed and its activity has declined to 10\% of its peak value after 180 min: