Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

IEC 62056 is a canonical and widespread specification for smart metering and is specified by the DLMS User Association. Thus it is used to coordinate the communication between Smart Meters and Smart Meter Gateways or other servers in between. It comprises the Device Language Message Specification (DLMS) and the Companion Specification for Energy Metering (COSEM). COSEM defines an interface-model that is used to describe any kind of smart meter or smart meter gateway. DLMS extends this definition with abstract services that can are used to coordinate the transmission of smart meter data between clients and server. The term smart meter relates to a device that measures the energy consumption and production of a household and transmits this information to a smart meter gateway. A smart meter gateway is the interconnection between arbitrary many smart meters and a server that may relates relate to a smart grid application. The specification is described by four documents:

...

Code Block
titleSendProcessedCosemData
#PARSER PQL
#RUNQUERY
out = SENDER({
		    sink='out',
            wrapper='GenericPush',
            transport='File',
            protocol='DLMS/COSEM',
            datahandler='Tuple',
            options=[
              ['filename', '${WORKSPACEPROJECT}/out.data'],
              ['queryID', 'ID'],
              ['jsonschema', 'RawData']
            ]},
              fileInput                                                                                                                                                                                                                       
        )

To simulated a simulate a push-based processing of COSEM data, you can combine the IEC 62056 protocol handler with the Kafka Feature

...