Skip to content

source_id handling#23

Open
m-bossart wants to merge 1 commit into
psse-parser-consolidationfrom
mb/keep-parser-source-id
Open

source_id handling#23
m-bossart wants to merge 1 commit into
psse-parser-consolidationfrom
mb/keep-parser-source-id

Conversation

@m-bossart

Copy link
Copy Markdown

Summary of changes:
Ensure every PSS/E section emitted by the parser carries a source_id, and stop import_all from producing duplicate/gutted sections.

  • Add source_id to area_interchange, interarea_transfer, zone, impedance_correction, substation_data, and the 3-winding-transformer record.
  • Add an owner processor that emits owner_number/owner_name + source_id (previously owner came only from the raw import_all dump).
  • Exclude all already-processed sections from _import_remaining_comps!, removing the redundant space-named raw duplicates and fixing zone, which the raw dump had been overwriting.

@m-bossart m-bossart marked this pull request as draft July 10, 2026 20:38
@m-bossart m-bossart changed the base branch from psy6 to psse-parser-consolidation July 10, 2026 20:39
@m-bossart m-bossart marked this pull request as ready for review July 10, 2026 20:40
@m-bossart m-bossart requested review from hannahchubin and jd-lara and removed request for hannahchubin July 10, 2026 20:40
@m-bossart

Copy link
Copy Markdown
Author

For context, this is cleanup in the parser that is required for developing capabilities to systematically parse and compare collections of case files (e.g. seasonal power flow cases).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant