-
Notifications
You must be signed in to change notification settings - Fork 43
Migration guide v6.6.0
In this release, NetworkListener
has been modified with breaking changes:
-
onUpdate
andonExtensionUpdate
overload without variant ID have been removed, we expect now to have one with variant ID to use everywhere and with a nullvariantId
in case of an attribute that does not depend on variant. -
onElementAdded
has been renamedonPropertyAdded
and default empty implementation has been removed -
onElementReplaced
has been renamedonPropertyReplaced
and default empty implementation has been removed -
onElementRemoved
has been renamedonPropertyRemoved
and default empty implementation has been removed - default empty implementation of
onVariantCreated
,onVariantOverwritten
,onVariantRemoved
have been removed
Substation geographicalTags
attribute is no more an (old) element type notification but a standard attribute notification
-
Conversion.getFictitiousVoltageLevelForNodeInContainer(String containerId, String nodeId)
was removed.
Instead, useSubstationIdMapping.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 toNodeContainerMapping
.
As a consequence, methodsubstationIdMapping()
ofcom.powsybl.cgmes.conversion.Context
was renamed tonodeContainerMapping()
.
Starting from this release, default implementations for addVertexIfNotPresent
and vertexExists
methods have been removed from UndirectedGraph
interface.
The following methods of CgmesConformity1ModifiedCatalog
, were removed:
miniGridNodeBreakerMissingVoltageLevel()
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.
There was an inconsistency in the following methods of EurostagTutorialExample1Factory
:
createWithRemoteVoltageGenerator()
createWithRemoteReactiveAndVoltageGenerators()
To solve it, the targetV
on generator of ID "GEN"
is now set to 399 kV
instead of 24.5 kV
for these methods.
This may have an impact on your projects' unit tests if you use them.