Skip to content

Migration guide v6.6.0

Olivier Perrin edited this page Oct 31, 2024 · 15 revisions

Breaking Change Breaking changes for all users

CGMES

Line and substation containers

  • Conversion.getFictitiousVoltageLevelForNodeInContainer(String containerId, String nodeId) was removed.
    Instead, use SubstationIdMapping.getFictitiousVoltageLevelForContainer(String containerId, String nodeId).

  • CgmesModel has two new methods that should be implemented if you have classes implementing this interface:

    • Optional<String> node(CgmesTerminal t, boolean nodeBreaker);
    • Optional<CgmesContainer> nodeContainer(String nodeId);
  • SubstationIdMapping was renamed to NodeContainerMapping.
    As a consequence, method substationIdMapping() of com.powsybl.cgmes.conversion.Context was renamed to nodeContainerMapping().

Simplifying unit tests

The following methods of CgmesConformity1ModifiedCatalog, were removed:

  • miniNodeBreakerCimLine()
  • miniNodeBreakerSwitchBetweenVoltageLevelsOpen()
  • miniNodeBreakerJoinVoltageLevelSwitch()
  • miniNodeBreakerJoinVoltageLevelTx()
  • miniNodeBreakerSubstationNode()

They were used for unit testing, but they relied on big CGMES files ; this slowed the tests execution. If you still need to use them, you can retrieve the methods at this URL and the corresponding CGMES files in this directory.


Custom IIDM Impl Notice for custom IIDM implementations maintainers

Clone this wiki locally