Cabin pO₂ trace Safe band (19.5–23.1 kPa) Current pO₂
production vs demand
H₂:O₂ molar ratio check

Cabin Oxygen Partial-Pressure Balance

This 2D companion to the Station Oxygen Generation Assembly sim swaps the bubble-stack visualization for the number that actually matters to a life-support engineer: cabin oxygen partial pressure over time. The same Faraday's-law electrolysis physics computes an O₂ production rate, which is balanced each simulated second against crew consumption (≈0.84 kg/person/day) and integrated into a mole count for the cabin's free volume; the ideal gas law converts that mole count into a live partial-pressure trace against the accepted safe operating band. Adjust the electrolysis current, cell count, crew size and cabin volume to see how quickly an imbalance between production and demand drifts the cabin atmosphere toward hypoxia or an oxygen-rich fire hazard, while two verification panels confirm the model's 2:1 H₂:O₂ stoichiometry and show production versus demand as a simple ledger.