19
Stand: 19.12.2014 CONTROLCENTER-SQL- datastruktur-PHB-E-0.10 SQL data structure EMH CONTROL CENTER (MS SQL)

Control Center

Embed Size (px)

DESCRIPTION

Detalles Software Control Center

Citation preview

Page 1: Control Center

Stand: 19.12.2014 CONTROLCENTER-SQL-datastruktur-PHB-E-0.10

SQL data structure EMH CONTROL CENTER (MS SQL)

Page 2: Control Center

The contents published in this manual are protected by copyright. Translation, reprinting, duplication or storage in data processing systems requires the express approval of EMH.

All trademarks and product names found in this manual belong to EMH metering GmbH & Co. KG or the respective title holders.

EMH is certified according to DIN EN ISO 9001:2008 and constantly endeavours to improve its products.

We reserve the right to add to, modify, or remove the content of this manual and the technical specifications without advance notice.

The description of the product specification in this manual does not constitute any part of a contract.

© 2015 EMH metering GmbH & Co. KG. All rights reserved.

If you have any questions or suggestions, contact us at:

EMH metering GmbH & Co. KG

Neu-Galliner Weg 1 19258 Gallin GERMANY

Tel.: +49 38851 326-0

Fax: +49 38851 326-1129

E-mail: [email protected]

Web: www.emh-metering.com

Technical support:

Tel.: +49 38851 326-1930

E-mail: [email protected]

Page 3: Control Center

SQL data structure EMH CONTROL CENTER

EMH metering 3

Contents

1 EMH CONTROL CENTER database tables ..................................................... 4 1.1 The database tables ........................................................................................... 4 1.2 Configuration tables ............................................................................................ 4 1.2.1 conf_Aufgaben ................................................................................................... 4 1.2.2 conf_Einstellungen ............................................................................................. 4 1.2.3 conf_Excelexport ................................................................................................ 4 1.2.4 conf_Excelregister .............................................................................................. 5 1.2.5 conf_Jobs ........................................................................................................... 5 1.2.6 conf_Kunde ........................................................................................................ 5 1.2.7 conf_Lokalmodem .............................................................................................. 6 1.2.8 conf_MBUSfilter.................................................................................................. 6 1.2.9 conf_Msconsexport ............................................................................................ 6 1.2.10 conf_Portliste ...................................................................................................... 6 1.2.11 conf_Textexport .................................................................................................. 6 1.2.12 conf_Version ...................................................................................................... 6 1.2.13 conf_Zaehler ...................................................................................................... 7 1.2.14 conf_Zaehlerregister ........................................................................................... 8 1.3 Values read out by the meter ............................................................................. 8 1.3.1 data_lg ................................................................................................................ 8 1.3.2 data_lp_d ............................................................................................................ 8 1.3.3 data_lp_k ............................................................................................................ 9 1.3.4 data_reg ........................................................................................................... 10 1.3.5 data_reg_all ...................................................................................................... 10 1.3.6 importfiles ......................................................................................................... 11 1.3.7 logbuch ............................................................................................................. 11 1.4 Data base structure (biliing data) ...................................................................... 12 1.5 Data base structure (load profile) ..................................................................... 13 2 Example data .................................................................................................. 14 2.1 Example for conf_Kunde .................................................................................. 14 2.2 Example for conf_Zaehler ................................................................................ 14 2.3 Example for conf_Excelregister ........................................................................ 15 2.4 Example for data_reg ....................................................................................... 16 2.5 Example for data_reg_all .................................................................................. 17 2.6 Example for data_lp_k ...................................................................................... 18 2.7 Example for data_lp_d ...................................................................................... 18 3 Annex .............................................................................................................. 19 3.1 Annex 1: EMH EMH CONTROL CENTER user interface ................................. 193.2 Annex 2: EMH EMH CONTROL CENTER SQL server settings ....................... 19

Page 4: Control Center

EMH CONTROL CENTER database tables SQL data structure EMH CONTROL CENTER

4 EMH metering

1 EMH CONTROL CENTER database tables

1.1 The database tables The database structure consists of configuration tables for recording the basic customer and software program parameter („conf_“), tables with readout data from („data_“), as well as additional tables.

Illustration 1: Database structure with visible configuration tables

1.2 Configuration tables

1.2.1 conf_Aufgaben

Provides the chronological processing of the jobs (conf_Jobs), regarding the meter to be read out.

1.2.2 conf_Einstellungen

Basic settings as server settings, time settings of the EMH CONTROL CENTER, …

1.2.3 conf_Excelexport

Job settings of the Excel export function, e. g. billing data.

Page 5: Control Center

SQL Datenstruktur EMH CONTROL CENTER EMH CONTROL CENTER database tables

EMH metering 5

1.2.4 conf_Excelregister

List of known OBIS codes with a unique ID.

This table is used as a reference for measured values which have been read out.

Illustration 2: Column names of the Excel register

Table 1: Description of the columns of the Excel register

Column Assignment Explanation ID RegisterID Basic correlation of the OBIS-information

Medium OBIS-Value-Group A e. g. electricity = 1, …

