Class TransformerResult
java.lang.Object
edu.ie3.datamodel.models.UniqueEntity
edu.ie3.datamodel.models.result.ResultEntity
edu.ie3.datamodel.models.result.connector.ConnectorResult
edu.ie3.datamodel.models.result.connector.TransformerResult
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Transformer2WResult
,Transformer3WResult
Abstract class that adds a tap changer position attribute to the
ConnectorResult
which
actually creates a transformer representation.- See Also:
-
Nested Class Summary
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
ModifierConstructorDescriptionprotected
TransformerResult
(ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iAMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iAAng, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iBMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iBAng, int tapPos) Standard constructor with automatic uuid generation.protected
TransformerResult
(UUID uuid, ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iAMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iAAng, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iBMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iBAng, int tapPos) -
Method Summary
Methods inherited from class edu.ie3.datamodel.models.result.connector.ConnectorResult
getiAAng, getiAMag, getiBAng, getiBMag, setiAAng, setiAMag, setiBAng, setiBMag
Methods inherited from class edu.ie3.datamodel.models.result.ResultEntity
getInputModel, getTime, setInputModel, setTime
Methods inherited from class edu.ie3.datamodel.models.UniqueEntity
getUuid
-
Constructor Details
-
TransformerResult
protected TransformerResult(ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iAMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iAAng, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iBMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iBAng, int tapPos) Standard constructor with automatic uuid generation.- Parameters:
time
- date and time when the result is producedinputModel
- uuid of the input model that produces the resultiAMag
- electric current magnitude @ port A, normally provided in AmpereiAAng
- electric current angle @ Port A in degreeiBMag
- electric current magnitude @ port B, normally provided in AmpereiBAng
- electric current angle @ Port B in degreetapPos
- the current position of the transformers tap changer
-
TransformerResult
protected TransformerResult(UUID uuid, ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iAMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iAAng, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iBMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iBAng, int tapPos) - Parameters:
uuid
- uuid of this result entity, for automatic uuid generation use primary constructor abovetime
- date and time when the result is producedinputModel
- uuid of the input model that produces the resultiAMag
- electric current magnitude @ port A, normally provided in AmpereiAAng
- electric current angle @ Port A in degreeiBMag
- electric current magnitude @ port B, normally provided in AmpereiBAng
- electric current angle @ Port B in degreetapPos
- the current position of the transformers tap changer
-
-
Method Details
-
getTapPos
public int getTapPos() -
setTapPos
public void setTapPos(int tapPos) -
equals
- Overrides:
equals
in classConnectorResult
-
hashCode
public int hashCode()- Overrides:
hashCode
in classConnectorResult
-
toString
- Overrides:
toString
in classConnectorResult
-