camunda-carbon-reductor

The Camunda Carbon Reductor allows you to time shift your processes' carbon emissions when energy is clean while still fulfilling the requested SLAs.

https://github.com/envite-consulting/camunda-carbon-reductor

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.8%) to scientific vocabulary

Keywords

bpmn camunda camunda-platform-8 connector green-it sustainability
Last synced: 9 months ago · JSON representation

Repository

The Camunda Carbon Reductor allows you to time shift your processes' carbon emissions when energy is clean while still fulfilling the requested SLAs.

Basic Info
  • Host: GitHub
  • Owner: envite-consulting
  • License: mit
  • Language: Java
  • Default Branch: main
  • Homepage:
  • Size: 4.16 MB
Statistics
  • Stars: 26
  • Watchers: 5
  • Forks: 1
  • Open Issues: 3
  • Releases: 13
Topics
bpmn camunda camunda-platform-8 connector green-it sustainability
Created over 3 years ago · Last pushed about 1 year ago
Metadata Files
Readme Contributing License

README.md

🌱Camunda Carbon Reductor

The Camunda Carbon Reductor allows you to time shift your processes' carbon emissions when energy is clean while still fulfilling the requested SLAs.

Technically, it's implemented as a Camunda Connector for Camunda Platform 8 and as an External Task Worker for Camunda Platform 7.


You want to contribute 🌱? Please read the Contribution Guidelines.

Table of Contents

✨Features

The Carbon Reductor Connector consists of an element-template that can be used in the process model that connects to the connector function.

Time Shifting Mode ⏭️

Using the time shifting mode (default) the Carbon Reductor Connector allows you to optimize for lower carbon emissions by moving your process execution into a timeframe with the least amount of carbon possible while still fulfilling SLAs.

The Carbon Reductor Connector defines the following inputs:

  • the location where the worker are running (e.g. Germany, UK, France, USA, etc.)
  • a milestone (a timestamp used to calculate the duration the process instance has been running)
  • a duration for the remainder of the process (the duration the remainder needs at most)
  • the maximum duration a process instance can take
  • optionally, set a threshold for the minimum amount of grams of CO2 per kilowatt-hour that should be saved

Measuring Mode 📏

Note: This mode only works with the Carbon Aware SDK API at the moment.

Using the measuring mode the Carbon Reductor Connector allows you to measure the emissions in gCO2e/KWh at execution time and reports as well the emissions at the optimal time while still fulfilling your SLAs.

The same input as in the Time Shifting Mode ⏭️ is required.

🚀Getting Started

We provide the Carbon Reductor for Camunda Platform 7 and 8:

Camunda 8

To start the Camunda 8 Connector have a look at the specific README.

Camunda 7

To start the Camunda 7 External Task Worker have a look at the specific README.

📈Reporting Carbon Reduction via Camunda Optimize

Since Camunda Carbon Reductor stores the carbon savings as process variables, we have the ability to visualize our successes in Camunda Optimize.

For the CarbonHack22 we visualized the results for out example process and it looks like the following:

CarbonHack22 Dashboard

The exported Dashboard Definition could be found here.

🏗Building Blocks

Building Block View Level 0 Camunda Carbon Reductor

| Element | Description | |--------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------| | Carbon Reductor Core | Core module which calculates the possible time shifting based on data it fetches from the external systems. | | Carbon Aware API | Custom Client to connect to the Carbon Aware SDK. | | Carbon Aware Computing API | Custom Client to connect to the Carbon Aware Computing API. | | Camunda Carbon Reductor C8 | Camunda 8 Job Worker. | | Camunda Carbon Reductor C7 | Camunda 7 External Task Worker. |

📚Releases

The list of releases contains a detailed changelog.

We use Semantic Versioning.

The following compatibility matrix shows the officially supported Camunda versions for each release. Other combinations might also work but have not been tested.

