energy_data_retrieval.sources.taipower.client#

Taipower’s public net-generation snapshot, preserving MW and asset scope.

energy_data_retrieval.sources.taipower.client.parse_generation(payload, *, include_aggregates=False, include_storage_load=False, maximum_rows=20000)[source]#

Parse the actual feed, excluding subtotal/group rows and charging by default.

The 10-minute publication cadence is not a documented averaging interval. Values remain power snapshots in MW; they are never converted to MWh. asset_id is the provider’s reported label, which can denote a unit, plant or group. Known groups/subtotals are explicitly marked. No complete plant inventory or unit-to-plant registry is inferred from display names.

Parameters:
  • payload (JSONValue)

  • include_aggregates (bool)

  • include_storage_load (bool)

  • maximum_rows (int)

Return type:

DataFrame

class energy_data_retrieval.sources.taipower.client.TaipowerClient(http, *, maximum_rows=20000)[source]#

Bases: object

Retrieve one uncached live snapshot with bounded response size and rows.

Parameters:
latest(*, include_aggregates=False, include_storage_load=False)[source]#

Read the current publication; no API key is required.

Parameters:
  • include_aggregates (bool)

  • include_storage_load (bool)

Return type:

GenerationResult