Skip to content

Add network_transmission_paths templater#91

Merged
nick-gorman merged 3 commits intomainfrom
new-format-network-tables
Apr 10, 2026
Merged

Add network_transmission_paths templater#91
nick-gorman merged 3 commits intomainfrom
new-format-network-tables

Conversation

@nick-gorman
Copy link
Copy Markdown
Member

@nick-gorman nick-gorman commented Apr 9, 2026

Summary

  • Add topology-only network_transmission_paths table under the feature flag, producing path_id, geo_from, geo_to, carrier from IASR flow path and REZ data
  • Parallel flow paths preserved via suffix convention (e.g. NNSW-SQ_Terranora, CNSW-SNW_NTH)
  • HVDC carriers identified via explicit path ID set
  • Update path_id schema description to document the suffix convention
  • Pipeline still only works through the templating step

Test plan

  • Happy path with AC paths, parallel paths, all three HVDC paths, and REZ connections
  • Empty flow paths with populated REZ
  • Empty REZ with populated flow paths
  • Both inputs empty

nick-gorman and others added 2 commits April 9, 2026 11:24
Implement topology-only network_transmission_paths table under the
feature flag, extracting flow path and REZ connection rows with
explicit HVDC carrier detection.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/ispypsa/iasr_table_caching/local_cache.py 68.96% <ø> (ø)
src/ispypsa/templater/create_template.py 90.16% <100.00%> (+0.33%) ⬆️
src/ispypsa/templater/transmission_paths.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Use [A-Z]+ instead of [A-Z]{2,4} for geo codes to avoid silent parse
failures if longer codes appear. Remove misleading NOTE about reusing
_snakecase_string which would mangle path IDs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@nick-gorman nick-gorman changed the title New format network tables Add network_transmission_paths templater Apr 9, 2026
@nick-gorman nick-gorman merged commit 5a05114 into main Apr 10, 2026
12 checks passed
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.

2 participants