Package com.powsybl.iidm.network
Interface LineAdder
-
- All Superinterfaces:
BranchAdder<Line,LineAdder>
,IdentifiableAdder<Line,LineAdder>
public interface LineAdder extends BranchAdder<Line,LineAdder>
To create a new AC line, from aNetwork
instance call theNetwork.newLine()
method to get a line builder instance.Example:
Network n = ... Line l = n.newLine() .setId("l1") ... .add();
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Line
add()
LineAdder
setB1(double b1)
LineAdder
setB2(double b2)
LineAdder
setG1(double g1)
LineAdder
setG2(double g2)
LineAdder
setR(double r)
LineAdder
setX(double x)
-
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 Detail
-
setR
LineAdder setR(double r)
-
setX
LineAdder setX(double x)
-
setG1
LineAdder setG1(double g1)
-
setB1
LineAdder setB1(double b1)
-
setG2
LineAdder setG2(double g2)
-
setB2
LineAdder setB2(double b2)
-
add
Line add()
- Specified by:
add
in interfaceBranchAdder<Line,LineAdder>
- Specified by:
add
in interfaceIdentifiableAdder<Line,LineAdder>
-
-