-
-
Responsive mobile view on 390px viewport with compact touch controls and quick-glance status indicators.
-
Cradle-to-grave system boundary based on Argonne GREET 2024 and EPA eGRID subregional emission factors.
-
Interactive Crossover Trajectory Chart comparing incumbent gas vehicle vs. electric alternatives with real-time carbon parity pins.
-
10-Year Lifecycle Waterfall decomposing glider manufacturing, battery pack debt, fuel supply, and operational emissions.
-
Total Cost of Ownership (TCO) calculator factoring purchase price, clean vehicle tax credits, and 10-year fuel savings.
-
Midwest MISO coal grid stress test showing delayed EV breakeven vs. rapid hybrid emissions abatement.
-
Scientific audit and methodology modal providing complete formulas, parameters, and peer-reviewed citations.
Inspiration
Transportation is responsible for nearly 28% of greenhouse gas emissions in the United States and over 22% globally. While electric vehicles are widely celebrated as the silver bullet to climate change, consumer discourse remains polarized between two misleading extremes:
- The "Instant Zero-Emissions" Myth: Naive carbon calculators assume driving an EV is 100% clean from day one, completely ignoring the massive upfront embodied carbon debt—typically 8 to 14 metric tons of $\text{CO}_2\text{e}$—incurred during the mining, refining, and manufacturing of large lithium-ion battery packs.
- The "EVs are Dirtier than Diesel" Propaganda: Skeptics claim that manufacturing emissions make new EVs worse than keeping 20-year-old gas-guzzlers indefinitely, disregarding how much cleaner modern electric grids have become.
In reality, the climate impact of replacing a car depends entirely on three localized variables: the regional electricity grid generation mix, annual commute mileage, and incumbent vehicle fuel economy.
When a commuter in West Virginia charges an electric pickup truck on an 80% coal grid, it can take over 8 years to pay back its manufacturing debt against a paid-off 35 MPG Honda Civic. But in Washington state or Quebec, running on hydroelectric power, that same crossover breaks even in under 14 months.
We built CarboShift LCA to bring unassailable scientific clarity to vehicle replacement decisions, empowering drivers, fleets, and policymakers with audit-grade lifecycle truth.
What it does
CarboShift LCA is an audit-grade vehicle lifecycle assessment (LCA) and financial breakeven engine. It compares keeping an existing internal combustion engine (ICE) car against buying a new battery EV (BEV), used EV, or hybrid (HEV/PHEV).
Key capabilities:
- Cradle-to-Grave Lifecycle Accounting: Integrates vehicle glider assembly ($5.6 \text{ kg CO}_2\text{e/kg}$), battery chemistry embodied carbon ($68\text{--}88 \text{ kg CO}_2\text{e/kWh}$ across LFP, NMC, and NCA), upstream gasoline refining and transport Well-to-Pump ($2.38 \text{ kg/gal}$), and direct tailpipe combustion ($8.887 \text{ kg/gal}$).
- Strict Sunk-Cost Baseline Accounting: Accurately recognizes that keeping an existing car has 0 kg of new manufacturing carbon, whereas any replacement vehicle incurs upfront embodied carbon debt.
- Dynamic Carbon Breakeven Solver: Computes the exact month and odometer mileage ($m^$) where cumulative operational savings surpass the initial manufacturing debt: $$m^ = \frac{M_{\text{candidate, embodied}} - M_{\text{incumbent, embodied}}}{e_{\text{incumbent, oper}} - e_{\text{candidate, oper}}}$$
- Localized Regional Grid Granularity: Embeds official US EPA eGRID 2024 subregions (CAMX, NWPP, MISO, ERCOT, NEWE, NYUP) and international benchmarks, accounting for transmission & distribution losses (5.2%) and winter thermodynamic HVAC loads (+25%).
- Used EV Carbon & Circularity Modeling: Models pre-owned electric vehicles with amortized glider carbon, factoring in battery State of Health (SOH%) and depreciated battery debt.
- Total Cost of Ownership (TCO) & Inflation Reduction Act (IRA) Integration: Models net purchase prices with federal clean vehicle tax credits ($7,500 new / $4,000 used), 10-year fuel/electricity costs, and maintenance savings.
- Scientific Audit Spec & Printable Report: Transparent disclosure of all formulas, parameter dictionaries, and citations with 1-click printable PDF audit export.
How we built it
- Frontend & Visualization: Developed with React 19, TypeScript, and Tailwind CSS, styled as a high-density, mission-critical engineering workbench (deep obsidian void, industrial slate, kinetic emerald, and combustion crimson). The interactive SVG Crossover Trajectory Chart recalculates and scrubs across 10 years of emissions in under 5 milliseconds with zero page reloads.
- Lifecycle Science Engine: Built directly upon the mathematical formulations of Argonne National Laboratory's GREET 2024 model (Greenhouse Gases, Regulated Emissions, and Energy Use in Technologies) and US EPA Title 40 CFR Part 600.
- Automated QA & Browser Verification: Built an end-to-end headless testing suite with Playwright, validating 12/12 user interaction flows, zero horizontal layout overflow on 390px mobile screens, and zero console/network errors.
- Real-World Empirical Validation: Subjected the engine to 10 rigorous empirical test cases spanning clean hydro grids, coal-heavy grids, polar vortex freeze penalties, and low-mileage senior commuter edge cases (100% test pass rate, Verdict: PASS).
- Demo Media Pipeline: Authored animated scenes, recorded live high-definition footage, generated natural narration with Microsoft Edge-TTS, and composited 1080p captioned video via FFmpeg.
- Edge Deployment: Hosted globally on Vercel CDN for instantaneous response times.
Challenges we ran into
- Avoiding Biased Sunk-Cost Whitewashing: Most EV marketing materials compare a brand-new EV against a brand-new gas car, assuming both start with manufacturing emissions. But for an everyday driver who already owns a working car, that gas car's manufacturing footprint is already in the atmosphere—it is a sunk cost. We had to ensure our mathematical model strictly assigned $0 \text{ kg}$ new manufacturing carbon to the incumbent car, forcing replacement vehicles to earn their climate payoff purely through superior operational efficiency.
- Modeling Used EV Battery Allocation: Secondary EV buyers do not incur the original 10-ton manufacturing burden of a 2018 Nissan Leaf. We implemented an age-and-SOH-discounted amortization schedule allocating residual battery manufacturing responsibility fairly without distorting lifecycle reality.
- Designing a Non-Trivial Crossover Chart: Rendering dynamic SVG crossover curves that accurately illustrate an initial vertical jump (Embodied Debt), varying operational slopes, animated parity markers, and responsive coordinate scrubbers required custom mathematical projection algorithms.
Accomplishments that we're proud of
- 100% Formulaic Transparency: No black-box estimations or vague eco-scores. Every gram of $\text{CO}_2\text{e}$ and every dollar is traceable to official GREET 2024 and EPA eGRID factors.
- Instant Client-Side Reactivity: Tuning a slider or toggling from California (215 g/kWh) to Midwest Coal (560 g/kWh) recalculates 10-year projections, breakeven months, and SVG line geometry in < 5 milliseconds.
- The "Low-Mileage Dilemma" Discovery: CarboShift LCA honestly exposes when buying a new EV is not environmentally justified—specifically for low-mileage drivers (<4,000 miles/year), where keeping an existing gas car prevents 12+ tons of upfront industrial emissions.
- Production-Grade Engineering: Zero runtime dependencies, 100% TypeScript type safety, automated Playwright QA, responsive from 390px mobile up to 4K displays.
What we learned
- Grid Intensity Dictates Everything: An electric vehicle's operational carbon varies by more than 600% between clean hydro regions (Pacific Northwest, France) and coal-heavy grids (Midwest MISO, Poland).
- Vehicle Weight vs. Battery Chemistry: Switching from cobalt/nickel-rich NMC batteries to Lithium Iron Phosphate (LFP) cuts upfront battery manufacturing emissions by nearly 25% (68 kg/kWh vs. 88 kg/kWh), substantially shortening the carbon breakeven timeline.
- Honest Climate Tech Builds Lasting Trust: Users appreciate tools that do not push ideological greenwashing. Providing unbiased truth regarding when an EV breaks even builds far deeper climate credibility.
What's next for CarboShift LCA
- Fleet Telemetry Ingestion: Ingesting corporate telematics CSV and OBD-II logs to automate fleet decarbonization schedules for small delivery businesses.
- Dynamic Grid Decarbonization Trajectories: Modeling future state Renewable Portfolio Standards (RPS), where the local power grid becomes 3% cleaner each year over the 10-year ownership window.
- Battery 2nd-Life Residual Valuation: Expanding our secondary market models to quantify the carbon savings of repurposing retired EV battery packs for stationary home solar energy storage.
Built With
- anl-greet
- automotive
- carbon-accounting
- clean-tech
- climate-tech
- electric-vehicles
- energy
- epa-egrid
- ffmpeg
- lca
- lifecycle-assessment
- lucide-react
- playwright
- python
- react
- sustainability
- tailwindcss
- typescript
- vite