Skip to content

chore(powsybl): minimal work for powsybl-dependencies 2026.1.0 upgrade #653

Open
TheMaskedTurtle wants to merge 14 commits into
mainfrom
jorism/chore/prepare-powsybl-core-7.3.0
Open

chore(powsybl): minimal work for powsybl-dependencies 2026.1.0 upgrade #653
TheMaskedTurtle wants to merge 14 commits into
mainfrom
jorism/chore/prepare-powsybl-core-7.3.0

Conversation

@TheMaskedTurtle

Copy link
Copy Markdown
Collaborator

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)
  • A PR or issue has been opened in all impacted repositories (if any)

What kind of change does this PR introduce?

Update powsybl-core version to 7.3.0. Update code to the different changes.

Things linked to already non-implemented features (so nothing to update):
Add resistance to DC switch (#3863)
Add active power limits to AC/DC converters (#3940) - beta feature
(also in v7.2.2) Fix setConnectableBus with variants (#3895)
DC connectable connect & disconnect method (#3942)
Merge networks: improve exception message when duplicates are found (#3962)

Things that are already separately planned for adaptation:
Add setId method to Identifiables (#3928)
- minimal work : tck AbstractIdentifiableTest to implement and by-pass its unique test. Another test to by-pass in SecondaryVoltageControlTest.

Things to be done fast:
More detailed error messages at temporary limits creation (#3891) - to finish
- minimal work: none - no associated tck.
Topology-specific error messages at equipment creation (#3785) - done
- done: quick code fix in AbstractInjectionAdder, AbstractIdentifiableAdder, AbstractBranchAdder and ThreeWindingsTransofrmerAdderImpl.
Add option to import/export only the active operational limits groups (#3938) - done
- done: adapt interfaces methods that turned from Collection to List. We were returning Sets now we return Lists. Anyway we're not yet handling multi active operational limits groups, then we're always returning a list of one element.
Fix asymmetric connect / disconnect on terminal, tie line, hvdc line and add default methods (#3885) - to finish
- minimal work : by-pass tck tests - HvdcLineTest and TieLineTest
Add observability area extension on voltage levels (#3836) - to finish
- minimal work: none - no tck

To be done later:
Add homopolar conductance and susceptance to LineFortescue (#3729)
- minimal work: fill new interface methods
Add magnetizing reactance support to TwoWindingsTransformerFortescue (#3737)
- minimal work: fill new interface methods
Add LineCouplings extension (#3730)
- minimal work: none - no tck

To be defined :
Model low limits (#3920) - beta feature
- minimal work: fill new interface methods
PQU diagram for reactive limits - Without serialization (#3949) - beta feature
- minimal work: fill new interface methods by throwing
Add a name to the permanent limits (#3909)
- minimal work: fill new interface methods

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)

Same as powsybl-core IIDM API evolutions

Add homopolar conductance and susceptance to LineFortescue (#3729)
Add magnetizing reactance support to TwoWindingsTransformerFortescue (#3737)
Add LineCouplings extension (#3730)

Signed-off-by: Joris Mancini <joris.mancini_externe@rte-france.com>
Add option to import/export only the active operational limits groups (#3938)

Signed-off-by: Joris Mancini <joris.mancini_externe@rte-france.com>
Add resistance to DC switch (#3863)
Add active power limits to AC/DC converters (#3940) - beta feature
(also in v7.2.2) Fix setConnectableBus with variants (#3895)
DC connectable connect & disconnect method (#3942)
Merge networks: improve exception message when duplicates are found (#3962)

Signed-off-by: Joris Mancini <joris.mancini_externe@rte-france.com>
Signed-off-by: Joris Mancini <joris.mancini_externe@rte-france.com>
…ded to permanent limit

Model low limits (#3920)
Add a name to the permanent limits (#3909)

Signed-off-by: Joris Mancini <joris.mancini_externe@rte-france.com>
PQU diagram for reactive limits - Without serialization (#3949)

Signed-off-by: Joris Mancini <joris.mancini_externe@rte-france.com>
Add setId method to Identifiables (#3928)

Signed-off-by: Joris Mancini <joris.mancini_externe@rte-france.com>
…disconnect

Fix asymmetric connect / disconnect on terminal, tie line, hvdc line and add default methods (#3885)

Signed-off-by: Joris Mancini <joris.mancini_externe@rte-france.com>
Signed-off-by: Joris Mancini <joris.mancini_externe@rte-france.com>
Signed-off-by: Joris Mancini <joris.mancini_externe@rte-france.com>
@TheMaskedTurtle TheMaskedTurtle changed the title jorism/chore/prepare-powsybl-core-7.3.0 chore(powsybl): minimal work for powsybl 7.3.0 upgrade Jul 6, 2026
Signed-off-by: Joris Mancini <joris.mancini_externe@rte-france.com>
@TheMaskedTurtle TheMaskedTurtle changed the title chore(powsybl): minimal work for powsybl 7.3.0 upgrade chore(powsybl): minimal work for powsybl-dependencies 2026.1.0 upgrade Jul 7, 2026
Signed-off-by: Joris Mancini <joris.mancini_externe@rte-france.com>
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
60.3% Coverage on New Code (required ≥ 80%)
5.3% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

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