Class NodeInput

All Implemented Interfaces:
NestedEntity, Operable, Serializable

public class NodeInput extends AssetInput
Describes an electrical grid node, that other assets can connect to
See Also:
  • Field Details

    • DEFAULT_GEO_POSITION

      public static final org.locationtech.jts.geom.Point DEFAULT_GEO_POSITION
      Use 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 entity
      id - of the asset
      operator - of the asset
      operationTime - Time for which the entity is operated
      vTarget - Target voltage magnitude of the node with regard to its rated voltage
      slack - Is this node a slack node?
      geoPosition - Coordinates of this node, especially relevant for geo-dependant systems, that are connected to this node
      voltLvl - Voltage level of this node
      subnet - 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 entity
      id - of the asset
      vTarget - Target voltage magnitude of the node with regard to its rated voltage
      slack - Is this node a slack node?
      geoPosition - Coordinates of this node, especially relevant for geo-dependant systems, that are connected to this node
      voltLvl - Voltage level of this node
      subnet - 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

      public VoltageLevel getVoltLvl()
    • getSubnet

      public int getSubnet()
    • copy

      Specified by:
      copy in class AssetInput
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AssetInput
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AssetInput
    • toString

      public String toString()
      Overrides:
      toString in class AssetInput