Class TransformerInput

All Implemented Interfaces:
HasNodes, NestedEntity, Operable, Serializable
Direct Known Subclasses:
Transformer2WInput, Transformer3WInput

public abstract class TransformerInput extends ConnectorInput
Describes an electrical grid transformer, is "located" in the inferior subnet
See Also:
  • Constructor Details

    • TransformerInput

      protected TransformerInput(UUID uuid, OperationTime operationTime, OperatorInput operator, String id, NodeInput nodeA, NodeInput nodeB, int parallelDevices, int tapPos, boolean autoTap)
      Constructor for an operated transformer
      Parameters:
      uuid - of the input entity
      operationTime - Time for which the entity is operated
      operator - of the asset
      id - of the asset
      nodeA - Grid node at the high voltage winding
      nodeB - Grid node at the low voltage winding
      parallelDevices - overall amount of parallel transformers to automatically construct (e.g. parallelDevices = 2 will build a total of two transformers using the specified parameters)
      tapPos - Tap Position of this transformer
      autoTap - True, if the tap position of the transformer is adapted automatically
    • TransformerInput

      protected TransformerInput(UUID uuid, String id, NodeInput nodeA, NodeInput nodeB, int parallelDevices, int tapPos, boolean autoTap)
      Constructor for an operated, always on transformer
      Parameters:
      uuid - of the input entity
      id - of the asset
      nodeA - Grid node at the high voltage winding
      nodeB - Grid node at the low voltage winding
      parallelDevices - overall amount of parallel transformers to automatically construct (e.g. parallelDevices = 2 will build a total of two transformers using the specified parameters)
      tapPos - Tap Position of this transformer
      autoTap - True, if the tap position of the transformer is adapted automatically
  • Method Details

    • isAutoTap

      public boolean isAutoTap()
    • getTapPos

      public int getTapPos()
    • copy

      public abstract edu.ie3.datamodel.models.input.connector.TransformerInput.TransformerInputCopyBuilder<?> copy()
      Specified by:
      copy in class ConnectorInput
    • equals

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

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

      public String toString()
      Overrides:
      toString in class ConnectorInput