BIOL3216 / INTERACTIVE PHYSIOLOGY

DEEP DIVE V4.2

How do depth, breathing mode and time change gas behaviour?

Starting investigations

Starters prepare conditions; they do not run or clear completed records.

Current investigation: Surface reference

Prediction questions

Show in Physics

Selected condition · updates immediately

Ambient absolute pressure 1.00 ATA

How do pressure and gas supply change gas volume?

of the surface gas-volume reference

Sealed-sample gas area, not anatomical shape or capacity. Scuba breathing volume is not calculated.

Sealed surface-gas reference

Boyle’s law · surface-enclosed gas

Scroll the figure horizontally if needed →

Read the Boyle curve description

How do depth and mixture change partial pressures and density?

Same fraction. Different partial pressure.

Dry gas fractions and partial pressures at selected depth
GasFractionPartial pressure
Ideal dry-gas density · 20°C 1.20 g/L

20°C · ideal dry gas · not breathing effort

What equilibrium does this gas pressure imply?

Equilibrium dissolved gas for these conditions.

Same gas, liquid and temperature. This equilibrium reference is not current tissue loading.

Freediving · 0 mSelected condition · immediate calculation

Scroll the figure horizontally if needed →

Female diver and selected water depthIllustrative diver; pressure and gas volume are quantified beside the scene. The body is not scaled with pressure. Deep Dive — FreedivingAdult female freediver in a navy wetsuit with blue accents, diving mask and long fins. Illustrative anatomy; body size does not encode depth or gas volume.

Illustrative surroundings · depth is shown by the ruler marker

Explain pressure

Rounded substitution; results use full precision.

This snapshot compares pressure-only calculations; it has no elapsed dive time.

Absolute pressure includes the atmosphere. The classroom seawater convention is 10 m per additional atmosphere.

Inspect gas-volume calculation

Rounded substitution; results use full precision.

The freediving schematic isolates pressure-driven compression of an idealized lung-gas sample. Shaded area encodes relative gas volume; it does not depict the anatomical shape or capacity of compressed lungs. Gas exchange, blood redistribution and chest mechanics are omitted.

In scuba, incoming gas changes the amount of gas in the lungs. The open-system diagram is qualitative; its size does not predict a breathing volume.

P₁V₁ = P₂V₂

Inspect mixture calculations

Rounded substitution; results use full precision.

These are dry-gas values at ambient pressure. They are not alveolar or arterial measurements. Water vapour and physiological gas exchange change lung gas composition. F is the gas fraction; component pressures sum to the total.

Density can affect respiratory resistance; this app does not calculate breathing effort. Parameters and sources ↗

Pgas = Fgas × Pambient

Explain the equilibrium reference

Rounded substitution; results use full precision.

C* is equilibrium dissolved concentration; k depends on gas, liquid and temperature. The same gas in the same liquid has a concentration proportional to its partial pressure. Absolute concentrations and comparisons of nitrogen with helium require solubility coefficients that are not supplied here.

Equilibrium does not happen instantly. In a real breath hold, changing lung gas and exposure history also affect uptake.

C* = kgas,liquid,T × Pgas

Explore the consequences

Connect the calculation to physiology.

Keep depth changes explicit

BOYLE / GAS-SUPPLY HISTORY

Lungs: compression & expansion

Consequence

Gas-supply history changes ideal expansion; the sample does not predict anatomical injury.

Explore it

Compare the histories of a freely expanding 1 L ideal gas sample. The starting depth matters.

V₂ = V₁ × P₁ / P₂

Rounded substitution; results use full precision.

Scroll the figure horizontally if needed →

Disc areas represent volume on a shared scale within this comparison. Scale adjusts to fit both samples; numbers are authoritative.

Why it happens

A surface breath compresses on descent; gas inhaled at depth and trapped during ascent can expand beyond its volume at that depth.

Freediving

A surface breath contains a limited gas supply. Boyle’s idealized sealed sample compresses on descent and returns to its initial volume on ascent.

Scuba

The regulator adds gas near ambient pressure. Breathing lungs are an open system; they do not follow a sealed-gas compression curve.

