KR101927689B1 - Method for processing of cim network diagram - Google Patents

Method for processing of cim network diagram Download PDF

Info

Publication number
KR101927689B1
KR101927689B1 KR1020180106986A KR20180106986A KR101927689B1 KR 101927689 B1 KR101927689 B1 KR 101927689B1 KR 1020180106986 A KR1020180106986 A KR 1020180106986A KR 20180106986 A KR20180106986 A KR 20180106986A KR 101927689 B1 KR101927689 B1 KR 101927689B1
Authority
KR
South Korea
Prior art keywords
path
hash
abbreviated
facility
cim
Prior art date
Application number
KR1020180106986A
Other languages
Korean (ko)
Inventor
이재원
소성민
Original Assignee
주식회사 파워이십일
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 파워이십일 filed Critical 주식회사 파워이십일
Priority to KR1020180106986A priority Critical patent/KR101927689B1/en
Application granted granted Critical
Publication of KR101927689B1 publication Critical patent/KR101927689B1/en

Links

Images

Classifications

    • G06F17/50
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks

Abstract

The present invention relates to a method for processing a common information model (CIM) block diagram, and more specifically, to a method for processing a CIM block diagram for briefly storing power distribution system information and easily draw a distribution system according to the stored distribution system information. The method for processing a CIM block diagram according to a preferred embodiment of the present invention includes the following steps: selecting a random facility as the starting point (A) of a system search in the distribution system information set a system facility connection structure generator as a CIM, in which the random facility is connected to only one Terminal having a Connectivity Node, and has an opposite terminal; constructing mRID sets of all paths from the starting point to all end points by the system facility connection structure generator; constructing the mRID sets of all paths from the starting point (A) to all end points of the distribution system to HashMaps, by the system facility connection structure generator; storing all the HashMaps in a hash path storage by the system facility connection structure generator; and searching, by a T/CN mRID deleter, values of all mRIDs stored in the Hash path storage, and deleting all keys having a value which is Terminal or Connectivity Node.

Description

CIM 계통도 처리 방법{METHOD FOR PROCESSING OF CIM NETWORK DIAGRAM}{METHOD FOR PROCESSING OF CIM NETWORK DIAGRAM}

본 발명은 CIM(Common Information Model) 계통도 처리 방법에 관한 것으로 보다 상세하게는, 배전 계통 정보를 간략하게 저장하고, 저장된 배전 계통 정보에 따라 배전 계통을 용이하게 그릴 수 있는 CIM 계통도 처리 방법에 관한 것이다. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CIM (Common Information Model) scheme processing method, and more particularly, to a CIM system processing method capable of storing distribution system information briefly and easily drawing a distribution system according to stored distribution system information .

IEC61970은 설비와 설비의 연결시 전력의 흐름점에 논리적 모델인 가상의 Terminal객체들을 생성하고, Terminal 객체들간의 연결을 가상의 ConnectivityNode 객체로 연결하기 때문에 물리적인 연결을 논리적인 CIM으로 표현하여 설비의 계통도를 그릴 경우 혹은 토폴로지의 연산 시 많은 수의 탐색 조회가 필요하다.IEC61970 creates virtual terminal objects as a logical model at the power flow point when connecting equipment and equipment and connects the connection between terminal objects with virtual ConnectivityNode object so that the physical connection is expressed as logical CIM, A large number of search queries are needed when drawing a schematic or when calculating a topology.

도 1은 종래의 CIM 계통도를 설명하기 위한 도면이다. 도 1에 도시된 바와 같이, 설비와 설비 사이의 연결 관계는 Terminal 객체와 ConnectivityNode 객체로 정의된다. IEC61970에서, CIM 객체는 mRID라는 128bit 랜덤 문자열 값으로 부여된 ID를 사용하기 때문에 Int형으로 이루어진 등의 ID 탐색에 비해서 데이터 처리량이 많은 문제가 발생한다.1 is a view for explaining a conventional CIM scheme. As shown in FIG. 1, the connection relationship between the facility and the facility is defined by a Terminal object and a ConnectivityNode object. In IEC61970, the CIM object uses an ID given as a 128-bit random string value called mRID, which causes a problem of data throughput as compared with an ID search such as an Int type.

