nextflow-io / nf-co2footprint

[WIP] A Nextflow plugin to estimate the CO2 footprint of pipeline runs.
https://nextflow-io.github.io/nf-co2footprint/
Apache License 2.0
11 stars 4 forks source link

add energy consumption calculation #9

Closed mirpedrol closed 1 year ago

mirpedrol commented 1 year ago

Example output trace file

task_id energy_consumption  CO2e
1   20.328770833333333mWh   9.656166145833334mg
2   20.328770833333333mWh   9.656166145833334mg
3   20.328770833333333mWh   9.656166145833334mg
4   20.328770833333333mWh   9.656166145833334mg

Example summary trace file

The total CO2 emission is: 38.624664583333335mg
The total energy consumption is: 81.31508333333333uWh
skrakau commented 1 year ago

Great, LGTM!