energy_data_retrieval.sources.dkasc.client#

DKASC five-minute AC power CSV import with provider-specific data terms.

energy_data_retrieval.sources.dkasc.client.parse_generation_csv(content, *, system_id, timestamp_column, timestamp_format, power_column, maximum_rows=1000000)[source]#

Read one documented five-minute average AC power channel, in native kW.

Select its exact exported column (which may contain the array name) and date format explicitly. Local civil time in Alice Springs is Australia/Darwin, UTC+09:30 throughout the year. Cumulative kWh registers are not power channels.

Parameters:
  • content (str | bytes)

  • system_id (str)

  • timestamp_column (str)

  • timestamp_format (str)

  • power_column (str)

  • maximum_rows (int)

Return type:

DataFrame

class energy_data_retrieval.sources.dkasc.client.DKASCClient(maximum_rows=1000000)[source]#

Bases: object

Use the provider’s download form, then import the export locally.

The form requires identifying details and acceptance of data terms. The connector does not fabricate those details or bypass that download workflow.

Parameters:

maximum_rows (int)

maximum_rows: int#
read_export(path, *, system_id, timestamp_column, timestamp_format, power_column)[source]#

Normalize an existing CSV and record its exact input SHA-256.

Parameters:
  • path (Path)

  • system_id (str)

  • timestamp_column (str)

  • timestamp_format (str)

  • power_column (str)

Return type:

GenerationResult