Skip to main content
Back to Biology

HOMEOSTASIS · BODY SYSTEMS AND IMMUNITY

Body Systems & Immune Response Lab

File ▾

CHOOSE YOUR INVESTIGATION LEVEL

How do body systems work together, and how does protection spread?

Both levels use the same four stations: lungs, heart and a working muscle during exercise; a patch of tissue meeting a pathogen; a population with vaccine coverage; and two separate groups.

About this model

What kind of model. Codex’s science core (model.js, scenario-data.js), which loads the Body Systems Relay and Immune Defense models unchanged. Every number is an exact model value with no random noise, so repeating a run gives the same numbers and does not estimate real measurement error. None of it is measured from a real person, and none of it is health or medical advice.

① Exercise. One hypothetical subject on a fixed-duration protocol. The workload index (0–1) blends two supplied endpoints in a straight line; it is not % of maximum heart rate. Rest (70 beats/min, 14 breaths/min, 37.0 °C) sits inside healthy-adult resting ranges (MedlinePlus); the top endpoint (150 beats/min, 32 breaths/min) and every slope are illustrative. Cardiac output = heart rate × stroke volume; minute ventilation = breaths per minute × litres per breath; the oxygen ledger = blood flow × (arterial − venous O₂ content) × 10 dL/L (supplied enrichment, not a required AP formula). Arterial PO₂ and PCO₂ stay exactly 95 and 40 mmHg: coordinated submaximal exercise keeps arterial gases roughly steady (OpenStax A&P 22.6), but exact constancy is a simplification; maximal exercise, altitude and disease differ. Partial pressure (mmHg) and O₂ content (mL O₂/dL) are different quantities, and there is no oxygen–hemoglobin curve linking them; venous PO₂ is not modelled. Core temperature is a supplied end-of-protocol value, not a heat-balance result. Real exercise control includes feedforward from the nervous system, not only feedback from blood gases.

② Immune challenge. The antibody curve is Immune Defense’s, unchanged: an unprimed host turns positive on day 5 and peaks on the chosen peak day; a host with matching memory turns positive on day 3 and peaks three times higher, earlier. These are illustrative relative units (AU), not a clinical titer, not a protection threshold. Memory is already made before the challenge; vaccination and earlier infection share one curve by assumption. A different antigen gets no cross-recognition here (real immune systems can cross-react). The burden index is a separate hypothetical trace, not calculated from the antibodies; a ratio of burden indices is not a vaccine-effectiveness percentage. Changing the assay scale changes only the numbers. The tissue picture shows the branches overlapping; for the early job, a macrophage or a neutrophil is correct.

③ Population. Re = R0 × (1 − c × E) with random, even (homogeneous) mixing, fixed contacts, lasting protection and no earlier immunity. The ideal boundary H = 1 − 1/R0 is where Re = 1 exactly: cases hold steady, they don’t vanish. With E < 1 the coverage needed is H ÷ E, which can be above 100% (shown as infeasible, never rounded down to 100%); at E = 0 there is none. E means blocking infection, not just severe disease. Measles 12–18 is a historical range discussed by Delamater et al. (2019), who caution that estimates vary widely by setting; other R0 values are hypothetical. Expected cases per generation (n₀ × Reᵍ) are early expectations: no running out of susceptible people, no chance, no days.

④ Two groups. Each group is its own homogeneous thought experiment; no mixing between them and no whole-network Re is calculated. The uniform reference uses the mean coverage as if everyone mixed evenly.

What am I looking at?

How the lab works. Pick Explore or one lab at the top. Each lab has five tabs: Pre-lab, Bench, Data & graph, Claim · Evidence · Reasoning, and Test. On the Bench, the coach lists your steps; they tick themselves as you work. Press What do I do now? when you’re stuck.

① Exercise. Lungs (left), heart (centre) and a working leg muscle (right) on one loop: the bright red vessel on top is arterial (letter A), the dark violet dashed one below is systemic venous (V). Each red cell carries cyan O₂ dots: they fill in the lungs and empty in the muscle. The insets show O₂ and CO₂ crossing in an alveolus and at a muscle cell. The sample port you choose (A or V) is read at the end of the protocol; the thermometer fills only then.

② Immune challenge. Purple spiky balls are the pathogen (square tips = a different antigen); gold Y shapes are antibodies; teal blobs are macrophages; blue cells are plasma cells; blue cells with an M are memory cells; a green T cell docks on an orange infected cell. The ruler at the bottom shows the day (ticks = the nine sample days).

③ Population. 200 people: hollow = can catch it, shield outline = vaccinated but not protected, filled with a shield = protected. The coral discs on the right are expected cases in each generation (bigger disc = more). The gauge shows Re with the amber dashed boundary at 1. ④ Two groups. Two separate towns with their own gauges; the bottom bar is the uniform reference.

Controls. ▶ runs the station; Step › moves one quarter and pauses; the speed menu slows it to 0.1× or 0.05×. Keys: Space play / pause · → step · R reset · Z / X zoom. Drag to move a zoomed-in scene.