| Release | Camunda Platform 8 | Camunda Platform 7 | |---------|--------------------|--------------------| | 2.1.4 | 8.5.0 | 7.21.0 | | 2.1.5 | 8.6.0 | 7.22.0 | | 2.1.6 | 8.7.0 | 7.23.0 |

Click to see older releases | Release | Camunda Platform 8 | Camunda Platform 7 | |---------|--------------------|--------------------| | 1.0.0 | 8.1.0 | 7.18.0 | | 1.1.0 | 8.2.0 | 7.19.0 | | 2.0.0 | 8.2.3 | 7.19.0 | | 2.0.1 | 8.2.3 | 7.19.0 | | 2.0.2 | 8.2.3 | 7.19.0 | | 2.0.3 | 8.3.0 | 7.19.0 | | 2.1.0 | 8.3.0 | 7.20.0 | | 2.1.1 | 8.4.0 | 7.20.0 | | 2.1.2 | 8.5.0 | 7.21.0 | | 2.1.3 | 8.5.0 | 7.21.0 | | 2.1.4 | 8.5.0 | 7.21.0 | | 2.1.5 | 8.6.0 | 7.22.0 | | 2.1.6 | 8.7.0 | 7.23.0 |

Download of Releases: * GitHub Artifacts

📆Publications

If you are interested in our work and want to get to know more, feel free to reach out to us.

📨Contact

If you have any questions or ideas feel free to start a discussion or contact us via mail.

This open source project is being developed by envite consulting GmbH.

envite consulting GmbH envite consulting GmbH

Owner

  • Name: envite consulting GmbH
  • Login: envite-consulting
  • Kind: organization
  • Location: Germany

Pioneering IT sustainability

GitHub Events

Total
  • Release event: 2
  • Watch event: 4
  • Delete event: 5
  • Issue comment event: 1
  • Push event: 22
  • Pull request review event: 14
  • Pull request review comment event: 11
  • Pull request event: 11
  • Create event: 8
Last Year
  • Release event: 2
  • Watch event: 4
  • Delete event: 5
  • Issue comment event: 1
  • Push event: 22
  • Pull request review event: 14
  • Pull request review comment event: 11
  • Pull request event: 11
  • Create event: 8

Committers

Last synced: 10 months ago

All Time
  • Total Commits: 217
  • Total Committers: 9
  • Avg Commits per committer: 24.111
  • Development Distribution Score (DDS): 0.585
Past Year
  • Commits: 43
  • Committers: 6
  • Avg Commits per committer: 7.167
  • Development Distribution Score (DDS): 0.651
Top Committers
Name Email Commits
Luc Weinbrecht l****c@w****e 90
Maximilian Behrendt m****t@e****e 74
ReleaseAction[bot] a****s@g****m 22
Tobias Schaefer t****r@e****e 15
Philipp Hehnle p****e@e****e 11
Philipp Hehnle p****e@g****m 2
Henning Krause h****e@e****e 1
Sebastian Gülpen s****n@M****x 1
Sebastian Guelpen s****n@s****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 15
  • Total pull requests: 113
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 8 days
  • Total issue authors: 4
  • Total pull request authors: 6
  • Average comments per issue: 0.47
  • Average comments per pull request: 0.11
  • Merged pull requests: 103
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 10
  • Average time to close issues: N/A
  • Average time to close pull requests: 17 days
  • Issue authors: 0
  • Pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.3
  • Merged pull requests: 9
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • lwluc (11)
  • maxbehr801 (4)
  • RodrigoCarlstrom (1)
  • tobiasschaefer (1)
Pull Request Authors
  • lwluc (63)
  • maxbehr801 (49)
  • tobiasschaefer (10)
  • hehnle (7)
  • options-a11y (3)
  • henningkrause95 (1)
Top Labels
Issue Labels
enhancement (9) bug (4) good first issue (4) refactoring (4) documentation (2)
Pull Request Labels
documentation (2)

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 14
proxy.golang.org: github.com/envite-consulting/camunda-carbon-reductor
  • Versions: 14
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 9 months ago

