Inspiration & Waste Problem Targeted (Theme Track: Rethinking Waste)
Municipal and campus waste programs lose massive volumes of recoverable organics, plastics, cardboard, metals, and electronics to landfill because single-stream contamination degrades Material Recovery Facility (MRF) capture rates and planners lack transparent side-by-side visibility into how sorting capture, contamination penalties, and organics treatment pathways interact. WasteFlow targets this decision gap by turning complex circular-economy material-recovery trade-offs into an interactive, measurable simulation. We would measure whether WasteFlow works in real-world deployment by tracking three concrete operational metrics across pilot facilities over 90 days: (1) reduction in residual MRF contamination rate (%), (2) increase in net landfill diversion rate (%) across organics and dry recyclables, and (3) net avoided greenhouse-gas emissions (tCO2e) verified against facility weight tickets and compactor haul manifests.
What it does
WasteFlow is a circular-economy material-recovery, contamination, and landfill-diversion optimizer featuring an interactive SVG Sankey flow diagram and a live carbon ledger:
- Multi-Stream Material Modeling: Models five core waste streams—organics, PET/HDPE plastics, cardboard, metals, and e-waste—from generation through collection, sorting, processing, and final disposition.
- MRF Sorting Capture & Contamination Penalties: Simulates how real-world MRF optical/mechanical capture efficiencies and cross-stream contamination penalties shift recovered tonnage versus rejected residuals sent to landfill.
- Organics Treatment Pathways (Anaerobic Digestion vs. Composting): Compares biogas/digestate recovery in anaerobic digestion against aerobic composting to quantify net methane avoidance and energy offsets.
- Scenario Benchmarks & Landfill Diversion %: Includes reproducible scenarios showing landfill diversion rates—Campus Zero-Waste (74.1%), E-Waste Recovery (84.3%), and Municipal MRF (31.6%)—alongside net CO2e avoided and a line-item carbon ledger.
- Interactive SVG Sankey Visualization: Dynamically updates node widths, recovery/rejection paths, and diversion KPIs as operators adjust stream tonnages, contamination levels, and treatment splits.
How we built it
- Frontend & Visualization: Built with TypeScript, React, Vite, and custom SVG Sankey rendering with zero paid APIs and transparent, illustrative LCA-range emission and recovery factors.
- Deterministic Verification: Backed by a Vitest test suite with 34/34 Vitest tests passing, validating mass-balance conservation, contamination penalty math, anaerobic digestion vs. composting emission deltas, and scenario diversion percentages.
Challenges we ran into
Ensuring strict mass-balance conservation across every Sankey split—so recovered materials, contamination rejects, process losses, and landfill residuals always reconcile cleanly down to the tenth of a percent—while keeping the SVG Sankey responsive and readable across diverse scenarios required careful normalization of flow-graph edge weights.
What we learned & What's next
Modeling contamination penalties visually makes it immediately clear that upstream source separation often outperforms downstream MRF hardware upgrades alone. Next, we plan to add CSV/manifest import for municipal weighbridge logs, regional grid-intensity presets for LCA factors, and multi-quarter diversion target tracking.
Built With
- react
- sustainability
- typescript
- vite
- vitest