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

Refactor macro connector & macro connect creation #186

Merged
merged 25 commits into from
Mar 17, 2023

Conversation

Lisrte
Copy link
Contributor

@Lisrte Lisrte commented Mar 9, 2023

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, ...)
Refactor

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

Lisrte and others added 13 commits February 27, 2023 11:38
DynaWaltzContext returns directly the dynamicModel linked to the static id or a default model/exception if not found depending on the method called

Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Add side suffix value in CurrentLimitAutomaton name

Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Handle MacroConnect index
Remove connector commutativity and ConnectedModels
Connect StandardBus only with DefaultModel

Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Handle MacroConnect index
Remove connector commutativity and ConnectedModels
Connect StandardBus only with DefaultModel

Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
@flo-dup flo-dup force-pushed the refactor_macroconnect_creation branch from 44610c4 to 642ff0d Compare March 10, 2023 14:57
Lisrte added 6 commits March 10, 2023 17:15
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
…into refactor_macroconnect_creation

# Conflicts:
#	dynawaltz/src/main/java/com/powsybl/dynawaltz/models/lines/StandardLine.java
#	dynawaltz/src/main/java/com/powsybl/dynawaltz/models/utils/BusUtils.java
#	dynawaltz/src/test/java/com/powsybl/dynawaltz/xml/DynaWaltzTestUtil.java
#	dynawaltz/src/test/resources/dyd.xml
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
# Conflicts:
#	dynawaltz/src/main/java/com/powsybl/dynawaltz/DynaWaltzContext.java
#	dynawaltz/src/main/java/com/powsybl/dynawaltz/models/OmegaRef.java
#	dynawaltz/src/test/java/com/powsybl/dynawaltz/models/OmegaRefTest.java
#	dynawaltz/src/test/resources/dyd.xml
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
@Lisrte Lisrte requested a review from flo-dup March 13, 2023 15:56
Lisrte added 3 commits March 14, 2023 15:29
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Copy link
Contributor

@flo-dup flo-dup left a comment

Choose a reason for hiding this comment

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

Good job, this clarifies things and straightens up responsibilities. A few comments before we can merge

Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
@Lisrte Lisrte requested a review from flo-dup March 17, 2023 12:20
@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

98.5% 98.5% Coverage
0.0% 0.0% Duplication

@flo-dup flo-dup merged commit c8ecb55 into main Mar 17, 2023
@flo-dup flo-dup deleted the refactor_macroconnect_creation branch March 17, 2023 13:37
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.

2 participants