Packages

final case class ReadingType(IdentifiedObject: IdentifiedObject = null, accumulation: String = null, aggregate: String = null, argument: String = null, commodity: String = null, consumptionTier: Int = 0, cpp: Int = 0, currency: String = null, flowDirection: String = null, interharmonic: String = null, macroPeriod: String = null, measurementKind: String = null, measuringPeriod: String = null, multiplier: String = null, phases: String = null, tou: Int = 0, unit: String = null, Channel: String = null, ConsumptionTariffIntervals: List[String] = null, IntervalBlocks: List[String] = null, MetrologyRequirements: List[String] = null, PendingCalculation: String = null, Readings: List[String] = null) extends Element with Product with Serializable

Detailed description for a type of a reading value.

Values in attributes allow for the creation of recommended codes to be used for identifying reading value types as follows: <macroPeriod>.<aggregate>.<measuringPeriod>.<accumulation>.<flowDirection>.<commodity>.<measurementKind>.<interharmonic.numerator>.<interharmonic.denominator>.<argument.numerator>.<argument.denominator>.<tou>.<cpp>.<consumptionTier>.<phases>.<multiplier>.<unit>.<currency>.

IdentifiedObject

IdentifiedObject Reference to the superclass object.

accumulation

Accumulation behaviour of a reading over time, usually 'measuringPeriod', to be used with individual endpoints (as opposed to 'macroPeriod' and 'aggregate' that are used to describe aggregations of data from individual endpoints).

aggregate

Salient attribute of the reading data aggregated from individual endpoints. This is mainly used to define a mathematical operation carried out over 'macroPeriod', but may also be used to describe an attribute of the data when the 'macroPeriod' is not defined.

argument

RationalNumber Argument used to introduce numbers into the unit of measure description where they are needed (e.g., 4 where the measure needs an argument such as CEMI(n=4)). Most arguments used in practice however will be integers (i.e., 'denominator'=1). Value 0 in 'numerator' and 'denominator' means not applicable.

commodity

Commodity being measured.

consumptionTier

In case of common flat-rate pricing for power, in which all purchases are at a given rate, 'consumptionTier'=0. Otherwise, the value indicates the consumption tier, which can be used in conjunction with TOU or CPP pricing. Consumption tier pricing refers to the method of billing in which a certain "block" of energy is purchased/sold at one price, after which the next block of energy is purchased at another price, and so on, all throughout a defined period. At the start of the defined period, consumption is initially zero, and any usage is measured against the first consumption tier ('consumptionTier'=1). If this block of energy is consumed before the end of the period, energy consumption moves to be reconed against the second consumption tier ('consumptionTier'=2), and so on. At the end of the defined period, the consumption accumulator is reset, and usage within the 'consumptionTier'=1 restarts.

cpp

Critical peak period (CPP) bucket the reading value is attributed to. Value 0 means not applicable. Even though CPP is usually considered a specialised form of time of use 'tou', this attribute is defined explicitly for flexibility.

currency

Metering-specific currency.

flowDirection

Flow direction for a reading where the direction of flow of the commodity is important (for electricity measurements this includes current, energy, power, and demand).

interharmonic

ReadingInterharmonic Indication of a "harmonic" or "interharmonic" basis for the measurement. Value 0 in 'numerator' and 'denominator' means not applicable.

macroPeriod

Time period of interest that reflects how the reading is viewed or captured over a long period of time.

measurementKind

Identifies "what" is being measured, as refinement of 'commodity'. When combined with 'unit', it provides detail to the unit of measure. For example, 'energy' with a unit of measure of 'kWh' indicates to the user that active energy is being measured, while with 'kVAh' or 'kVArh', it indicates apparent energy and reactive energy, respectively. 'power' can be combined in a similar way with various power units of measure: Distortion power ('distortionVoltAmperes') with 'kVA' is different from 'power' with 'kVA'.

measuringPeriod

Time attribute inherent or fundamental to the reading value (as opposed to 'macroPeriod' that supplies an "adjective" to describe aspects of a time period with regard to the measurement). It refers to the way the value was originally measured and not to the frequency at which it is reported or presented. For example, an hourly interval of consumption data would have value 'hourly' as an attribute. However in the case of an hourly sampled voltage value, the meterReadings schema would carry the 'hourly' interval size information. It is common for meters to report demand in a form that is measured over the course of a portion of an hour, while enterprise applications however commonly assume the demand (in kW or kVAr) normalised to 1 hour. The system that receives readings directly from the meter therefore shall perform this transformation before publishing readings for use by the other enterprise systems. The scalar used is chosen based on the block size (not any sub-interval size).

