WeSearch

I Built a Carbon Calculator Where the Emission Factor Doesn't Exist

·5 min read · 0 reactions · 0 comments · 8 views
#webdev#datascience#javascript
I Built a Carbon Calculator Where the Emission Factor Doesn't Exist
⚡ TL;DR · AI summary

The article discusses the development of a carbon calculator specifically for refrigerant emissions, which differs from traditional calculators that rely on fixed emission factors. It highlights the complexity of using Global Warming Potential (GWP) values that can change over time, requiring careful consideration in data modeling. The author emphasizes the importance of transparency in presenting emissions data to users, especially when different GWP values may lead to significant discrepancies in calculations.

Key facts
Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3923050) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Jeremiah Say Posted on Jun 3 I Built a Carbon Calculator Where the Emission Factor Doesn't Exist #webdev #datascience #javascript #showdev Most emissions calculators are a lookup table with a UI bolted on. You pick "diesel," the code fetches 2.51 kgCO₂e/litre from a factor table, multiplies by your input, done. I've built about a thousand of these.

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)