일본공개특허 제2006-318400호는 전체계 계통도에서 간략화된 축약계통도를 작성하는 계통도 자동 작성 시스템으로서, 모든 설비의 도형 데이터와 속성 데이터와 위치 데이터와 ID번호로 구성된다 설비의 도형 정보 및 각각의 설비의 전기적인 접속 상태를 나타낸다 접속 정보를 저장하는 전체계 계통도 데이터베이스와 표시된 전체계 계통도상으로 , 모든 설비의 부모가 되는 설비인 전력소를 적어도 4 곳 포함한, 축약계통도로 변환하고 싶은 범위를 지정하기 위한 이용자 단말기와 축약계통도로 표시 대상으로 하는 설비 종별 및 표시 대상으로 하지 않는 설비 종별이 미리 설정된 설비 테이블과 상기 전체계 계통도를 표시할 때는 상기 전체계 계통도 데이터베이스에서 설비의 도형 정보 및 접속 정보를 읽어내 전체계 내부 목구조를 생성하고 상기 전체계 내부 목구조에 기반하여 전체계 계통도를 상기 이용자 단말기에 표시하고 상기 이용자 단말기에 의해 지정된 축약계통도로 변환하고 싶은 범위의 설비 도형 정보 및 접속 정보를 상기 전체계 내부 목구조에서 모두 검색해 취출, 취출한 설비의 도형 정보 의 위치 데이터 중에서 가상적인 직사각형 4 정점에서 내측에서 각각 제일 가까운 전력소를 4 곳검색하고 상기 가상적인 직사각형 4 정점의 위치에 각각 겹쳐지도록 4 곳의 전력소 위치를 결정하고 취출한 도형 정보의 위치 데이터 중에서 상기 4 곳의 전력소 이외의 전력소를 검색하고 검색한 전력소마다 가상적인 직사각형 내의 상대위치를 계산하고 가상적인 직사각형 내에서의 상기 4 곳의 전력소 이외의 전력소의 위치를 결정하고 취출한 설비의 도형 정보 의 위치 데이터 중에서 위치가 결정된 처리 대상이 되는 전력소 단위에 모든 설비에 대해서 검색하고 상기 설비 테이블을 참조해 검색했다 해당 설비가 표시 대상이면 축약계통도상에서의 설비의 표시 위치를 결정해 설비끼리의 접속선을 그려, 어느 설비를 축 약속한 것인지를 추적할 수 있도록 상기 축약계통도상의 설비와 상기 전체계 계통도의 설비를 , 각각의 설비를 식별하기 위해 모든 설비에 부여된 ID번호에 의해 링크하고, 축약계통도를 작성 하고 ID번호에 의한 링크 부착 정보인 전체계 링크 정보를 포함한, 작성한 축약계통도의 도형 정보를 축약계통도 데이터베이스로서 등록 하는 서버 계산기를 구비한 것을 특징으로 하는 계통도 자동 작성 시스템을 개시한다. Japanese Laid-Open Patent Application No. 2006-318400 is a systematic diagram automatic creation system for creating simplified shorthand diagrams in the entire system diagram, and is made up of figure data, attribute data, position data and ID numbers of all facilities. Indicates the electrical connection status of the equipment. The overall system diagram that stores the connection information. Specify the range that you want to convert to an abbreviated system diagram that includes at least four power stations, which are the facilities that are the parents of all facilities, When the facility type and the type of facility not to be displayed are displayed in advance in the facility table and the total system diagram, the figure and access information of the facility are read from the overall system diagram database Creating a total internal system internal tree structure, Extracting and extracting all pieces of equipment graphic information and connection information in the entire system internal tree structure in which the overall system diagram is displayed on the user terminal based on the internal tree structure and the range of the desire system map to be designated by the user terminal is to be converted Four power stations nearest to the inside of four imaginary rectangular vertices are searched from the position data of the figure information of the equipment and four power station positions are determined so as to overlap each of the four vertices of the virtual rectangle, Searching for power stations other than the four power stations among the position data, calculating a relative position in a virtual rectangle for each of the searched power stations, determining the positions of the power stations other than the four power stations in the virtual rectangle, In the position data of the figure information, If the facility is the object to be displayed, it determines the display position of the facility on the scale chart, draws the connection line between the facilities, The facility on the reduced scale diagram and the facilities of the overall system diagram are linked by ID numbers assigned to all the facilities in order to identify each facility and an abbreviated system diagram is created and used for identification by ID number And a server calculator for registering the figure information of the created reduced scale diagram including the total-sum link information as the link attachment information as the reduced-scale diagram database.

