Package com.powsybl.iidm.network
Interface LoadAdder
-
- All Superinterfaces:
IdentifiableAdder<Load,LoadAdder>
,InjectionAdder<Load,LoadAdder>
- All Known Implementing Classes:
LoadAdderAdapter
public interface LoadAdder extends InjectionAdder<Load,LoadAdder>
To create a load, from aVoltageLevel
instance call theVoltageLevel.newLoad()
method to get a load builder instance.Example:
VoltageLevel vl = ... Load l = vl.newLoad() .setId("l1") ... .add();
- Author:
- Geoffroy Jamgotchian
- See Also:
Load
,VoltageLevel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Load
add()
ExponentialLoadModelAdder
newExponentialModel()
ZipLoadModelAdder
newZipModel()
LoadAdder
setLoadType(LoadType loadType)
LoadAdder
setP0(double p0)
LoadAdder
setQ0(double q0)
-
Methods inherited from interface com.powsybl.iidm.network.IdentifiableAdder
setEnsureIdUnicity, setFictitious, setId, setName
-
Methods inherited from interface com.powsybl.iidm.network.InjectionAdder
setBus, setConnectableBus, setNode
-
-
-
-
Method Detail
-
setP0
LoadAdder setP0(double p0)
-
setQ0
LoadAdder setQ0(double q0)
-
newZipModel
ZipLoadModelAdder newZipModel()
-
newExponentialModel
ExponentialLoadModelAdder newExponentialModel()
-
add
Load add()
- Specified by:
add
in interfaceIdentifiableAdder<Load,LoadAdder>
- Specified by:
add
in interfaceInjectionAdder<Load,LoadAdder>
-
-