Skip to main content
OpenDC2 is no longer being developed

This page documents OpenDC2. OpenDC3 can still run OpenDC2 experiment files with opendc --legacy run, but new features are only added to OpenDC3. See the OpenDC3 documentation, or Migrating to OpenDC3.

Power source

Each cluster has a power source that powers its hosts. A power source can be linked to a carbon trace, which OpenDC uses to compute the carbon emissions of the cluster.

FieldTypeDefaultDescription
namestring"PowerSource"Name of the power source.
maxPowerintegerunlimitedThe maximum power the source can supply, in Watt.
carbonTracePathstringno carbon traceThe path to a carbon trace with the carbon intensity of the energy over time.

Carbon traces​

A carbon trace is a Parquet file with the carbon intensity of the energy over time:

ColumnTypeDescription
timestamptimestamp (milliseconds)The time from which the carbon intensity applies.
carbon_intensitydoubleThe carbon intensity, in gCO2/kWh.

Example​

"powerSource": {
"carbonTracePath": "carbon_traces/AT_2021-2024.parquet"
}