The following figure shows the relational model of the configuration database from the Central's point of view. Compared to the model seen by SGCom, it is enhanced by an SGCom entity, which allows data collection from many meters to be distributed among multiple instances of the SGCom application. The meaning of individual entities is described in the following subsections.
Commonly used entity attributes:



Figure 2 - Relational configuration database model

SGCom entity

Represents an instance of the SGCom application. At its start, each instance logs into the metering central with its own name, which corresponds to the name attribute. Accordingly, the metering central sends it the appropriate subset of the configuration database.

DataCollector entity, SD.SGC_DataCollector structure definition

Represents an instance of an Event object that implements the I.SGC_DataCollector ESL interface. Here, SGCom will transfer the collected data from the meters according to the selected time schedule. The metering central can contain several instances of "DataCollectors" due to load scaling.
Attributes:


ConnectorGroup entity, SD.SGC_ConnectorGroup structure definition

It groups Connector entities into logical units for the purpose of controlling the number of parallel serviced connections in a given group.
Attributes:


Connector entity, SD.SGC_Connector structure definition

It contains the configuration of the communication line to one meter or a group of meters. It is similar to D2000 objects of type Line. During data collection, one Connector type entity is assigned at most one thread, which sequentially serves individual meters connected by a given communication line.
Attributes:


PhysicalDevice entity, SD.SGC_PhysicalDevice structure definition

It represents a physical measuring device See the DLMS/COSEM Green Book (chapter 3.1.20) according to the COSEM definition.
Attributes:


LogicalDevice entity, SD.SGC_LogicalDevice structure definition

It represents a logical measuring device See the DLMS/COSEM Green Book (chapter 3.1.17) according to the COSEM definition. One physical device typically contains several logical devices, each of which fulfills a different purpose (measurement, management, in the case of combined meters, measurement of different media). However, usually only one logical device is of interest in an application. Together, the logical and corresponding physical device entities form the D2000 equivalent of a Station object.
Attributes:


PeriodicEvent entity, SD.SGC_PeriodicEvent structure definition

An entity defines a regularly recurring event. For each event, SGCom creates a separate entry in its task schedule, even if two events occur simultaneously. With one entity, it is possible to simultaneously plan regular data collection from meters and regular data transmission to the metering central.
Attributes:

For example, an entity with attribute values beginTime = 7. III. 2017 12:00:15,000; stepType = second; stepCount = 900; timeZoneOffset = 60; will generate events: 7. III. 2017 12:00:15,000; 7. III. 2017 12:15:15,000; 7. III. 2017 12:30:15,000; ...


DataPoint entity, SD.SGC_DataPoint structure definition

The entity addresses a specific value that can be read or written to the meter during data collection. It is the D2000 equivalent of an I/O tag object.
Note: The following terms are used in the following text:

Attributes:

Sometimes it is necessary to create multiple DataPoint entities that appear to address the same COSEM object. The following cases are typical:


DataPointSet entity, SD.SGC_DataPointSet structure definition

It represents the grouping of measured quantities into a certain logical unit. In practice, it is a typified delivery point, characterized by a defined list of measurements on a defined type of meter.


PE2DP2DPS entity, SD.SGC_PE2DP2DPS structure definition

A binding entity that represents a ternary association between PeriodicEvent, DataPoint, and DataPointSet entities. The presence of this association expresses the inclusion of the DataPoint in the DataPointSet, while data transfer will take place with the period defined by PeriodicEvent. The presence of PeriodcEvent in the relationship is optional, if it is not present, data transfer does not take place.
ATTENTION: It is not allowed that the data transfer is not scheduled if the collection is scheduled - there would be a risk of overflowing the database. It is possible to schedule data transmission even when collection is not scheduled, but this creates an unnecessary communication burden.


LD2DPS entity, SD.SGC_LD2DPS structure definition

Binding class that assigns a group of measured variables to a logical device. The assigned sets do not necessarily have to be disjoint, duplicate links to DataPoints are eliminated during the processing of planned tasks.


ConnectorTask entity, SD.SGC_ConnectorTask structure definition

Represents a regularly recurring task related to the referenced Connector entity. The only implemented task is the prohibition of communication on the line in a defined time interval, which is used to secure time windows in a multi-master environment. For example, when there is a Scalar device in addition to SGCom on the shared serial line, and according to the agreement, SGCom can communicate every quarter of an hour from the 5th to the 10th minute.

Attributes: