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

[WIP] Solved tap position + solved section count #2978

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

colinepiloquet
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?

What kind of change does this PR introduce?

What is the current behavior?

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

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

  • Yes
  • No

If yes, please check if the following requirements are fulfilled

  • The Breaking Change or Deprecated label has been added
  • The migration steps are described in the following section

What changes might users need to make in their application due to this PR? (migration steps)

Other information:

Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
@colinepiloquet colinepiloquet changed the base branch from main to evolution_xiidm/1.13 April 12, 2024 13:46
colinepiloquet and others added 2 commits April 22, 2024 13:41
Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
@annetill
Copy link
Member

Thanks for this work! I am going to look at it, with the help of @zamarrenolm because we have to choose the good getter for CGMES SSH and SV exports, and check all the getters and setters. But, before, after a small talk, we agreed on:

  • "tapPosition" for the "SSH" tap and "solvedTapPosition" for the tap position after simulations.
  • We must do it for shunt compensator too: "sectionCount" and "solvedSectionCount".

colinepiloquet and others added 5 commits April 26, 2024 14:15
Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
@colinepiloquet colinepiloquet changed the title [WIP] Initial tap position [WIP] Solved tap position + solved section count May 7, 2024
@@ -219,7 +227,7 @@ public ShuntCompensatorImpl add() {
ShuntCompensatorImpl shunt = new ShuntCompensatorImpl(getNetworkRef(),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not sure how to deal with the validation.

@@ -177,6 +179,12 @@ public ShuntCompensatorAdder setSectionCount(int sectionCount) {
return this;
}

@Override
public ShuntCompensatorAdder setSolvedSectionCount(int solvedSectionCount) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do we want an unset too?

Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>

Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
Copy link

sonarcloud bot commented May 7, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
72.7% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

Base automatically changed from evolution_xiidm/1.13 to main June 19, 2024 06:57
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.

None yet

3 participants