Take-home lesson

Pressure change and the history of gas supply determine the idealized volume change.

Physiological interpretation & sources

These volumes do not predict anatomical lung size or how far lungs can stretch. Real breath-hold lungs exchange gas with blood; tissue mechanics and blood redistribution also matter. Trapped gas expansion can cause pulmonary barotrauma, but gas escape and tissue mechanics determine actual injury.

DAN: lung expansion mechanisms ↗

If gas cannot vent adequately during ascent, expansion can damage lung tissue. In some cases, gas can enter pulmonary veins and then the arterial circulation: an arterial gas embolism (AGE). This possible pathway differs from bubbles forming from dissolved inert gas in decompression sickness; injury or AGE is not inevitable, and not every AGE has this origin.

DALTON / PARTIAL PRESSURE

Nitrogen narcosis: why depth matters

Consequence

Partial pressure is not an impairment score.

Explore it

Rounded substitution; results use full precision.

Local comparison only: main settings and completed exposures stay unchanged. These are supplied dry-gas pressures, not blood-gas measurements.

Why it happens

Breathing nitrogen at elevated partial pressure can impair thinking, attention and judgment. This effect is called nitrogen narcosis.

Dalton’s law: partial pressure = gas fraction × ambient pressure. Air remains approximately 79% nitrogen as depth changes, but its nitrogen partial pressure rises.

The tissue-loading curves are not a narcosis meter.

Take-home lesson

The nitrogen percentage alone does not describe exposure: depth changes its partial pressure.

What changes with another breathing gas?

Lower nitrogen partial pressure alone does not establish proportionally less impairment with nitrox. Oxygen, carbon dioxide and other conditions also matter. Helium changes the gas exposures; it does not establish general safety. Elevated oxygen partial pressure can itself affect the nervous system.

No impairment score or universal toxicity threshold is calculated. See DAN: breathing gases ↗ and Freiberger et al.: gas interactions and psychomotor performance ↗.

DAN: nitrogen narcosis ↗

DALTON / BREATH-HOLD HISTORY

Hypoxia during ascent

Consequence

Only the pressure contribution is calculated; oxygen use is explained, not simulated.

Explore it

Only ambient pressure is calculated here. The oxygen response is explained, not simulated.

Why it happens

Oxygen use during a breath hold and falling pressure during ascent can combine to reduce oxygen availability.

Metabolism consumes oxygen throughout the breath hold. As ambient pressure falls on ascent, lung-gas partial pressures can fall further. Dalton’s law explains the pressure contribution; it does not supply the changing oxygen fraction or predict blood oxygen.

Take-home lesson

Pressure and breath-hold history both matter; depth alone cannot predict oxygen status.

Hyperventilation, blackout & sources

Pre-dive hyperventilation lowers carbon dioxide and can delay the urge to breathe, allowing more oxygen depletion before the breath hold ends. It is not necessary for hypoxic blackout: elapsed time, effort, gas exchange and ascent also matter. Ascent-related hypoxic loss of consciousness is often discussed as shallow-water blackout.

No oxygen saturation, blackout depth or countdown is predicted.

Primary study: hyperventilation and apnea ↗ · Bosco et al.: breath-hold blood gases at depth ↗

Ascent-associated blackout is one context for hypoxic blackout. Hypoxic blackout can also occur without a deep ascent, and hyperventilation is not required. The urge to breathe is not a reliable measure of remaining oxygen.

HENRY + TIME / EXPOSURE HISTORY

Decompression: why previous dives matter

Consequence

Exchange is not bubbles or a recovery test; previous state can matter.

Explore it

Keep the depth, gas and exposure time the same. Change only the surface interval: how does the starting point of Exposure 2 change?

Why it happens

Returning to the surface does not instantly remove additional dissolved nitrogen. A later exposure may begin above the original surface baseline.

Henry’s law relates equilibrium dissolved gas to partial pressure. Exchange takes time: tissues move toward a new equilibrium level during each exposure and surface interval.

Dive tables and computers account for exposure history and residual inert gas when estimating decompression requirements. Our two examples illustrate exchange, not a dive-planning calculation.

Take-home lesson

The same depth and duration can end differently when the starting tissue state differs.

Elimination, supersaturation & model limits

A tissue above the new lung-side equilibrium target has a gradient for nitrogen elimination. This is different from total dissolved-gas supersaturation relative to ambient pressure. An elimination gradient alone does not establish bubbles or decompression sickness.

Bubble-related outcomes require additional physiology. The 10- and 40-minute examples are not named organs or the full range of human tissues. Their return near baseline does not establish whole-body recovery. Freediving does not universally exclude decompression illness.

DAN: compartments and decompression models ↗

An elimination gradient is the first inference here. Total dissolved-gas supersaturation relative to ambient pressure is a different condition; bubble formation and growth require further processes, and bubbles alone do not establish illness. These are conditional steps, not an inevitable progression. Decompression illness (DCI) includes decompression sickness (DCS) and arterial gas embolism (AGE); their gas origins and pathways can differ.

A finite breath-hold gas supply differs from continued compressed-gas breathing, and brief isolated breath-hold loading differs from prolonged or repeated exposure. This is not immunity: some repetitive or deep breath-hold exposures have been associated with bubbles or neurological illness. Mechanisms may be uncertain. These reports do not establish incidence or risk equivalence, and the Scuba tissue curves do not predict freediving outcomes.

Blogg, Tillmans & Lindholm (2023): breath-hold DCI review ↗

Definition

BOYLE / PRESSURE DIFFERENCES

Ears & sinuses: pressure differences

Consequence

Pressure differences can deform gas-containing spaces; this is a qualitative schematic.

Explore it

Switch direction. Which side has the higher pressure, and which way does the eardrum bow?

Scroll the figure horizontally if needed →

Qualitative schematic; deflection is exaggerated, not calculated from depth.

Why it happens

Pressure differences across gas-containing spaces can deform tissues and cause barotrauma.

As surrounding pressure changes, gas tends to compress or expand according to Boyle’s law. If gas cannot enter or leave the middle ear, a pressure mismatch acts across the eardrum. Supplying scuba gas to the lungs does not automatically equalize the ears or sinuses.

Take-home lesson

Freediving and scuba both expose enclosed spaces to changing surrounding pressure.

Sinuses, assumptions & sources

Blocked communication with the nasal cavity can prevent sinus pressure equalization. Pressure differences act across the lining during descent or ascent. Gas escape, anatomy and tissue mechanics determine actual effects; Boyle’s law alone does not predict injury.

DAN: middle-ear pressure mechanics ↗ · DAN: sinus barotrauma ↗

BIOL3216 / SCIENTIFIC RECORD

Model assumptions, equations & limitations

Deep Dive V4.2 · 10 October 2026 · Instructor-approved final release. A mechanism explorer for BIOL3216 Human Physiology in Extreme Environments. The calculations combine ideal-gas relationships with two first-order nitrogen exchange compartments. This is an original teaching implementation, not a port of a decompression computer or a whole-body physiological model.

Expand a section below. Wide tables can be scrolled horizontally on small screens.

1 · Model identity and scope

Boyle, Dalton and Henry describe different relationships. Pressure and gas-law outputs are immediate calculations for an idealized condition. The time experiment adds a documented approach to equilibrium. The two example tissue models are mathematical compartments. They do not have anatomical identities or independently validated human half-times.

Physics follows the relationships presented in NOAA’s gas-law teaching material. Exchange follows the constant-target exponential described under “Tissue Compartments” in DAN’s explanation. No response coefficients, decompression ceilings or risk thresholds have been imported from another model.

V3 retains V2’s single-exposure and gas-law calculations and adds a three-phase repeated-exposure experiment using the same analytical exchange equation. The dry physics view and humidified exchange view deliberately use different gas conventions. Both are labelled. For freediving, initial dry-air fractions do not become predictions of the evolving alveolar composition. Breathing scuba lungs are open to regulated gas supply. The app uses a qualitative open-system diagram in scuba mode. Freediving uses an idealized lung-gas area diagram up to 40 m; beyond that it shows a non-anatomical gas reference. This graphic cutoff is a teaching choice, not a validated anatomical threshold. The Boyle curve and gas-space experiment remain explicitly labelled sealed-gas calculations.