Dependencies

.github/workflows/build-and-upload.yml actions
  • actions/checkout v1 composite
  • docker/login-action v2 composite
.github/workflows/continuous-integration.yml actions
  • actions/checkout v3 composite
  • actions/setup-java v3 composite
camunda-carbon-reductor-c7/Dockerfile docker
  • maven 3.8.3-openjdk-17 build
  • openjdk 17.0.1-jdk-slim build
camunda-carbon-reductor-c8/Dockerfile docker
  • maven 3.8.3-openjdk-17 build
  • openjdk 17.0.1-jdk-slim build
camunda-carbon-reductor-c7/pom.xml maven
  • org.springframework.boot:spring-boot-dependencies 2.7.3 import
  • com.sun.xml.bind:jaxb-impl 2.3.5
  • de.envite.greenbpm:carbon-reductor-core 1.0.2-SNAPSHOT
  • joda-time:joda-time 2.12.2
  • org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-external-task-client 7.18.0
  • org.projectlombok:lombok ${version.lombok}
  • org.slf4j:slf4j-api ${version.slf4j}
  • org.springframework.boot:spring-boot
  • org.springframework.boot:spring-boot-autoconfigure
  • com.h2database:h2 test
  • org.assertj:assertj-core ${version.assertj} test
  • org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-test 7.18.0 test
  • org.camunda.bpm:camunda-bpm-junit5 7.18.0 test
  • org.camunda.bpm:camunda-engine 7.18.0 test
  • org.junit.jupiter:junit-jupiter ${version.junit-jupiter} test
camunda-carbon-reductor-c8/pom.xml maven
  • de.envite.greenbpm:carbon-reductor-core 1.0.2-SNAPSHOT
  • io.camunda.connector:connector-validation ${version.connector-core}
  • io.camunda:spring-zeebe-starter ${version.spring-zeebe-starter}
  • jakarta.validation:jakarta.validation-api ${version.jakarta.validation-api}
  • org.hibernate.validator:hibernate-validator ${version.hibernate-validator}
  • org.projectlombok:lombok ${version.lombok}
  • org.slf4j:slf4j-api ${version.slf4j}
  • io.camunda:zeebe-process-test-extension ${version.spring-zeebe-starter} test
  • org.assertj:assertj-core ${version.assertj} test
  • org.junit.jupiter:junit-jupiter ${version.junit-jupiter} test
  • org.mockito:mockito-junit-jupiter ${version.mockito} test
  • org.springframework.boot:spring-boot-starter-test test
carbon-reductor-core/pom.xml maven
  • de.envite.greenbpm:api-carbon-aware 1.0.2-SNAPSHOT
  • io.github.domain-primitives:domainprimitives-java ${version.domainprimitives}
  • org.projectlombok:lombok ${version.lombok}
  • org.slf4j:slf4j-api ${version.slf4j}
  • org.springframework:spring-context
  • org.assertj:assertj-core ${version.assertj} test
  • org.junit.jupiter:junit-jupiter ${version.junit-jupiter} test
  • org.mockito:mockito-junit-jupiter ${version.mockito} test
.github/workflows/release.yml actions
  • actions/checkout v3 composite
  • actions/setup-java v3 composite
api/api-carbon-aware/pom.xml maven
api/api-carbon-aware-computing/pom.xml maven
api/pom.xml maven
  • javax:javaee-web-api 8.0.1 provided
  • com.google.code.findbugs:jsr305 3.0.2
  • com.google.code.gson:gson 2.10.1
  • com.squareup.okhttp3:logging-interceptor 4.11.0
  • com.squareup.okhttp3:okhttp 4.11.0
  • com.squareup.okio:okio 3.4.0
  • io.gsonfire:gson-fire 1.8.5
  • io.swagger.core.v3:swagger-annotations 2.2.9
  • io.swagger:swagger-annotations 1.6.10
  • org.openapitools:jackson-databind-nullable 0.2.6
pom.xml maven