Packages

final case class Measurement(IdentifiedObject: IdentifiedObject = null, measurementType: String = null, phases: String = null, unitMultiplier: String = null, unitSymbol: String = null, Asset: String = null, CalculationMethodHierarchy: String = null, Locations: List[String] = null, MeasurementAction: String = null, MeasurementCalculatorInput: List[String] = null, PinMeasurement: List[String] = null, PowerSystemResource: String = null, Procedures: List[String] = null, ProtectiveActionAdjustment: List[String] = null, Terminal: String = null) extends Element with Product with Serializable

A Measurement represents any measured, calculated or non-measured non-calculated quantity.

Any piece of equipment may contain Measurements, e.g. a substation may have temperature measurements and door open indications, a transformer may have oil temperature and tank pressure measurements, a bay may contain a number of power flow measurements and a Breaker may contain a switch status measurement. The PSR - Measurement association is intended to capture this use of Measurement and is included in the naming hierarchy based on EquipmentContainer. The naming hierarchy typically has Measurements as leaves, e.g. Substation-VoltageLevel-Bay-Switch-Measurement. Some Measurements represent quantities related to a particular sensor location in the network, e.g. a voltage transformer (VT) or potential transformer (PT) at a busbar or a current transformer (CT) at the bar between a breaker and an isolator. The sensing position is not captured in the PSR - Measurement association. Instead it is captured by the Measurement - Terminal association that is used to define the sensing location in the network topology. The location is defined by the connection of the Terminal to ConductingEquipment. If both a Terminal and PSR are associated, and the PSR is of type ConductingEquipment, the associated Terminal should belong to that ConductingEquipment instance. When the sensor location is needed both Measurement-PSR and Measurement-Terminal are used. The Measurement-Terminal association is never used alone.

IdentifiedObject

IdentifiedObject Reference to the superclass object.

measurementType

Specifies the type of measurement. For example, this specifies if the measurement represents an indoor temperature, outdoor temperature, bus voltage, line flow, etc. When the measurementType is set to "Specialization", the type of Measurement is defined in more detail by the specialized class which inherits from Measurement.

phases

Indicates to which phases the measurement applies and avoids the need to use 'measurementType' to also encode phase information (which would explode the types). The phase information in Measurement, along with 'measurementType' and 'phases' uniquely defines a Measurement for a device, based on normal network phase. Their meaning will not change when the computed energizing phasing is changed due to jumpers or other reasons. If the attribute is missing three phases (ABC) shall be assumed.

unitMultiplier

The unit multiplier of the measured quantity.

unitSymbol

The unit of measure of the measured quantity.

Asset

Asset undocumented

CalculationMethodHierarchy

CalculationMethodHierarchy Calculation method hierarchy which applies to this analog.

Locations

Location undocumented

MeasurementAction

MeasurementAction undocumented

MeasurementCalculatorInput

MeasurementCalculatorInput undocumented

PinMeasurement

PinMeasurement undocumented

PowerSystemResource

PowerSystemResource The power system resource that contains the measurement.

Procedures

Procedure Measurements are specified in types of documents, such as procedures.

ProtectiveActionAdjustment

ProtectiveActionAdjustment undocumented

Terminal

ACDCTerminal One or more measurements may be associated with a terminal in the network.

