Respiratory SystemInteractive lab
Mechanics of Ventilation Lab
Gas Exchange Lab — Oxyhemoglobin Curve
Move the sliders to shift the dissociation curve via 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
Watch a normal breath: note when alveolar pressure goes negative and air flows in.
Increase breathing effort and observe larger volume swings and pressures.
Raise airway resistance and watch flow fall while pressure effort rises.
Explain why expiration is normally passive but becomes active in exercise.
Variables
| Variable | Unit | Range | Role |
|---|---|---|---|
| breathing_effort | relative | 0.3 – 2.5 (default 1) | Respiratory muscle effort. Higher effort creates larger pressure swings and volumes. |
| airway_resistance | relative | 0.5 – 5 (default 1) | Airway resistance. High values mimic bronchoconstriction: more pressure needed for the same flow. |
| lung_compliance | relative | 0.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.
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.