Full-range depth limits come from public record categories, not a validity boundary. Ideal-gas behaviour, lung anatomy and feasible breathing mixtures depart from this representation at extreme depth. The time module’s 0–40 m boundary is a teaching choice, not a physiological or operational limit.

Interface release 4.1: Deep Dive V4.1, a visual refinement of the approved Deep Dive V4 release. E01–E10 are unchanged from the audited V3.1 base; diver artwork v1.1 is retained. This is an interface release, not a new scientific engine. Checkpoints A, B1, B2 and C and local input decision RD-01 were instructor-approved for this build. Historical verification and source-review dates below remain historical; V4 RC1 test results are recorded separately in its implementation audit. Earlier companion documents have not been relabelled V4-compatible.

Extreme-depth gas-law values are idealized extrapolations, not anatomical predictions or feasible dive conditions. The fixed mixtures are teaching examples. Supplied oxygen partial pressure increases with depth; substituting helium does not remove oxygen, HPNS, equipment or real-gas constraints. The Freediving dry-air reference does not track changing lung or blood oxygen.

2 · Equations, variables and units
RelationshipImplemented expressionMeaning and limits
Ambient pressurePamb [ATA] = 1 + d [m] / 10Classroom seawater approximation. Exact hydrostatics: Psurface + ρwatergd. The engine does not mix this approximation with a second depth conversion.
BoyleP₁V₁ = P₂V₂
V₂/V₁ = P₁/P₂
Absolute pressures, fixed temperature and amount of ideal gas. Normalized gas space; not predicted lung capacity.
DaltonPi = FiPamb
ΣFi = 1; ΣPi = Pamb
Dry mixture. F is mole fraction (equivalent ideal-gas volume fraction). Oxygen, nitrogen and helium are represented.
Ideal gas densityρgas = P M̄ / RT
M̄ = ΣFiMi
P in Pa, molar mass M̄ in kg/mol, temperature T in K. Result kg/m³ equals g/L numerically. No real-gas correction.
HenryC* = kgas,liquid,TPgas
C*N₂/C*N₂,surface-air = PN₂,dry/0.79
Same gas, solvent and temperature for the ratio. Absolute solubility coefficients are not assigned. Helium uses a separate same-mixture surface ratio; no cross-gas concentration comparison.
Exchange targetP* = FN₂(Pamb − 47/760)Humidified-inspired approximation in ATA. Does not subtract an invented metabolic correction or claim exact alveolar nitrogen.
Exchange kineticsdPt/dt = (ln 2 / h)(P* − Pt)
Pt(t) = P* + [Pt(0) − P*]2−t/h
t and h in minutes. Positive derivative means uptake; negative means elimination. Analytical constant-target solution. No integration time step.

Pt is compartment nitrogen tension: the equivalent gas partial pressure in equilibrium with the dissolved nitrogen. It is not the mechanical pressure in a tissue. h denotes exchange half-time, not a safe exposure time. C* denotes equilibrium concentration, not the current amount. k depends on both gas and liquid; it is not the kinetic rate constant ln 2/h.

Inputs: depth, breathing mode, scuba mixture; duration and an explicitly selected repeat experiment’s surface interval in the time view. Fixed values: surface pressure, temperature conventions, gas fractions, half-times and baseline. Evolving states: the two nitrogen tensions during a calculated exposure. Derived outputs: pressure, ideal volume ratio, dry partial pressures, ideal density, relative Henry targets and compartment histories. No body-size or sex parameter is used.

