ECLSS Redundancy & Failure Cascade Simulator (2D)

A space station's Environmental Control and Life Support System keeps a crew alive by continuously balancing oxygen generation, CO₂ scrubbing and water recovery against consumption — and every module that does that work can fail. This 2D simulator renders a station schematic with three subsystem arms, each carrying a primary module plus however many backups you assign, and runs a real Poisson failure process against a real mass-balance model of the O₂, CO₂ and water tanks, plotted live on a scrolling strip chart. Push the crew size up, strip out redundancy, or shorten the mean-time-between-failures, and watch how quickly a single-string design turns a random hardware failure into a life-critical trend.