CO₂e calculation
A CO₂ equivalent (CO₂e) is a metric used to compare the emissions from various greenhouse gases based on their impact on global warming. For this, the amounts of other gases are converted to the amount of CO₂ that would have the same impact on global warming (over a 100-year period).
The formula used for the calculation of the carbon footprint (CO₂e) of one Nextflow task is based on the methodology introduced by Green Algorithms, which provides a standardized way to estimate the carbon footprint of computational tasks:
where
For the final CO₂e estimation of a pipeline run, the values of all cached and completed tasks are summed up. This includes failed tasks as well.
Note
The usage of GPUs is not yet supported.
Additional equivalences
Let \( E_{\mathrm{CO_2e}} \) denote the total emitted CO₂ equivalent (in grams) for the computation or pipeline run. This value is used in the following equivalence calculations:
Tree sequestration time
This equates to the time a tree needs to bind the same amount of carbon from the atmosphere. It is estimated to be on average \(10\)-\(11~\mathrm{kg}\) per year (= \(917~\mathrm{g}\) per month).
Car kilometers
The car kilometers are defined as the distance an average car would need to travel to emit the same amount of CO₂. An average European car emits \(175~\mathrm{gCO_2e}\) per km.
Flights London-Paris
A flight between London and Paris is estimated to emit \(50\,000~\mathrm{g}\) of CO₂ equivalents.
The value is given as a percentage when less than one flight is equivalent to the emitted CO₂.
References
Green Algorithms: Quantifying the Carbon Footprint of Computation
Lannelongue, L., Grealey, J., Inouye, M.,
Adv. Sci. 2021, 2100707. https://doi.org/10.1002/advs.202100707