3 · Parameter provenance and teaching choices
Parameter / valueBasis and source locationWhy it is used
Surface: 1 ATA; +1 ATA / 10 mClassroom seawater approximation; NOAA, pressure-volume and partial-pressure examples. Its 33 ft seawater convention is approximately 10 m.Transparent integer-depth benchmarks. Not freshwater or altitude diving.
1 atm = 101325 Pa; 760 mmHg conventionStandard atmosphere and pressure conversion; NIST SI guide, Appendix B, pressure entries. 1 bar = 100000 Pa.ATA is atmospheres absolute. It is not numerically interchangeable with bar. 47 mmHg is an approximate physiological value.
Air .21/.79 O₂/N₂; Nitrox .32/.68; Heliox .20/.80 O₂/HeDeclared simplified teaching mixtures. Air/Nitrox 32 also appear in NOAA’s Dalton examples.Air’s minor non-O₂ gases are grouped with N₂. Heliox changes O₂ fraction as well as inert-gas identity.
R = 8.31446261815324 J·mol⁻¹·K⁻¹NIST/CODATA molar gas constant; stored to floating-point precision.SI ideal-gas density calculation.
Molar masses: O₂ 0.0319988; N₂ 0.0280134; He 0.004002602 kg/molNIST Chemistry WebBook / atomic data, molecular/atomic weight entries; g/mol divided by 1000.Mixture molar mass, not a tissue solubility parameter.
Dry-gas temperature: 293.15 K (20°C)Teaching choice, fixed across mixtures and depths.Isolates pressure and composition in density; no gas cooling or warming trajectory.
Water vapour: 47 mmHg at 37°CStickland et al. (2013), pulmonary gas-exchange equations, water-vapour convention.Simplified fully humidified-inspired N₂ target. This 37°C convention is distinct from the 20°C dry-density calculation.
Half-times: 10 and 40 minTeaching choices. The exponential half-time concept is described by DAN, “Tissue Compartments”.Contrast fast and slow exchange. Not fitted human organs or a selected decompression algorithm.
Baseline: 0.79 × (1 − 47/760) = 0.7411447… ATADerived from the declared surface-air and humidification assumptions.Common initial condition, including nitrox runs.
Time 0–60 min, default 20; washout 60 minTeaching choices. Air or nitrox at fixed 0–40 m.Comparable experiments. Neither a permissible duration nor a complete dive profile.
Repeated exposure: two identical holds; surface interval 0–120 min, default 30Teaching choices. Interval shortcuts: 10, 30, 60 min.Show carry-over under unchanged half-times. Not interval guidance or a whole-body clearance estimate.
Explorer maxima: 253 m / 333 mRecord listings, checked 24 September 2026; scuba endpoint rounded from 332.35 m.Record-scale context. Not certified physiological model domains.
Tissue examples: fat, joints and nervous tissue

The lines are labelled Example faster tissue and Example slower tissue. Each represents a possible exchange speed, not a named organ. The 10- and 40-minute half-times remain teaching choices.

Nitrogen uptake and elimination depend on delivery by blood, tissue solubility and structure. Poorly perfused fat, ligaments and cartilage can exchange slowly; well-perfused nervous tissue can exchange more rapidly. Fat’s nitrogen capacity and exchange speed are different ideas. A joint contains multiple tissues and cannot be assigned one universal half-time. See DAN’s tissue-compartment explanation.

These examples do not span all human exchange rates. Near-baseline values do not establish whole-body recovery. No claim is made that either line measures neurons, brain, adipose tissue or a joint. Neural effects of elevated gas pressures should not be inferred from the slower loading curve. Tissue tension is the equilibrium gas pressure corresponding to dissolved nitrogen; it is neither local mechanical pressure nor a bubble measurement.

4 · Exposure protocol, reset and comparison

Each Run exposure discards any previous physiological history and starts both compartments at the same surface-air baseline. A mathematical step sets a constant nitrogen target for the selected depth and mixture. No descent/ascent duration, exercise or adjustable gas switching is simulated. The defined surface phases use surface air. The endpoint is calculated directly from the analytical solution.

The optional 60-minute surface phase begins at the exposure endpoint and targets surface air. It does not reinitialize the compartments. For a surface-nitrox exposure that lowers nitrogen below baseline, the return to air drives uptake; the displayed explanation states this exception.

Controls prepare the next time experiment. Existing captions, values, equations and histories continue to describe the completed run. Mode changes do not convert a scuba history into a freedive. The pressure view shows current selected conditions immediately and retains a separate condition snapshot.

