Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added embodied carbon to batteries #303

Merged

Conversation

DanteNiewenhuis
Copy link
Contributor

Summary

Added support for embodied carbon of batteries to OpenDC.

To use the embodied carbon of batteries, user have to provided two extra variables to the definition of the battery:

  • "embodiedCarbon" defines the total carbon needed to create the battery in kg
  • "expecctedLifeTime" defines the expected time the battery will be used in years

OpenDC calculates two things:
First, OpenDC determines the embodied carbon cost per milliseconds.
Next, using the cost per ms, OpenDC can determine the embodied carbon per sample.

Implementation Notes ⚒️

N / A

External Dependencies 🍀

N / A

Breaking API Changes ⚠️

N / A

Simply specify none (N/A) if not applicable.

@DanteNiewenhuis DanteNiewenhuis merged commit 20d8587 into atlarge-research:master Feb 10, 2025
4 checks passed
Copy link

codecov bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (2a0f78c) to head (3e5379a).
Report is 1 commits behind head on master.

Additional details and impacted files
@@      Coverage Diff      @@
##   master   #303   +/-   ##
=============================
=============================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@DanteNiewenhuis DanteNiewenhuis deleted the Embodied-Carbon branch February 10, 2025 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants