Enum Class Measurand

java.lang.Object
java.lang.Enum<Measurand>
net.solarnetwork.ocpp.domain.Measurand
All Implemented Interfaces:
Serializable, Comparable<Measurand>, Constable, net.solarnetwork.domain.CodedValue

public enum Measurand extends Enum<Measurand> implements net.solarnetwork.domain.CodedValue
A type of sampled value.
Version:
1.0
Author:
matt
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Instantaneous current flow from EV.
    Instantaneous current flow to EV.
    Maximum current offered to EV.
    Numerical value read from the "active electrical energy" (Wh or kWh) register of the most authoritative electrical meter measuring energy exported to the grid.
    Numerical value read from the "active electrical energy" (Wh or kWh) register of the (most authoritative) electrical meter measuring energy imported (from the grid supply).
    Numerical value read from the "reactive electrical energy" (VARh or kVARh) register of the (most authoritative) electrical meter measuring energy exported (to the grid).
    Numerical value read from the "reactive electrical energy" (VARh or kVARh) register of the (most authoritative) electrical meter measuring energy imported (from the grid supply).
    Absolute amount of "active electrical energy" (Wh or kWh) exported (to the grid) during an associated time "interval", specified by a Metervalues ReadingContext, and applicable interval duration configuration values (in seconds) for "ClockAlignedDataInterval" and "MeterValueSampleInterval".
    Absolute amount of "active electrical energy" (Wh or kWh) imported (from the grid supply) during an associated time "interval", specified by a Metervalues ReadingContext, and applicable interval duration configuration values (in seconds) for "ClockAlignedDataInterval" and "MeterValueSampleInterval".
    Absolute amount of "active electrical energy" (Wh or kWh) imported (from the grid supply) during an associated time "interval", specified by a Metervalues ReadingContext, and applicable interval duration configuration values (in seconds) for "ClockAlignedDataInterval" and "MeterValueSampleInterval".
    Absolute amount of "reactive electrical energy" (VARh or kVARh) imported (from the grid supply) during an associated time "interval", specified by a Metervalues ReadingContext, and applicable interval duration configuration values (in seconds) for "ClockAlignedDataInterval" and "MeterValueSampleInterval".
    Instantaneous reading of powerline frequency.
    Instantaneous active power exported by EV (W or kW).
    Instantaneous active power imported by EV (W or kW).
    Instantaneous power factor of total energy flow.
    Maximum power offered to EV.
    Instantaneous reactive power exported by EV (var or kvar).
    Instantaneous reactive power imported by EV (var or kvar).
    Fan speed in RPM.
    State of charge of charging vehicle in percentage.
    Temperature reading inside Charge Point.
    An unknown measurand.
    Instantaneous AC RMS supply voltage.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Measurand
    forCode(int code)
    Get an enumeration value for a code value.
    int
    Get the code value.
    static Measurand
    Returns the enum constant of this class with the specified name.
    static Measurand[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • Unknown

      public static final Measurand Unknown
      An unknown measurand.
    • CurrentExport

      public static final Measurand CurrentExport
      Instantaneous current flow from EV.
    • CurrentImport

      public static final Measurand CurrentImport
      Instantaneous current flow to EV.
    • CurrentOffered

      public static final Measurand CurrentOffered
      Maximum current offered to EV.
    • EnergyActiveExportInterval

      public static final Measurand EnergyActiveExportInterval
      Numerical value read from the "active electrical energy" (Wh or kWh) register of the most authoritative electrical meter measuring energy exported to the grid.
    • EnergyActiveExportRegister

      public static final Measurand EnergyActiveExportRegister
      Numerical value read from the "active electrical energy" (Wh or kWh) register of the (most authoritative) electrical meter measuring energy imported (from the grid supply).
    • EnergyActiveImportInterval

      public static final Measurand EnergyActiveImportInterval
      Numerical value read from the "reactive electrical energy" (VARh or kVARh) register of the (most authoritative) electrical meter measuring energy exported (to the grid).
    • EnergyActiveImportRegister

      public static final Measurand EnergyActiveImportRegister
      Numerical value read from the "reactive electrical energy" (VARh or kVARh) register of the (most authoritative) electrical meter measuring energy imported (from the grid supply).
    • EnergyReactiveExportInterval

      public static final Measurand EnergyReactiveExportInterval
      Absolute amount of "active electrical energy" (Wh or kWh) exported (to the grid) during an associated time "interval", specified by a Metervalues ReadingContext, and applicable interval duration configuration values (in seconds) for "ClockAlignedDataInterval" and "MeterValueSampleInterval".
    • EnergyReactiveExportRegister

      public static final Measurand EnergyReactiveExportRegister
      Absolute amount of "active electrical energy" (Wh or kWh) imported (from the grid supply) during an associated time "interval", specified by a Metervalues ReadingContext, and applicable interval duration configuration values (in seconds) for "ClockAlignedDataInterval" and "MeterValueSampleInterval".
    • EnergyReactiveImportInterval

      public static final Measurand EnergyReactiveImportInterval
      Absolute amount of "active electrical energy" (Wh or kWh) imported (from the grid supply) during an associated time "interval", specified by a Metervalues ReadingContext, and applicable interval duration configuration values (in seconds) for "ClockAlignedDataInterval" and "MeterValueSampleInterval".
    • EnergyReactiveImportRegister

      public static final Measurand EnergyReactiveImportRegister
      Absolute amount of "reactive electrical energy" (VARh or kVARh) imported (from the grid supply) during an associated time "interval", specified by a Metervalues ReadingContext, and applicable interval duration configuration values (in seconds) for "ClockAlignedDataInterval" and "MeterValueSampleInterval".
    • Frequency

      public static final Measurand Frequency
      Instantaneous reading of powerline frequency. NOTE: OCPP 1.6 does not have a UnitOfMeasure for frequency, the UnitOfMeasure for any SampledValue with measurand: Frequency is Hertz.
    • PowerActiveExport

      public static final Measurand PowerActiveExport
      Instantaneous active power exported by EV (W or kW).
    • PowerActiveImport

      public static final Measurand PowerActiveImport
      Instantaneous active power imported by EV (W or kW).
    • PowerFactor

      public static final Measurand PowerFactor
      Instantaneous power factor of total energy flow.
    • PowerOffered

      public static final Measurand PowerOffered
      Maximum power offered to EV.
    • PowerReactiveExport

      public static final Measurand PowerReactiveExport
      Instantaneous reactive power exported by EV (var or kvar).
    • PowerReactiveImport

      public static final Measurand PowerReactiveImport
      Instantaneous reactive power imported by EV (var or kvar).
    • RPM

      public static final Measurand RPM
      Fan speed in RPM.
    • SoC

      public static final Measurand SoC
      State of charge of charging vehicle in percentage.
    • Temperature

      public static final Measurand Temperature
      Temperature reading inside Charge Point.
    • Voltage

      public static final Measurand Voltage
      Instantaneous AC RMS supply voltage.
  • Method Details

    • values

      public static Measurand[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Measurand valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()
      Get the code value.
      Specified by:
      getCode in interface net.solarnetwork.domain.CodedValue
      Returns:
      the code value
    • forCode

      public static Measurand forCode(int code)
      Get an enumeration value for a code value.
      Parameters:
      code - the code
      Returns:
      the status, never null and set to Unknown if not any other valid code