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

Low impedance threshold into OLF parameters #656

Merged
merged 13 commits into from
Nov 29, 2022
Merged

Conversation

caioluke
Copy link
Member

@caioluke caioluke commented Nov 17, 2022

Replaces #651

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)

cluke added 6 commits November 17, 2022 13:00
… OpenLoadFlowParameters and AcEquationSystemCreationParameters

Signed-off-by: cluke <caio.luke@artelys.com>
…ializer

Signed-off-by: cluke <caio.luke@artelys.com>
…tionParameters

*** There are CAIOTODO's to handle

Signed-off-by: cluke <caio.luke@artelys.com>
*** There are CAIOTODO's to handle

Signed-off-by: cluke <caio.luke@artelys.com>
*** There are CAIOTODO's to handle

Signed-off-by: cluke <caio.luke@artelys.com>
… by a lowImpedanceThreshold parameter from either OpenLoadFlowParameters, LfNetworkParameters, AcEquationSystemCreationParameters, DcEquationSystemCreationParameters

Signed-off-by: cluke <caio.luke@artelys.com>
@annetill
Copy link
Member

annetill commented Nov 18, 2022

Can you add a test that shows that it works?

cluke added 3 commits November 18, 2022 12:33
…Initializer

Signed-off-by: cluke <caio.luke@artelys.com>
Signed-off-by: cluke <caio.luke@artelys.com>
Signed-off-by: cluke <caio.luke@artelys.com>
@caioluke
Copy link
Member Author

Can you add a test that shows that it works?

Just added it, please tell me if it's what you were expecting

# Conflicts:
#	src/main/java/com/powsybl/openloadflow/network/impl/LfNetworkLoaderImpl.java
#	src/test/java/com/powsybl/openloadflow/OpenLoadFlowProviderTest.java
Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@gmail.com>
@geofjamg geofjamg changed the title [WIP] Low impedance threshold into OLF parameters Low impedance threshold into OLF parameters Nov 28, 2022
@@ -0,0 +1,2 @@
open-loadflow-default-parameters:
lowImpedanceThreshold: 1.0E-2
Copy link
Member

Choose a reason for hiding this comment

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

It is not the better value choice even in tests...

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

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

94.1% 94.1% Coverage
0.0% 0.0% Duplication

@annetill annetill merged commit ac51bf0 into main Nov 29, 2022
@annetill annetill deleted the OLF_lowImpThresh2 branch November 29, 2022 10:48
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