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

[Flow decomposition][Reformat] Observer and NetworkUtil #149

Merged

Conversation

OpenSuze
Copy link
Contributor

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)

Does this PR already have an issue describing the problem?

The goal is to remove terminal setP and setQ in losses compensation PR #147.
I used this PR to reformat observers in flow decompostion computer and the NetworkUtils functions.

What kind of change does this PR introduce?

Reformating

What is the current behavior?

No change

What is the new behavior (if this is a feature change)?
No change

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

  • Yes
  • No

Other information:

 - Reformat observers in flow decompostion computer
 - Reformat NetworkUtil

Signed-off-by: Hugo SCHINDLER <[email protected]>
Signed-off-by: Hugo SCHINDLER <[email protected]>
Copy link
Member

@caioluke caioluke 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 the refactoring and the utils tests. 😄

I think observers are much better placed now!

Question remains about the 2 TODO's and whether or not to include three windings transfomers in getPstIdList.

…osses_compensation_improvement branch but it is friday night

Signed-off-by: Hugo SCHINDLER <[email protected]>
@OpenSuze
Copy link
Contributor Author

I added a lot of test with some "golden master" tests

@OpenSuze
Copy link
Contributor Author

OpenSuze commented May 31, 2024

  • Check new TODO
  • Write documentation injection != BusbarSection ShuntCompensator StaticVarCompensator
  • Write documentation main synchronous component
  • Write documentation ThreeWindingsTransformers
  • merge with losses_compensation_improvement branch

OpenSuze added 3 commits June 3, 2024 09:03
…ecomposition_improvements

# Conflicts:
#	flow-decomposition/src/main/java/com/powsybl/flow_decomposition/FlowDecompositionComputer.java
#	flow-decomposition/src/main/java/com/powsybl/flow_decomposition/FlowDecompositionResults.java
#	flow-decomposition/src/test/java/com/powsybl/flow_decomposition/TestUtils.java
Signed-off-by: Hugo SCHINDLER <[email protected]>
Signed-off-by: Hugo SCHINDLER <[email protected]>
@OpenSuze
Copy link
Contributor Author

OpenSuze commented Jun 3, 2024

Thank you for the review, I made some changes. Ready for review

Copy link
Member

@caioluke caioluke left a comment

Choose a reason for hiding this comment

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

Wow, thanks a lot for the work you put into this PR :)

I have only some minor comments

Signed-off-by: Hugo SCHINDLER <[email protected]>
@OpenSuze
Copy link
Contributor Author

OpenSuze commented Jun 3, 2024

Waiting for a final green light to merge this PR

Copy link

sonarqubecloud bot commented Jun 3, 2024

@caioluke
Copy link
Member

caioluke commented Jun 3, 2024

@OpenSuze it's all good for me!

@OpenSuze OpenSuze merged commit 81d253e into losses_compensator_improvements Jun 3, 2024
7 checks passed
@OpenSuze OpenSuze deleted the flow_decomposition_improvements branch June 3, 2024 09:35
OpenSuze added a commit that referenced this pull request Jun 4, 2024
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.

2 participants