Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

„SGCom je aplikačné rozšírenie platformy D2000" – Komunikácia so zvyškom aplikácie prebieha predovšetkým prostredníctvom dohodnutých RPC volaní. Aplikácia (Ipesoft IMS) preto musí obsahovať konkrétne DODM objekty: definície štruktúr "SGCom is an application extension of the D2000 platform" – Communication with the rest of the application takes place primarily through agreed RPC calls. The application (Ipesoft IMS) must therefore contain specific DODM objects: structure definitions (SD.*), ESL rozhrania interfaces (I.*), stavové texty, štruktúrované premenné status texts, structured variables (SV.*) a eventy , and events (E.*). Na rozdiel od systémových komponentov platformy D2000 (napr KOM) sa jeho konfigurácia nenachádza v konfiguračnej databáze, ale ju odovzdávajú aplikačné skripty.

„Je modernizovanou alternatívou ku tradičnej implementácii v D2000 KOM.exe" – Charakter protokolu COSEM a z toho vyplývajúci spôsob uloženia hodnôt v inteligentných meračoch spôsoboval, že konfigurácia prostredníctvom kaskády linka – stanica - meraný bod bola neúmerne veľká v porovnaní s počtom meračov, náročná na vytvorenie a prevádzkovanie. Okrem toho bolo potrebné aplikačné podporiť možnosť pridávania nových meracích zariadení, zmenu ich nastavení a zoznamu meraných veličín. Navyše majú byť namerané hodnoty archivované v databáze EDA, k čomu merané body nemajú priamu podporu.

Tieto problémy sú vyriešené tým, že SGCom komunikuje s centrálou prostredníctvom RPC, ktorých štruktúra kopíruje biznis požiadavky aplikácie. Konfigurácia je v centrále uložená vo forme relačnej databázy a do SGCom-u je prenesená jej kópia (vybrané ESL rozhranie obsahuje CRUD operácie). Podľa konfigurácie si vytvorí časový harmonogram pravidelného zberu dát z meračov. Prečítané dáta ako aj prípadné chyby pri zbere dát sú perzistentne uložené do lokálnej databázy. Podľa konfigurácie si taktiež vytvorí časový harmonogram pravidelného odovzdávania dát z lokálnej databázy do centrály (pre účely škálovania záťaže sa môže líšiť od harmonogramu zberu dát). RPC rozhranie tiež umožňuje vykonanie „okamžitých" úloh mimo plán, ktoré slúžia predovšetkým na opätovné prečítanie historických hodnôt z merača, ktoré neboli získané v plánovanom termíne.

Unlike the system components of the D2000 platform (e.g. D2000 KOM), its configuration is not located in the configuration database but is handled by application scripts.

"It is a modernized alternative to the traditional implementation in D2000 KOM" - The nature of the COSEM protocol and the resulting way of storing values in smart meters meant that the configuration through the line - station - I/O tag cascade was disproportionately large compared to the number of meters, demanding In addition, the application had to support the possibility of adding new measuring devices, changing their settings and the list of measured quantities.

These problems are solved by SGCom communicating with the metering central through RPCs, the structure of which replicates the business requirements of the application. The configuration is stored in the central in relational database and a copy of it is transferred to SGCom (the selected ESL interface contains CRUD operations). According to the configuration, it creates a time schedule for the regular collection of data from the meters. The read data as well as any errors during data collection are persistently stored in the local database. According to the configuration, it also creates a time schedule for the regular transfer of data from the local database to the central office (for load scaling purposes, it may differ from the data collection schedule). The RPC interface also allows the execution of "immediate" tasks outside of the schedule, which are primarily used to re-read historical values from the meter that were not obtained on the scheduled date.

SGCom is implemented in Java 8 and requires JRE version 8 or higher to run. It connects to the D2000 platform via the D2JAPI library and is distributed as a ZIP archive that contains all the necessary libraries as well as a *.bat file template that starts the application. The ZIP archive is available in the artifactory of the D2000 department SGCom je implementovaný v jazyku Java 8 a pre svoj beh potrebuje JRE verzie 8 alebo novšej. K platforme D2000 sa pripája prostredníctvom knižnice D2JAPI a je distribuovaný ako ZIP archív, ktorý obsahuje všetky potrebné knižnice ako aj šablónu *.bat súboru, ktorým sa aplikácia štartuje. ZIP archív je dostupný v artifactory oddelenia D2000 (http://srvbuild2v.ipstest.sk:8081/artifactory/d2000/sk/ipesoft/sgcom/sgcom/).