Controls
Presets
Parameters
Model checks
The science
The idea. The heart ejects blood in pulses, yet the blood in the small vessels flows almost steadily. The large arteries are elastic: during ejection they swell and store volume, between beats they recoil and keep pushing blood on. This is the Windkessel (“air chamber”) effect. The simplest model is two elements: a compliance C (mL per mmHg) and a peripheral resistance R (mmHg·s per mL), C dP/dt = Q(t) − P/R, where P is the pressure above venous pressure and Q the inflow from the heart.
Exact solution. Ejection is a half-sine of duration Ts with stroke volume SV, Q = Qm sin(πt/Ts), Qm = π SV/(2 Ts). With τ = RC the pressure in systole is P = P0e−t/τ + a[sin ωt − ωτ cos ωt + ωτ e−t/τ], and in diastole it decays as e−(t−Ts)/τ. Requiring the beat to repeat gives the end-diastolic pressure in closed form. Two results are worth remembering: the mean pressure is always CO × R whatever the compliance, but the pulse pressure grows as the arteries stiffen (C falls); a short time constant makes the pressure fall far between beats, a long one makes it nearly flat.
Numerical checks. (1) The closed-form steady state is compared with RK4 after 120 beats; (2) the mean of the simulated cycle equals CO × R; (3) the least-squares slope of ln P in diastole gives the time constant RC; (4) the ejected volume equals SV and the volume stored per cycle is zero (balance of inflow and runoff); (5) the beat solution is compared with RK4 from a different starting pressure at five times.
Simplifications. A two-element model has no wave reflection, no characteristic impedance of the aortic root and one lumped artery; real compliance falls with pressure and age, ejection is not a perfect half-sine and venous pressure is not exactly zero. The numbers are textbook-style; this is an educational physiology model, not a diagnostic tool or medical advice.