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.

battery.parquet

battery.parquet has one row per battery per sample. It describes the charge and state of each battery.

ColumnTypeUnitDescription
timestampint64msThe time of the sample, since the start of the simulation.
timestamp_absoluteint64msThe time of the sample, since the Unix epoch.
battery_namestringThe name of the battery.
cluster_namestringThe name of the cluster of the battery.
power_drawfloatWThe power the battery supplies.
energy_usagefloatJThe energy the battery supplied since the previous sample.
embodied_carbon_emissionfloatgThe embodied carbon of the battery, since the previous sample.
chargefloatJThe energy stored in the battery.
capacityfloatJThe amount of energy the battery can store.
battery_statestringCHARGING, IDLE or DISCHARGING.