The EnergyMeasurementType provides various energy measurement values measured at the same point in a system and is formally defined in Table 16.
Table 16 – EnergyMeasurementType Definition
Attribute |
Value |
||||
BrowseName |
EnergyMeasurementType |
||||
IsAbstract |
False |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Other |
Subtype of the 0:BaseObjectType |
|||||
0:HasProperty |
Variable |
ApplicationTag |
0:String |
0:PropertyType |
M, RW |
0:HasComponent |
Variable |
<MeasurementValue> |
0:BaseDataType{Any} |
EnergyMeasurementValueType |
MP |
0:HasComponent |
Method |
2:ResetStatistics |
|
|
O |
0:HasProperty |
Variable |
2:StartTime |
0:DateTime |
0:PropertyType |
O |
0:HasInterface |
ObjectType |
2:IStatisticsType |
|
|
|
Conformance Units |
|||||
ECM Energy Measurement |
|||||
|
The ApplicationTag provides a string that is supposed to uniquely identify the functionality of the energy measurement. It is to be set by an end user or system integrator. Server-provider would typically initially set it to an empty string. It is marked as writable. However, applications may also provide other mechanism than the OPC UA interface to set the value, e.g. by some proprietary engineering environments.
The <MeasurementValue > Variable is a placeholder for all measurement values provided by the instance of the EnergyMeasurementType. At least one measurement value shall be provided. There are standardized measurement values defined (see 6.2.2).
The ObjectType implements the 2:IStatisticsType Interface as defined in OPC 10000-200 providing the optional 2:ResetStatistics and 2:StartTime.
The optional 2:ResetStatistics Method can be used to reset measurement values used as energy counter, i.e. aggregating the energy consumption over time. Details of its usage are defined in OPC 10000-200. Measurement values that can be reset are identified by being referenced using the 2:HasStatisticComponent (a subtype of 0:HasComponent).
The optional 2:StartTime indicates when the collection of aggregated data has started or was reset. Details of its usage are defined in OPC 10000-200.