Package edu.ie3.datamodel.models.input
Class NodeInput
java.lang.Object
edu.ie3.datamodel.models.UniqueEntity
edu.ie3.datamodel.models.input.InputEntity
edu.ie3.datamodel.models.input.AssetInput
edu.ie3.datamodel.models.input.NodeInput
- All Implemented Interfaces:
NestedEntity,Operable,Serializable
Describes an electrical grid node, that other assets can connect to
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder pattern based approach to create copies ofNodeInputentities with altered field values.Nested classes/interfaces inherited from class edu.ie3.datamodel.models.input.AssetInput
AssetInput.AssetInputCopyBuilder<T extends AssetInput.AssetInputCopyBuilder<T>>Nested classes/interfaces inherited from class edu.ie3.datamodel.models.UniqueEntity
UniqueEntity.UniqueEntityBuilder, UniqueEntity.UniqueEntityCopyBuilder<T extends UniqueEntity.UniqueEntityBuilder> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.locationtech.jts.geom.PointUse this default value if geoPosition is unknownFields inherited from class edu.ie3.datamodel.models.UniqueEntity
UUID_FIELD_NAME -
Constructor Summary
ConstructorsConstructorDescriptionNodeInput(UUID uuid, String id, OperatorInput operator, OperationTime operationTime, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Dimensionless> vTarget, boolean slack, org.locationtech.jts.geom.Point geoPosition, VoltageLevel voltLvl, int subnet) Constructor for an operated nodeNodeInput(UUID uuid, String id, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Dimensionless> vTarget, boolean slack, org.locationtech.jts.geom.Point geoPosition, VoltageLevel voltLvl, int subnet) Constructor for an operated, always on asset -
Method Summary
Methods inherited from class edu.ie3.datamodel.models.input.AssetInput
getId, getOperationTime, getOperatorMethods inherited from class edu.ie3.datamodel.models.UniqueEntity
getUuidMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface edu.ie3.datamodel.models.Operable
inOperationOn
-
Field Details
-
DEFAULT_GEO_POSITION
public static final org.locationtech.jts.geom.Point DEFAULT_GEO_POSITIONUse this default value if geoPosition is unknown
-
-
Constructor Details
-
NodeInput
public NodeInput(UUID uuid, String id, OperatorInput operator, OperationTime operationTime, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Dimensionless> vTarget, boolean slack, org.locationtech.jts.geom.Point geoPosition, VoltageLevel voltLvl, int subnet) Constructor for an operated node- Parameters:
uuid- of the input entityid- of the assetoperator- of the assetoperationTime- Time for which the entity is operatedvTarget- Target voltage magnitude of the node with regard to its rated voltageslack- Is this node a slack node?geoPosition- Coordinates of this node, especially relevant for geo-dependant systems, that are connected to this nodevoltLvl- Voltage level of this nodesubnet- of this node
-
NodeInput
public NodeInput(UUID uuid, String id, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Dimensionless> vTarget, boolean slack, org.locationtech.jts.geom.Point geoPosition, VoltageLevel voltLvl, int subnet) Constructor for an operated, always on asset- Parameters:
uuid- of the input entityid- of the assetvTarget- Target voltage magnitude of the node with regard to its rated voltageslack- Is this node a slack node?geoPosition- Coordinates of this node, especially relevant for geo-dependant systems, that are connected to this nodevoltLvl- Voltage level of this nodesubnet- of this node
-
-
Method Details
-
getvTarget
public tech.units.indriya.ComparableQuantity<javax.measure.quantity.Dimensionless> getvTarget() -
isSlack
public boolean isSlack() -
getGeoPosition
public org.locationtech.jts.geom.Point getGeoPosition() -
getVoltLvl
-
getSubnet
public int getSubnet() -
copy
- Specified by:
copyin classAssetInput
-
equals
- Overrides:
equalsin classAssetInput
-
hashCode
public int hashCode()- Overrides:
hashCodein classAssetInput
-
toString
- Overrides:
toStringin classAssetInput
-