One exposure can be retained, replaced or removed. Uptake comparisons align at exposure start; surface-phase comparisons align at the start of that phase. Each chart uses common scales across the compared runs. Exposure endpoints at different durations are explicitly labelled. Current traces are solid with filled endpoint markers; reference traces are dashed with open markers. Each run can be shown alone using the legend controls. Axes retain the same scales when a trace is hidden. Identical depth and mixture produce overlapping uptake histories over the shared time interval; that overlap is explicitly identified. Circles identify the faster compartment and diamonds the slower.

Repeated exposure: equations and state history

The explicit repeat extension uses a completed single exposure as its fixed protocol. Exposure 1 starts at surface-air equilibrium. The surface interval uses the humidified surface-air target and Exposure 1’s endpoint. Exposure 2 has the same depth, gas and duration as Exposure 1 and begins at the surface interval’s endpoint. These are mathematical pressure steps, not a dive profile.

For each half-time h, define F(P₀,P*,t) = P* + (P₀ − P*)2−t/h. Let B be the common baseline, D the depth target, T the exposure duration and I the surface interval:

End₁ = F(B,D,T)
Start₂ = F(End₁,B,I)
End₂ = F(Start₂,D,T)

Tissue tension is continuous at both transitions; target and ambient pressure change instantly. Sampling only draws the analytical histories and does not integrate the state.

The 0–120 min surface interval is a teaching range. At 120 min the 40-minute example has closed 87.5% of its gap to the surface target; this is not complete equilibrium. The two examples do not span the full range of human tissues, and approaching baseline does not demonstrate whole-body recovery.

Ordinary Run exposure always resets to baseline. Repetition occurs only through Run repeated exposure. Changing the interval prepares a new sequence; the old sequence retains its protocol. Changing main controls does not change the completed first exposure used to prepare repetition. Running a new single exposure updates the prepared repeat protocol, while any completed sequence stays labelled with its own conditions. View changes preserve all completed results. The retained single-exposure reference remains separate; no sequence-reference overlay is provided.

At zero surface interval, the two holds are mathematically equivalent to one hold of twice the duration. At surface air, baseline remains unchanged. Surface nitrox can first lower nitrogen tension, with the surface-air interval then driving uptake. Repetition does not add a fixed nitrogen increment. For a repeated fixed cycle, the successive state differences contract under these exponential equations, approaching a repeating pattern rather than unlimited accumulation.

Dive tables and computers address exposure history using more extensive models and assumptions. This two-example sequence computes no decompression requirements. See DAN’s compartment and computer explanation.

5 · Physiological evidence and interpretation

Bosco et al. (2018) measured arterial gases in six completing breath-hold divers at 40 m. Four showed higher oxygen pressure at depth; two showed lower values. The study’s particular divers, preparation and exposure do not validate a universal depth-to-blood-oxygen rule.

Fitz-Clarke (2009) modelled alveolar, blood and tissue gas exchange with lung compression. That illustrates why predicting freediver oxygenation needs more than pressure multiplication. Its physiological model is not implemented here.

Pernett et al. (2023) studied serial static apneas in 18 participants with little or no freediving experience. Hyperventilation reduced pre-apnea CO₂ and delayed involuntary breathing movements, with greater subsequent desaturation. This supports the mechanism explanation; it does not supply a blackout threshold for this app.

Held & Pendergast (2013) examined submersion and hyperbaric respiratory mechanics. Gas density is relevant to resistance, but mechanics, ventilation and equipment also matter. Our density calculation is not a prediction of work of breathing.

Freiberger et al. (2016) investigated nitrogen, carbon dioxide and oxygen alongside rest/exercise during psychomotor testing. This motivates the distinction between supplied-gas partial pressures, cognitive effects and time-dependent loading. No impairment score is derived from that study.

DAN’s lung expansion explanation supports the trapped-gas mechanism. Actual injury depends on gas escape and tissue mechanics. Decompression illness also cannot be reduced to a compartment value; no bubble or disease prediction is calculated.

