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 bus/breaker LF network and non impedant branches #321

Merged
merged 35 commits into from
Jul 16, 2021

Conversation

geofjamg
Copy link
Member

Signed-off-by: Geoffroy Jamgotchian geoffroy.jamgotchian@rte-france.com

Please check if the PR fulfills these requirements (please use '[x]' to check the checkboxes, or submit the PR and then click the checkboxes)

  • 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 ? If so, link to this issue using '#XXX' and skip the rest

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the current behavior? (You can also link to an open issue here)

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

Does this PR introduce a breaking change or deprecate an API? If yes, check the following:

  • The Breaking Change or Deprecated label has been added
  • The migration guide has been updated in the github wiki (What changes might users need to make in their application due to this PR?)

Other information:

(if any of the questions/checkboxes don't apply, please delete them entirely)

geofjamg added 2 commits June 17, 2021 17:03
Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@rte-france.com>
Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@rte-france.com>
@annetill
Copy link
Member

annetill commented Jun 17, 2021

@flo-dup I see in the code where we fix the discrete voltage controls with method fixDiscreteVoltageControls, but why we don't have any similar treatment for voltage controls. It is missing for sure. Furthermore, I think that discrete controls creation must depend on the loadflow parameters (phase control on and transformer voltage control on) for performance issue.
@geofjamg a quick fix to zero impedance networks could be to add a min impedance to couplers and other retained switches.

Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@rte-france.com>
@geofjamg geofjamg changed the title Fix bus/breaker LF network and non impedant branches [WIP] Fix bus/breaker LF network and non impedant branches Jun 21, 2021
Hadrien-Godard and others added 4 commits June 23, 2021 12:31
…t branches

Beware that it is needed to iterate on connected components of zeroImpedanceSubGraph

Signed-off-by: Hadrien <hadrien.godard@artelys.com>
Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
annetill added 2 commits June 24, 2021 17:18
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
assertEquals(400, bus.getV(), 0);
assertEquals(0, bus.getAngle(), 0);
}
assertEquals(-200, network.getGenerator("G1").getTerminal().getQ(), 0);
Copy link
Member

Choose a reason for hiding this comment

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

@flo-dup my code is not deterministic aïe...

annetill added 4 commits June 25, 2021 10:18
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
@annetill annetill changed the title [WIP] Fix bus/breaker LF network and non impedant branches Fix bus/breaker LF network and non impedant branches Jun 28, 2021
@annetill annetill requested a review from flo-dup June 28, 2021 14:19
annetill and others added 10 commits June 29, 2021 12:13
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Hadrien <hadrien.godard@artelys.com>
Signed-off-by: Hadrien <hadrien.godard@artelys.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
annetill and others added 11 commits July 9, 2021 16:13
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Logs with error level if not equal

Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
This reverts commit d087820.

Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

92.7% 92.7% Coverage
0.0% 0.0% Duplication

@flo-dup flo-dup merged commit f9f1a79 into master Jul 16, 2021
@flo-dup flo-dup deleted the non_impedant_branch_breaker branch July 16, 2021 15:05
@flo-dup flo-dup mentioned this pull request Jul 29, 2021
3 tasks
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.

4 participants