loading...
Isovolume pressure-flow curves at 75, 50 and 25 percent of the vital capacity: the plateau is flow limitation
running...
How to use
Choose a preset or move any slider: the manoeuvre repeats by itself (tidal breathing, a deep breath in, a hold, then the forced blow and a forced breath back in). The picture shows the lungs and ribcage following the lung volume, the airway with its collapsing segment, and the spirometer; the large loop is traced live, with the red dotted curve showing the flow limit Pel/Rus. The graphs show the volume-time curve with FEV1 and FVC, the isovolume pressure-flow curves, how the ratio depends on airway resistance, and where the patient falls on the obstruction/restriction map. Space pauses, R restarts the blow. Try: (1) Healthy adult, then Asthma attack: the ratio drops below 0.70 and the limb scoops out. (2) Weak effort: the peak flow falls, the rest of the loop barely moves. (3) Pulmonary fibrosis: a small tall loop with a normal ratio. (4) Hesitant start and Stopped early: the quality checks fail.
The science
This is an educational model of a forced-expiration spirometry test with synthetic data. It is not a diagnostic tool and the numbers are not predicted values for any person.
What spirometry measures. After a full breath in to total lung capacity (TLC), the patient blows out as hard and as long as possible into a flow sensor. Integrating the flow gives the volume-time curve; the forced vital capacity (FVC) is the total volume blown out, FEV1 the volume in the first second, and the ratio FEV1/FVC separates obstruction (ratio below about 0.70: air leaves slowly) from restriction (small lungs: FVC low, ratio normal or high). The flow-volume loop plots flow against lung volume, with the peak expiratory flow (PEF) at the top.
Why the late part of the blow does not depend on effort. During a forced expiration the pleural pressure Ppl squeezes the airways. Along the airway the pressure falls from the alveolar pressure Palv = Pel + Ppl to zero at the mouth, so at some point (the equal pressure point) the pressure inside equals Ppl outside; downstream of it the airway is compressed. Only the part upstream of that point drives the flow:
Qmax(V) = Pel(V) / Rus(V)
where Pel is the static elastic recoil pressure of the lung and Rus the resistance of the airways upstream of the equal pressure point (Mead, Turner, Macklem and Little, 1967). Pushing harder (larger Ppl) only compresses the downstream airway more, so the flow does not rise: flow limitation. The isovolume graph shows this directly: at a fixed lung volume the flow climbs with Ppl and then plateaus at Qmax (Fry and Hyatt, 1960). An equivalent description is wave-speed limitation, Q = As cs with the local speed of pressure waves in the compliant tube, cs = √(A/(ρ dP/dA)) (Dawson and Elliott, 1977): the flow cannot exceed the speed at which a pressure wave travels up the collapsing segment.
The model. The flow is the smaller of the limit and the effort-driven flow, and the volume is its integral:
Q = min( Qmax(V), (Pel(V) + E Pmus r(t)2) / (Rus(V) + Rds) ), dV/dt = −Q, r(t) = 1 − e−t/τ
Pel is proportional to (V − V0); Rus = R0[1 + kR(1 − x)2] with x the fraction of vital capacity left, so the airways narrow as the lung empties. Emphysema lowers Pel and raises kR; asthma raises R0; fibrosis shrinks TLC and raises Pel. A weak effort lowers the peak flow only (the effort-driven term is smaller than Qmax only at the very start); a slow rise time delays the peak and produces a large back-extrapolated volume; stopping early cuts FVC.
Quality criteria follow the idea of the ATS/ERS standard: small back-extrapolated volume (below 5 % of FVC or 100 mL), a fast rise to peak flow, and a plateau at the end of the blow (volume change below 25 mL in the last second).
Numerical checks run in the page. (1) The volume equals the time integral of flow; (2) for a linear-elastic lung with constant resistance, V − RV = VC e−t/τc with τc = R VC/Pel, so FEV1/FVC = (1 − e−1/τc)/(1 − e−FET/τc), compared with the simulation; (3) the flow at 50 % of FVC is the same at 100 % and 85 % effort; (4) doubling recoil and upstream resistance leaves the limited flow unchanged; (5) the healthy ratio lies in the normal range, (6) obstruction gives a ratio below 0.70 and (7) restriction a small FVC with a high ratio; (8) FEV1 never exceeds FVC and the volume stays above the residual volume.
Honest simplifications. One lumped airway with an upstream and a downstream resistance; the equal pressure point is not tracked along a branching tree; no thoracic gas compression (the volume is taken at the mouth); the lung is static (no viscoelastic or time-constant inhomogeneity); the inspiratory limb is a fixed shape scaled by effort; the choke-point drawing is illustrative (its area follows the flow, not a computed tube law); parameter values were tuned to look like textbook loops, not fitted to patients. Severity bands are relative to the healthy-adult preset, not to predicted values for age, sex and height.