Presets
Playback
Ventilation and schedule
Parameters
Camera
Layers
Quality
Model checks
The science
What you see. People breathe out air with about 4 % CO2, so in a closed room the CO2 level climbs. Fresh air from the vents, an open window or leaks pushes it back down. The wall sensor shows the room value; the rings above heads show a rough, contested estimate of how alertness might change.
Model (well-mixed box). One room, one uniform concentration C (parts per million by volume): V dC/dt = N G − Q (C − Cout). V = 216 m³, N people, G = CO2 per person, Q = total outdoor-air flow, Cout = 420 ppm. Each person adds G = 0.00276 AD M / (0.23 RQ + 0.77) litres per second (adult body area AD = 1.8 m², activity M in met, respiratory quotient RQ = 0.83), 5.2 mL/s seated at 1 met. The solution for constant flow is C(t) = Css + (C0 − Css) e−t/τ with Css = Cout + N G / Q and τ = V/Q. The page integrates with RK4 and uses this closed form only as a check.
Ventilation sources. HVAC outdoor air (default 34 L/s = ASHRAE 62.1 minimum for 4 people: 2.5 L/s per person + 0.3 L/s per m²); envelope leakage 0.2 air changes per hour; window open adds 1.5 ACH; door open adds 0.5 ACH. The window and door numbers are illustrative: real values swing by several times with wind and temperature difference. Smart ventilation (demand-controlled, DCV) raises the HVAC flow in proportion to how far the sensor reads above 600 ppm: Qhvac = 24 + 0.6 (C − 600) L/s, limited to 24-300 L/s.
Alertness estimate: illustrative and disputed. Controlled-exposure studies (e.g. Satish et al. 2012; Allen et al. 2016) reported lower scores on decision-making tests at about 1000-2500 ppm; later and larger studies, and reviews, found small or no effect from CO2 alone at these levels (CO2 is usually a stand-in for other indoor pollutants and heat). The curve here is a straight-line interpolation through round anchor values (0 % loss at 600 ppm, 10 % at 1000, 22 % at 1500, 40 % at 2500, 60 % at 5000 for sensitivity 100 %), not a fit to any data set; the slider scales it, and 0 % means “no effect”. Do not use it to judge a real building. 1000 ppm is a rule of thumb for ventilation adequacy, not a health limit; the US workplace exposure limit is 5000 ppm.
Simplifications. Perfect instant mixing (real rooms have gradients; the dots only illustrate the average); constant outdoor level; people give a fixed rate; no CO2 absorption by plants or walls; the dots and blue streaks are a picture of the flows, not a fluid simulation.
Checks on this page. Six independent checks run when the page loads (see the green boxes): RK4 against the closed form, the long-run limit, the 63.2 % rule at one time constant, CO2 mass closure over a 3 h run with the window and the controller switching, the textbook 5.2 mL/s generation rate, and the outdoor-air flow needed to hold one worker at 1000 ppm.
Sources. ASHRAE Fundamentals (metabolic CO2 generation) and ASHRAE Standard 62.1 (ventilation rate procedure); Satish et al., Environ. Health Perspect. 2012; Allen et al., Environ. Health Perspect. 2016; Du et al., Indoor Air 2020 (review). Bibliographic data verified against Crossref on 2026-11-19: Satish et al. 2012, Environ. Health Perspect. 120:1671-1677 (doi 10.1289/ehp.1104789); Allen et al. 2016, Environ. Health Perspect. 124:805-812 (doi 10.1289/ehp.1510037); Du et al. 2020, Indoor Air 30:1067-1082 (doi 10.1111/ina.12706). The 5.2 mL/s generation rate is the older ASHRAE-style adult figure; Persily and de Jonge 2017 (Indoor Air, doi 10.1111/ina.12383; PMC5907511, accessed 2026-11-19) derive about 3.2 to 4.2 mL/s for a 30-60 year old woman or man at 1.2 met, so this page's CO2 rise is slightly conservative (about 25-60 % high).