Kanal OBIS-Value-Group B Channel 0-64, if used

OBIS OBIS-Value-Group C-E OBIS code acc. to COSEM IEC62056-xxx

Vorwert OBIS-Value-Group F Placeholder ## indicates pre-value

Kommentar Translation of OBIS into text e. g. for export functions

1.2.5 conf_Jobs

Defined tasks, regarding the meter.

1.2.6 conf_Kunde

List with set up customer data (customer address, …), invoice address

Illustration 3: Column names of the customer data

Page 6: Control Center

EMH CONTROL CENTER database tables SQL data structure EMH CONTROL CENTER

6 EMH metering

Table 2: Description of the columns of the customer data

Column Assignment Explanation ID KundeID Basic correlation of the customer data

Kundennummer Automatic numbering within the system

Name Customer´s name, e. g. airport xy

Adresse Customer´s address: street name

PLZ Customer´s address :post code

Ort Customer´s address: city

Zusatz Free text information

geloescht Marking the state of the data set active/deactivated

1.2.7 conf_Lokalmodem

Modems which are set up at the EMH CONTROL CENTER and their configuration data, list of dialling modems.

1.2.8 conf_MBUSfilter

Using the MBus filter, valid OBIS codes are assigned to the data of a MBus readout.

1.2.9 conf_Msconsexport

Configuration file for the set up of a MSCONS interface file.

1.2.10 conf_Portliste

List of the ports for the external communication (Ethernet, IP-T, OKK, dialling modem…).

1.2.11 conf_Textexport

Configuration file for setting the structure of text based interface files.

1.2.12 conf_Version

EMH CONTROL CENTER version information of the data base structure.

This information is evaluated during the update process and correspondingly considered.

Illustration 4: Example for the version information

Page 7: Control Center

SQL Datenstruktur EMH CONTROL CENTER EMH CONTROL CENTER database tables

EMH metering 7

1.2.13 conf_Zaehler

List of meters, meter ID, long name of the meter, basic parameter of the meter, conversion factors, access date, etc.

Illustration 5: Columnn names of the meter data

Table 3: Description of the columns of the meter data

Column Assignment Explanation ID Zähler_ID Basic correlation of the meter data and the

readout data.

KundeID conf_Kunde Correlation to the table conf_Kunde

Eigentumsnummer Meter number (ideally identical with the register 0.0.0 of the meter)

Fabriknummer Serial number of the manufacturer

Adresse Applicaton site: street name

PLZ Application site: postal code

Ort Application site: city

Zusatz Free text information

Wandler_U Installation information about the voltage transformer

Wandler_I Installation information about the current transformer

Verbindung Parameter for establishing a connection (modem)

Deaktiviert Meter is excluded from the active readout

Gelöscht Meter disappears from the tree view

The value Eigentumsnummer is the meter number which is used for billing.

Page 8: Control Center

EMH CONTROL CENTER database tables SQL data structure EMH CONTROL CENTER

8 EMH metering

1.2.14 conf_Zaehlerregister

Correlation of meter ID (conf_Zähler) and register ID (conf_Excelregister)

Illustration 6: Column names of the meter register data

Table 4: Description of the columns of the meter register data

Column Assignment Explanation ID Consecutive number

Zähler_ID conf_Zähler Repeatedly used meter ID

RegisterID conf_ Excelregister OBIS code which has been read out for the meter in the form of the ID

1.3 Values read out by the meter

1.3.1 data_lg

Read out values of the meter logbook (e. g. P.9.8).

1.3.2 data_lp_d

Read out values of the load profile data regarding the meter ID (conf_Zähler).

Illustration 7: Column names of the load profile data

Table 5: Description of the columns of the load profile data

Column Assignment Explanation ID Consecutive number

Zähler_ID conf_Zähler Repeatedly used meter ID

Tag Date of this capture period

Minu Starting time for this capture period

Status State value for this capture period

Auslesezeitpunkt Time of the reading by the EMH CONTROL CENTER

Page 9: Control Center

SQL Datenstruktur EMH CONTROL CENTER EMH CONTROL CENTER database tables

EMH metering 9

Column Assignment Explanation Sekundenindex Relative time for meter with seconds index

KanalID1 Readout value for this capture period for LP channel 1

KanalID2…20 Channel IDxx for additional channels

1.3.3 data_lp_k

Readout values of the load profile headers of the meter ID.

List of load profile channels of a meter. Assignment of the channel ID with the code number, which can be gathered from the channel.

Table 6: Description of the columns of the load profile channel data

Column Assignment Explanation ID Consecutive number

Zähler_ID conf_Zähler Repeatedly used meter ID

KanalID data_lp_d

\KanalIDxx

LP channel, position of the LP channel within the LP

LPArt LP type, P.01 or P.02

Medium OBIS-Value-Group A e. g. electricity = 1, …

Kanal OBIS-Value-Group B Channel 0-64, lt. OBIS code system

OBIS OBIS des Kanals e. g. „1.5“

Einheit Physical unit, e.g. „kW“

