DLMS COSEM For Battery Powered Devices - DLMS UA Whitepaper
DLMS COSEM For Battery Powered Devices - DLMS UA Whitepaper
BATTERY-POWERED DEVICES:
A COMPREHENSIVE STUDY
0
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
INTRODUCTION ......................................................................................................................2
CHALLENGING ASSUMPTIONS ABOUT DLMS/COSEM .............................................................3
1.1 Perceived “Chattiness” ........................................................................................................3
1.2 Perceived Large Packet Sizes................................................................................................4
1.3 Perceived Power Consumption ............................................................................................4
2 TECHNIQUES FOR ENHANCING PAYLOAD EFFICIENCY IN DLMS/COSEM ...........................5
2.1 The PUSH Facility .................................................................................................................5
2.2 Data Format Options ...........................................................................................................6
1. Compact Data .................................................................................................................................. 6
2. Null Data .......................................................................................................................................... 6
3. Delta Value Encoding ....................................................................................................................... 6
4. V.44 Compression ............................................................................................................................ 6
3 STANDARD PAYLOAD OPTIMIZATION - AN IN-DEPTH EXPLORATION THROUGH REAL
EXAMPLES ..............................................................................................................................7
3.1 Example 1 .......................................................................................................................... 10
1. Normal Encoding (no compression) ................................................................................................ 10
2. Compressed Encoding .................................................................................................................... 10
3. Compact Array Encoding ................................................................................................................ 11
4. Delta Encoding ............................................................................................................................... 11
3.2 Example 2 .......................................................................................................................... 12
4 Analyzing Battery Performance ......................................................................................12
5 Comparing Payload Sizes: M-Bus vs. DLMS/COSEM ........................................................13
6 Conclusion .....................................................................................................................14
7 ANNEX 1 - PAYLOAD CALCULATIONS FOR EXAMPLE 1 ....................................................15
7.1 Normal Encoding ............................................................................................................... 15
7.2 Compressed Data Encoding ............................................................................................... 23
7.3 Compact Array Encoding.................................................................................................... 28
7.4 Delta Value Encoding ......................................................................................................... 33
ANNEX 2 – PAYLOAD CALCULATIONS FOR EXAMPLE 2 ..........................................................40
1
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
INTRODUCTION
Application Layer
IEC 62056-5-3
Lower Layers
IEC 62056 – IEC 62334 – ITU-T – RFC – LP-WAN- Wi-Sun- LTE
2
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
Gas, water, heat, and thermal metering are supported by the COSEM data
model, and collaboration with CEN TC294 facilitates the transportation of
DLMS datagrams over M-Bus and other low power networks using the
EN13757-1 standard. Typically powered by batteries, these meters necessitate
careful consideration of the energy consumption associated with
communication technology, a critical factor influencing their longevity and
overall service life.
3
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
The PUSH mechanism proves valuable in scenarios with bandwidth or power
constraints, significantly reducing over-the-air traffic.
4
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
2 TECHNIQUES FOR ENHANCING PAYLOAD EFFICIENCY IN DLMS/COSEM
5
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
2.2 Data Format Options
In the COSEM model, profile data is generally structured using arrays
containing time, date information, register readings, and sometimes device
status data – imagine an excel table where the rows are time slots, and the
columns are various data items aligned to the times. These arrays can
become sizable, especially with extensive consumption registers and if the
time/date stamp is added to each entry (row). The DLMS UA Green Book
gives guidance on implementing DLMS/COSEM options to reduce data
packet sizes and payload.
1. Compact Data
The COSEM data model supports compact data to reduce the size of arrays
containing consumption profile data. This technique involves describing
metadata once in a template, eliminating repetitive elements. Significant
savings can be made using the compact array, especially in scenarios with
large load profile data.
2. Null Data
In addition to compact data, null data elements can be employed in load
profiles containing snapshot data, such as half-hourly readings. By setting the
time/date field to NULL for each reading, except once to indicate the day,
space is conserved, particularly advantageous when compression is applied.
4. V.44 Compression
V.44 compression can be used in conjunction with any of the above
encoding methods to provide an additional layer of reduction in load profile
data packet size, contributing to more efficient data exchange.
6
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
3 STANDARD PAYLOAD OPTIMIZATION - AN IN-DEPTH EXPLORATION
THROUGH REAL EXAMPLES
7
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
10:30:00 0.00 165206.90 14539.448 0.000 m^3
11:00:00 0.00 165206.90 14539.448 0.000 m^3
11:30:00 0.00 165206.90 14539.448 0.000 m^3
12:00:00 5.00 165211.90 14539.888 0.440 m^3
12:30:00 10.00 165221.90 14540.768 0.880 m^3
13:00:00 5.00 165226.90 14541.208 0.440 m^3
13:30:00 0.00 165226.90 14541.208 0.000 m^3
14:00:00 0.00 165226.90 14541.208 0.000 m^3
14:30:00 0.00 165226.90 14541.208 0.000 m^3
15:00:00 0.00 165226.90 14541.208 0.000 m^3
15:30:00 0.00 165226.90 14541.208 0.000 m^3
16:00:00 0.00 165226.90 14541.208 0.000 m^3
16:30:00 9.00 165235.90 14542.000 0.792 m^3
17:00:00 10.00 165245.90 14542.880 0.880 m^3
17:30:00 9.00 165254.90 14543.672 0.792 m^3
18:00:00 15.00 165269.90 14544.992 1.320 m^3
18:30:00 15.00 165284.90 14546.312 1.320 m^3
19:00:00 10.00 165294.90 14547.193 0.880 m^3
19:30:00 7.00 165301.90 14547.809 0.616 m^3
20:00:00 5.00 165306.90 14548.249 0.440 m^3
20:30:00 4.00 165310.90 14548.601 0.352 m^3
21:00:00 0.00 165310.90 14548.601 0.000 m^3
21:30:00 0.00 165310.90 14548.601 0.000 m^3
22:00:00 0.00 165310.90 14548.601 0.000 m^3
22:30:00 0.00 165310.90 14548.601 0.000 m^3
23:00:00 0.00 165310.90 14548.601 0.000 m^3
23:30:00 0.00 165310.90 14548.601 0.000 m^3
8
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
The DLMS/COSEM specifications provide guidelines on how to model
metering data and package it for transportation using standardized methods.
This flexibility allows for various packaging approaches, provided they adhere
to the standardized procedures outlined in the DLMS UA Green and Blue
Books. Compliance with these procedures ensures that any head-end system
can effectively unpack and decompress data received from any
DLMS/COSEM-compliant meter.
9
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
3.1 Example 1
In this example, we present four data encoding methods to illustrate the
benefits of DLMS/COSEM in reducing payload sizes. The data packets were
assembled, and comprehensive compression or compaction methods
described in the DLMS UA Green Book were applied, allowing for a
comparative analysis of the various techniques.
The data transportation uses the ‘Push’ method, known for its efficiency
compared to a Get/Response approach, as it enables the meter to remain in
a dormant state until it has the data to transmit, using the Data Notification
method.
2. Compressed Encoding
Compressing the data involves using null data fields where the data can be
deduced, e.g., time and date and data type description for the register
readings. The array only needs the start time and date as all other register
readings occur half-hourly and do not require a date stamp.
10
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
3. Compact Array Encoding
DLMS/COSEM specifies the compact array as an alternative array type for
modelling the load profile. Similar to the compressed data above, the time
and date is only needed once and is replaced by null data for 47 of the half-
hourly readings. The compact array assumes that each element is identical
and therefore does not need to be specified, so the data type (structure)
which would take 2 bytes is not required. Additionally, the data type of the
register read is already known and does not need to be restated for every
reading, thus saving a byte per reading.
4. Delta Encoding
Additional payload size reductions can be achieved through delta encoding.
Rather than recording a full register reading every half hour, the array is
populated with a time-stamped start reading, and subsequent readings
represent the usage during the period, requiring only 2 bytes rather than 4
bytes. However, this encoding uses the Normal-Compressed approach rather
than the Compact Array approach, requiring a structure type descriptor (2
bytes) thus cancelling out the savings.
11
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
3.2 Example 2
This example uses the Compact Array differently to Example 1. Here, a custom
array is specified, incorporating the starting register read time stamped at
midnight and 47 delta values for each subsequent half-hour period.
This method requires 13 bytes to specify the array, including the starting read
and timestamp and 94 bytes for the 47 delta values. The total payload size is
107 bytes, without employing any additional compression techniques.
12
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
5 Comparing Payload Sizes: M-Bus vs. DLMS/COSEM
Member B calculated that the sample data would result in an M-Bus payload
of 110 bytes using compact frame encoding, compared to 113 bytes if full
frame encoding. This compared to 107 bytes for their DLMS/COSEM
implementation shown in example 2.
M-Bus, like DLMS/COSEM, specifies the methods that can be used to generate
payloads without prescribing a specific approach. Member C used a slightly
different encoding method, resulting in a payload size of 117 bytes using the
compact frame approach and delta values with no encryption. If full register
readings are supplied for each half-hour period, the payload size increases to
208 bytes.
The comparison reveals that M-Bus and DLMS/COSEM derived payloads are
comparable for the sample typical profile data set used in the examples. The
overheads imposed by the communications technology are similar for both
protocols, indicating that battery drain will be comparable, given that more
energy is expended on the radio system network control than on data
transport.
13
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
6 Conclusion
The presented examples vividly demonstrate the effectiveness of leveraging
the standardized data compression features embedded within the
DLMS/COSEM specifications. By employing these techniques, payload sizes for
typical daily profile data can be significantly diminished, reaching levels easily
accommodated by low-power radio technology. This reduction not only
demands minimal bandwidth but also translates to lower energy consumption
from the meter battery.
14
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
7 ANNEX 1 - PAYLOAD CALCULATIONS FOR EXAMPLE 1
7.1 Normal Encoding
NORMAL ENCODING
long-invoke-id-and-priority 00000001 4
date-time 00 1
data-value 0
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
15
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
structure [3] 4 0203 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
16
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
structure [3] 11 0203 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
17
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
structure [3] 18 0203 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
18
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
structure [3] 25 0203 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
19
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
structure [3] 32 0203 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
20
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
structure [3] 39 0203 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
unsigned 0 1100 2
21
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
structure [3] 46 0203 2
unsigned 0 1100 2
unsigned 0 1100 2
general glo-ciphering DB 5
system-title 084D4D4D0000BC614E 9
22
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
7.2 Compressed Data Encoding
24
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
structure [3] 19 0203 2
null-data 22/6/2023 9:30:00 00 1
null-data 0 00 1
double-long-unsigned 11232889 0600AB6679 5
structure [3] 20 0203 2
null-data 22/6/2023 10:00:00 00 1
null-data 0 00 1
double-long-unsigned 11232904 0600AB6688 5
structure [3] 21 0203 2
null-data 22/6/2023 10:30:00 00 1
null-data 0 00 1
double-long-unsigned 11232919 0600AB6697 5
structure [3] 22 0203 2
null-data 22/6/2023 11:00:00 00 1
null-data 0 00 1
double-long-unsigned 11232949 0600AB66B5 5
structure [3] 23 0203 2
null-data 22/6/2023 11:30:00 00 1
null-data 0 00 1
double-long-unsigned 11232969 0600AB66C9 5
structure [3] 24 0203 2
null-data 22/6/2023 12:00:00 00 1
null-data 0 00 1
double-long-unsigned 11232979 0600AB66D3 5
structure [3] 25 0203 2
null-data 22/6/2023 12:30:00 00 1
null-data 0 00 1
double-long-unsigned 11233039 0600AB670F 5
structure [3] 26 0203 2
null-data 22/6/2023 13:00:00 00 1
null-data 0 00 1
double-long-unsigned 11233109 0600AB6755 5
structure [3] 27 0203 2
null-data 22/6/2023 13:30:00 00 1
null-data 0 00 1
double-long-unsigned 11233169 0600AB6791 5
structure [3] 28 0203 2
null-data 22/6/2023 14:00:00 00 1
null-data 0 00 1
double-long-unsigned 11233189 0600AB67A5 5
structure [3] 29 0203 2
null-data 22/6/2023 14:30:00 00 1
null-data 0 00 1
double-long-unsigned 11233204 0600AB67B4 5
25
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
structure [3] 30 0203 2
null-data 22/6/2023 15:00:00 00 1
null-data 0 00 1
double-long-unsigned 11233219 0600AB67C3 5
structure [3] 31 0203 2
null-data 22/6/2023 15:30:00 00 1
null-data 0 00 1
double-long-unsigned 11233239 0600AB67D7 5
structure [3] 32 0203 2
null-data 22/6/2023 16:00:00 00 1
null-data 0 00 1
double-long-unsigned 11233249 0600AB67E1 5
structure [3] 33 0203 2
null-data 22/6/2023 16:30:00 00 1
null-data 0 00 1
double-long-unsigned 11233259 0600AB67EB 5
structure [3] 34 0203 2
null-data 22/6/2023 17:00:00 00 1
null-data 0 00 1
double-long-unsigned 11233279 0600AB67FF 5
structure [3] 35 0203 2
null-data 22/6/2023 17:30:00 00 1
null-data 0 00 1
double-long-unsigned 11233319 0600AB6827 5
structure [3] 36 0203 2
null-data 22/6/2023 18:00:00 00 1
null-data 0 00 1
double-long-unsigned 11233359 0600AB684F 5
structure [3] 37 0203 2
null-data 22/6/2023 18:30:00 00 1
null-data 0 00 1
double-long-unsigned 11233419 0600AB688B 5
structure [3] 38 0203 2
null-data 22/6/2023 19:00:00 00 1
null-data 0 00 1
double-long-unsigned 11233439 0600AB689F 5
structure [3] 39 0203 2
null-data 22/6/2023 19:30:00 00 1
null-data 0 00 1
double-long-unsigned 11233459 0600AB68B3 5
structure [3] 40 0203 2
null-data 22/6/2023 20:00:00 00 1
null-data 0 00 1
double-long-unsigned 11233484 0600AB68CC 5
26
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
structure [3] 41 0203 2
null-data 22/6/2023 20:30:00 00 1
null-data 0 00 1
double-long-unsigned 11233514 0600AB68EA 5
structure [3] 42 0203 2
null-data 22/6/2023 21:00:00 00 1
null-data 0 00 1
double-long-unsigned 11233529 0600AB68F9 5
structure [3] 43 0203 2
null-data 22/6/2023 21:30:00 00 1
null-data 0 00 1
double-long-unsigned 11233544 0600AB6907 5
structure [3] 44 0203 2
null-data 22/6/2023 22:00:00 00 1
null-data 0 00 1
double-long-unsigned 11233554 0600AB6912 5
structure [3] 45 0203 2
null-data 22/6/2023 22:30:00 00 1
null-data 0 00 1
double-long-unsigned 11233564 0600AB691C 5
structure [3] 46 0203 2
null-data 22/6/2023 23:00:00 00 1
null-data 0 00 1
double-long-unsigned 11233574 0600AB6926 5
structure [3] 47 0203 2
null-data 22/6/2023 23:30:00 00 1
null-data 0 00 1
double-long-unsigned 11233584 0600AB6930 5
TOTAL PAYLOAD SIZE 456
general glo-ciphering DB 5
system-title 084D4D4D0000BC614E 9
27
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
ciphered-content B10123456760CEE20D69208C0785B9 205
257751B17028D6FD68239804FF24F7F
0DCB8DC28EEFC334D13B6B13E3860
0E9F8FF8A4A26D4E094D5F921A1B79
63059A610A2DAF06E84D17AC66CB12
9168FE91ACF59EB078730E6EC79A8A
679B5DCC9CE246B5F7D2E3C5F3BC5
CE8AE923245B113B601A35967E884E
D5B23950B6016E1797C94297DBAB31
A1BFCFFD06218B98B509607327EB6D
D5FD3F3C9CF2E0D5B0EE706CDB105
251FB2B4D9ED77AAA356FFFEF30CF
470E693EC8E23D47097666A37DA579
99AFFB9B0EE83E2A7DD1B6D
TOTAL PAYLOAD SIZE 215
28
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
unsigned 0 00 1
double-long-unsigned 11232120 00AB6378 4
structure [3] 3 0
octet-string 22/6/2023 1:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11232130 00AB6382 4
structure [3] 4 0
octet-string 22/6/2023 2:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11232145 00AB6391 4
structure [3] 5 0
octet-string 22/6/2023 2:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11232160 00AB63A0 4
structure [3] 6 0
octet-string 22/6/2023 3:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11232174 00AB63AE 4
structure [3] 7 0
octet-string 22/6/2023 3:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11232189 00AB63BD 4
structure [3] 8 0
octet-string 22/6/2023 4:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11232209 00AB63D1 4
structure [3] 9 0
octet-string 22/6/2023 4:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11232249 00AB63F9 4
structure [3] 10 0
octet-string 22/6/2023 5:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11232329 00AB6449 4
structure [3] 11 0
octet-string 22/6/2023 5:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11232409 00AB6499 4
structure [3] 12 0
octet-string 22/6/2023 6:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11232489 00AB64E9 4
structure [3] 13 0
octet-string 22/6/2023 6:30:00 00 1
29
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
unsigned 0 00 1
double-long-unsigned 11232569 00AB6539 4
structure [3] 14 0
octet-string 22/6/2023 7:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11232649 00AB6589 4
structure [3] 15 0
octet-string 22/6/2023 7:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11232719 00AB65CF 4
structure [3] 16 0
octet-string 22/6/2023 8:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11232779 00AB660B 4
structure [3] 17 0
octet-string 22/6/2023 8:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11232869 00AB6665 4
structure [3] 18 0
octet-string 22/6/2023 9:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11232879 00AB666F 4
structure [3] 19 0
octet-string 22/6/2023 9:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11232889 00AB6679 4
structure [3] 20 0
octet-string 22/6/2023 10:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11232904 00AB6688 4
structure [3] 21 0
octet-string 22/6/2023 10:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11232919 00AB6697 4
structure [3] 22 0
octet-string 22/6/2023 11:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11232949 00AB66B5 4
structure [3] 23 0
octet-string 22/6/2023 11:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11232969 00AB66C9 4
structure [3] 24 0
octet-string 22/6/2023 12:00:00 00 1
30
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
unsigned 0 00 1
double-long-unsigned 11232979 00AB66D3 4
structure [3] 25 0
octet-string 22/6/2023 12:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11233039 00AB670F 4
structure [3] 26 0
octet-string 22/6/2023 13:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11233109 00AB6755 4
structure [3] 27 0
octet-string 22/6/2023 13:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11233169 00AB6791 4
structure [3] 28 0
octet-string 22/6/2023 14:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11233189 00AB67A5 4
structure [3] 29 0
octet-string 22/6/2023 14:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11233204 00AB67B4 4
structure [3] 30 0
octet-string 22/6/2023 15:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11233219 00AB67C3 4
structure [3] 31 0
octet-string 22/6/2023 15:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11233239 00AB67D7 4
structure [3] 32 0
octet-string 22/6/2023 16:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11233249 00AB67E1 4
structure [3] 33 0
octet-string 22/6/2023 16:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11233259 00AB67EB 4
structure [3] 34 0
octet-string 22/6/2023 17:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11233279 00AB67FF 4
structure [3] 35 0
octet-string 22/6/2023 17:30:00 00 1
31
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
unsigned 0 00 1
double-long-unsigned 11233319 00AB6827 4
structure [3] 36 0
octet-string 22/6/2023 18:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11233359 00AB684F 4
structure [3] 37 0
octet-string 22/6/2023 18:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11233419 00AB688B 4
structure [3] 38 0
octet-string 22/6/2023 19:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11233439 00AB689F 4
structure [3] 39 0
octet-string 22/6/2023 19:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11233459 00AB68B3 4
structure [3] 40 0
octet-string 22/6/2023 20:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11233484 00AB68CC 4
structure [3] 41 0
octet-string 22/6/2023 20:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11233514 00AB68EA 4
structure [3] 42 0
octet-string 22/6/2023 21:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11233529 00AB68F9 4
structure [3] 43 0
octet-string 22/6/2023 21:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11233544 00AB6907 4
structure [3] 44 0
octet-string 22/6/2023 22:00:00 00 1
unsigned 0 00 1
double-long-unsigned 11233554 00AB6912 4
structure [3] 45 0
octet-string 22/6/2023 22:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11233564 00AB691C 4
structure [3] 46 0
octet-string 22/6/2023 23:00:00 00 1
32
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
unsigned 0 00 1
double-long-unsigned 11233574 00AB6926 4
structure [3] 47 0
octet-string 22/6/2023 23:30:00 00 1
unsigned 0 00 1
double-long-unsigned 11233584 00AB6930 4
TOTAL PAYLOAD SIZE 316
33
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
null-data 22/6/2023 00 1
1:00:00
null-data 0 00 1
unsigned-delta 11232120 10 1F0A 2
structure [3] 3 0203 2
null-data 22/6/2023 00 1
1:30:00
null-data 0 00 1
unsigned-delta 11232130 10 1F0A 2
structure [3] 4 0203 2
null-data 22/6/2023 00 1
2:00:00
null-data 0 00 1
unsigned-delta 11232145 15 1F0F 2
structure [3] 5 0203 2
null-data 22/6/2023 00 1
2:30:00
null-data 0 00 1
unsigned-delta 11232160 15 1F0F 2
structure [3] 6 0203 2
null-data 22/6/2023 00 1
3:00:00
null-data 0 00 1
unsigned-delta 11232174 14 1F0E 2
structure [3] 7 0203 2
null-data 22/6/2023 00 1
3:30:00
null-data 0 00 1
unsigned-delta 11232189 15 1F0F 2
structure [3] 8 0203 2
null-data 22/6/2023 00 1
4:00:00
null-data 0 00 1
unsigned-delta 11232209 20 1F14 2
structure [3] 9 0203 2
null-data 22/6/2023 00 1
4:30:00
null-data 0 00 1
long-unsigned-delta 11232249 40 1F28 2
structure [3] 10 0203 2
null-data 22/6/2023 00 1
5:00:00
null-data 0 00 1
long-unsigned-delta 11232329 80 1F50 2
structure [3] 11 0203 2
null-data 22/6/2023 00 1
5:30:00
34
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
null-data 0 00 1
long-unsigned-delta 11232409 80 1F50 2
structure [3] 12 0203 2
null-data 22/6/2023 00 1
6:00:00
null-data 0 00 1
long-unsigned-delta 11232489 80 1F50 2
structure [3] 13 0203 2
null-data 22/6/2023 00 1
6:30:00
null-data 0 00 1
long-unsigned-delta 11232569 80 1F50 2
structure [3] 14 0203 2
null-data 22/6/2023 00 1
7:00:00
null-data 0 00 1
long-unsigned-delta 11232649 80 1F50 2
structure [3] 15 0203 2
null-data 22/6/2023 00 1
7:30:00
null-data 0 00 1
long-unsigned-delta 11232719 70 1F46 2
structure [3] 16 0203 2
null-data 22/6/2023 00 1
8:00:00
null-data 0 00 1
long-unsigned-delta 11232779 60 1F3C 2
structure [3] 17 0203 2
null-data 22/6/2023 00 1
8:30:00
null-data 0 00 1
long-unsigned-delta 11232869 90 1F5A 2
structure [3] 18 0203 2
null-data 22/6/2023 00 1
9:00:00
null-data 0 00 1
unsigned-delta 11232879 10 1F0A 2
structure [3] 19 0203 2
null-data 22/6/2023 00 1
9:30:00
null-data 0 00 1
unsigned-delta 11232889 10 1F0A 2
structure [3] 20 0203 2
null-data 22/6/2023 00 1
10:00:00
null-data 0 00 1
unsigned-delta 11232904 15 1F0F 2
35
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
structure [3] 21 0203 2
null-data 22/6/2023 00 1
10:30:00
null-data 0 00 1
unsigned-delta 11232919 15 1F0F 2
structure [3] 22 0203 2
null-data 22/6/2023 00 1
11:00:00
null-data 0 00 1
long-unsigned-delta 11232949 30 1F1E 2
structure [3] 23 0203 2
null-data 22/6/2023 00 1
11:30:00
null-data 0 00 1
unsigned-delta 11232969 20 1F14 2
structure [3] 24 0203 2
null-data 22/6/2023 00 1
12:00:00
null-data 0 00 1
double-long-unsigned 11232979 10 1F0A 2
structure [3] 25 0203 2
null-data 22/6/2023 00 1
12:30:00
null-data 0 00 1
long-unsigned-delta 11233039 60 1F3C 2
structure [3] 26 0203 2
null-data 22/6/2023 00 1
13:00:00
null-data 0 00 1
long-unsigned-delta 11233109 70 1F46 2
structure [3] 27 0203 2
null-data 22/6/2023 00 1
13:30:00
null-data 0 00 1
long-unsigned-delta 11233169 60 1F3C 2
structure [3] 28 0203 2
null-data 22/6/2023 00 1
14:00:00
null-data 0 00 1
unsigned-delta 11233189 20 1F14 2
structure [3] 29 0203 2
null-data 22/6/2023 00 1
14:30:00
null-data 0 00 1
unsigned-delta 11233204 15 1F0E 2
structure [3] 30 0203 2
36
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
null-data 22/6/2023 00 1
15:00:00
null-data 0 00 1
unsigned-delta 11233219 15 1F0E 2
structure [3] 31 0203 2
null-data 22/6/2023 00 1
15:30:00
null-data 0 00 1
unsigned-delta 11233239 20 1F14 2
structure [3] 32 0203 2
null-data 22/6/2023 00 1
16:00:00
null-data 0 00 1
unsigned-delta 11233249 10 1F0A 2
structure [3] 33 0203 2
null-data 22/6/2023 00 1
16:30:00
null-data 0 00 1
unsigned-delta 11233259 10 1F0A 2
structure [3] 34 0203 2
null-data 22/6/2023 00 1
17:00:00
null-data 0 00 1
unsigned-delta 11233279 20 1F14 2
structure [3] 35 0203 2
null-data 22/6/2023 00 1
17:30:00
null-data 0 00 1
long-unsigned-delta 11233319 40 1F28 2
structure [3] 36 0203 2
null-data 22/6/2023 00 1
18:00:00
null-data 0 00 1
long-unsigned-delta 11233359 40 1F28 2
structure [3] 37 0203 2
null-data 22/6/2023 00 1
18:30:00
null-data 0 00 1
long-unsigned-delta 11233419 60 1F3C 2
structure [3] 38 0203 2
null-data 22/6/2023 00 1
19:00:00
null-data 0 00 1
unsigned-delta 11233439 20 1F14 2
structure [3] 39 0203 2
null-data 22/6/2023 00 1
19:30:00
37
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
null-data 0 00 1
unsigned-delta 11233459 20 1FC8 2
structure [3] 40 0203 2
null-data 22/6/2023 00 1
20:00:00
null-data 0 00 1
unsigned-delta 11233484 25 1F19 2
structure [3] 41 0203 2
null-data 22/6/2023 00 1
20:30:00
null-data 0 00 1
long-unsigned-delta 11233514 30 1F1E 2
structure [3] 42 0203 2
null-data 22/6/2023 00 1
21:00:00
null-data 0 00 1
unsigned-delta 11233529 15 1F0F 2
structure [3] 43 0203 2
null-data 22/6/2023 00 1
21:30:00
null-data 0 00 1
unsigned-delta 11233544 15 1F0F 2
structure [3] 44 0203 2
null-data 22/6/2023 00 1
22:00:00
null-data 0 00 1
unsigned-delta 11233554 10 1F0A 2
structure [3] 45 0203 2
null-data 22/6/2023 00 1
22:30:00
null-data 0 00 1
unsigned-delta 11233564 10 1F0A 2
structure [3] 46 0203 2
null-data 22/6/2023 00 1
23:00:00
null-data 0 00 1
unsigned-delta 11233574 10 1F0A 2
structure [3] 47 0203 2
null-data 22/6/2023 00 1
23:30:00
null-data 0 00 1
unsigned-delta 11233584 10 1F0A 2
TOTAL PAYLOAD SIZE 315
38
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
system-title 084D4D4D0000BC614E 9
ciphered-content B10123456760CEE20D69208C07 112
D5B9257751B17028D6FD6823980
4FF24F7F0DCB8DC28EEFC331D
27425C65D96121DF2DB15F03A1
4826B67A11F2206B6CDF8177002
45B98094CF458E1CF979B1FD3F
BB57EAD30F9CAF2351B79B96AF
CE4258C082425B5C7DD9F44D50
23FBEB6A298A53E
TOTAL PAYLOAD SIZE 122
39
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
ANNEX 2 – PAYLOAD CALCULATIONS FOR EXAMPLE 2
This example uses a custom compact array in which to record the interval
data, named CF200, and defined below.
The resultant payload size using this encoding method is 107 bytes, the full
payload details are provided below:
40
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
0000 2 02:30:00 DDB9B7 14530999
0000 2 03:00:00 DDB9B7 14530999
0000 2 03:30:00 DDB9B7 14530999
0000 2 04:00:00 DDB9B7 14530999
02C0 2 04:30:00 DDBC77 14531703
0370 2 05:00:00 DDBFE7 14532583
0318 2 05:30:00 DDC2FF 14533375
0318 2 06:00:00 DDC617 14534167
0370 2 06:30:00 DDC987 14535048
0318 2 07:00:00 DDCC9F 14535840
0370 2 07:30:00 DDD00F 14536720
02C0 2 08:00:00 DDD2CF 14537424
0370 2 08:30:00 DDD63F 14538304
02C0 2 09:00:00 DDD8FF 14539008
01B8 2 09:30:00 DDDAB7 14539448
0000 2 10:00:00 DDDAB7 14539448
0000 2 10:30:00 DDDAB7 14539448
0000 2 11:00:00 DDDAB7 14539448
0000 2 11:30:00 DDDAB7 14539448
01B8 2 12:00:00 DDDC6F 14539888
0370 2 12:30:00 DDDFE0 14540768
01B8 2 13:00:00 DDE198 14541208
0000 2 13:30:00 DDE198 14541208
0000 2 14:00:00 DDE198 14541208
0000 2 14:30:00 DDE198 14541208
0000 2 15:00:00 DDE198 14541208
0000 2 15:30:00 DDE198 14541208
0000 2 16:00:00 DDE198 14541208
0318 2 16:30:00 DDE4B0 14542000
0370 2 17:00:00 DDE820 14542880
0318 2 17:30:00 DDEB38 14543672
0528 2 18:00:00 DDF060 14544992
0528 2 18:30:00 DDF588 14546312
0370 2 19:00:00 DDF8F8 14547193
0268 2 19:30:00 DDFB60 14547809
01B8 2 20:00:00 DDFD18 14548249
0160 2 20:30:00 DDFE78 14548601
0000 2 21:00:00 DDFE78 14548601
0000 2 21:30:00 DDFE78 14548601
0000 2 22:00:00 DDFE78 14548601
0000 2 22:30:00 DDFE78 14548601
0000 2 23:00:00 DDFE78 14548601
0000 2 23:30:00 DDFE78 14548601
41
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2
Total 107
bytes
42
DLMS User Association
Baarerstrasse 38
CH-6300 Zug Switzerland
+41 41 539 1186 - dlms@dlms.com
REG: CH-170.6.000.353-2