일본공개특허 제2002-209337호는 전력 사업의 전력 계통 도면 관리에서 배전선, 제어 기기, 배전 기기, 개폐기류 등의 제어용 전력 계통도 데이터를 저장 관리함과 동시에 상기 각 배선 및 기기의 제어를 하기 위한 전력계통 제어 시스템(2)에 컴퓨터 통신망을 통해 접속되는 관리용 전력 계통 도면 편집 시스템(1)을 부설하고 상기 관리용 전력 계통 도면 편집 시스템(1)으로 가로도에 대응한 수기 등의 관리용 전력 계통 도면에서 배전선, 제어 기기, 배전 기기, 개폐기류 등의 전력 계통 심볼 기호를 자동으로 분리 추출 처리해 데이터화 처리하고 편집함으로써 전력 계통 데이터를 작성하고 상기 전력 계통 데이터를 관리용 전력 계통도 데이터로서 관리용 전력 계통 도면 편집 시스템(1)으로 저장 관리함과 동시에, 컴퓨터 통신망(3)을 통해 전력계통 제어 시스템(2)으로 송신하고 제어용 전력 계통도 데이터로서 전력계통 제어 시스템(2)으로 저장 관리 하고 또한 상기 관리용 전력 계통 도면 편집 시스템(1)에서 전력 계통 데이터를 작성할 때 전력계통 제어 시스템(2)이 미리 저장 관리하고 있는 제어용 전력 계통도 데이터에서 추출한 대상 데이터를 컴퓨터 통신망(3)을 통해 관리용 전력 계통 도면 편집 시스템(1)에 입력하고 관리용 전력 계통 도면 편집 시스템(1)으로 편집 중의 데이터와 상기 대상 데이터를 대조해 편집함으로써 전력 계통 데이터를 작성 하는 것을 특징으로 하는 전력 계통 도면 관리 방법을 개시한다. Japanese Laid-Open Patent Application No. 2002-209337 discloses a power grid management system for storing and managing power grid diagram data for controlling distribution lines, control devices, distribution devices, switchgears, and the like in a power system diagram management of a power business, A power system diagram editing system (1) for management which is connected to a control system (2) via a computer communication network is installed, and a power system diagram for management such as a handwriting The power system symbol data of the power system symbol such as the distribution line, the control device, the power distribution device, the switchgear, etc. are automatically separated and extracted, processed and edited, and the power system data is stored as the power system diagram data for management Editing system 1, and at the same time, through the computer communication network 3, And the power system control system 2 stores and manages the power system data as control power system diagram data in the power system control system 2 and also generates the power system data in the management power system drawing editing system 1. [ The target data extracted from the control power diagram data stored and managed in advance is input to the management power system drawing editing system 1 via the computer communication network 3 and the data being edited is stored in the management power system drawing editing system 1, And the power system data is created by editing the target data by collating the data.

다만, 상기 선행특허는 IEC61970 체계 하에서의 계통도 처리 기술이라고 보기는 어려우며, IEC61970 체계 하에서의 복잡한 객체 간의 연결 관계로 정의되는 계통도의 문제를 인식하고 있지 않다. However, the above-mentioned prior patents are hardly regarded as a systematic processing technique under the IEC61970 system, and they do not recognize the problem of the systematic diagram defined by the connection relation between complex objects under the IEC61970 system.

일본공개특허 제2006-318400호Japanese Laid-Open Patent Publication No. 2006-318400 일본공개특허 제2002-209337호Japanese Patent Laid-Open No. 2002-209337

본 발명은 배전 계통 정보를 간략하게 저장하고, 저장된 배전 계통 정보에 따라 배전 계통을 용이하게 그릴 수 있는 CIM 계통도 처리 방법을 제안하는 것을 목적으로 한다. It is an object of the present invention to provide a CIM system processing method capable of storing power distribution system information briefly and easily drawing a distribution system according to the stored power distribution system information.

이와 동시에, 상기 방법에 의한다고 하여도 기존 CIM 계통도 처리 방법과 동등한 정확도를 가지며 빠른 연산이 가능하도록 하는 것을 목적으로 한다. At the same time, even if the above method is used, the object of the present invention is to make it possible to perform fast calculations with the same accuracy as the existing CIM system processing method.

상기 목적을 달성하기 위한 본 발명의 바람직한 일 실시예에 따른 CIM 계통도 처리 방법은 계통 설비 연결구조 생성기가 CIM으로 구성된 배전계통 정보에서 Terminal이 1개만 연결되고 해당 Terminal이 ConnectivityNode를 가지며, 반대편 Terminal이 존재하는 임의의 설비를 계통 탐색의 시작점(A)으로 선택하는 단계; 계통 설비 연결구조 생성기가 시작점부터 모든 끝점까지의 모든 경로의 mRID 집합을 구성하는 단계; 계통 설비 연결 구조 생성기가 시작점 A로부터 배전계통의 모든 끝점까지의 모든 경로의 mRID집합을 HashMap으로 구성하는 단계; 계통 설비 연결구조 생성기가 모든 HashMap을 Hash 경로 저장소에 저장하는 단계; 및 T/CN mRID 삭제기가 Hash 경로 저장소에 저장된 모든 mRID의 Value를 탐색하여, Value가 “Terminal” 혹은 “ConnectivityNode”인 Key를 모두 삭제하는 단계를 포함한다. In order to achieve the above object, according to a preferred embodiment of the present invention, there is provided a method of processing a CIM system, wherein a system facility connection structure generator comprises only one terminal in a distribution system information composed of CIMs, a corresponding terminal having a connectivity node, (A) as a route search; Constructing a mRID set of all paths from the start point to all end points of the grid connection structure generator; Constructing a set of mRIDs of all paths from the starting point A to all end points of the distribution system to a HashMap; The grid facility connection structure generator storing all HashMaps in a hash path store; And the step of the T / CN mRID deleter searching all the mRIDs stored in the hash path store and deleting all the keys whose Value is "Terminal" or "ConnectivityNode".

여기서, ID 축약기가 “Hash 경로 저장소”에서 모든 Key들을 읽어오는 단계; ID 축약기가 읽어온 key의 Value에 따라서 설비타입 ID범위 저장소의 규칙에 따라서 작은 숫자부터 순차적으로 축약 ID를 Key에 부여하는 단계; 및 ID 축약기가, Hash 경로 저장소의 Key를 축약 ID로 대체하는 단계를 더 포함할 수 있다. Here, the ID contractor reads all the keys in the " Hash path store " Assigning an abbreviated ID to a key sequentially from a small number according to a rule of a facility type ID range storage according to a value of a key read by an ID abbreviation; And the step of replacing the key of the hash path storage with the abbreviated ID.

그리고, 드로윙 수단이 N 경로 해쉬를 취득하고 N 경로 해쉬 그리기를 시작하는 단계; 드로윙 수단이 N경로 M순차 축약 ID의 Figure가 축약 ID 저장소에 존재하는지 여부를 판단하는 단계; N경로 M순차 축약 ID의 Figure가 축약 ID 저장소에 존재하지 않는 것으로 판단되면, 드로윙 수단이 N경로 M순차 축약 ID Figure를 ID 저장소에 저장하는 단계; 및 드로윙 수단이 N경로 M순차 축약 ID를 그리는 단계를 더 포함할 수 있다. Then, the drawing means acquires an N-path hash and starts drawing an N-path hash; Determining whether the drawing means has a figure of N path M sequential abbreviated ID in the abbreviated ID repository; Storing the N path M sequential abbreviated ID figure in the ID repository if the figure of the N path M sequential abbreviated ID is determined not to exist in the abbreviated ID repository; And drawing the N path M successive reduction IDs by the drawing means.

본 발명은 “Terminal” 혹은 “ConnectivityNode”가 삭제되고, mRID가 축약 ID로 대체된 상태에서 배전 계통 정보가 저장되는 것에 의해 배전 계통 정보가 간략하게 저장되고 저장된 배전 계통 정보에 따라 배전 계통을 용이하게 그릴 수 있다. The present invention stores distribution system information in a state where "Terminal" or "ConnectivityNode" is deleted and mRID is replaced with an abbreviation ID, so that distribution system information is briefly stored and facilitates the distribution system according to the stored distribution system information You can draw.

축약 ID에 의해 빠른 연산이 가능하며 빠른 연산 속도와 더불어, 기존 CIM 계통도 처리 방법과 동등한 정확도로 배전 계통도가 저장 및 그려질 수 있다. It is possible to perform fast operation by shortened ID, and it is possible to store and draw the distribution system diagram with the same accuracy as the existing CIM system processing method with high operation speed.

도 1은 종래의 CIM 계통도를 설명하기 위한 도면이다.
도 2는 본 발명의 바람직한 일 실시예에 따른 CIM 설비 연결 경로의 간소화 절차에서 HashMap 생성 과정을 설명하기 위한 도면이다.
도 3은 본 발명의 바람직한 일 실시예에 따른 CIM 설비 연결 경로의 간소화 과정에서 mRID 축약화를 설명하기 위한 도면이다.
도 4는 본 발명의 바람직한 일 실시예에 따른 CIM 기반 배전 계통도를 그리는 방법에 대한 플로우차트를 나타낸다.
도 5는 도 4의 방법이 적용된 CIM 기반 배전 계통도 그리기의 예시를 나타낸다.
1 is a view for explaining a conventional CIM scheme.
FIG. 2 is a diagram for explaining a procedure of generating a HashMap in a procedure of simplifying a CIM facility connection path according to a preferred embodiment of the present invention.
FIG. 3 is a view for explaining the mRID reduction in the process of simplifying the connection path of the CIM equipment according to a preferred embodiment of the present invention.
Figure 4 shows a flowchart of a method for drawing a CIM-based distribution scheme in accordance with a preferred embodiment of the present invention.
Figure 5 illustrates an example of a CIM-based power distribution scheme with the method of Figure 4 applied.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It is to be understood, however, that the invention is not to be limited to the specific embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였다. 본 발명을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.Like reference numerals are used for like elements in describing each drawing. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 일 실시예에 따른 CIM 계통도 처리 방법에 대하여 설명한다. Hereinafter, a method of processing a CIM system according to a preferred embodiment of the present invention will be described with reference to the accompanying drawings.

○ CIM 설비 연결 경로의 간소화 방법 ○ Simplified CIM facility connection path

도 2는 본 발명의 바람직한 일 실시예에 따른 CIM 설비 연결 경로의 간소화 절차에서 HashMap 생성 과정을 설명하기 위한 도면이다. 도 2를 참조하면 HashMap 생성 과정은 아래와 같은 순으로 진행될 수 있다. FIG. 2 is a diagram for explaining a procedure of generating a HashMap in a procedure of simplifying a CIM facility connection path according to a preferred embodiment of the present invention. Referring to FIG. 2, the HashMap generation process may be performed in the following order.

단계 1: 계통 설비 연결구조 생성기가 CIM으로 구성된 배전계통 정보에서 Terminal이 1개만 연결되고 해당 Terminal이 ConnectivityNode를 가지며, 반대편 Terminal이 존재하는 임의의 설비를 계통 탐색의 시작점(A)으로 선택한다.Step 1: System facility connection structure In the distribution system information in which the generator is composed of CIM, select one of the terminals to which only one terminal is connected, the corresponding terminal has the ConnectivityNode, and the opposite terminal exists as the starting point (A) for grid search.

단계 2: 계통 설비 연결구조 생성기가 시작점부터 모든 끝점까지의 모든 경로의 mRID 집합을 구성한다. 이때, Hash<mRID, 설비타입>으로 1개의 경로를 1개 경로 mRID 저장소에 저장한다(예: key=”xxxxx=mRID”, value=”설비타입명”). 이때, 계통 설비 연결 구조 생성기는 1개의 경로 탐색시, 각 객체에 대한 mRID 모두를 1개 경로 mRID 저장소에 기록하며 기록시 중복되는 mRID가 탐색되면 경로 탐색을 멈추고 새로운 경로 탐색을 한다. 계통 설비 연결구조 생성기는 새로운 경로 탐색 시작 시 1개 경로 mRID 저장소에 기록된 mRID를 모두 삭제하고 초기화한다. Step 2: The grid facility connection structure generator constructs an mRID set of all paths from the starting point to all end points. At this time, one path is stored in the path mRID repository (eg key = "xxxxx = mRID", value = "facility type name") as Hash <mRID, facility type>. In this case, the system facility connection structure generator records all the mRIDs for each object in one path mRID storage when one path is searched, stops the path search and searches for a new path when duplicate mRIDs are found in the recording. The system facility connection structure generator deletes and initializes all the mRIDs recorded in the one-path mRID storage at the start of the new path search.

단계 3: 계통 설비 연결 구조 생성기는 시작점 A로부터 배전계통의 모든 끝점까지의 모든 경로의 mRID집합을 HashMap으로 구성하며, HashMap은 <key=mRID,Value=“설비타입”>으로 구성한다.Step 3: Grid Connectivity Structure The generator constructs a set of mRIDs of all paths from start point A to all end points of the distribution grid with a HashMap, and the HashMap consists of <key = mRID, Value = "facility type">.

단계 4: N개의 경로가 탐색시 N개의 HashMap이 생성되며, 계통 설비 연결구조 생성기는 모든 HashMap을 Hash 경로 저장소에 저장한다.Step 4: When N paths are searched, N HashMaps are created, and the grid connection structure generator stores all HashMaps in the Hash path storage.

단계 5: T/CN mRID 삭제기는 Hash 경로 저장소에 저장된 모든 mRID의 Value를 탐색하여, Value가 “Terminal” 또는 “ConnectivityNode”인 Key를 모두 삭제한다. Step 5: The T / CN mRID Deleter searches the Value of all mRIDs stored in the Hash Path Store and deletes all Keys whose Value is "Terminal" or "ConnectivityNode".

도 3은 본 발명의 바람직한 일 실시예에 따른 CIM 설비 연결 경로의 간소화 과정에서 mRID 축약화를 설명하기 위한 도면이다. 도 3을 참조하면, 도 2를 통해 생성된 HashMap은 다음과 같은 과정을 통해 mRID가 축약화될 수 있다. FIG. 3 is a view for explaining the mRID reduction in the process of simplifying the connection path of the CIM equipment according to a preferred embodiment of the present invention. Referring to FIG. 3, the HashMap generated through FIG. 2 can be abbreviated as mRID through the following process.

단계 1: ID 축약기가 “Hash 경로 저장소”에서 모든 Key들을 읽어온다. Step 1: The ID Abbreviation reads all the keys in the "Hash Path Store".

단계 2: ID 축약기가 읽어온 key의 Value에 따라서 “설비타입 ID범위 저장소”의 규칙에 따라서 작은 숫자부터 순차적으로 “축약 ID”를 Key에 부여한다. 설비타입 ID범위 저장소는 배전계통에서 사용되는 설비의 타입별 Integer형 ID범위를 저장한다. 각 설비의 ID 범위는 계통의 크기/설비의 종류에 따라 확장/변경 가능하다. 예를 들어, 차단기의 ID 범위는 100000 ~ 199999일 수 있다. 이때, ID 축약기가 부여된 “축약 ID”와 “mRID”, “설비타입”을 “mRID 축약 ID 저장소”에 별도 저장한다.Step 2: Depending on the value of the key read by the ID contractor, the "Key ID" is sequentially assigned to the key starting with a small number according to the rule of "facility type ID range repository". The facility type ID range store stores the integer type ID range for each facility type used in the distribution system. The ID range of each facility can be extended / changed according to the size of the system / type of facility. For example, the ID range of the breaker may be 100000 to 199999. At this time, the "short ID", "mRID", and "facility type" to which the ID shortener is given are separately stored in the "mRID shortened ID repository".

단계 3: ID 축약기가, Hash 경로 저장소의 Key를 축약 ID로 대체한다. 즉, Hash<key=mRID,Value=“설비타입”>은 Hash<key=축약mRID,Value=“설비타입”>으로 대체된다. Step 3: The ID Abbreviation replaces the Key in the Hash Path Store with the Abbreviated ID. That is, Hash <key = mRID, Value = "Equipment Type"> is replaced by Hash <key = abbreviated mRID, Value = "Equipment Type">.

이하, Hash<key=축약mRID,Value=“설비타입”>으로 구성된 HashMap을 사용해 CIM 기반 배전 계통도를 그리는 방법에 대하여 설명한다. Hereinafter, a method of drawing a CIM-based distribution system diagram using a HashMap composed of Hash <key = abbreviated mRID, Value = "equipment type"> will be described.

○ CIM 기반 배전 계통도 그리는 방법○ How to draw CIM-based distribution system

도 4는 본 발명의 바람직한 일 실시예에 따른 CIM 기반 배전 계통도를 그리는 방법에 대한 플로우차트를 나타낸다. Figure 4 shows a flowchart of a method for drawing a CIM-based distribution scheme in accordance with a preferred embodiment of the present invention.

아래의 프로세스는 프로세서 상에서 동작하는 어플리케이션에 의해 수행될 수 있으며 이하, 이를 “드로윙 수단(미도시)”으로 지칭한다. The following process may be performed by an application running on the processor, hereinafter referred to as &quot; drawing means (not shown). &Quot;

드로윙 수단에 의해 Hash 경로 그리기가 시작된다. 드로윙 수단은 Hash 경로를 그리면서 그리는 경로가 변경될 때마다, Hash 경로 저장소에 저장된 경로 개수와 현재 그리고자 하는 Hash 경로 넘버(N)가 큰지 판단한다. 이때, 드로윙 수단은 현재 그리고자 하는 경로 넘버가 Hash 경로 저장소에 저장된 경로 개수보다 크다고 판단되면, Hash 경로 그리기를 종료한다. 이와 달리, 현재 그리고자 하는 경로 넘버가 Hash 경로 저장소에 저장된 경로 개수 보다 크지 않는 것으로 판단되면, 드로윙 수단에 의해, 현재 그리고자 하는 해쉬 경로(이하, “N 경로 해쉬”라 칭함)가 Hash 경로 저장소로부터 취득된다. 이때 취득되는 Hash 경로는 Hash<key=축약mRID,Value=“설비타입”>의 형식을 가진다. Drawing of the hash path is started by the drawing means. The drawing tool draws a hash path and judges whether the number of paths stored in the hash path storage and the current and the hash path number (N) are larger each time the drawing path is changed. At this time, if it is determined that the current path number is greater than the number of paths stored in the Hash path storage, the drawing means finishes drawing the Hash path. Alternatively, if it is determined that the current and desired path number is not larger than the number of paths stored in the Hash path storage, the drawing means causes the current and intended hash path (hereinafter referred to as &quot; N path hash &quot; . The obtained hash path has the form of Hash <key = abbreviated mRID, Value = "facility type">.

N 경로 해쉬가 취득되면, 드로윙 수단은 N 경로 해쉬를 그리기 시작한다. 이때, 드로윙 수단은 N경로 M순차(현재 그리고자 하는 객체의 N 경로 해쉬 상에서의 순번) 축약 ID의 Figure가 축약 ID 저장소에 존재하는지 여부를 판단한다. 이때, N경로 M순차 축약 ID의 Figure가 축약 ID 저장소에 존재하지 않는 것으로 판단되면, 드로윙 수단은 N경로 M순차 축약 ID Figure를 ID 저장소에 저장한다. 그리고, 드로윙 수단은 N경로 M순차 축약 ID를 그린다. 그리고, 드로윙 수단은 N경로 M순차 축약ID가 N경로 해쉬의 끝 축약 ID에 해당하는지 여부를 판단한다. 이때, N경로 M순차 축약ID가 N경로 해쉬의 끝 축약 ID에 해당하는 것으로 판단되면 드로윙 수단은 현재 그리고자 하는 경로 N에 1을 가산한 후 해당 경로에 대한 그리기 단계에 진입한다. 이때, 드로윙 수단은 앞서 본 Hash 경로 저장소에 저장된 경로 개수와 현재 그리고자 하는 경로 넘버(N)가 큰지 판단하는 단계로 복귀한다. N경로 M순차 축약ID가 N경로 해쉬의 끝 축약 ID에 해당하지 않는 것으로 판단되면, 드로윙 수단은 현재 그리고자 하는 객체 넘버 M에 1을 가산한 후 해당 객체에 대한 그리기 단계에 진입한다. 이때, 드로윙 수단은 앞서 본 N경로 M순차(현재 그리고자 하는 객체의 N 경로 해쉬 상에서의 순번) 축약 ID의 Figure가 축약 ID 저장소에 존재하는지 여부를 판단하는 단계로 복귀한다. When the N path hash is acquired, the drawing means starts drawing the N path hash. At this time, the drawing means judges whether or not the figure of the N-path M sequence (the sequence number on the N-path hash of the current object and the object to be searched) exists in the abbreviated ID storage. At this time, if it is judged that the figure of the N-path M sequential abbreviated ID does not exist in the abbreviated ID storage, the drawing means stores the N-path M sequential abbreviated ID figure in the ID repository. Then, the drawing means draws an N path M successively reduced ID. Then, the drawing tool determines whether the N-path M successive reduction ID corresponds to the end abbreviation ID of the N-path hash. At this time, if it is determined that the N path M successively reduced ID corresponds to the end abbreviation ID of the N path hash, the drawing unit adds 1 to the current path N and enters the drawing step for the path. At this time, the drawing tool returns to the step of determining whether the number of paths stored in the hash path storage and the current path number N are larger. If it is determined that the N path M sequential abbreviated ID does not correspond to the end abbreviated ID of the N path hash, the drawing unit adds 1 to the current object number M and enters the drawing step for that object. At this time, the drawing tool returns to the step of judging whether or not the figure of the N route M sequence (the order on the N route hash of the current and object) collapse ID exists in the collapse ID storage.

위와 달리, N경로 M순차(현재 그리고자 하는 객체의 N 경로 해쉬 상에서의 순번) 축약 ID의 Figure가 축약 ID 저장소에 존재하는지 여부를 판단한 결과, N경로 M순차(현재 그리고자 하는 객체의 N 경로 해쉬 상에서의 순번) 축약 ID의 Figure가 축약 ID 저장소에 존재하는 것으로 판단되면, 드로윙 수단은 앞서 본 N경로 M순차 축약ID가 N경로 해쉬의 끝 축약 ID에 해당하는지 여부를 판단하는 단계로 진입한다. 그 후의 절차는 앞서 본 바와 같다. As a result of judging whether or not the figure of the abbreviated ID exists in the abbreviated ID storage, the N path M sequential (the N path of the current object and the object to be searched) If the figure of the abbreviated ID is judged to exist in the abbreviated ID storage, the drawing means proceeds to the step of judging whether or not the N-path M successive abbreviated ID previously mentioned corresponds to the end abbreviated ID of the N-path hash . The procedure thereafter is as described above.

도 5는 도 4의 방법이 적용된 CIM 기반 배전 계통도 그리기의 예시를 나타낸다. 도 5에서 HashMap은 도 2에서 취득된 것이다. 즉, 도 5에서 그려지기 위한 MashMap은 총 2개의 Hash 경로를 가지며 각각의 경로 상에서의 객체는 Terminal/ Connectivity 객체가 삭제된 객체로 구성된다. 도 5의 절차는 앞서 본 드로윙 수단에 의해 수행된다. Figure 5 illustrates an example of a CIM-based power distribution scheme with the method of Figure 4 applied. The HashMap in FIG. 5 is acquired in FIG. In other words, the MashMap for drawing in FIG. 5 has a total of two Hash paths, and the object on each path is composed of objects in which the Terminal / Connectivity object is deleted. The procedure of FIG. 5 is performed by the drawing means previously described.

먼저, 드로윙 수단이 Hash 1에 대하여 그리기 시작한다. Hash 1은 총 5개의 객채로 이루어진다. 드로윙 수단은 첫번째 객체인 ACLinesegment-1에서부터 그리기 시작하며, Figure 축약ID 저장소를 통해 중복체크를 하며 Hash1에서 끝 객체인 ACLinesegment-2까지 그리는 것으로 Hash 1에 대한 그리기를 종료된다. 이때, 앞서 본 현재 그리고자 하는 Hash 경로 넘버가 +1 되고, 드로윙 수단은 Hash 2 경로 취득 후 Hash 2를 그리기 시작한다. 이때, ACLinesegment-1, Breaker-1, Busbarsection-1은 Hash 1과 중복된다. 따라서, 드로윙 수단의 축약ID 저장소를 통한 중복 체크 결과, Hash 2 경로는 ACLinesegment-1, Breaker-1, Busbarsection-1을 제외하고, Breaker-3부터 그려진다. ACLinesegment-3까지 그려지면 Hash2에 대한 그리기 작업은 종료된다. First, the drawing tool starts to draw on Hash 1. Hash 1 is made up of a total of five customers. The drawing tool starts to draw from the first object, ACLinesegment-1, and checks for redundancy through the figure abbreviated ID repository. Drawing from Hash1 to the ending object ACLinesegment-2 ends the drawing for Hash 1. At this time, the current and next hash path number is incremented by +1, and the drawing means starts drawing Hash 2 after acquiring the Hash 2 path. At this time, ACLinesegment-1, Breaker-1, and Busbarsection-1 are overlapped with Hash 1. Therefore, as a result of redundancy checking through the abbreviated ID storage of the drawing means, the Hash 2 path is drawn from Breaker-3 except for ACLinesegment-1, Breaker-1, and Busbarsection-1. Drawing up to ACLinesegment-3, the drawing operation for Hash2 is terminated.

그리고, 현재 그리고자 하는 Hash 경로 넘버는 2에서 +1되어 3이 되고, Hash 경로 저장소에 저장된 경로 개수(2) 보다 현재 그리고자 하는 Hash 경로 넘버(N=3)가 크므로 드로윙 수단의 그리기 작업은 종료된다. Since the number of hash paths (N = 3) is larger than the number of paths (2) stored in the hash path storage, the drawing operation of the drawing means Lt; / RTI &gt;

Terminal과 ConnectivityNode들로 연결 관계를 구성하는 종래 구조는 “설비-설비” 정보로 이루어진 관계와 비교해서 4배의 탐색 횟수가 증가한다. 그리고, CIM 기반 정보로 배전 계통도의 그리기시 설비만의 연결관계를 판단하여 계통도를 그려야하나 논리적인 가상모델인 Terminal과 ConnectivityNode들간의 관계를 판단하면서 계통도를 그려야하는 문제가 발생하고 이에 의해 속도 저하가 발생한다. The conventional structure of establishing the connection relationship with the Terminal and the ConnectivityNodes increases the number of searches four times as compared with the relation made with the "facility-facility" information. In addition, it is necessary to draw the system diagram by determining the connection relation of only the equipment when drawing the distribution system diagram based on the CIM-based information, but there is a problem of drawing the system diagram while determining the relation between the logical virtual model Terminal and the ConnectivityNode, Occurs.

본 발명은 CIM기반 배전계통도의 자동화된 그리기를 수행하기 위해서 특정 시작점(A)로부터 시작되는 모든 경로(N개)를 탐색하여, 경로 저장소에 저장한다. 그리고, 본 발명은 속도저하를 해결하기 위해서 CIM 기반 정보로 계통도의 그리기시 Teminal과 ConnectivityNode의 연결 관계를 제외한 “설비-설비” 의 M개의 연결 구조로 변경한다. 본 발명은 “설비-설비”관계로 계산된 모든 경로의 mRID 값을 설비타입을 구분할 수 있는 Interger 형태의 축약 ID로 변경하고, mRID와 축약ID의 관계 정보를 별도 관리한다. 그리고, 본 발명은 경로의 그리기를 수행하면서, 이미 그려진 M 번째 설비 축약 ID는 경로저장소에 저장된 해당 경로(N경로)에서 삭제한다. The present invention searches for all paths (N) starting from a specific starting point A and stores them in the path storage in order to perform an automated drawing of the CIM-based power distribution system. In order to solve the problem of speed reduction, the present invention changes M connection structures of &quot; facility-equipment &quot; except for the connection relationship between Teminal and ConnectivityNode when drawing a schematic with CIM-based information. The present invention changes the mRID value of all routes calculated in relation to the "facility-facility" to an abbreviated ID of an interger type capable of distinguishing the facility type, and separately manages the relationship information between the mRID and the abbreviated ID. The present invention deletes the already drawn M-th equipment abbreviated ID from the corresponding route (N route) stored in the route repository while drawing the route.

종래에는 128bit mRID처리시 16 Bytes 필요하였으나, 본 발명은 Integer 축약 ID사용을 통해 4Byte 만이 필요하다. CIM의 객체 모델이 100000개일 경우 mRID사용시 1600000 Byte, 1.6MB필요하나, 축약 ID 사용시 0.4M필요하다. mRID를 사용할 경우 설비 타입 검색시 CIM 저장소를 확인 후 설비 타입 탐색이 필요하며, CIM 정보는 온톨로지이기 때문에 온톨로지 저장소에서 전체 CIM의 mRID를 대상으로 설비타입의 조회를 수행하여야한다. 이와 달리, 본 발명은 Integer를 사용한 첫자리의 숫자로 설비 타입을 구분할 경우 즉시 설비타입 결정 가능하다. 본 발명은 기 복잡한 Terminal, Connectivity Node 의 탐색 불필요하다. 본 발명은 계통의 변경시, 변경된 설비의 Hash경로 이후 단만을 탐색, 재구성하여, 전체를 다시 그리는 것이 아닌, 변경된 부분 이후단의 계통도 다시 그리기 가능하다. Conventionally, 16 bytes are required for 128 bit mRID processing, but only 4 bytes are required for the present invention by using an integer short ID. When the object model of CIM is 100000, mRID requires 1600000 Bytes and 1.6MB, but when using shortened ID, 0.4M is required. When mRID is used, the facility type search is required after checking the CIM repository when searching for the facility type. Since the CIM information is an ontology, the facility type inquiry should be performed on the mRID of the entire CIM in the ontology repository. On the contrary, the present invention can immediately determine the type of facility when the facility type is classified by the first digit using an integer. The present invention eliminates the need for searching for complicated terminals and connectivity nodes. The present invention is capable of redrawing the system after the modified part rather than redrawing the whole by searching and reconstructing only the end after the hash path of the changed equipment when the system is changed.

Claims (3)

계통 설비 연결구조 생성기가 CIM으로 구성된 배전계통 정보에서 Terminal이 1개만 연결되고 해당 Terminal이 ConnectivityNode를 가지며, 반대편 Terminal이 존재하는 임의의 설비를 계통 탐색의 시작점(A)으로 선택하는 단계;
계통 설비 연결구조 생성기가 시작점부터 모든 끝점까지의 모든 경로의 mRID 집합을 구성하는 단계;
계통 설비 연결 구조 생성기가 시작점 A로부터 배전계통의 모든 끝점까지의 모든 경로의 mRID집합을 HashMap으로 구성하는 단계;
계통 설비 연결구조 생성기가 모든 HashMap을 Hash 경로 저장소에 저장하는 단계; 및
T/CN mRID 삭제기가 Hash 경로 저장소에 저장된 모든 mRID의 Value를 탐색하여, Value가 “Terminal” 또는 “ConnectivityNode”인 Key를 모두 삭제하는 단계를 포함하는 것을 특징으로 하는 CIM 계통도 처리 방법.
The system facility connection structure generator selecting any facility in which the terminal is connected to only one terminal in the distribution system information configured by the CIM, the terminal has the ConnectivityNode, and the opposite terminal exists as the starting point (A) of the grid search;
Constructing a mRID set of all paths from the start point to all end points of the grid connection structure generator;
Constructing a set of mRIDs of all paths from the starting point A to all end points of the distribution system to a HashMap;
The grid facility connection structure generator storing all HashMaps in a hash path store; And
And the T / CN mRID deleting unit searches all the mRIDs stored in the hash path storage and deletes all the keys whose Value is "Terminal" or "ConnectivityNode".
제 1 항에 있어서,
ID 축약기가 “Hash 경로 저장소”에서 모든 Key들을 읽어오는 단계;
ID 축약기가 읽어온 key의 Value에 따라서 설비타입 ID범위 저장소의 규칙에 따라서 작은 숫자부터 순차적으로 축약 ID를 Key에 부여하는 단계; 및
ID 축약기가, Hash 경로 저장소의 Key를 축약 ID로 대체하는 단계를 더 포함하는 것을 특징으로 하는 CIM 계통도 처리 방법.
The method according to claim 1,
Reading all the keys in the "Hash path store";
Assigning an abbreviated ID to a key sequentially from a small number according to a rule of a facility type ID range storage according to a value of a key read by an ID abbreviation; And
Further comprising the step of replacing the key of the hash path store with the abbreviated ID.
제 2 항에 있어서,
드로윙 수단이 N 경로 해쉬를 취득하고 N 경로 해쉬 그리기를 시작하는 단계;
드로윙 수단이 N경로 M순차 축약 ID의 Figure가 축약 ID 저장소에 존재하는지 여부를 판단하는 단계;
N경로 M순차 축약 ID의 Figure가 축약 ID 저장소에 존재하지 않는 것으로 판단되면, 드로윙 수단이 N경로 M순차 축약 ID Figure를 ID 저장소에 저장하는 단계; 및
드로윙 수단이 N경로 M순차 축약 ID를 그리는 단계를 더 포함하는 것을 특징으로 하는 CIM 계통도 처리 방법.
3. The method of claim 2,
The drawing tool acquires an N-path hash and starts drawing an N-path hash;
Determining whether the drawing means has a figure of N path M sequential abbreviated ID in the abbreviated ID repository;
Storing the N path M sequential abbreviated ID figure in the ID repository if the figure of the N path M sequential abbreviated ID is determined not to exist in the abbreviated ID repository; And
Further comprising drawing the N path M progressive reduction ID by the drawing means.
KR1020180106986A 2018-09-07 2018-09-07 Method for processing of cim network diagram KR101927689B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180106986A KR101927689B1 (en) 2018-09-07 2018-09-07 Method for processing of cim network diagram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180106986A KR101927689B1 (en) 2018-09-07 2018-09-07 Method for processing of cim network diagram

Publications (1)

Publication Number Publication Date
KR101927689B1 true KR101927689B1 (en) 2018-12-11

Family

ID=64671898

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180106986A KR101927689B1 (en) 2018-09-07 2018-09-07 Method for processing of cim network diagram

Country Status (1)

Country Link
KR (1) KR101927689B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112446113A (en) * 2020-11-12 2021-03-05 山东鲁能软件技术有限公司 Method and system for automatically generating optimal path of power system looped network diagram

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101864982B1 (en) 2017-01-16 2018-07-04 한국전력공사 Apparatus and method for constructing common database for distribution management system and microgrid energy management system
JP2018137957A (en) 2017-02-23 2018-08-30 株式会社東芝 Power system diagram creation device and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101864982B1 (en) 2017-01-16 2018-07-04 한국전력공사 Apparatus and method for constructing common database for distribution management system and microgrid energy management system
JP2018137957A (en) 2017-02-23 2018-08-30 株式会社東芝 Power system diagram creation device and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112446113A (en) * 2020-11-12 2021-03-05 山东鲁能软件技术有限公司 Method and system for automatically generating optimal path of power system looped network diagram

Similar Documents

Publication Publication Date Title
US6915340B2 (en) System and method for deriving future network configuration data from the current and previous network configuration data
CN102346747B (en) Method for searching parameters in data model
CN108829880B (en) Method for configuration management of optical network terminal equipment
CN101772043B (en) Office data checking method and device
CN112311571B (en) Network topology generation method and device, electronic equipment and non-transitory storage medium
CN111382341B (en) Scientific and technological information resource retrieval and query system and method based on big data
CN106547646B (en) Data backup and recovery method and data backup and recovery device
CN112035556A (en) Data center cabinet management method and device and electronic equipment
CN111245662B (en) Method and device for displaying network topology
JP2005025362A (en) Device, method and program for controlling data synchronization
KR101927689B1 (en) Method for processing of cim network diagram
US11768759B2 (en) Method and system for automated testing of web service APIs
CN113157904A (en) Sensitive word filtering method and system based on DFA algorithm
US6839749B1 (en) Network representation and manipulation thereof
KR101761177B1 (en) Method for mining important pattern of high rank k, apparatus performing the same and storage medium storing the same
CN106844553A (en) Data snooping and extending method and device based on sample data
CN111737529B (en) Multi-source heterogeneous data acquisition method
CN107888415B (en) Network management system data maintenance method
KR20220099745A (en) A spatial decomposition-based tree indexing and query processing methods and apparatus for geospatial blockchain data retrieval
CN112367210B (en) Method for rapidly checking configuration change
CN114666231B (en) Visual operation and maintenance management method and system under multi-cloud environment and storage medium
CN112765418B (en) Alias merging and storing method, system, terminal and medium based on graph structure
CN114154019B (en) Line-broadening analysis method and device, electronic equipment and storage medium
CN115277437B (en) Network topology construction method, device, computer equipment and storage medium
CN113542127B (en) Single VXLAN topology searching method and device for non-role VTEP node

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant