Class Transformer3WInput
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.connector.ConnectorInput
edu.ie3.datamodel.models.input.connector.TransformerInput
edu.ie3.datamodel.models.input.connector.Transformer3WInput
- All Implemented Interfaces:
HasNodes
,HasType
,NestedEntity
,Operable
,Serializable
Describes a three winding transformer, that is connected to three
NodeInput
s- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A builder pattern based approach to create copies ofTransformer3WInput
entities 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
Fields inherited from class edu.ie3.datamodel.models.UniqueEntity
UUID_FIELD_NAME
-
Constructor Summary
ConstructorDescriptionTransformer3WInput
(UUID uuid, String id, NodeInput nodeA, NodeInput nodeB, NodeInput nodeC, int parallelDevices, Transformer3WTypeInput type, int tapPos, boolean autoTap) Constructor for an operated, always on three winding transformerTransformer3WInput
(UUID uuid, String id, OperatorInput operator, OperationTime operationTime, NodeInput nodeA, NodeInput nodeB, NodeInput nodeC, int parallelDevices, Transformer3WTypeInput type, int tapPos, boolean autoTap) Constructor for an operated three winding transformerTransformer3WInput
(UUID uuid, String id, OperatorInput operator, OperationTime operationTime, NodeInput nodeA, NodeInput nodeB, NodeInput nodeC, int parallelDevices, Transformer3WTypeInput type, int tapPos, boolean autoTap, boolean internalNodeAsSlack) Constructor for an operated three winding transformer that allows setting the internal node as slack node. -
Method Summary
Methods inherited from class edu.ie3.datamodel.models.input.connector.TransformerInput
getTapPos, isAutoTap
Methods inherited from class edu.ie3.datamodel.models.input.connector.ConnectorInput
getParallelDevices
Methods inherited from class edu.ie3.datamodel.models.input.AssetInput
getId, getOperationTime, getOperator
Methods inherited from class edu.ie3.datamodel.models.UniqueEntity
getUuid
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface edu.ie3.datamodel.models.Operable
inOperationOn
-
Constructor Details
-
Transformer3WInput
public Transformer3WInput(UUID uuid, String id, OperatorInput operator, OperationTime operationTime, NodeInput nodeA, NodeInput nodeB, NodeInput nodeC, int parallelDevices, Transformer3WTypeInput type, int tapPos, boolean autoTap) Constructor for an operated three winding transformer- Parameters:
uuid
- of the input entityid
- of the assetoperator
- of the assetoperationTime
- Time for which the entity is operatednodeA
- The higher voltage nodenodeB
- The middle voltage nodenodeC
- The lower voltage nodeparallelDevices
- overall amount of parallel transformers to automatically construct (e.g. parallelDevices = 2 will build a total of two transformers using the specified parameters)type
- of 3W transformertapPos
- Tap Position of this transformerautoTap
- true, if there is an automated regulation activated for this transformer
-
Transformer3WInput
public Transformer3WInput(UUID uuid, String id, OperatorInput operator, OperationTime operationTime, NodeInput nodeA, NodeInput nodeB, NodeInput nodeC, int parallelDevices, Transformer3WTypeInput type, int tapPos, boolean autoTap, boolean internalNodeAsSlack) Constructor for an operated three winding transformer that allows setting the internal node as slack node. This is normally needed if a larger grid is split up into subgrids and the three winding transformer is located in a subgrid that does not hold the highest voltage side of the transformer (here: that not holds node A in its grid).Then, the internal node becomes a virtual representation of a slack node for the grid and allows for power flow calculations based on it's 'close-to-T-equivalent' representation
- Parameters:
uuid
- of the input entityid
- of the assetoperator
- of the assetoperationTime
- Time for which the entity is operatednodeA
- The higher voltage nodenodeB
- The middle voltage nodenodeC
- The lower voltage nodeparallelDevices
- overall amount of parallel transformers to automatically construct (e.g. parallelDevices = 2 will build a total of two transformers using the specified parameters)type
- of 3W transformertapPos
- Tap Position of this transformerautoTap
- true, if there is an automated regulation activated for this transformerinternalNodeAsSlack
- true, if the internal node is a slack node, false otherwise
-
Transformer3WInput
public Transformer3WInput(UUID uuid, String id, NodeInput nodeA, NodeInput nodeB, NodeInput nodeC, int parallelDevices, Transformer3WTypeInput type, int tapPos, boolean autoTap) Constructor for an operated, always on three winding transformer- Parameters:
uuid
- of the input entityid
- of the assetnodeA
- The higher voltage nodenodeB
- The middle voltage nodenodeC
- The lower voltage nodeparallelDevices
- overall amount of parallel transformers to automatically construct (e.g. parallelDevices = 2 will build a total of two transformers using the specified parameters)type
- of 3W transformertapPos
- Tap Position of this transformerautoTap
- true, if there is an automated regulation activated for this transformer
-
-
Method Details
-
getType
-
getNodeA
- Overrides:
getNodeA
in classConnectorInput
- Returns:
- the node with the highest voltage level
-
getNodeB
- Overrides:
getNodeB
in classConnectorInput
- Returns:
- the node with the "medium" voltage level
-
getNodeC
- Returns:
- the node with the lowest voltage level
-
getNodeInternal
- Returns:
- The internal node of the T equivalent circuit
-
copy
- Specified by:
copy
in classTransformerInput
-
equals
- Overrides:
equals
in classTransformerInput
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTransformerInput
-
toString
- Overrides:
toString
in classTransformerInput
-
allNodes
- Specified by:
allNodes
in interfaceHasNodes
- Overrides:
allNodes
in classConnectorInput
-