One lung unit with a single resistance and compliance, the lung and chest wall together, of a healthy term baby studied at about one month of age. A ventilator, the baby's own breathing muscles or a negative-pressure shell drives it. It is integrated in your browser and redrawn as it runs; a change takes effect within the breath.
The blood gases are the steady state for the ventilation of the last breath: the values the body would reach after some minutes at these settings, not the moment-to-moment value.
Steady state for this ventilation.
Gas trapping.
No alveolar ventilation.
Not survivable.
It teaches how pressure, resistance and compliance make a breath, how time constants set what a short expiration traps, and how ventilation, dead space, inspired oxygen and shunt set the blood gases. One healthy term baby in the first weeks of life.
The equation of motion of a single-compartment respiratory system: airway-opening pressure minus body-surface pressure plus muscle pressure equals resistance × flow plus volume ÷ compliance, with volume measured from the relaxation volume. Pressure control applies a square airway pressure; negative-pressure ventilation lowers the body-surface pressure by the same square shape with the airway open to the room; volume control sets a constant inspiratory flow; own breathing adds a half-sine muscle pressure for the inspiratory time on CPAP. Expiration is passive. Every mode has an exact solution for the repeating breath (tidal volume, trapped volume, auto-PEEP, mean airway pressure, peak and plateau pressure). The page integrates the same equation in time, with the exact exponential step for the square drives and a fourth-order Runge–Kutta step of at most 1 ms for own breathing, and matches the exact solution (tests: to 1 part in 107, and 1 in 105 for own breathing).
Auto-PEEP is the alveolar pressure above the set PEEP at the end of expiration, as an end-expiratory hold would read it. The page shows its notice from 0.5 cmH₂O, a display rule. About 95% of the volume above PEEP leaves in three time constants (1 − e−3): arithmetic, not a clinical rule.
| Check | Against | Result |
|---|---|---|
| Pressure, volume and own-breathing waveforms | Their exact solutions, 16 lungs and timings in each mode | Tidal volume, auto-PEEP, mean and peak pressure match |
| Oxyhaemoglobin curve | Severinghaus 1979 Table 1, all 51 points | Greatest error +0.55% saturation at 98.77%, as printed; P50 26.86, as printed |
| PaCO₂ and alveolar ventilation | Fenn 1946 Eq. 17 | Halving alveolar ventilation doubles PaCO₂ |
| Alveolar gas | Fenn 1946 Eq. 7 and 8 | In 100% O₂ the R term drops out, as printed |
| The baby’s lung | Katier 2006 medians | Set from them, not predicted |
Experimental and not independently verified. There is no official calculator for a physiology model; the comparators are the exact solutions and the printed tables and equations above. The lung and blood changes, the teaching states and the breathing effort are this page’s illustrations.
The model runs in this browser; nothing you set on this page is stored or sent.
Educational use only. A teaching model of one baby’s lung, not a patient-specific prediction, not a ventilator setting and not a treatment recommendation.