Presets
Playback
Meal and patient
Playback and view
Camera
Layers
Quality
Model check
The science
What is modelled
After a mixed meal, carbohydrate is absorbed from the gut, plasma glucose rises, the pancreas secretes insulin, insulin acts on tissues through a delayed “remote” compartment, and glucose returns to its fasting level. The 3D page uses exactly the same equations, constants and RK4 integrator as the 2D page; only the picture differs.
Equations (Bergman minimal model + two-compartment gut)
- Glucose:
dG/dt = −(p1 + X) G + p1 Gb + Ra(t)(mg/dl/min) - Insulin action:
dX/dt = −p2 X + p3 s (I − Ib), where s is the sensitivity slider - Insulin:
dI/dt = −n (I − Ib) + β γ max(G − Gb, 0), where β is the pancreas slider - Gut:
Q1' = −k Q1,Q2' = k (Q1 − Q2),Ra = F k Q2 / VG - Constants: p1 = 0.03/min, p2 = 0.02/min, p3 = 1.5·10−5 min−2/(µU/ml), n = 0.3/min, Gb = 90 mg/dl, Ib = 7 µU/ml, γ = 0.2, k = 1/40 min−1, F = 0.6, VG = 1.7 dl/kg × 70 kg.
How the picture maps to the equations
- Gut / meal plate: the pile shrinks with the unabsorbed carbohydrate Q1+Q2; the intestine glows with Q2; particles leaving it are Ra VG (mg/min).
- Blood vessel: cyan hexagons are glucose, their number follows G/Gb; orange rings are insulin, their number follows I/Ib. One flying particle stands for 120 mg of glucose (a visual scale).
- Pancreas: islets glow and emit insulin in proportion to β γ max(G − Gb, 0).
- Muscle cell: the blue GLUT4 gates open and glow with X; particles entering them carry the insulin-dependent uptake X G VG.
- Liver: the model has one lumped glucose pool, so the liver is shown as the stand-in for the insulin-independent flows: the constant basal output p1 Gb VG and the uptake p1 G VG. They are equal at fasting, which is why G stays at Gb.
What to try
- “Insulin resistant”: a lower s keeps X small, the gates stay dim, glucose peaks higher and recovers slowly although insulin is higher.
- “Weak pancreas”: a small β gives little insulin and a long hyperglycaemia.
- “Fasting”: nothing changes; the flows balance exactly.
- Drag the time slider to inspect any minute of the 6 h response.
Honest simplifications
- The minimal model was fitted to intravenous tests. The meal term, the 60 % effective fraction F and γ = 0.2 are tuned so that a typical meal peaks near 150–170 mg/dl; treat the curves as qualitative teaching curves, not clinical values.
- There is no glucagon, no separate liver glucose production, no kidney excretion, no fat tissue and no day-to-day variability. The anatomy (which organ takes which flow) is illustrative, not fitted.
- Particle counts and speeds are a visual scale; the organs are stylised and not to scale. This is not medical advice and cannot assess a real person.
Checks run in the page
- Analytic fasting equilibrium: all five derivatives vanish at (Gb, 0, Ib, 0, 0), and a no-meal run stays there.
- Return to the same steady state 50 h after the meal.
- Gut compartments against the closed forms D e−kt and D k t e−kt, and absorbed glucose against F D [1 − (1+kT) e−kT].
- An independent Heun (RK2, 0.05 min) integration against the RK4 curve.
Loading model...
Loading Blender model...