Skip to content

fix: Preserve ReEDS directional limits in Sienna AreaInterchange - #314

Merged
mcllerena merged 2 commits into
mainfrom
al/sienna_area_interchange_limits
Aug 14, 2026
Merged

fix: Preserve ReEDS directional limits in Sienna AreaInterchange#314
mcllerena merged 2 commits into
mainfrom
al/sienna_area_interchange_limits

Conversation

@akrivi

@akrivi akrivi commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

ReEDS transmission interfaces have different forward and reverse transfer capacities. Previously these interfaces were translated to Sienna AreaInterchange components with zero flow limits.

This PR calculates the AreaInterchange limits from ReEDSTransmissionLine components. It sums the forward and reverse capacities independently and preserves the ReEDS direction convention when converting the values to the PowerSystems system base.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.33333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 85.32%. Comparing base (2af872f) to head (ca49c41).

Files with missing lines Patch % Lines
...reeds-to-sienna/src/r2x_reeds_to_sienna/getters.py 93.33% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #314      +/-   ##
==========================================
+ Coverage   85.30%   85.32%   +0.01%     
==========================================
  Files          20       20              
  Lines        5567     5581      +14     
==========================================
+ Hits         4749     4762      +13     
- Misses        818      819       +1     
Files with missing lines Coverage Δ
...reeds-to-sienna/src/r2x_reeds_to_sienna/getters.py 89.19% <93.33%> (+0.08%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@akrivi
akrivi requested a review from mcllerena August 14, 2026 00:21
@mcllerena
mcllerena merged commit 8135d3f into main Aug 14, 2026
17 checks passed
@mcllerena
mcllerena deleted the al/sienna_area_interchange_limits branch August 14, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants