energy_data_retrieval.pv_catalogue.mastr#

Bounded, privacy-minimal MaStR 26.2 solar-unit review staging.

Read extracted UTF-8 EinheitenSolar XML, never whole-project records. Pin the original archive checksum before resuming a physical-row cursor. No network requests, canonical upserts, status inference, aggregation or AC/DC conversion. Mapping: BNetzA Gesamtdatenexport revision 26.2 (1 October 2026), section 5.5.2 and EinheitenSolar.xsd. Names, operators and addresses are deliberately omitted.

energy_data_retrieval.pv_catalogue.mastr.read_mastr_solar_units(path, *, start_row=0, limit=1000)[source]#

Stage at most 10,000 units; row offsets require an unchanged source hash.

Preserve native field labels and numeric strings. Bruttoleistung and Nettonennleistung are documented in kW; the allocated inverter-power row’s unit is not explicit in the inspected definition, so it remains native. Review-status codes are retained without a reviewed/unreviewed inference. Duplicate unit IDs within a selected partition raise instead of merging. This is not full XSD validation or a production archive ingestion adapter.

Parameters:
  • path (Path)

  • start_row (int)

  • limit (int)

Return type:

list[dict[str, str | int | None]]