multiplier

Metering-specific multiplier.

phases

Metering-specific phase code.

tou

Time of use (TOU) bucket the reading value is attributed to. Value 0 means not applicable.

unit

Metering-specific unit.

Channel

Channel Channel reporting/collecting register values with this type information.

ConsumptionTariffIntervals

ConsumptionTariffInterval All tariff intervals with consumption described by this reading type.

IntervalBlocks

IntervalBlock All blocks containing interval reading values with this type information.

MetrologyRequirements

MetrologyRequirement All metrology requirements that require this reading type to be collected.

PendingCalculation

PendingCalculation Pending calculation that produced this reading type.

Readings

Reading All reading values with this type information.

Linear Supertypes
Element, Product, Equals, Cloneable, Cloneable, Row, Serializable, Serializable, AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. ReadingType
  2. Element
  3. Product
  4. Equals
  5. Cloneable
  6. Cloneable
  7. Row
  8. Serializable
  9. Serializable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReadingType(IdentifiedObject: IdentifiedObject = null, accumulation: String = null, aggregate: String = null, argument: String = null, commodity: String = null, consumptionTier: Int = 0, cpp: Int = 0, currency: String = null, flowDirection: String = null, interharmonic: String = null, macroPeriod: String = null, measurementKind: String = null, measuringPeriod: String = null, multiplier: String = null, phases: String = null, tou: Int = 0, unit: String = null, Channel: String = null, ConsumptionTariffIntervals: List[String] = null, IntervalBlocks: List[String] = null, MetrologyRequirements: List[String] = null, PendingCalculation: String = null, Readings: List[String] = null)

    IdentifiedObject

    IdentifiedObject Reference to the superclass object.

    accumulation

    Accumulation behaviour of a reading over time, usually 'measuringPeriod', to be used with individual endpoints (as opposed to 'macroPeriod' and 'aggregate' that are used to describe aggregations of data from individual endpoints).

    aggregate

    Salient attribute of the reading data aggregated from individual endpoints. This is mainly used to define a mathematical operation carried out over 'macroPeriod', but may also be used to describe an attribute of the data when the 'macroPeriod' is not defined.

    argument

    RationalNumber Argument used to introduce numbers into the unit of measure description where they are needed (e.g., 4 where the measure needs an argument such as CEMI(n=4)). Most arguments used in practice however will be integers (i.e., 'denominator'=1). Value 0 in 'numerator' and 'denominator' means not applicable.

    commodity

    Commodity being measured.

    consumptionTier

    In case of common flat-rate pricing for power, in which all purchases are at a given rate, 'consumptionTier'=0. Otherwise, the value indicates the consumption tier, which can be used in conjunction with TOU or CPP pricing. Consumption tier pricing refers to the method of billing in which a certain "block" of energy is purchased/sold at one price, after which the next block of energy is purchased at another price, and so on, all throughout a defined period. At the start of the defined period, consumption is initially zero, and any usage is measured against the first consumption tier ('consumptionTier'=1). If this block of energy is consumed before the end of the period, energy consumption moves to be reconed against the second consumption tier ('consumptionTier'=2), and so on. At the end of the defined period, the consumption accumulator is reset, and usage within the 'consumptionTier'=1 restarts.

    cpp

    Critical peak period (CPP) bucket the reading value is attributed to. Value 0 means not applicable. Even though CPP is usually considered a specialised form of time of use 'tou', this attribute is defined explicitly for flexibility.

    currency

    Metering-specific currency.

    flowDirection

    Flow direction for a reading where the direction of flow of the commodity is important (for electricity measurements this includes current, energy, power, and demand).

    interharmonic

    ReadingInterharmonic Indication of a "harmonic" or "interharmonic" basis for the measurement. Value 0 in 'numerator' and 'denominator' means not applicable.

    macroPeriod

    Time period of interest that reflects how the reading is viewed or captured over a long period of time.

    measurementKind

    Identifies "what" is being measured, as refinement of 'commodity'. When combined with 'unit', it provides detail to the unit of measure. For example, 'energy' with a unit of measure of 'kWh' indicates to the user that active energy is being measured, while with 'kVAh' or 'kVArh', it indicates apparent energy and reactive energy, respectively. 'power' can be combined in a similar way with various power units of measure: Distortion power ('distortionVoltAmperes') with 'kVA' is different from 'power' with 'kVA'.

    measuringPeriod

    Time attribute inherent or fundamental to the reading value (as opposed to 'macroPeriod' that supplies an "adjective" to describe aspects of a time period with regard to the measurement). It refers to the way the value was originally measured and not to the frequency at which it is reported or presented. For example, an hourly interval of consumption data would have value 'hourly' as an attribute. However in the case of an hourly sampled voltage value, the meterReadings schema would carry the 'hourly' interval size information. It is common for meters to report demand in a form that is measured over the course of a portion of an hour, while enterprise applications however commonly assume the demand (in kW or kVAr) normalised to 1 hour. The system that receives readings directly from the meter therefore shall perform this transformation before publishing readings for use by the other enterprise systems. The scalar used is chosen based on the block size (not any sub-interval size).

    multiplier

    Metering-specific multiplier.

    phases

    Metering-specific phase code.

    tou

    Time of use (TOU) bucket the reading value is attributed to. Value 0 means not applicable.

    unit

    Metering-specific unit.

    Channel

    Channel Channel reporting/collecting register values with this type information.

    ConsumptionTariffIntervals

    ConsumptionTariffInterval All tariff intervals with consumption described by this reading type.

    IntervalBlocks

    IntervalBlock All blocks containing interval reading values with this type information.

    MetrologyRequirements

    MetrologyRequirement All metrology requirements that require this reading type to be collected.

    PendingCalculation

    PendingCalculation Pending calculation that produced this reading type.

    Readings

    Reading All reading values with this type information.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val Channel: String
  5. val ConsumptionTariffIntervals: List[String]
  6. val IdentifiedObject: IdentifiedObject
  7. val IntervalBlocks: List[String]
  8. val MetrologyRequirements: List[String]
  9. val PendingCalculation: String
  10. val Readings: List[String]
  11. def about: Boolean

    Flag for rdf:about elements.

    Flag for rdf:about elements.

    returns

    true if this is an rdf:about element, false otherwise.

    Definition Classes
    Element
  12. val accumulation: String
  13. val aggregate: String
  14. def anyNull: Boolean
    Definition Classes
    Row
  15. def apply(i: Int): Any
    Definition Classes
    Row
  16. val argument: String
  17. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  18. def baseclass: String

    This class name.

    This class name.

    returns

    the class name without the package prefixes

    Definition Classes
    Element
  19. val bitfields: Array[Int]

    Valid fields bitmap.

    Valid fields bitmap.

    One (1) in a bit position means that field was found in parsing, zero means it has an indeterminate value. Field order is specified by the fields array.

    For classes constructed manually, we initially fill this in with the worst case scenario. ToDo: this won't work for classes with more than 128 fields (so far none).

    Definition Classes
    Element
  20. def classes: Seq[String]

    This class and the hierarchical list of classes this class derives from.

    This class and the hierarchical list of classes this class derives from.

    returns

    the list of classes without the package prefixes.

    Definition Classes
    Element
  21. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  22. val commodity: String
  23. val consumptionTier: Int
  24. def copy(): Row

    Return a copy of this object as a Row.

    Return a copy of this object as a Row.

    Creates a clone of this object for use in Row manipulations.

    returns

    The copy of the object.

    Definition Classes
    ReadingType → Row
  25. val cpp: Int
  26. val currency: String
  27. def emit_attribute(field: String, value: Any)(implicit clz: String, s: StringBuilder): Unit

    Emit one XML attribute.

    Emit one XML attribute.

    field

    The name of the field.

    value

    The value of the field.

    clz

    The class name (e.g. ACLineSegment) of this element

    s

    The builder to write into.

    Definition Classes
    Element
    Example:
    1. <cim:Location.CoordinateSystem rdf:resource="#wgs84"/>

  28. def emit_element(field: String, value: Any)(implicit clz: String, s: StringBuilder): Unit

    Emit one XML element.

    Emit one XML element.

    field

    The name of the field.

    value

    The value of the field.

    clz

    The class name (e.g. ACLineSegment) of this element

    s

    The builder to write into.

    Definition Classes
    Element
    Example:
    1. <cim:IdentifiedObject.name>WGS 84</cim:IdentifiedObject.name>

  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def equals(o: Any): Boolean
    Definition Classes
    Row → AnyRef → Any
  31. def export: String

    Return a string containing this object as XML.

    Return a string containing this object as XML.

    returns

    The XML corresponding to this object.

    Definition Classes
    ReadingTypeElement
  32. def export_fields: String

    Return a string containing the fields of this object suitable for inclusion in an XML object.

    Return a string containing the fields of this object suitable for inclusion in an XML object.

    returns

    A string with the fields coded in XML

    Definition Classes
    ReadingTypeElement
  33. def fieldIndex(name: String): Int
    Definition Classes
    Row
  34. val flowDirection: String
  35. def get(i: Int): AnyRef

    Get the value of the field at index i.

    Get the value of the field at index i.

    i

    The index of the field desired.

    returns

    The value stored in the field, or null if none.

    Definition Classes
    Element → Row
  36. def getAs[T](fieldName: String): T
    Definition Classes
    Row
  37. def getAs[T](i: Int): T
    Definition Classes
    Row
  38. def getBoolean(i: Int): Boolean
    Definition Classes
    Row
  39. def getByte(i: Int): Byte
    Definition Classes
    Row
  40. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  41. def getDate(i: Int): Date
    Definition Classes
    Row
  42. def getDecimal(i: Int): BigDecimal
    Definition Classes
    Row
  43. def getDouble(i: Int): Double
    Definition Classes
    Row
  44. def getFloat(i: Int): Float
    Definition Classes
    Row
  45. def getInstant(i: Int): Instant
    Definition Classes
    Row
  46. def getInt(i: Int): Int
    Definition Classes
    Row
  47. def getJavaMap[K, V](i: Int): Map[K, V]
    Definition Classes
    Row
  48. def getList[T](i: Int): List[T]
    Definition Classes
    Row
  49. def getLocalDate(i: Int): LocalDate
    Definition Classes
    Row
  50. def getLong(i: Int): Long
    Definition Classes
    Row
  51. def getMap[K, V](i: Int): Map[K, V]
    Definition Classes
    Row
  52. def getSeq[T](i: Int): Seq[T]
    Definition Classes
    Row
  53. def getShort(i: Int): Short
    Definition Classes
    Row
  54. def getString(i: Int): String
    Definition Classes
    Row
  55. def getStruct(i: Int): Row
    Definition Classes
    Row
  56. def getTimestamp(i: Int): Timestamp
    Definition Classes
    Row
  57. def getValuesMap[T](fieldNames: Seq[String]): Map[String, T]
    Definition Classes
    Row
  58. def hashCode(): Int
    Definition Classes
    Row → AnyRef → Any
  59. def id: String

    Return the unique ID for the object, the mRID for IdentifiedObject derived classes.

    Return the unique ID for the object, the mRID for IdentifiedObject derived classes.

    returns

    The object ID.

    Definition Classes
    Element
  60. val interharmonic: String
  61. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  62. def isNullAt(i: Int): Boolean
    Definition Classes
    Row
  63. def json: String
    Definition Classes
    Row
    Annotations
    @Unstable()
  64. def length: Int

    The number of fields in the object definition.

    The number of fields in the object definition.

    returns

    The number of defined fields for use in Row manipulations.

    Definition Classes
    Element → Row
  65. val macroPeriod: String
  66. def mask(position: Int): Boolean

    Is a field present predicate.

    Is a field present predicate.

    Determines if the field at the given position was encountered while parsing.

    position

    the field position in the fields array

    returns

    true if the field was parsed, false otherwise.

    Definition Classes
    Element
  67. val measurementKind: String
  68. val measuringPeriod: String
  69. def mkString(start: String, sep: String, end: String): String
    Definition Classes
    Row
  70. def mkString(sep: String): String
    Definition Classes
    Row
  71. def mkString: String
    Definition Classes
    Row
  72. val multiplier: String
  73. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  74. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  75. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  76. val phases: String
  77. def prettyJson: String
    Definition Classes
    Row
    Annotations
    @Unstable()
  78. def schema: StructType
    Definition Classes
    Row
  79. def size: Int
    Definition Classes
    Row
  80. def sup: IdentifiedObject

    Return the superclass object.

    Return the superclass object.

    returns

    The typed superclass nested object.

    Definition Classes
    ReadingTypeElement
  81. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  82. def toSeq: Seq[Any]
    Definition Classes
    Row
  83. def toString(): String
    Definition Classes
    Row → AnyRef → Any
  84. val tou: Int
  85. val unit: String
  86. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  87. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  88. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Element

Inherited from Product

Inherited from Equals

Inherited from Cloneable

Inherited from Cloneable

Inherited from Row

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Hierarchy

Row

Serialization

Ungrouped