Skip to content

Migration guide v5.3.0

Nicolas Rol edited this page Jul 3, 2023 · 7 revisions

Breaking changes

Branch

Branch extends only Identifiable and no more Connectable. The methods getTerminals() and remove() are no more accessible for a branch. The branches of a network are still Line, TwoWindingsTransformer and TieLine.

New TieLine design

A TieLine is no more an implementation of Line. A network.getLines() will no more return tie lines. Now, TieLine extends only Branch (that extends Identifiable). A network.getBranches() still returns the tie lines.

A tie line can be seen now as a container that pairs two DanglingLine. The connectables are the underlying dangling lines. The dangling lines of the network always exist, and they can be paired or unpaired. If two dangling lines are paired, they are contained in a tie line. Else they are free.

Xnode and MergedXnode

The two extensions have been deleted as all the information is available in the dangling lines that are never deleted, even inside a tie line.

ShuntCompensatorModification

It is now possible to:

  • Connect and disconnect a ShuntCompensator;
  • Modify its section.

Multiple data sources

TODO: describe the modifications

Replace the calls to the method Importers.createDataSource() with calls to the method DataSource.fromPath()

Contingency list

  • A name is now associated to each NetworkElementIdentifierList.

  • N-K defaults are now supported whereas only N-1 defaults were previously supported.

  • When countries of SingleCountryCriterion is empty, all equipments are returned, the filter is transparent. Previously, no equipment was returned.

Short circuit specific parameters

The short-circuit API does not use the old mechanism with ConfigLoader anymore. It now uses getSpecificParameters... methods to be consistent with PowSyBl other calculation APIs.

Clone this wiki locally