A carbon model for campus AI use, built to be argued with
A modeling and visualization tool for Northeastern’s Sustainability Incubator that estimates the carbon cost of AI use across a campus. Every figure in the application derives from six constants and eight tools with adoption rates, so changing one assumption moves every chart consistently.
What it models
The model runs from people to prompts to energy to carbon: population, queries per person per day and adoption per tool give a daily query volume; energy per query turns that into kilowatt hours, and the grid’s carbon intensity turns those into kilograms of CO₂. The grid figure, 0.386 kg of CO₂ per kilowatt hour, is the US average in the EPA’s eGRID2021 (852.3 lb of CO₂e per megawatt hour); energy per query sits in the published range from Samsi et al. (2023), cited on the page where it is used.
Because every number flows from the same small set of inputs, the tool is a way of making a set of assumptions legible and adjustable, and it reports its own uncertainty, plus or minus 40 percent, rather than presenting estimates as measurements.
How it is built
The state-level choropleth is drawn without a mapping library: TopoJSON features are projected to path strings and rendered as raw SVG, with the topology client imported dynamically in parallel with the data fetch. It carries a cancellation guard, and if the map request fails it still renders the data rather than an empty box.
The three model-backed routes check for an API key before constructing a client, so every page renders fully without one — a prototype anyone can run on handover.
- deployed
- Next.js 14 · React 18 · d3 · TopoJSON · Anthropic API