Raster LP raster, e. g. „15“ for a quarter hour value

Page 10: Control Center

EMH CONTROL CENTER database tables SQL data structure EMH CONTROL CENTER

10 EMH metering

1.3.4 data_reg

Readout meter values (meter ID) with assignment to the register ID.

Values for billing, maximum values, including. all available re-settings.

Illustration 8: Column names of the billing values – one meter

Table 7: Description of the columns of the billing values – one meter

Column Assignment Explanation ID Consecutive number

Zähler_ID conf_Zähler Repeatedly used meter ID

RegisterID conf_ Excelregister

Read out OBIS code acc. to the meter in the form of the register ID

Wert Registerinhalt E. g. meter reading

Einheit Physical unit of the register content

Zeitstempel transferred time stamp, e. g. for maxima

Inhalt (Backup) complete line of the register value, e. g. 1.8.0*02(002400.99*MWh)

Auslesezeitpunkt Time of the readout by the EMH CONTROL CENTER

1.3.5 data_reg_all

Readout meter values (meter ID) with assignment to the register ID.

Values for billing, maximum values, current values only including the (exclusive) last available re-settings per meter.

Illustration 9: Column names of the billing values – all meters

Page 11: Control Center

SQL Datenstruktur EMH CONTROL CENTER EMH CONTROL CENTER database tables

EMH metering 11

Table 8: Description of the columns of the billing values – all meters

Column Assignment Explanation ID Consecutive number

Zähler_ID conf_Zähler Repeatedly used meter ID

RegisterID conf_ Excelregister

Read out OBIS code acc. to the meter in the form of the register ID

OBIS OBIS code acc. to the register ID

Wert Register content, e. g. meter reading

Einheit Physical unit of the register content

Zeitstempel (Backup) complete line of the register value, e. g. 1.8.0*02(002400.99*MWh)

Auslesezeitpunkt Time of the readout by the EMH CONTROL CENTER

1.3.6 importfiles

Backup copy during the local data import process, e. g. by the EMH COMBI MASTER or EMH MOBILE.

1.3.7 logbuch

Logbook of the EMH CONTROL CENTER read out module.

Backup copy of the raw data during the active meter readout.

Illustration 10: Column names of the raw data

Page 12: Control Center

EMH CONTROL CENTER database tables SQL data structure EMH CONTROL CENTER

12 EMH metering

1.4 Data base structure (biliing data) Data structure for collecting the billing data.

The measured values of a meter can be taken using the meter number (conf_Zaehler\Eigentumsnummer) with assignment to the meter ID (conf_Zaehler\ID) from the read out table (data_reg\ZaehlerID) at the column value (data_reg\Wert).

Thereby the OBIS code for each value can be taken via (data_reg\RegisterID) from the register table (conf_Excelregister\ID) assigned from the OBIS column (conf_Excelregister\OBIS).

Illustration 11: Data base structur (billing data)

Page 13: Control Center

SQL Datenstruktur EMH CONTROL CENTER EMH CONTROL CENTER database tables

EMH metering 13

1.5 Data base structure (load profile) Data structure for collecting the billing data.

Illustration 12: Data base structure (load profile)

Page 14: Control Center

Example data SQL data structure EMH CONTROL CENTER

14 EMH metering

2 Example data

2.1 Example for conf_Kunde

Illustration 13: conf_Kunde in the data base structure

Illustration 14: Example table for conf_Kunde

2.2 Example for conf_Zaehler

Illustration 15: conf_Zaeler in the data base structure

Illustration 16: Example table for conf_Zaeler e. g. data_reg\ZaehlerID

Page 15: Control Center

SQL Datenstruktur EMH CONTROL CENTER Example data

EMH metering 15

2.3 Example for conf_Excelregister

Illustration 17: conf_Exelregister in the data base structure

Illustration 18: Example table for conf_Excelregister

Page 16: Control Center

Example data SQL data structure EMH CONTROL CENTER

16 EMH metering

2.4 Example for data_reg

Illustration 19: data_reg in the data base structure

Illustration 20: Example table for data_reg

Page 17: Control Center

SQL Datenstruktur EMH CONTROL CENTER Example data

EMH metering 17

2.5 Example for data_reg_all

Illustration 21: data_reg_all in the data base structure

Illustration 22: Example table for data_reg_all

Page 18: Control Center

Example data SQL data structure EMH CONTROL CENTER

18 EMH metering

2.6 Example for data_lp_k

Illustration 23: data_lp_k in the data base structure

Illustration 24: Example table for data_lp_k

2.7 Example for data_lp_d

Illustration 25: data_lp_d in the data base structure

Illustration 26: Example table for data_lp_d

Page 19: Control Center

SQL Datenstruktur EMH CONTROL CENTER Annex

EMH metering 19

3 Annex

3.1 Annex 1: EMH EMH CONTROL CENTER user interface

Illustration 27: Example for the user interface of the EMH CONTROL CENTER

3.2 Annex 2: EMH EMH CONTROL CENTER SQL server settings

Illustration 28: Example for the SQL server settings of the EMH CONTROL CENTER