Controls
Presets
Parameters
Model checks
The science
Making oxygen from water. A crewed station cannot carry all its oxygen, so it splits water electrically: 2 H2O → 2 H2 + O2. Each O2 molecule needs four electrons, so Faraday's law ties the oxygen rate directly to the current: n(O2) = ηF · N · I / (4F) for a stack of N cells in series, with F = NAe = 96 485 C/mol and a small loss ηF from hydrogen crossing the membrane. A crew member breathes roughly 0.84 kg of oxygen a day, which sets the demand.
Voltage and power. The reversible voltage is Erev = (ΔH - TΔS)/2F = 1.229 V at 25 C and falls slightly with temperature; the thermoneutral voltage ΔH/2F = 1.481 V is where the cell neither heats nor cools. A real cell needs more: an activation overpotential, described here by the symmetric Butler-Volmer relation (R T / αF) asinh(j / 2j0), and an ohmic drop j · ASR. The stack power is N I V and the heat to be rejected N I (V - Etn). The exchange current j0 and the area-specific resistance are illustrative values chosen to give about 1.8 V at 1 A/cm², not data for a particular flight unit.
The cabin. The oxygen inventory obeys dn/dt = ngen - ncrew - k n, with partial pressure p = nRT/V. In automatic mode a PI controller sets the current from the error to the set-point, with gains scaled to the plant so the loop damping stays near 0.7; the available power caps the current. A habitat band of about 19.5-23.5 kPa is used as a guide for the status line.
What the checks compare. (1) Faraday's law through an independent coulomb counter and F = NAe, plus the stoichiometric mass ledger water = hydrogen + oxygen. (2) The thermodynamic constants against each other: Erev = ΔG/2F, and the Gibbs-Helmholtz identity ΔH - ΔG = TΔS using entropies of H2, O2 and liquid water. (3) The closed asinh activation formula against a bisection solution of the full Butler-Volmer equation, and the power-limited current against P(j) = Pavail. (4) The cabin oxygen inventory against the exact first-order solution n(t) = ninf + (n0 - ninf)e-kt.
Simplifications. One lumped cell model, no membrane water transport, pressure or dissolved-gas effects; the cabin is well mixed at fixed temperature; carbon dioxide removal, humidity and the Sabatier or vent path for hydrogen are not modelled. Numbers are illustrative of the physics and are not the specification of any real station system.