Professional Documents
Culture Documents
Reference number:
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
EXCERPT
2/43
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
Table of Contents
1. 2. 3. 3.1 3.2 Foreword.............................................................................................................................. 5 Scope ................................................................................................................................... 6 Introduction ......................................................................................................................... 7 Referenced Documents....................................................................................................... 7 Terms, Definitions and Abbreviations .................................................................................. 8
4. COSEM Interface Classes ................................................................................................... 9 4.1 Basic Principles................................................................................................................... 9 4.1.1 Introduction ....................................................................................................................... 9 4.1.2 Class Description Notation.............................................................................................. 10 4.1.3 Common Data Types ...................................................................................................... 11 4.1.4 Data formats for date and time notation.......................................................................... 12 4.1.5 The COSEM server model .............................................................................................. 14 4.1.6 COSEM Logical Device................................................................................................... 15 4.1.7 Authentication Procedures .............................................................................................. 16 4.2 The interface classes ........................................................................................................ 17 4.2.1 Data (class_id: 1) ............................................................................................................ 18 4.2.2 Register (class_id: 3) ...................................................................................................... 18 4.2.3 Extended Register (class_id: 4) ...................................................................................... 20 4.2.4 Demand Register (class_id: 5)........................................................................................ 20 4.2.5 Register Activation (class_id: 6) ...................................................................................... 21 4.2.6 Profile Generic (class_id: 7) ............................................................................................ 21 4.2.7 Clock (class_id: 8)........................................................................................................... 21 4.2.8 Script Table (class_id: 9) ................................................................................................ 24 4.2.9 Schedule (class_id: 10)................................................................................................... 24 4.2.10 Special Days Table (class_id: 11) ................................................................................... 24 4.2.11 Activity Calendar (class_id: 20) ....................................................................................... 24 4.2.12 Association LN (class_id: 15) .......................................................................................... 25 4.2.13 Association SN (class_id: 12) ......................................................................................... 25 4.2.14 SAP Assignment (class_id: 17) ....................................................................................... 25 4.2.15 Register Monitor (class_id: 21) ....................................................................................... 25 4.2.16 Utility Tables (class_id: 26) ............................................................................................. 26 4.2.17 Single Action Schedule (class_id: 22) ............................................................................. 26 4.3 Maintenance of the Interface Classes ............................................................................... 26 4.4 Protocol related Interface Classes..................................................................................... 26 4.5 Using Short Names for accessing attributes and methods ............................................... 26 4.5.1 Guidelines for Assigning Short Names............................................................................ 27 4.5.2 Reserved base_names for Special COSEM Objects ...................................................... 27 4.6 Relation to OBIS ............................................................................................................... 27 4.6.1 Mapping of Data Items to COSEM Objects and Attributes .............................................. 28 4.6.2 Coding of OBIS Identifications ........................................................................................ 28 4.7 Previous Versions of Interface Classes ............................................................................. 28 5. 5.1 5.2 5.3 COSEM Object Identification System (OBIS) .................................................................. 29 Introduction ....................................................................................................................... 29 Scope................................................................................................................................ 29 OBIS Object identification system structure ...................................................................... 29
EXCERPT
3/43
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
5.3.1 Value group A ................................................................................................................. 30 5.3.2 Value group B ................................................................................................................. 30 5.3.3 Value group C ................................................................................................................. 30 5.3.4 Value group D ................................................................................................................. 30 5.3.5 Value group E ................................................................................................................. 30 5.3.6 Value group F ................................................................................................................. 30 5.3.7 Manufacturer specific codes ........................................................................................... 30 5.4 Value group definitions...................................................................................................... 31 5.4.1 Value group A ................................................................................................................. 31 5.4.2 Value group B ................................................................................................................. 31 5.4.3 Value group C ................................................................................................................. 31 5.4.4 Value group D ................................................................................................................. 33 5.4.5 Value group E ................................................................................................................. 36 5.4.6 Value group F ................................................................................................................. 38 5.4.7 Abstract objects .............................................................................................................. 38 5.4.8 Electricity-related General purpose objects..................................................................... 39 5.4.9 List objects...................................................................................................................... 41 5.4.10 Electricity data profile objects.......................................................................................... 41 5.5 Code presentation ............................................................................................................. 41 5.5.1 Reduced ID codes (e.g. for IEC 62056-21) ..................................................................... 42 5.5.2 Display ............................................................................................................................ 42 5.5.3 Special handling of value group F ................................................................................... 42 5.5.4 COSEM........................................................................................................................... 43
EXCERPT
4/43
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
1. Foreword
Copyright Copyright 1997-2001 DLMS User Association. This document is confidential. It may not be copied, nor handed over to persons outside the standardisation environment. The copyright is enforced by national and international law. The "Berne Convention for the Protection of Literary and Artistic Works", which is signed by 121 countries world-wide, and other treaties apply.
Acknowledgement The actual document has been established by a team of experts working for the meter manufacturers DZG, Enermet, Schlumberger and Siemens, with input from other members of the DLMS User Association and from working group members of standardisation bodies, e.g. IEC TC13 WG14 and CEN TC294 WG2.
Status of standardisation The actual edition 4 of this document combines the contents of draft IEC 62056-62 (Interface Objects) and draft IEC 62056-61 (OBIS Object Identification System) submitted to IEC for FDIS circulation.
EXCERPT
5/43
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
2. Scope
This document specifies the functionality of the meter which is available at its interface (internal issues concerning the implementation are not covered by the specification) and how the functions and the data can be accessed from the outside. The complex functionality of the meter is divided into generic building blocks. The COSEM specifications follow a three step approach as illustrated in Figure 1: Step 1:The meter model and data identification (data model); Step 2:The mapping of the model into protocol data units (pdu); Step 3:The transportation of the bits and bytes through the communication channel. The data model uses generic building blocks to define the complex functionality of the metering equipment. It provides a view of this functionality of the meter, as it is available at its interface(s). The model does not cover internal, implementation specific issues. The communication protocol defines how the data can be accessed and exchanged.
1. Modelling
3. Transporting
O, IS
Figure 1 The three steps approach of COSEM: Modelling - Messaging - Transporting The COSEM specification specifies metering domain specific interface classes. The functionality of the meter is defined by the instances of these interface classes, called COSEM objects. This is defined in the first part of this document. Logical names (OBIS codes), identifying the COSEM objects are defined in the second part of this document. The attributes and methods of these COSEM objects can be accessed and used via the messaging services of the Application layer. The lower layers of the protocol transport the information.
EXCERPT
6/43
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
3. Introduction
Driven by the need of the utilities to optimise their business processes, the meter becomes more and more part of an integrated metering and billing system. Whereas in the past the commercial value of a meter was mainly generated by its data acquisition and processing capabilities, nowadays the critical issues are system integration and interoperability. The Companion Specification for Energy Metering (COSEM) addresses these challenges by looking at the meter as an integrated part of a commercial process which starts with the measurement of the delivered product (energy) and ends with the revenue collection. The meter is specified by its behaviour as seen from the utility's business processes. The formal specification of the behaviour is based on object modelling techniques (interface classes and objects). The specification of these objects forms a major part of COSEM. The COSEM server model (comp. chapter 4.1.5) represents only the externally visible elements of the meter. The client applications that support the business processes of the utilities, of the customers and of the meter manufacturers make use of this server model. The meter offers means to retrieve its structural model (the list of objects visible through the interface), and provides access to the attributes and specific methods of these objects. The set of different interface classes (see chapter 4) form a standardised library from which the manufacturer can assemble (model) its individual products. The elements are designed such that with them the entire range of products (from residential to commercial and industrial applications ) can be covered. The choice of the subset of interface classes used to build a meter, their instantiation and their implementation are part of the product design and therefore left to the manufacturer. The concept of the standardised metering interface class library provides the different users and manufacturers with a maximum of diversity without having to sacrifice interoperability. The competitive energy markets require an ever-increasing amount of timely information concerning the usage of electrical energy. Recent technology developments enable to build intelligent static metering equipment, which are capable to capture, process and communicate this information to all parties involved. For further analysis of this information, for the purposes of billing, load-, customer- and contract management, it is necessary to uniquely identify all data in a manufacturer independent way collected manually or automatically, via local or remote data exchange. The OBIS definition of Identification codes (see chapter 5) was based on:
draft DIN 43863-3 (December 1997), Electricity meters - Part 3: Tariff metering device as additional equipment for electricity meters - EDIS - Energy Data Identification System
EXCERPT
7/43
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
Ref. IEC 62056-21 IEC 62056-31:1999 IEC 62056-46 IEC 62056-53 IEC 62056-61 IEC 62056-62 ANSI C12.19:1997
Title Data exchange for meter reading, tariff and load control Part 21: Direct local data exchange Electricity metering Data exchange for meter reading, tariff and load control Part 31- Using local area networks on twisted pair with carrier signalling Electricity metering Data exchange for meter reading, tariff and load control Part 46 Data link layer using HDLC-protocol Electricity metering Data exchange for meter reading, tariff and load control Part 53- COSEM Application layer Electricity metering Data exchange for meter reading, tariff and load control Part 61- OBIS Object Identification System Data exchange for meter reading, tariff and load control Part 62: Interface Classes IEEE 1377:1998, Utility industry end device data tables
EXCERPT
8/43
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
EXCERPT
9/43
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
The interface class "Register" is formed by combining the features necessary to model the behaviour of a generic register (containing measured or static information) as seen from the client (central unit, hand held terminal). The contents of the register are identified by the attribute "logical_name". The logical_name contains an OBIS identifier (see Clause 5 or IEC 62056-61). The actual (dynamic) content of the register is carried by its "value" attribute. Defining a specific meter means defining several specific registers. In the example of Figure 2 the meter contains 2 registers; i.e. two specific COSEM objects of the class "Register" are instantiated. This means that specific values are assigned to the different attributes. Through the instantiation one COSEM object becomes a "total, positive, active energy register" whereas the other becomes a "total, positive, reactive energy register".
REMARK The COSEM objects (instances of interface classes) represent the behaviour of the meter as seen from the "outside". Therefore modifying the value of an attribute must always be initiated from the outside (e.g. resetting the value of a register). Internally initiated changes of the attributes are not described in this model (e.g. updating the value of a register).
class_id
Version
Attribute(s)
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
(dyn.)
Classifies an attribute that carries a process value, which is updated by the meter itself.
(static) logical_name
Classifies an attribute which is not updated by the meter itself (e.g. configuration data). octet-string The logical name is always the first attribute of a class. It identifies the instantiation (COSEM object) of this class. The value of the logical_name conforms to OBIS (see Clause 5 or IEC 62056-61). Defines the data type of an attribute (see 4.1.3). Specifies if the attribute has a minimum value. The attribute has a minimum value.
Max.
<empty> The attribute has no minimal value. Defines if the attribute has a maximum value. x The attribute has a maximum value.
Def
<empty> The attribute has no maximum value. Specifies if the attribute has a default value. This is the value of the attribute after reset. x The attribute has a default value.
Specific Method(s)
<empty> The default value is not defined by the class definition. . Provides a list of the specific methods that belong to the object. Method Name () The method has to be described in the subsection "Method Description". Defines if the method is mandatory or optional. The method is mandatory. The method is optional.
m/o
m (mandatory) o (optional)
Attribute Description Describes each attribute with its data type (if the data type is not simple), its data formats and its properties (Minimum value, Maximum value and Default value). Method Description Describes each method and the invoked behaviour of the instantiated COSEM object(s).
NOTE Services for accessing attributes or methods by the protocol are described in DLMS UA 1000-2 or IEC 62056-53.
Selective Access The common methods READ/WRITE and GET/SET typically reference the entire attribute addressed. However, for certain attributes selective access to just part of the attribute may be provided. The part of the attribute is identified by specific selective access parameters. These selective access parameters are defined as part of the attribute specification.
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
Simple data types integer, long, double-long, unsigned, long-unsigned, double-long-unsigned, boolean enum
Data types carrying one data item only Simple data types as defined in IEC 61334-4-41:1996 (A.12, Data). Examples: integer Integer8 1 byte long Integer16 2 bytes double-long Integer32 4 bytes The elements of the enumeration type need to be defined in the subsection Attribute Description. Any not listed value for an enumeration is reserved by default. Real data types according to the REAL specification of IEC 61334-441:1996. An ordered sequence of ASCII-characters respectively octets (8-bit bytes). An ordered sequence of boolean values.
bit-string
More than one data item is included, or the data item itself is not simple The array elements need to be defined in the sub-section Attribute Description. The array elements need to be defined in the sub-section Attribute Description. The structure type needs to be defined in the sub-section Attribute Description. The data type of the attribute needs to be specified in the instantiation of the object for a particular meter (instance model).
instance specific
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
dayOfWeek: interpreted as unsigned8 range 1..7, 0xFF 1 is Monday 0xFF = not specified For repetitive dates the unused parts must be set to not specified. time octet-string {hour, minute, second, hundredths} hour: interpreted as unsigned8 range 0..23, 0xFF 0xFF = not specified minute: interpreted as unsigned8 range 0..59, 0xFF 0xFF = not specified second: interpreted as unsigned8 range 0..59, 0xFF 0xFF = not specified hundredths: interpreted as unsigned8 range 0..99, 0xFF 0xFF = not specified} For repetitive times the unused parts must be set to not specified. deviation Integer16 -720..720: in minutes of local time to GMT 0x8000 = not specified
clock_status
Unsigned8 interpreted as 8 bit string The status bits are defined as follows: a bit 0 (LSB): invalid value b bit 1: doubtful value c bit 2: different clock base d bit 3: invalid clock status bit 4: reserved bit 5: reserved bit 6: reserved e bit 7 (MSB): daylight saving active
date_time
octet-string { year highbyte year lowbyte month day of month day of week hour minute second hundredths of second deviation highbyte deviation lowbyte clock status } Individual fields of date_time are encoded as defined above. Some may be set to not specified as described above in date and time.
Time could not be recovered after an incident. Detailed conditions are manufacturer specific (e.g. after the power to the clock has been interrupted). Time could be recovered after an incident but the value cannot be guaranteed. Detailed condi-
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
tions are manufacturer specific. Bit is set if the basic timing information for the clock is presently taken from a timing source different from the source specified in clock_base This bit indicates that at least one bit of the clock status is invalid. Some bit may be correct. The exact meaning shall be explained in the manufacturers documentation. Flag set to true: the transmitted time contains the daylight saving deviation (summer time), Flag set to false: the transmitted time does not contain daylight saving deviation (normal time)
Objects
Figure 3 The COSEM server model The following example (see Figure 4) shows how a combined metering device can be structured using the COSEM server model. Physical device
Logical device
LDN Register Objects LDN: COSEM logical device name object A: Association object Total Energy
Register Tariff 1
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
Base Data Register Extended Register Demand Register Clock Profile Generic Association LN Association SN Register Activation Script Table Schedule SAP Assignment IEC optical port Setup Activity Calendar Register Monitor Special Days Table Single Action Schedule PSTN modem config.
Utility Tables
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
(static)
Attribute Description
logical_name value Identifies the data contained in value. Identifiers are specified in 4.6.1. Contains the data. instance specific
The data type of the value depends on the instantiation defined by logical_name.
Attribute Description
value Contains the current process or status value. The data type of the value depends on the instantiation defined by logical_name and possibly from the manufacturer. Therefore, this attribute must provide the value and the data type when it is accessed by a client. The type has to be chosen such that, together with the logical_name, an unambiguous interpretation of the value is possible. Provides information on the unit and the scaler of the value. If the value uses a complex data type, the scaler and unit apply to all elements. scal_unit_type: structure { scaler, unit } DLMS User Association instance specific
scaler_unit
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
scaler: integer
This is the exponent (to the base of 10) of the multiplication factor
REMARK If the value is not numerical then the scaler shall be set to 0.
unit: enum
Method Description
reset (data) This method forces a reset of the object. By invoking this method the value is set to the default value. The default value is an instance specific constant. data ::= integer(0)
unit ::= enum Code (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (14) (15) (16) (17) (18) (19) (20) (21) (22) (23) (24) (25) (26) (27) (28) (29) (30) (31) (32) (33) (34) (35) (36) (37) (38) (39) (40) (41)
// Unit a mo wk d h min. s C currency m m/s 3 m 3 m 3 m /h 3 m /h 3 m /d 3 m /d l kg N Nm Pa bar J J/h W VA var Wh VAh varh A C V V/m F 2 m /m Wb T
// // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // //
Quantity time time time time time time time (t) (phase) angle temperature (T) (local) currency length (l) speed (v) volume (V) corrected volume volume flux corrected volume flux volume flux corrected volume flux volume mass (m) force (F) energy pressure (p) pressure (p) energy thermal power active power (P) apparent power (S) reactive power (Q) active energy apparent energy reactive energy current (I) electrical charge (Q) voltage (V) electrical field strength (E) capacity (C) resistance (R) resistivity () magnetic flux () induction (T)
Unit year month week day hour minute second degree degree centigrade meter
SI definition
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
Code (42) (43) (44) (45) (46) (47) (48) (49) (50) (51) (52) ... (253) (254) (255)
Quantity Unit magnetic field strength (H) inductivity (L) henry hertz frequency (f, ) active energy meter constant // reactive energy meter constant // apparent energy meter constant // // // mass flux // conductance siemens // // // // // // // // // reserved ... reserved other unit no unit, unitless, count
other count
2
period
1 t
capture_time now
start_time_current
Figure 6 The attributes when measuring sliding demand The demand register delivers two types of demand: the current_average_value and the last_average_value (see Figure 7).
DLMS User Association
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
The demand register knows its type of process value which is described in "logical name" using the OBIS identification system.
energy/period period last_average_value current_average_value 0 start_time_current now start_time+period t
Figure 7 The attributes when measuring current_average_value if number of periods is 1 more details, see complete Blue Book DLMS UA 1000-1 ...
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
Mean Time GMT). The deviation from the local time to the generalised time reference can change depending on the season (e.g. summer time vs. wintertime). The interface to an external client is based on date information specified in day, month and year, time information given in hundredths of seconds, seconds, minutes and hours and the deviation from the local time to the generalised time reference. It also handles the daylight savings function in that way; i.e. it modifies the deviation of local time to GMT depending on the attributes. The start and end point of that function is normally set once. An internal algorithm calculates the real switch point depending on these settings.
Deviation
LocalTime
Attribute Description
time Contains the meters local date and time, its deviation to GMT and the status. See also the description in 4.1.4. When this value is set, only specified fields of the date_time are changed. For example for setting the date without changing the time, all time relevant octets of the date_time must be set to not specified. The clock_status must always be set when writing the time. DLMS User Association
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
time_zone
octet-string, formatted as set in 4.1.4 for date_time. The deviation of local, normal time to GMT in minutes. long The status is equal to the status read in time. See also the description in 4.1.4. unsigned8, formatted as set in 4.1.4 for clock_status Defines the local switch date and time when the local time has to be deviated from the normal time. For generic definitions wildcards are allowed. octet-string, formatted as set in 4.1.4 for date_time. See above. octet-string, formatted as set in 4.1.4 for date_time. Contains the number of minutes by which the deviation in generalised time must be corrected at daylight savings begin. integer Deviation range of up to 120 min TRUE enables daylight savings function. boolean
status
daylight_savings_begin
daylight_savings_end
daylight_savings_deviation
daylight_savings_enabled
clock_base
Defines where the basic timing information comes from. enum (0) (1) (2) (3) (4) (5) not defined internal crystal mains frequency 50 Hz mains frequency 60 Hz GPS (global positioning system) Radio Controlled
Method Description
adjust_time (data) Sets the meters time to the nearest (+/-) quarter of an hour value (*:00, *:15, *:30, *:45). data ::= integer (0). Sets the meters time to the nearest (+/-) starting point of a measuring period. data ::= integer (0). Sets the meters time to the nearest minute. If second_counter < 30 s, so second_counter is set to 0. If second_counter 30 s, so second_counter is set to 0 and minute_counter and all depending clock values are incremented if necessary. data ::= integer(0) This method is used in conjunction with the preset_adjusting_time method. If the meters time lies between validity_interval_start and validity_interval_end, then time is set to preset_time. data ::= integer(0) Presets the time to a new value (preset_time) and defines a
adjust_to_measuring_period (data)
adjust_to_minute (data)
adjust_to_preset_time (data)
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
validity_interval within which the new time can be activated. data ::= structure { preset_time: octet-string; validity_interval_start: octet-string; validity_interval_end: octet-string } all octet-strings formatted as set in 4.1.4 for date_time. Shifts the time by n (-900 <= n <= 900) s. data ::= long
shift_time (data)
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
The Activity Calendar defines the activation of certain scripts, which can perform different activities inside the logical device. The interface to the object Script is the same as for the object Schedule. (see 4.2.9) If an instance of the interface class "Special Days Table" (see 4.2.10) is available, relevant entries there take precedence over the Activity Calendar object driven selection of a day profile. The day profile referenced in the "Special Days Table" activates the day_schedule of the day_profile_table in the "Activity Calendar" object by referencing through the day_id.
more details, see complete Blue Book DLMS UA 1000-1 ...
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
x x+8
Short name
Remarks
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
5.1 Introduction
The competitive electricity market requires an ever-increasing amount of timely information concerning the usage of electrical energy. Recent technology developments enable to build intelligent static metering equipment, which are capable to capture, process and communicate this information to all parties involved. For further analysis of this information, for the purposes of billing, load-, customer- and contract management, it is necessary to uniquely identify all data in a manufacturer independent way collected manually or automatically, via local or remote data exchange. The definition of identification codes was based on DIN 43863-3 December:1997, Electricity meters Part 3: Tariff metering device as additional equipment for electricity meters EDIS Energy Data Identification System
5.2 Scope
The Object Identification System (OBIS) defines the identification codes (ID-codes) for commonly used data items in electricity metering equipment. This standard specifies the overall structure of the identification system and the mapping of all data items to their identification codes. The Object Identification System (OBIS) provides a unique identifier for all and every data within the metering equipment, including not only measurement values, but also abstract values used for configuration or obtaining information about the behaviour of the metering equipment. The ID codes defined in this standard are used for identification of logical names of the various instances of the Interface Classes, or objects, as defined in Clause 4 or IEC 62056-62; data transmitted through communication lines (see 5.5.1); data displayed on the metering equipment (see 5.5.2). This standard applies to all types of electricity metering equipment, like fully integrated meters, modular meters, tariff attachments, data concentrators etc. To cover metering equipment measuring other energy types than electricity, combined metering equipment measuring more than one type of energy or metering equipment with several physical measurement channels, the concept of channels and medium are introduced. This allows meter data originating from different sources to be identified. While this standard fully defines the structure of the identification system for other media, the mapping of non-electrical energy related data items to ID codes needs to be completed separately. In co-operation with CEN TC294, WG2 some non-electrical codes are already implemented.
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
With implementations that contain one channel only, even not channel-specific data can be assigned to channel 1.
089
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
Country specific identifiers General service entries, see 5.4.7 General error messages, see 5.4.7 General list objects, see 5.4.9 Inactive objects Manufacturer specific codes Reserved
b
Context specific identifiers identify objects specific to a certain protocol and/or application. For the COSEM context the identifiers are defined in Clause 4 or IEC 62056-62.
An inactive object is an object, which is defined and present in a meter, but which has no assigned functionality.
5.4.3.2 Quantities for electrical energy related objects Table 7 Value group C codes (electricity objects)
Value group C Electricity related objects (A = 1) General purpose objects (see 5.4.8) Li Active power+ Li Active powerLi Reactive power+ Li Reactive powerLi Reactive power QI Li Reactive power QII Li Reactive power QIII Li Reactive power QIV Li Apparent power+ Li Apparent powerCurrent: any phase Voltage: any phase Average power factor Supply frequency LI Active power QI+QIV+QII+QIII LI Active power QI+QIV-QII-QIII Li Active power QI Li Active power QII Li Active power QIII Li Active power QIV L1 Active power+ L1 Active powerL1 Reactive power+ L1 etc. (see 4-10) a L1 Current L1 Voltage L1 Power factor L1 Frequency L1 Active power ... etc. (see 15-20) L2 Active power+ L2 Active power-
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
43 44-60 61 62 63 64-80 81 82 91 92
L2 Reactive power+ L2 etc. (see 24-40) L3 L3 L3 L3 Active power+ Active powerReactive power+ etc. (see 24-40)
b
Electricity-related service entries, see 5.4.7 Electricity-related error messages Electricity list Electricity data profile see 5.4.10 Reserved Manufacturer specific code Reserved
L i Quantity is the value (to be measured) of a measurement system connected between the phase i and a reference point. In 3 phase 4-wire systems the reference point is the neutral. In 3 phase 3-wire systems the reference point is the phase L 2 .
a b
The quadrant definitions are according to IEC 61268:1995 - Annex E, Figure E.1.
0 1 2 3 4 5 6 7 8 9
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
10 11 12 13 14 15 16
Time integral 3 Cumulative minimum 2 Cumulative maximum 2 Minimum 2 Current average 2 Last average 2 Maximum 2
Cumulative minimum 3 Cumulative maximum 3 Minimum 3 Current average 3 Last average 3 Maximum 3 Current average 5 Current average 6 Time integral 5 Time integral 6 Under limit threshold Under limit occurrence counter Under limit duration Under limit magnitude Over limit threshold Over limit occurrence counter Over limit duration Over limit magnitude Missing threshold Missing occurrence counter Missing duration Missing magnitude Test average Time integral 4 Manufacturer specific codes Reserved
NOTES Averaging Scheme 1 Controlled by measurement period 1 (see 5.4.8) a set of registers is calculated by a metering device. (codes 1..6). The typical usage is for billing purposes. Averaging Scheme 2 Controlled by measurement period 2 (see 5.4.8) a set of registers is calculated by a metering device. (codes 11..16). The typical usage is for billing purposes. Averaging Scheme 3 Controlled by measurement period 3 (see 5.4.8) a set of registers is calculated by a metering device. (codes 21..26). The typical usage is for instantaneous values. Averaging Scheme 4 Controlled by measurement period 4 (see 5.4.8) a test average value. (code 55) is calculated by the metering device. Last average
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
The value of the demand register at the end of the last measurement period. Current average 5 The value of a current demand register using recording interval 1 as time base. Current average 6 The value of a current demand register using recording interval 2 as time base. Time integral 1 Without the inclusion of a billing period code (F <> 255): time integral of the quantity calculated from the origin (first start of measurement) to the instantaneous time point. With a billing period code included (0<=F<100): time integral of the quantity calculated from the origin to the end of the billing period given by the billing period code. Time integral 2 Without the inclusion of a billing period code(F <> 255): Time integral of the quantity calculated from the beginning of the current billing period to the instantaneous time point. With a billing period code included (0<=F<100): Time integral of the quantity calculated over the billing period given by the billing period code. Time integral 3 Time integral of the positive difference between the quantity and a prescribed threshold value. Time integral 4 ("Test time integral) Time integral of the quantity calculated over a time specific to the device or determined by test equipment. Time integral 5 used as a base for load profile recording: Time integral of the quantity calculated from the beginning of the current recording interval to the instantaneous time point for recording period 1. Time integral 6 used as a base for load profile recording: Time integral of the quantity calculated from the beginning of the current recording interval to the instantaneous time point for recording period 2. Under limit values Values under a certain threshold (e.g. dips). Over limit values Values above a certain threshold (e.g. swells). Missing values Values considered as missing (e.g. interruptions).
For identifiers of abstract objects see 5.4.7. For identifiers of electricity related General purpose objects see 5.4.8. 5.4.4.2 Value group D for country specific identifiers This table specifies the identifiers for country specific applications. Wherever possible the phone codes are used. In this table there are no reserved ranges for manufacturer specific codes. The usage of value group E and F are defined in country specific documents. Table 9 Value group D codes (country specific)
Value group D a Country specific identifiers (A = 0, C = 94) Finnish identifiers USA identifiers Canadian identifiers Russian identifiers Czech identifiers Bulgarian identifiers Croatian identifiers Irish identifiers
00 01 02 07 10 11 12 13
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
14 15 16 27 30 31 32 33 34 35 36 38 39 40 41 42 43 44 45 46 47 48 49 55 61 62 64 65 81 86 90 91
a
Israeli identifiers Ukraine identifiers Yugoslavian identifiers South African identifiers Greece identifiers Dutch identifiers Belgian identifiers French identifiers Spanish identifiers Portuguese identifiers Hungarian identifiers Slovenian identifiers Italian identifiers Romanian identifiers Swiss identifiers Slovakian identifiers Austrian identifiers United Kingdom identifiers Danish identifiers Swedish identifiers Norwegian identifiers Polish identifiers German identifiers Brazilian identifiers Australian identifiers Indonesian identifiers New Zealand identifiers Singapore identifiers Japanese identifiers Chinese identifiers Turkish identifiers Indian identifiers
Must be limited to two characters NOTE 1 All other codes reserved NOTE 2 Objects that are already identified in this document but not included in 5.4.4.2 must not be re-identified by a country specific identifier.
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
Rate 1 Rate 2 Rate 3 ... Rate 9 Rate 63 Manufacturer specific code Reserved
This table is not valid if one of the following separate specifications for value group E apply. 5.4.5.1 Usage of value group E for current and voltage measurements The following table show the meaning of the group E value while measuring current or voltage. Table 11 Extended current/voltage measurement
Value group E Electrical energy related objects (A = 1); current/voltage measurement (C = 31, 51, 71, 32, 52 or 72; D = 7) Total 0 st 1 harmonic (fundamental) 1 nd 2 harmonic 2 th n harmonic th 127 harmonic 127 128254 255 manufacturer specific Reserved
5.4.5.2 Usage of value group E for measuring angles The following table shows the meaning of the group E value while measuring angles. Table 12 Extended angle measurement
Value group E Electrical energy related objects (A = 1); angle measurement (C = 81; D = 7) Angle U(L1) U(L2) U(L3) I(L1) I(L2) I(L3) I(L0) U(L1) (00) 10 20 40 50 60 70 U(L2) 01 (11) 21 41 51 61 71 U(L3) 02 12 (22) 42 52 62 72 I(L1) 04 14 24 (44) 54 64 74 I(L2) 05 15 25 45 (55) 65 75 I(L3) 06 16 26 46 56 (66) 76 I(L0) 07 17 27 47 57 67 (77) <= From
^ To (Reference)
For identifiers of abstract objects see 5.4.7. For identifiers of electricity related General purpose objects see 5.4.8.
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
0 9 0 1 2 3 4 5 6 10 11 1 2 0 0 0 1 2 3 0 1 2 3 0 1 2 63
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
Abstract objects, general service entries Ambient temperature Manufacturer specific ..................... Manufacturer specific
a
OBIS code A 0 0 0 B x x x C 96 96 96 D 9 50 96 E 0 x x F x x
Protected configuration is characterized by the need to open the main meter cover to modify it, or to break a metrological seal. If a value field is shaded, then this value group is not used. x is equal to any value within the range.
REMARK
OBIS code A 0 B x C 97 D 97 E a x F
If a value field is shaded, then this value group is not used. x is equal to any value within the range.
In the manufacturer specific objects only those values shall be placed, which are not represented by another defined code, but need representation on the display as well. If this is not required, the code shall use the possibilities of a value group above 127.
0 9 0 1 2 2 ...... 2 0 1 2 3 4 0 1 2 3 4 5
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
Electricity related General purpose objects Reading factor for power Reading factor for energy b Transformer ratio current (numerator) b Transformer ratio voltage (numerator) b Overall transformer ratio (numerator) b Transformer ratio current (denominator) b Transformer ratio voltage (denominator) b Overall transformer ratio voltage (denominator) Nominal values Voltage [V] Basic/nominal current [A] Frequency [Hz) Maximum current [A] Reference voltage for power quality measurement Input pulse constants REW [Imp/kWh] (active energy) REB [Imp/kvarh] (reactive energy) RES [Imp/kVAh] (apparent energy) Measurement-/registration-period duration Measurement period 1, for average value 1 Measurement period 2, for average value 2 Measurement period 3, for instantaneous value Measurement period 4, for test value Recording interval 1, for load profile Recording interval 2, for load profile Billing period Time entries Time expired since last end of billing period Local time Local date Reserved Reserved Week day (0..7) Time of last reset Date of last reset Output pulse duration Clock synchronization window Clock synchronization method Coefficients Transformer magnetic losses Transformer thermal losses Line resistance losses Line reactance losses Measurement methods Algorithm for active power measurement Algorithm for active energy measurement Algorithm for reactive power measurement Algorithm for reactive energy measurement Algorithm for apparent power measurement Algorithm for apparent energy measurement Algorithm for power factor calculation
OBIS-code A B C 1 x 0 1 x 0 1 x 0 1 x 0 1 x 0 1 x 0 1 x 0 1 x 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
D 4 4 4 4 4 4 4 4 6 6 6 6 6 7 7 7 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 9 9 10 10 10 10
E 0 1 2 3 4 5 6 7 0 1 2 3 4 0 1 2 0 1 2 3 4 5 6 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3
F
a
V-y
1 1 1 1 1 1 1
x x x x x x x
0 0 0 0 0 0 0
11 11 11 11 11 11 11
1 2 3 4 5 6 7
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
OBIS-code A B C
y can be set at any value between 1 and n ; for current values group F is not used. b If a transformer ratio is expressed as a fraction the ratio is numerator, divided by denominator. If the transformer ratio is expressed by an integer or real figure, only the numerator is used. REMARK If the value field F is shaded, then value group F is not used.
It has to be observed, that some of the codes above are normally not used, as the related data items are covered by attributes of already defined objects (application dependent). See Clause 4 or IEC 62056-62.
OBIS code A 0 B x C 98 D 1 E x F a VZ
see 5.5.3
OBIS-code A B C 1 X 99 1 X 99 1 X 99 1 X 99 1 X 99 1 X 99 1 X 99 1 X 99 1 X 99 1 1 x x 99 99
D 1 2 3 10 10 10 11 12 13 98 99
E a x a x 0 1 2 3 th n th n 0 x a x
a
0 0 0 0 0 0
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
Figure 11 Reduced ID code presentation The delimiter between value groups E and F can be modified to carry some information about the source of a reset (& instead of * if the reset was performed manually). For compatibility with existing implementations, in value group A an identifier for an energy type may be used even for abstract objects.
5.5.2 Display
The usage of OBIS codes to display values is normally limited in a similar way as for data transfer, e.g. according to IEC 62056-21. Some codes may be replaced by letters to indicate clearly the differences from other data items: Table 18 Example of display code replacement
Value group C OBIS code Display code 96 C 97 F 98 L 99 P
EXCERPT
DLMS UA, EXCERPT FROM COSEM Identification System and Interface Objects, Fourth Edition
Most recent value Two most recent values 25 most recent values unspecified number of most recent values
The value of the most recent (youngest) billing period is identified using the ID-code VZ (state of the billing period counter), and the second youngest is identified by the code VZ-1 etc. The operating mode of the billing period counter can differ, e.g. modulo-12 or modulo-100. The value that is represented after reaching the limit of the billing period counter, contains the billing period value code 0 for modulo-100, and 1 for other (e.g. modulo-12). Values above 100 allow to identify profiles which contain values of more than one billing period. The maximum allowed value for this is 125. The value 126 identifies a profile with values of an unspecified number of billing periods. For thresholds the value group F contains a reference into several threshold levels for the same quantity (if applicable).
5.5.4 COSEM
The usage of OBIS codes in the COSEM environment is defined in Clause 4 or IEC 62056-62.
EXCERPT