6 · Verification and evidence status

Code and mathematical verification: verified surface/10/20/30/40 m gas-law benchmarks, full-depth endpoints, mixture sums, common Henry reference, pressure-unit conversion, ideal-density benchmarks, zero time, one- and two-half-time changes, monotonic approach, shared initialization and continuity into the surface phase. Sampling at different densities leaves the analytical endpoints unchanged.

Reference-method comparison: matched NOAA’s ideal-gas examples and the documented exponential half-time relationships. There is no borrowed or matched third-party decompression implementation; none is claimed.

Human-data validation: not performed for the abstract 10- and 40-minute compartments. Human studies inform contextual statements and delimit claims. The app does not reproduce participants’ measured physiological trajectories.

Unvalidated conditions: individualized responses at all depths, severe-depth physiology, dynamic breath-hold gas exchange, exercise effects and decompression outcomes. Gas-law agreement alone does not establish physiological validity.

V3 verification: gas-law and single-exposure outputs matched the supplied V2 exactly across representative presets and boundary conditions. Independent exponential calculations checked the repeated sequence, phase continuity, zero interval equivalence to one continuous hold, long-interval approach, surface-nitrox reversal and sampling-independent endpoints. Local offline Chromium checks passed for presets, both views, pending/completed protocols, retained references, interval changes, repeat actions, mode/range boundaries, and the five consequence panels. Keyboard controls, definition dialogs, focus return and accessible labels were checked. Desktop, laptop, tablet, 390 px and 320 px layouts and zoomed reflow were rendered; representative plots, panels and full-depth scene contrast were visually inspected. Embedded fonts loaded without network requests or JavaScript errors. This is not exhaustive assistive-technology, cross-browser or classroom-projector certification.

7 · What this model cannot tell you

No prediction of oxygen stores, alveolar or arterial gases, saturation, blackout, heart rate, diving response, blood redistribution, actual lung volume, cognitive impairment, oxygen toxicity, barotrauma or decompression sickness. Neither mathematical equilibrium nor a flat history establishes comfort, tolerance or safety.

Additional physiology would require selected and supported models of gas exchange, circulation, tissue mechanics, bubble dynamics and individual exposure history. A general warning cannot substitute for that model development.

Historical build record: Deferred: freely changing dive profiles, descent/ascent rates, stops, general repetitive-dive profiles beyond the two identical holds, helium exchange, pre-dive breathing controls, gas switching during exposure, buoyancy, wetsuit compression, thermal state, hydration and individual susceptibility. This app does not collect answers, personal data or usage analytics. Lecture-specific alignment has not been assessed because lecture slides were not supplied for this build.

8 · Glossary for interpretation
Surface interval / residual nitrogen
The interval between exposures at surface air. Residual nitrogen refers to nitrogen still above the original baseline after a loading exposure; it is not a fixed increment added on every dive.
ATA / absolute pressure
Pressure referenced to vacuum, expressed in standard atmospheres. At the model surface, ambient pressure is 1 ATA.
Gas fraction
Proportion of an ideal mixture contributed by a gas. A percentage divided by 100 gives its fraction.
Partial pressure
The component pressure a gas contributes to a mixture; fraction multiplied by total absolute pressure for an ideal mixture.
Gas density
Mass per gas volume, here g/L at a stated pressure and temperature. It is not a breathing-effort score.
Gas tension
The equilibrium gas pressure corresponding to dissolved gas in a liquid or compartment. It is not the tissue’s mechanical pressure.
Solubility
The relation between gas partial pressure and its equilibrium dissolved concentration in a particular liquid at a particular temperature.
Equilibrium target
The value toward which a compartment would move under constant model conditions. It is distinct from its present value.
Half-time
Time required to remove half the remaining difference from a constant target. After two half-times, 75% of the initial difference has been removed.
Uptake / elimination
Increasing / decreasing compartment gas tension in this model. The direction follows the target-to-compartment difference.
Washout
Loss of accumulated inert gas after a lower driving target is imposed. A return to surface air need not produce elimination if the compartment starts below that target.
Supersaturation
A dissolved-gas state exceeding equilibrium for a specified reference. Relative to ambient total pressure it differs from the elimination gradient to inspired nitrogen alone; neither defines individual decompression sickness.
Barotrauma
Mechanical tissue injury associated with pressure differences and gas-space deformation. Injury is explained, not predicted.
Narcosis
Altered nervous-system function associated with breathing gases at elevated partial pressures. It is separate from the time-dependent nitrogen-loading calculation.
9 · Sources and attribution

