Respiratory SystemInteractive lab

Mechanics of Ventilation Lab

Gas Exchange Lab — Oxyhemoglobin Curve

Move the sliders to shift the dissociation curve via the Bohr effect.

0204060801000%25%50%75%100%PO₂ (mmHg)Hb saturation (%)- - reference (P₅₀ 26.6)— shifted (P₅₀ 26.6)
Sigmoid dissociation curve (Hill equation, n ≈ 2.8). The gold marker shows saturation at your PO₂.
Estimated Hb saturation: 90.7% at PO₂ 60 mmHgP₅₀: 26.6 mmHgCurve shift: none (at reference)
The Bohr effect

Active tissues are warmer, more acidic, and richer in CO₂ — all of which shift the curve right, lowering hemoglobin's O₂ affinity so it unloads oxygen where it is needed most. A left shift (higher pH, lower CO₂, lower temperature, fetal Hb) means higher affinity and easier loading. 2,3-BPG also shifts the curve right.

Breathing is driven by pressure gradients. This lab animates the diaphragm and rib cage, plots intrapleural and alveolar pressure against lung volume, and lets you raise airway resistance to see what asthma-like narrowing does to the work of breathing.

Instructions

  1. Watch a normal breath: note when alveolar pressure goes negative and air flows in.

  2. Increase breathing effort and observe larger volume swings and pressures.

  3. Raise airway resistance and watch flow fall while pressure effort rises.

  4. Explain why expiration is normally passive but becomes active in exercise.

Variables

VariableUnitRangeRole
breathing_effortrelative0.3 – 2.5 (default 1)Respiratory muscle effort. Higher effort creates larger pressure swings and volumes.
airway_resistancerelative0.5 – 5 (default 1)Airway resistance. High values mimic bronchoconstriction: more pressure needed for the same flow.
lung_compliancerelative0.3 – 1.8 (default 1)Ease of lung inflation. Low compliance (stiff lungs) requires more pressure per volume.

Expected outcomes

  • Explain inspiration and expiration in terms of pressure gradients.
  • Predict the effect of increased airway resistance on airflow and work of breathing.
  • Interpret a pressure-volume loop for a breath.
About this model

Single-compartment lung mechanics model (pressure = volume/compliance + resistance x flow) with textbook-typical adult values. Surfactant, regional ventilation differences, and disease-specific mechanics are not modeled. Resistance slider is a relative multiplier of normal airway resistance.

Learning goals

  • Explain ventilation using pressure gradients.
  • Relate resistance and compliance to the work of breathing.
  • Distinguish quiet from forced breathing mechanics.