Linear Supertypes
Element, Product, Equals, Cloneable, Cloneable, Row, Serializable, Serializable, AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. Measurement
  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 Measurement(IdentifiedObject: IdentifiedObject = null, measurementType: String = null, phases: String = null, unitMultiplier: String = null, unitSymbol: String = null, Asset: String = null, CalculationMethodHierarchy: String = null, Locations: List[String] = null, MeasurementAction: String = null, MeasurementCalculatorInput: List[String] = null, PinMeasurement: List[String] = null, PowerSystemResource: String = null, Procedures: List[String] = null, ProtectiveActionAdjustment: List[String] = null, Terminal: String = null)

    IdentifiedObject

    IdentifiedObject Reference to the superclass object.

    measurementType

    Specifies the type of measurement. For example, this specifies if the measurement represents an indoor temperature, outdoor temperature, bus voltage, line flow, etc. When the measurementType is set to "Specialization", the type of Measurement is defined in more detail by the specialized class which inherits from Measurement.

    phases

    Indicates to which phases the measurement applies and avoids the need to use 'measurementType' to also encode phase information (which would explode the types). The phase information in Measurement, along with 'measurementType' and 'phases' uniquely defines a Measurement for a device, based on normal network phase. Their meaning will not change when the computed energizing phasing is changed due to jumpers or other reasons. If the attribute is missing three phases (ABC) shall be assumed.

    unitMultiplier

    The unit multiplier of the measured quantity.

    unitSymbol

    The unit of measure of the measured quantity.

    Asset

    Asset undocumented

    CalculationMethodHierarchy

    CalculationMethodHierarchy Calculation method hierarchy which applies to this analog.

    Locations

    Location undocumented

    MeasurementAction

    MeasurementAction undocumented

    MeasurementCalculatorInput

    MeasurementCalculatorInput undocumented

    PinMeasurement

    PinMeasurement undocumented

    PowerSystemResource

    PowerSystemResource The power system resource that contains the measurement.

    Procedures

    Procedure Measurements are specified in types of documents, such as procedures.

    ProtectiveActionAdjustment

    ProtectiveActionAdjustment undocumented

    Terminal

    ACDCTerminal One or more measurements may be associated with a terminal in the network.

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 Asset: String
  5. val CalculationMethodHierarchy: String
  6. val IdentifiedObject: IdentifiedObject
  7. val Locations: List[String]
  8. val MeasurementAction: String
  9. val MeasurementCalculatorInput: List[String]
  10. val PinMeasurement: List[String]
  11. val PowerSystemResource: String
  12. val Procedures: List[String]
  13. val ProtectiveActionAdjustment: List[String]
  14. val Terminal: String
  15. 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
  16. def anyNull: Boolean
    Definition Classes
    Row
  17. def apply(i: Int): Any
    Definition Classes
    Row
  18. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  19. def baseclass: String

    This class name.

    This class name.

    returns

    the class name without the package prefixes

    Definition Classes
    Element
  20. 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
  21. 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
  22. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  23. 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
    Measurement → Row
  24. 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"/>

  25. 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>

  26. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def equals(o: Any): Boolean
    Definition Classes
    Row → AnyRef → Any
  28. 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
    MeasurementElement
  29. 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
    MeasurementElement
  30. def fieldIndex(name: String): Int
    Definition Classes
    Row
  31. 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
  32. def getAs[T](fieldName: String): T
    Definition Classes
    Row
  33. def getAs[T](i: Int): T
    Definition Classes
    Row
  34. def getBoolean(i: Int): Boolean
    Definition Classes
    Row
  35. def getByte(i: Int): Byte
    Definition Classes
    Row
  36. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  37. def getDate(i: Int): Date
    Definition Classes
    Row
  38. def getDecimal(i: Int): BigDecimal
    Definition Classes
    Row
  39. def getDouble(i: Int): Double
    Definition Classes
    Row
  40. def getFloat(i: Int): Float
    Definition Classes
    Row
  41. def getInstant(i: Int): Instant
    Definition Classes
    Row
  42. def getInt(i: Int): Int
    Definition Classes
    Row
  43. def getJavaMap[K, V](i: Int): Map[K, V]
    Definition Classes
    Row
  44. def getList[T](i: Int): List[T]
    Definition Classes
    Row
  45. def getLocalDate(i: Int): LocalDate
    Definition Classes
    Row
  46. def getLong(i: Int): Long
    Definition Classes
    Row
  47. def getMap[K, V](i: Int): Map[K, V]
    Definition Classes
    Row
  48. def getSeq[T](i: Int): Seq[T]
    Definition Classes
    Row
  49. def getShort(i: Int): Short
    Definition Classes
    Row
  50. def getString(i: Int): String
    Definition Classes
    Row
  51. def getStruct(i: Int): Row
    Definition Classes
    Row
  52. def getTimestamp(i: Int): Timestamp
    Definition Classes
    Row
  53. def getValuesMap[T](fieldNames: Seq[String]): Map[String, T]
    Definition Classes
    Row
  54. def hashCode(): Int
    Definition Classes
    Row → AnyRef → Any
  55. 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
  56. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  57. def isNullAt(i: Int): Boolean
    Definition Classes
    Row
  58. def json: String
    Definition Classes
    Row
    Annotations
    @Unstable()
  59. 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
  60. 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
  61. val measurementType: String
  62. def mkString(start: String, sep: String, end: String): String
    Definition Classes
    Row
  63. def mkString(sep: String): String
    Definition Classes
    Row
  64. def mkString: String
    Definition Classes
    Row
  65. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  66. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  67. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  68. val phases: String
  69. def prettyJson: String
    Definition Classes
    Row
    Annotations
    @Unstable()
  70. def schema: StructType
    Definition Classes
    Row
  71. def size: Int
    Definition Classes
    Row
  72. def sup: IdentifiedObject

    Return the superclass object.

    Return the superclass object.

    returns

    The typed superclass nested object.

    Definition Classes
    MeasurementElement
  73. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  74. def toSeq: Seq[Any]
    Definition Classes
    Row
  75. def toString(): String
    Definition Classes
    Row → AnyRef → Any
  76. val unitMultiplier: String
  77. val unitSymbol: String
  78. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  79. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  80. 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