Textbook relationships
Saturation vapour pressure uses the Magnus approximation, with temperature in degrees Celsius:
psat(T) = 610.94 exp(17.625 T / (T + 243.04)) Pa
Water-vapour pressure is pv = RH · psat(T). The dew point is the temperature at which saturation pressure equals pv. The cabin vapour inventory follows the ideal-gas relation:
mv = pv V / (Rv TK)
Here Rv = 461.5 J/(kg·K), Rda = 287.05 J/(kg·K), and the humidity-ratio coefficient is 0.62198. These are textbook reference constants and approximations.
How the condenser is modelled
The humidity ratio is w = 0.62198 pv/(P − pv). If the coil is colder than the dew point, its saturated humidity ratio wsat,coil is lower than the inlet value. A single-pass effectiveness ε gives:
wout = win − ε max(0, win − wsat,coil)
The recovered-water rate is dry-air mass flow multiplied by (win − wout). Cabin vapour mass then follows dM/dt = moisture load − recovered water. The state is integrated with fixed-step fourth-order Runge–Kutta; the displayed time acceleration changes simulated seconds, not the integration step.
Simplifications and illustrative settings
The cabin is a well-mixed, fixed-volume vessel at a constant temperature and textbook standard reference pressure of 101,325 Pa. Airflow, coil temperature and collection effectiveness are held constant between user changes. The model assumes a liquid drain, no ice formation, no fan heating, no pressure-control dynamics, no latent-heat feedback, and no detailed cabin-surface sorption. At the illustrative 99.5% relative-humidity ceiling, additional water is recorded as a simplified surface film so the water ledger remains closed.
The 80 m³ cabin, scenario values, moisture loads, coil effectiveness, visual dimensions and time acceleration are illustrative or scaled—not spacecraft design specifications. The Magnus relation is an approximation over the model's operating range. The simulation is educational and is not a certified environmental-control design tool.