Package com.powsybl.iidm.network
Interface SubstationAdder
-
- All Superinterfaces:
IdentifiableAdder<Substation,SubstationAdder>
public interface SubstationAdder extends IdentifiableAdder<Substation,SubstationAdder>
To create a substation, from aNetwork
instance call theNetwork.newSubstation()
method to get a substation builder instance.Example:
Network n = ... Substation s = n.newSubstation() .setId("s1") ... .add();
- Author:
- Geoffroy Jamgotchian
- See Also:
Substation
,Network
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Substation
add()
SubstationAdder
setCountry(Country country)
SubstationAdder
setGeographicalTags(String... tags)
SubstationAdder
setTso(String tso)
-
Methods inherited from interface com.powsybl.iidm.network.IdentifiableAdder
setEnsureIdUnicity, setFictitious, setId, setName
-
-
-
-
Method Detail
-
setCountry
SubstationAdder setCountry(Country country)
-
setTso
SubstationAdder setTso(String tso)
-
setGeographicalTags
SubstationAdder setGeographicalTags(String... tags)
-
add
Substation add()
- Specified by:
add
in interfaceIdentifiableAdder<Substation,SubstationAdder>
-
-