- All Superinterfaces:
BranchAdder<Line,
,LineAdder> IdentifiableAdder<Line,
LineAdder>
To create a new AC line, from a
Network
instance call the
Network.newLine()
method to get a line builder instance.
Example:
Network n = ... Line l = n.newLine() .setId("l1") ... .add();
-
Method Summary
Methods inherited from interface com.powsybl.iidm.network.BranchAdder
setBus1, setBus2, setConnectableBus1, setConnectableBus2, setNode1, setNode2, setVoltageLevel1, setVoltageLevel2
Methods inherited from interface com.powsybl.iidm.network.IdentifiableAdder
setEnsureIdUnicity, setFictitious, setId, setName
-
Method Details
-
setR
-
setX
-
setG1
-
setB1
-
setG2
-
setB2
-
add
Line add()- Specified by:
add
in interfaceBranchAdder<Line,
LineAdder> - Specified by:
add
in interfaceIdentifiableAdder<Line,
LineAdder>
-