Class CreateVoltageLevelTopologyBuilder
java.lang.Object
com.powsybl.iidm.modification.topology.CreateVoltageLevelTopologyBuilder
- Author:
- Miora Vedelago <miora.ralambotiana at rte-france.com>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withAlignedBusesOrBusbarCount
(int alignedBusesOrBusbarCount) Set the number of parallel bus lines or busbar which will be created.withBusbarSectionPrefixId
(String busbarSectionPrefixId) Set the prefix ID for the created buses or busbar sections.withLowBusOrBusbarIndex
(int lowBusOrBusbarIndex) Set the lowest index of bus or busbar index that will be created (1 by default).withLowSectionIndex
(int lowSectionIndex) Set the lowest index of section index that will be created (1 by default).withSectionCount
(int sectionCount) Set the number of sections for each created busbar or the number of switches between the buses in bus/breaker topology.withSwitchKinds
(SwitchKind... switchKinds) Set the switching devices between the sections of a busbar.withSwitchKinds
(List<SwitchKind> switchKinds) Set the switching devices between the sections of a busbar.withSwitchPrefixId
(String switchPrefixId) Set the prefix ID for the created switches.withVoltageLevelId
(String voltageLevelId) Set the voltage level ID in which the symmetrical topology will be created.
-
Constructor Details
-
CreateVoltageLevelTopologyBuilder
public CreateVoltageLevelTopologyBuilder()
-
-
Method Details
-
withVoltageLevelId
Set the voltage level ID in which the symmetrical topology will be created. If the voltage level does not exist, an exception is thrown or the modification is ignored.- Parameters:
voltageLevelId
-
-
withLowBusOrBusbarIndex
Set the lowest index of bus or busbar index that will be created (1 by default).- Parameters:
lowBusOrBusbarIndex
-
-
withAlignedBusesOrBusbarCount
public CreateVoltageLevelTopologyBuilder withAlignedBusesOrBusbarCount(int alignedBusesOrBusbarCount) Set the number of parallel bus lines or busbar which will be created. In case of node/breaker topology, it is the number of busbar sections. In case of bus/breaker topology, it is the number of lines of aligned buses.- Parameters:
alignedBusesOrBusbarCount
-
-
withLowSectionIndex
Set the lowest index of section index that will be created (1 by default).- Parameters:
lowSectionIndex
-
-
withSectionCount
Set the number of sections for each created busbar or the number of switches between the buses in bus/breaker topology.- Parameters:
sectionCount
-
-
withBusbarSectionPrefixId
Set the prefix ID for the created buses or busbar sections. By default, it is equals to the voltage level ID.- Parameters:
busbarSectionPrefixId
-
-
withSwitchPrefixId
Set the prefix ID for the created switches. By default, it is equals to the voltage level ID.- Parameters:
switchPrefixId
-
-
withSwitchKinds
Set the switching devices between the sections of a busbar. There are as many specified switch kinds as there are intervals between sections i.e.sectionCount - 1
. The switch kinds can beSwitchKind.BREAKER
,SwitchKind.DISCONNECTOR
or null. If it isSwitchKind.BREAKER
, a closed disconnector, a closed breaker and a closed disconnector are created. If it isSwitchKind.DISCONNECTOR
, a closed disconnector is created. If it is null, no switch is created: the sections are disconnected. In bus/breaker topology, all the switching devices are by default breakers.- Parameters:
switchKinds
-
-
withSwitchKinds
Set the switching devices between the sections of a busbar. There are as many specified switch kinds as there are intervals between sections i.e.sectionCount - 1
. The switch kinds can beSwitchKind.BREAKER
,SwitchKind.DISCONNECTOR
or null. If it isSwitchKind.BREAKER
, a closed disconnector, a closed breaker and a closed disconnector are created. If it isSwitchKind.DISCONNECTOR
, a closed disconnector is created. In bus/breaker topology, all the switching devices are by default breakers.- Parameters:
switchKinds
-
-
build
-