7  Hands-on: Simulation in the Browser

In this chapter, we use simple models that run in the browser to check the content of the previous chapters by trying things yourself. When you move the sliders or buttons, the graphs update on the spot (all computation happens inside your browser).

WarningThese are “conceptual models”

The models used here are greatly simplified for educational purposes. They are meant for understanding the shapes and trends of the graphs and cannot be used to predict actual drug concentrations or doses. Pharmacokinetic parameters are approximate values based on representative figures from package inserts and published data.

7.1 Experiment 1: How fast do the native incretins disappear?

In Chapter 2, we learned that the half-life of active GLP-1 is 1–2 minutes and that of GIP is 5–7 minutes. Let’s look at the concentration profile after a single intravenous bolus.

TipTry it
  • Set the GLP-1 half-life to 1.5 minutes and confirm that almost nothing is left after 10 minutes
  • Try to explain why “injecting this hormone as it is and using it as a drug” is unrealistic

7.2 Experiment 2: Blood concentrations of a once-weekly drug

The GLP-1 receptor agonists seen in Chapter 6 extend the half-life to several hours to one week. Let’s simulate the blood concentration with repeated dosing.

The model is a one-compartment model with “first-order absorption from the subcutaneous tissue and first-order elimination”, and the concentrations from each dose are added together (the superposition principle). The vertical axis is a relative value with the peak concentration after the first dose set to 1.

TipTry it
  1. Select semaglutide and read off how many weeks it takes to reach steady state. Think about how this relates to the reason for dose escalation every 4 weeks in clinical practice
  2. Keep the dosing interval at “once weekly” and lower the half-life to 13 hours (equivalent to liraglutide). What becomes a problem?
  3. Check “Miss the 3rd dose”. How does the impact of a missed dose differ between drugs with long and short half-lives?
  4. Compare tirzepatide and semaglutide and see how the ratio of peak to trough differs
  1. Semaglutide’s half-life is about 1 week, so it takes about 3.3 weeks to reach 90% of steady state. Because it takes about a month for the effects and side effects to stabilize after a dose increase, escalation is done every 4 weeks. Starting at a low dose and increasing gradually is also meant to let the body get used to the gastrointestinal side effects (nausea, etc.).
  2. With once-weekly dosing and a 13-hour half-life, the concentration falls to nearly zero before the next dose, creating periods when the drug is working and periods when it is not. The balance between half-life and dosing interval is important.
  3. With a long half-life, missing one dose only lowers the concentration gradually, so the impact is relatively small. The flip side is that when side effects occur, the drug does not wash out quickly even after stopping it.
  4. Tirzepatide, with its slightly shorter half-life (about 5 days), has a somewhat larger difference between peak and trough.

7.3 Experiment 3: Why do incretins rarely cause hypoglycemia?

Let’s check the idea of the triggering and amplifying pathways from Chapter 3 on a graph. The horizontal axis is blood glucose and the vertical axis is insulin secretion (relative value).

  • Glucose only: secretion by glucose itself (triggering pathway). An S-shaped curve that rises once blood glucose exceeds a certain threshold
  • + Incretin: amplifies the secretion from the triggering pathway several-fold
  • + SU drug: closes K_ATP channels regardless of blood glucose, so it shifts the curve to the left (toward lower glucose) and causes secretion even during hypoglycemia
TipTry it
  1. Confirm that even if you strengthen the incretin action, secretion at a blood glucose of 60 mg/dL barely increases
  2. Increase the strength of the SU drug. What happens in the hypoglycemic range?
  3. Turn on “Type 2 diabetes” and switch between GLP-1 and GIP. How does Chapter 1’s “GIP works poorly but GLP-1 works” show up?
  1. Incretins only multiplicatively amplify the secretion from the triggering pathway, so in the hypoglycemic range where the trigger is not pulled, multiplying a value near 0 by anything still leaves it near 0. This is what “glucose-dependent” means.
  2. SU drugs pull the trigger regardless of blood glucose, so insulin is released even in the hypoglycemic range. When incretin-based drugs and SU drugs are combined, the incretin amplifies even the secretion caused by the SU drug, raising the risk of hypoglycemia. This is why the SU dose is reduced when they are combined.
  3. In this model, responsiveness to GIP in type 2 diabetes is lowered to 15% of the healthy level. Amplification remains with GLP-1, whereas GIP produces almost no amplification. In reality, however, it is known that the response to GIP partly recovers when blood glucose is improved (Chapter 6).