Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flow decomposition loss compensation when dangling lines have shunt susceptance #160

Merged
merged 3 commits into from
Sep 20, 2024

Conversation

caioluke
Copy link
Member

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

Current loss compensation for TieLines only work if the corresponding DanglingLines don't have a shunt susceptance.

What is the new behavior (if this is a feature change)?
Instead of calculating the loss for each DanglingLine proportionally to the resistance, use dangling line's boundary P to calculate it.

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

Signed-off-by: Caio Luke <caioluke97@gmail.com>
@caioluke caioluke requested a review from OpenSuze September 19, 2024 09:25
@caioluke caioluke self-assigned this Sep 19, 2024
Copy link
Contributor

@OpenSuze OpenSuze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR !
It's well spotted, we might have been too restrictive with only resistance and not impedance.
Could you fix this in the documentation please ?

A special treatment is done on tie lines, where instead of compensating the losses on the sending terminal, losses are compensated at both sides proportionally to the impedance of each half line.

Signed-off-by: Caio Luke <caioluke97@gmail.com>
Copy link

sonarcloud bot commented Sep 20, 2024

@caioluke
Copy link
Member Author

@OpenSuze done!

Copy link
Contributor

@OpenSuze OpenSuze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR !

@phiedw phiedw merged commit 4e4c5e8 into main Sep 20, 2024
7 checks passed
@phiedw phiedw deleted the fix_loss_compensation branch September 20, 2024 14:02
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.

3 participants