Class RawGridElements
java.lang.Object
edu.ie3.datamodel.models.input.container.RawGridElements
- All Implemented Interfaces:
InputContainer<AssetInput>
,Serializable
Represents the aggregation of raw grid elements (nodes, lines, transformers, switches)
- See Also:
-
Constructor Summary
ConstructorDescriptionRawGridElements
(Collection<RawGridElements> rawGridElements) Combine different already existing containersRawGridElements
(List<AssetInput> rawGridElements) Create an instance based on a list ofAssetInput
entities that are included inRawGridElements
RawGridElements
(Set<NodeInput> nodes, Set<LineInput> lines, Set<Transformer2WInput> transformer2Ws, Set<Transformer3WInput> transformer3Ws, Set<SwitchInput> switches, Set<MeasurementUnitInput> measurementUnits) -
Method Summary
Modifier and TypeMethodDescriptionfinal List<AssetInput>
boolean
getLines()
getNodes()
int
hashCode()
-
Constructor Details
-
RawGridElements
public RawGridElements(Set<NodeInput> nodes, Set<LineInput> lines, Set<Transformer2WInput> transformer2Ws, Set<Transformer3WInput> transformer3Ws, Set<SwitchInput> switches, Set<MeasurementUnitInput> measurementUnits) -
RawGridElements
Combine different already existing containers- Parameters:
rawGridElements
- Already existing containers
-
RawGridElements
Create an instance based on a list ofAssetInput
entities that are included inRawGridElements
- Parameters:
rawGridElements
- list of grid elements this container instance should created from
-
-
Method Details
-
allEntitiesAsList
- Specified by:
allEntitiesAsList
in interfaceInputContainer<AssetInput>
- Returns:
- unmodifiable List of all entities
-
getNodes
- Returns:
- unmodifiable ; of all three winding transformers in this grid
-
getLines
- Returns:
- unmodifiable Set of all lines in this grid
-
getTransformer2Ws
- Returns:
- unmodifiable Set of all two winding transformers in this grid
-
getTransformer3Ws
- Returns:
- unmodifiable Set of all three winding transformers in this grid
-
getSwitches
- Returns:
- unmodifiable Set of all switches in this grid
-
getMeasurementUnits
- Returns:
- unmodifiable Set of all measurement units in this grid
-
equals
-
hashCode
public int hashCode()
-