Class Transformer2WInput
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.Transformer2WInput
- All Implemented Interfaces:
HasNodes
,HasType
,NestedEntity
,Operable
,Serializable
Describes a two winding transformer, that is connected to two
NodeInput
s- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A builder pattern based approach to create copies ofTransformer2WInput
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
ConstructorDescriptionTransformer2WInput
(UUID uuid, String id, NodeInput nodeA, NodeInput nodeB, int parallelDevices, Transformer2WTypeInput type, int tapPos, boolean autoTap) Constructor for an operated, always on two winding transformerTransformer2WInput
(UUID uuid, String id, OperatorInput operator, OperationTime operationTime, NodeInput nodeA, NodeInput nodeB, int parallelDevices, Transformer2WTypeInput type, int tapPos, boolean autoTap) Constructor for an operated two winding transformer -
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
allNodes, getNodeA, getNodeB, 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
-
Transformer2WInput
public Transformer2WInput(UUID uuid, String id, OperatorInput operator, OperationTime operationTime, NodeInput nodeA, NodeInput nodeB, int parallelDevices, Transformer2WTypeInput type, int tapPos, boolean autoTap) Constructor for an operated two winding transformer- Parameters:
uuid
- of the input entityid
- of the assetoperator
- of the assetoperationTime
- Time for which the entity is operatednodeA
- higher voltage nodenodeB
- 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 2W transformertapPos
- Tap position of this transformerautoTap
- True, if the tap position of the transformer is adapted automatically
-
Transformer2WInput
public Transformer2WInput(UUID uuid, String id, NodeInput nodeA, NodeInput nodeB, int parallelDevices, Transformer2WTypeInput type, int tapPos, boolean autoTap) Constructor for an operated, always on two winding transformer- Parameters:
uuid
- of the input entityid
- of the assetnodeA
- higher voltage nodenodeB
- 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 2W transformertapPos
- Tap position of this transformerautoTap
- True, if the tap position of the transformer is adapted automatically
-
-
Method Details
-
copy
- Specified by:
copy
in classTransformerInput
-
getType
-
equals
- Overrides:
equals
in classTransformerInput
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTransformerInput
-
toString
- Overrides:
toString
in classTransformerInput
-