public interface Substation extends Container<Substation>
It is composed of several voltage levels.
A substation is located to one country and belongs to one TSO.
To create a substation, see SubstationAdder
VoltageLevel
,
Country
,
SubstationAdder
Modifier and Type | Method and Description |
---|---|
Substation |
addGeographicalTag(String tag)
Associate a new geographical tag to the substation.
|
Optional<Country> |
getCountry()
Get an optional containing the country to which the substation belongs if it is defined, Optional.empty() if not.
|
Set<String> |
getGeographicalTags()
Get geographical tags associated to the substation.
|
Network |
getNetwork()
Get the network associated to the object.
|
Country |
getNullableCountry()
Get country to which the substation belongs if it is defined, null otherwise.
|
int |
getThreeWindingsTransformerCount()
Get the three windings transformers count
|
Iterable<ThreeWindingsTransformer> |
getThreeWindingsTransformers()
Get the 3 windings transformers connected to the substation.
|
Stream<ThreeWindingsTransformer> |
getThreeWindingsTransformerStream()
Get the 3 windings transformers connected to the substation.
|
String |
getTso()
Get the TSO to which the substation belongs.
|
int |
getTwoWindingsTransformerCount()
Get the two windings transformers count
|
Iterable<TwoWindingsTransformer> |
getTwoWindingsTransformers()
Get the two windings transformers connected to the substation.
|
Stream<TwoWindingsTransformer> |
getTwoWindingsTransformerStream()
Get the two windings transformers connected to the substation.
|
Iterable<VoltageLevel> |
getVoltageLevels()
Get the voltage levels of the substation.
|
Stream<VoltageLevel> |
getVoltageLevelStream()
Get the voltage levels of the substation.
|
ThreeWindingsTransformerAdder |
newThreeWindingsTransformer()
Get a builder to create a new 3 windings transformer in the substation.
|
TwoWindingsTransformerAdder |
newTwoWindingsTransformer()
Get a builder to create a new two windings transformer in the substation.
|
VoltageLevelAdder |
newVoltageLevel()
Get a builder to create a new voltage level in the substation.
|
default void |
remove()
Remove this substation from the network.
|
Substation |
setCountry(Country country) |
Substation |
setTso(String tso) |
getContainerType
getId, getName, getNameOrId, getOptionalName, getProperties, getProperty, getProperty, getPropertyNames, hasProperty, hasProperty, isFictitious, setFictitious, setProperty
addExtension, getExtension, getExtensionByName, getExtensions, getImplementationName, newExtension, removeExtension
Network getNetwork()
Identifiable
getNetwork
in interface Identifiable<Substation>
Optional<Country> getCountry()
Country getNullableCountry()
Substation setCountry(Country country)
String getTso()
Substation setTso(String tso)
VoltageLevelAdder newVoltageLevel()
Iterable<VoltageLevel> getVoltageLevels()
Stream<VoltageLevel> getVoltageLevelStream()
TwoWindingsTransformerAdder newTwoWindingsTransformer()
Iterable<TwoWindingsTransformer> getTwoWindingsTransformers()
Stream<TwoWindingsTransformer> getTwoWindingsTransformerStream()
int getTwoWindingsTransformerCount()
ThreeWindingsTransformerAdder newThreeWindingsTransformer()
Iterable<ThreeWindingsTransformer> getThreeWindingsTransformers()
Stream<ThreeWindingsTransformer> getThreeWindingsTransformerStream()
int getThreeWindingsTransformerCount()
Set<String> getGeographicalTags()
Substation addGeographicalTag(String tag)
default void remove()
Copyright © 2020. All rights reserved.