Package net.solarnetwork.ocpp.domain
Enum Class Measurand
- All Implemented Interfaces:
Serializable,Comparable<Measurand>,Constable,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 ConstantsEnum ConstantDescriptionInstantaneous 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 TypeMethodDescriptionstatic MeasurandforCode(int code) Get an enumeration value for a code value.intgetCode()Get the code value.static MeasurandReturns the enum constant of this class with the specified name.static Measurand[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Unknown
An unknown measurand. -
CurrentExport
Instantaneous current flow from EV. -
CurrentImport
Instantaneous current flow to EV. -
CurrentOffered
Maximum current offered to EV. -
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
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
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
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
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
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
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
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
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
Instantaneous active power exported by EV (W or kW). -
PowerActiveImport
Instantaneous active power imported by EV (W or kW). -
PowerFactor
Instantaneous power factor of total energy flow. -
PowerOffered
Maximum power offered to EV. -
PowerReactiveExport
Instantaneous reactive power exported by EV (var or kvar). -
PowerReactiveImport
Instantaneous reactive power imported by EV (var or kvar). -
RPM
Fan speed in RPM. -
SoC
State of charge of charging vehicle in percentage. -
Temperature
Temperature reading inside Charge Point. -
Voltage
Instantaneous AC RMS supply voltage.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getCode
public int getCode()Get the code value.- Specified by:
getCodein interfacenet.solarnetwork.domain.CodedValue- Returns:
- the code value
-
forCode
Get an enumeration value for a code value.- Parameters:
code- the code- Returns:
- the status, never null and set to
Unknownif not any other valid code
-