energy_data_retrieval.pv_catalogue.eia860#

EIA-860 solar/plant workbook adapter: one record per operating PV plant ID.

The operating PV generators are nested; capacities sum only OP/PV units. Thermal, storage and non-operating units never inflate PV totals. Raw nonempty plant and solar workbook fields are preserved as namespaced extensions and phase details.

energy_data_retrieval.pv_catalogue.eia860.parse_eia860_frames(plants, solar, *, source_id, retrieved_at, year)[source]#

Map official frames, excluding non-OP and non-PV records explicitly.

Blank values stay null, and a capacity total is null if any component is missing. Generator-level dates/angles are never promoted to whole-project attributes.

Parameters:
  • plants (DataFrame)

  • solar (DataFrame)

  • source_id (str)

  • retrieved_at (str)

  • year (int)

Return type:

list[dict[str, Any]]

energy_data_retrieval.pv_catalogue.eia860.parse_eia860_archive(content, *, source_id, retrieved_at, year)[source]#

Read explicit workbook names from a size-bounded archive, without extracting files.

Parameters:
  • content (bytes)

  • source_id (str)

  • retrieved_at (str)

  • year (int)

Return type:

list[dict[str, Any]]