Oxygen Water Food Stockout

Spacecraft Resupply Logistics: Consumables Stock Simulator (2D)

Keeping a crewed spacecraft or station supplied is a running race between consumption and delivery: oxygen, water and food drain continuously while cargo vehicles arrive only on a fixed schedule that real launches routinely slip. This 2D counterpart plots that race directly as a live sawtooth stock-level chart for all three consumables — each drains at a real per-crew-member rate, each shipment is sized to cover the interval plus a safety buffer, and each cargo launch draws a genuine random delay every cycle. A built-in 5,000-trial Monte-Carlo readout continuously re-measures the stockout probability at your current settings, so you can watch it fall in real time as you drag the safety-stock buffer slider up.