HomeSpace & AstronomyCabin Pressure & Nitrogen Dilution Control

Cabin Pressure & Nitrogen Dilution Control

Interactive 3D simulator of a space station's cabin-pressure control loop: open a hull leak and watch O2 and N2 partial pressures respond, while an automatic controller draws on nitrogen and oxygen tanks to hold total pressure and breathable O2 in the safe band.

Space & Astronomy3DModerate60 FPS📱 Mobile-adapted⇄ 2D version
space-atmosphere-control ↗ Open standalone

A space station cabin does not just need oxygen — it needs the right total pressure and the right O₂-to-N₂ ratio, because pure oxygen at sea-level pressure is a fire hazard (the Apollo 1 lesson) while low total pressure risks hypoxia. This simulator models a habitat's atmosphere as two gas masses obeying the ideal gas law and Dalton's law, opens a hull leak whose effusion rate follows real kinetic theory, and drives an automatic dual-valve controller that draws nitrogen and oxygen from finite tanks to hold cabin pressure and ppO₂ inside their safe bands. Adjust the leak size, crew metabolic load and controller gain — or trigger a sudden puncture — and watch the 3D particle cloud, tank gauges and live readouts respond exactly as the control loop computes them.

⚙ Under the hood

Model a space station's dual-gas cabin atmosphere: open a hull leak and watch O2 and N2 partial pressures respond via real effusion physics, while an automatic controller draws on finite nitrogen and oxygen tanks to hold total pressure and breathable oxygen inside their safe bands.

space stationlife supportcabin pressuregas physicscontrol systems

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)