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.
| Field | Type | Default | Description |
|---|---|---|---|
name | string | "PowerSource" | Name of the power source. |
maxPower | integer | unlimited | The maximum power the source can supply, in Watt. |
carbonTracePath | string | no carbon trace | The 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:
| Column | Type | Description |
|---|---|---|
timestamp | timestamp (milliseconds) | The time from which the carbon intensity applies. |
carbon_intensity | double | The carbon intensity, in gCO2/kWh. |
Example
"powerSource": {
"carbonTracePath": "carbon_traces/AT_2021-2024.parquet"
}