Sources checked 24 September 2026. The links support specific relationships or contextual statements above, not blanket validation of the simulator. External links require a network connection. Some publisher pages restricted automated full-text access; available abstracts or official indexed material were used where necessary. No human parameters were fitted from those sources.

  1. NOAA Diving Center (2016), Gas Laws. Boyle: slides 3–11; Dalton: slides 16–26; Henry: later gas-absorption section. Also Diving Physiology, early Henry/compartment slides. Teaching approximations are not adopted as physiological validation.
  2. Divers Alert Network, Introduction to Decompression Sickness, “Predicting Gas Uptake and Elimination,” especially “Tissue Compartments.” Mathematical concept, not the source of a validated two-compartment parameter set.
  3. NIST, Guide to the SI, Appendix B.8, pressure conversions.
  4. NIST/CODATA, Molar gas constant R.
  5. NIST Chemistry WebBook, SRD 69: Oxygen; Nitrogen; Helium atomic data.
  6. Stickland, M. K., et al. (2013). Pulmonary gas exchange and acid-base balance during exercise. Comprehensive Physiology, 3, 693–739. Water vapour at 37°C and inspired/alveolar distinction; no exercise response is implemented.
  7. Bosco, G., et al. (2018). Arterial blood gas analysis in breath-hold divers at depth. Frontiers in Physiology, 9, 1558. Results, Table 3.
  8. Fitz-Clarke, J. R. (2009). Lung compression effects on gas exchange in human breath-hold diving. Respiratory Physiology & Neurobiology. Context for omitted dynamic mechanisms; not the implemented engine.
  9. Held, H. E., & Pendergast, D. R. (2013). Relative effects of submersion and increased pressure on respiratory mechanics, work, and energy cost of breathing. Journal of Applied Physiology, 114, 578–591.
  10. Freiberger, J. J., et al. (2016). Assessment of the interaction of hyperbaric N₂, CO₂, and O₂ on psychomotor performance in divers. Journal of Applied Physiology, 121, 953–964.
  11. Pernett, F., et al. (2023). Effects of hyperventilation on oxygenation, apnea breaking points, diving response, and spleen contraction during serial static apneas. European Journal of Applied Physiology, 123, 1809–1824.
  12. DAN: Know the Risks, nitrogen narcosis section; Breathing Gases; Back to Basics, gas laws. Sources for cognitive effects and supplied-gas interpretation, not validation of an impairment model. Relevant passages checked 24 September 2026.
  13. Divers Alert Network: Middle-ear pressure mechanics and Sinus barotrauma. Qualitative descent/ascent mechanisms, not injury thresholds.
  14. Divers Alert Network (2010). Lung Expansion Injuries, Daniel A. Nord’s explanation of ambient-pressure supply and trapped gas.
  15. Public record listings: Guinness no-limit freedive (male), 253 m; AIDA no-limit history, 214 m; Guinness scuba (male), 332.35 m. Listings and ratification categories differ and may update.

Original HTML/CSS/JavaScript and vector artwork prepared for BIOL3216. No external runtime library, analytics or imagery is required. Embedded IBM Plex Sans and STIX Two Text are reused from the course’s Thermoregulation V4 asset package under the SIL Open Font License. That simulator’s code and original files are unchanged.

Embedded font licences
Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"

This Font Software is licensed under the SIL Open Font License, Version 1.1.

This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded, 
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.


Copyright 2001-2021 The STIX Fonts Project Authors (https://github.com/stipub/stixfonts), with Reserved Font Name "TM Math". STIX Fonts™ is a trademark of The Institute of Electrical and Electronics Engineers, Inc.

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded, 
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.