waiting for a full beat...
Pressure-volume loop of the left ventricle with ESPVR (dashed amber) and EDPVR (blue)
Steady-state cardiac output against heart rate for the current settings (dot = now)
waiting for a full beat...
How to use
The diagram is the same model as the 3D heart, drawn as a circulation loop: atrium, mitral valve, left ventricle (its size follows the volume), aortic valve, elastic aorta and the peripheral resistance. Valves turn green while open. The strip under the diagram is the elastance curve E(t) of one beat with a cursor. Raise Rp and see afterload push the loop up and stroke volume down; lower Emax with a high preload for a dilated, weak ventricle; raise the heart rate and watch the filling time and EDV shrink.
The science
Same equations, constants and integrator as the 3D page (ported into one shared module). Ventricular pressure is Pv = E(t)·(V − V0), with elastance E(t) = Emin + (Emax − Emin)·e(t) and e(t) a normalised double-Hill curve (a typical published shape; constants are illustrative, not patient data).
Valves are ideal diodes: mitral flow Qmi = max(0, (Pla − Pv)/Rmi), aortic flow Qao = max(0, (Pv − Pao)/Rao). The aorta is a two-element Windkessel: C·dPao/dt = Qao − (Pao − Pven)/Rp, Pven = 5 mmHg. Explicit Euler at 0.25 ms. Model constants: V0 = 5 mL, Emin = 0.06 mmHg/mL, Rmi = 0.01, Rao = 0.02 mmHg·s/mL, systolic duration Tmax = 0.2 + 0.15·T. Typical adult rest values: EDV about 120 mL, SV about 70 mL, EF 55-65 %, BP about 120/80 mmHg.
Checks. (1) MAP must equal Pven + CO·Rp. (2) Over a steady beat filling volume equals ejected volume. (3) End-diastolic volume cannot exceed the passive limit V0 + Pla/Emin. (4) An independent closed form: with the ventricle held weak the aorta must decay as Pven + (P0 − Pven)·exp(−t/(Rp·C)); the integrator is compared with that formula after 1 s.
Simplifications. Single ventricle, constant atrial pressure (no venous-return feedback or baroreflex), no valve inertia, no coronary flow, rigid geometry, flow dots are illustrative. The ventricle sprite size follows cube-root of volume. Not for clinical use. Sprites are Blender 5.2 renders of the 3D page's heart model.