Movatterモバイル変換


[0]ホーム

URL:


CN106951694B - Adaptive modeling method for online monitoring system of secondary equipment of power system - Google Patents

Adaptive modeling method for online monitoring system of secondary equipment of power system
Download PDF

Info

Publication number
CN106951694B
CN106951694BCN201710129900.XACN201710129900ACN106951694BCN 106951694 BCN106951694 BCN 106951694BCN 201710129900 ACN201710129900 ACN 201710129900ACN 106951694 BCN106951694 BCN 106951694B
Authority
CN
China
Prior art keywords
model
secondary equipment
cim
file
online monitoring
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201710129900.XA
Other languages
Chinese (zh)
Other versions
CN106951694A (en
Inventor
高旭
杨震安
武同心
陈红雨
杜延菱
赵纪元
王德林
谢晓冬
刘蔚
王影
詹庆才
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sifang Automation Co Ltd
State Grid Jibei Electric Power Co Ltd
State Grid Corp of China SGCC
Original Assignee
Beijing Sifang Automation Co Ltd
State Grid Jibei Electric Power Co Ltd
State Grid Corp of China SGCC
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 Beijing Sifang Automation Co Ltd, State Grid Jibei Electric Power Co Ltd, State Grid Corp of China SGCCfiledCriticalBeijing Sifang Automation Co Ltd
Priority to CN201710129900.XApriorityCriticalpatent/CN106951694B/en
Publication of CN106951694ApublicationCriticalpatent/CN106951694A/en
Application grantedgrantedCritical
Publication of CN106951694BpublicationCriticalpatent/CN106951694B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

一种基于CIM/E文件的二次设备在线监测系统自适应建模方法。该系统包括CIM/E模型子系统、通信子系统、实时库、历史存储子系统等。CIM/E模型子系统实现在线监测文件的模型解析和转换;通信子系统实现请求/响应等主子站通信功能;实时库负责运行数据刷新和模型管理;历史存储子系统完成模型的历史存储和查询。本发明采用CIM/E描述二次设备在线监测系统全网模型的数据交换手段,使用电力系统通用实时通信服务协议提供模型的网络传输,基于模型比较规则算法,对系统进行自适应建模。本发明通过电力系统专用的CIM/E格式,使用了模板实现了二次设备在线监测系统的自适应建模方法,增强了系统的效率和易用性。

Figure 201710129900

An adaptive modeling method for on-line monitoring system of secondary equipment based on CIM/E file. The system includes CIM/E model subsystem, communication subsystem, real-time library, historical storage subsystem and so on. The CIM/E model subsystem realizes model analysis and conversion of online monitoring files; the communication subsystem realizes the communication functions of master and substations such as request/response; the real-time library is responsible for running data refresh and model management; the historical storage subsystem completes the historical storage and query of the model . The invention adopts CIM/E to describe the data exchange means of the whole network model of the secondary equipment online monitoring system, uses the general real-time communication service protocol of the power system to provide the network transmission of the model, and performs adaptive modeling for the system based on the model comparison rule algorithm. The invention realizes the self-adaptive modeling method of the on-line monitoring system of the secondary equipment through the special CIM/E format of the power system and the template, and enhances the efficiency and usability of the system.

Figure 201710129900

Description

Translated fromChinese
一种电力系统二次设备在线监测系统自适应建模方法An adaptive modeling method for on-line monitoring system of secondary equipment in power system

技术领域technical field

本发明涉及电力系统模型的建模方法,尤其涉及一种电力系统CIM/E文件的二次设备在线监测系统自适应建模方法。The invention relates to a modeling method of a power system model, in particular to a self-adaptive modeling method for an on-line monitoring system of a secondary equipment of a power system CIM/E file.

背景技术Background technique

二次设备在线监测主站(简称主站)部署于调度端,对二次设备在线监测子站(简称子站)实时采集二次设备运行数据,使用图形化界面直观显示各二次设备状态监测的通信情况,对二次设备运行数据进行分析处理,实现二次设备信息的在线监测功能。The secondary equipment online monitoring main station (referred to as the main station) is deployed on the dispatching end, collects the secondary equipment operation data in real time from the secondary equipment online monitoring substations (referred to as the substations), and uses the graphical interface to visually display the status monitoring of each secondary equipment The communication situation of the secondary equipment is analyzed and processed to realize the online monitoring function of the secondary equipment information.

子站部署于常规站和智能站,两种类型与主站进行的模型交换方式存在差异。子站在常规站中一般通过子站对设备点表对一二次设备进行建模,形式为IEC 60870-5-103规约所定义的组标题、条目信息等,内容是遥测、遥信、事件、告警、定值信息等二次设备模型;子站在智能站中一般采用变电站配置描述文件(SCD)对一二次设备进行建模,内容包括完整的一二次设备结构、装置(IED)模型信息等。根据不同的子站类型,主站通过调度数据网,分别使用IEC60870-5-103和IEC61850规约和子站进行通信,对子站模型进行召唤并入库,形成主站的自有模型。Substations are deployed in conventional stations and intelligent stations, and there are differences in the way of model exchange with the main station between the two types. In the conventional station, the substation generally models the primary and secondary equipment through the device point table of the substation, in the form of group title, entry information, etc. , alarm, fixed value information and other secondary equipment models; substations generally use substation configuration description files (SCD) to model primary and secondary equipment in intelligent stations, including complete primary and secondary equipment structures and devices (IED) model information, etc. According to different substation types, the master station uses IEC60870-5-103 and IEC61850 protocols to communicate with the substations through the dispatching data network respectively, and calls the substation model and stores it in the library to form the master station's own model.

主站必须根据子站类型的差异使用不同的通信接口,子站模型的创建过程方法无法一致,并且通信交互过程较多,需要在主站端分别对模型进行模型转换,难以实现统一的模型管理(模型创建和更新等)。The master station must use different communication interfaces according to the difference of the slave station types. The creation process method of the slave station model cannot be consistent, and there are many communication and interaction processes. (model creation and update, etc.).

有鉴于此,本发明旨在提供一种易用、高效率的电力二次设备在线监测系统自适应建模方法。In view of this, the present invention aims to provide an easy-to-use and high-efficiency adaptive modeling method for an on-line monitoring system for power secondary equipment.

发明内容SUMMARY OF THE INVENTION

本发明所要解决的技术问题是将传统的IEC 60870-5-103或IEC61850的建模方式,改为通过CIM/E作为模型交换的手段,并实现自适应建模方法。无论是常规站还是智能站,都可以在子站进行CIM/E文件的维护工作,主子站使用CIM/E文件作为模型交换文件,主站通过召唤该文件,即可完成模型准备工作,解决了不同类型子站接入方式不一致的问题,统一了建模方法,遵循了二次设备模型源端维护的思路。其中,CIM/E是在IEC 61970-301电力系统公用数据模型的基础上,为解决CIM/XML方式进行描述时的效率问题而开发的一种新型高效的电力系统模型数据描述规范,具有简洁、高效和适用于描述和交换大型电网模型的特点。为此,本发明提出了一种电力系统CIM/E文件的二次设备在线监测系统自适应建模方法,具体采用以下技术方案:The technical problem to be solved by the present invention is to change the traditional IEC 60870-5-103 or IEC61850 modeling method into CIM/E as a means of model exchange, and realize the adaptive modeling method. Whether it is a conventional station or an intelligent station, the maintenance of CIM/E files can be performed on the sub-stations. The main sub-station uses the CIM/E file as the model exchange file. The master station can complete the model preparation work by calling the file. For the problem of inconsistent access methods for different types of substations, the modeling method is unified, and the idea of source-side maintenance of the secondary equipment model is followed. Among them, CIM/E is a new and efficient power system model data description specification developed on the basis of IEC 61970-301 public data model of power system to solve the problem of efficiency when describing in CIM/XML. Efficient and suitable for describing and exchanging features of large grid models. To this end, the present invention proposes an adaptive modeling method for an on-line monitoring system of secondary equipment of a power system CIM/E file, which specifically adopts the following technical solutions:

一种电力系统CIM/E文件的二次设备在线监测系统自适应建模方法,使用CIM/E作为模型交换方式,其特征在于,所述二次设备在线监测系统的自适应建模方法包括以下步骤:An adaptive modeling method for an on-line monitoring system of secondary equipment in a power system CIM/E file, using CIM/E as a model exchange method, characterized in that the adaptive modeling method for an on-line monitoring system for secondary equipment includes the following step:

步骤1:二次设备在线监测主站的通信子系统通过电力系统通用实时通信服务协议,使用请求/响应模式,向子站召唤(请求)变电站内全部二次设备的CIM/E文件,二次设备在线监测子站返回(响应)所请求的CIM/E文件;Step 1: The communication subsystem of the secondary equipment online monitoring master station uses the request/response mode to call (request) the CIM/E files of all secondary equipment in the substation to the substation through the general real-time communication service protocol of the power system. The equipment online monitoring sub-station returns (responses) the requested CIM/E file;

步骤2:二次设备在线监测主站的模型子系统解析二次设备CIM/E文件,验证文件的有效性通过后,使用有限状态机,通过预定义的模板,创建预处理模型;Step 2: The model subsystem of the secondary equipment online monitoring master station parses the secondary equipment CIM/E file, and after verifying the validity of the file, the finite state machine is used to create a preprocessing model through a predefined template;

步骤3:二次设备在线监测主站的模型子系统基于模型比较规则算法,对二次设备模型进行增量更新,将二次设备模型导入模型库,更新实时库,存入历史库。Step 3: The model subsystem of the secondary equipment online monitoring master station incrementally updates the secondary equipment model based on the model comparison rule algorithm, imports the secondary equipment model into the model library, updates the real-time library, and stores it in the historical library.

本发明进一步包括以下优选方案:The present invention further includes the following preferred solutions:

在步骤1中,进一步包括以下内容:In step 1, further include the following:

1-1:二次设备在线监测主站召唤二次设备在线监测子站内全部二次设备的CIM/E文件;1-1: The secondary equipment online monitoring master station calls the CIM/E files of all secondary equipment in the secondary equipment online monitoring sub-station;

1-2:二次设备在线监测子站通过电力系统通用实时通信服务协议接收主站下发的召唤命令,向主站上送所请求的二次设备CIM/E文件。1-2: The secondary equipment online monitoring sub-station receives the call command issued by the main station through the general real-time communication service protocol of the power system, and sends the requested secondary equipment CIM/E file to the main station.

步骤2进一步包括以下内容:Step 2 further includes the following:

2-1:二次设备在线监测主站中的模型子系统解析接收到的CIM/E文件,通过语法检查,分析文件的有效性;2-1: The model subsystem in the secondary equipment online monitoring master station parses the received CIM/E file, and analyzes the validity of the file through grammar check;

2-2:使用模板元技术,通过组合及模板偏特化,支持新的电力数据类型扩展,进行模型校验;2-2: Using template meta technology, through combination and template partial specialization, it supports the expansion of new power data types and performs model verification;

2-3:使用有限状态机,通过状态变化,从CIM/E文件中取得模型对象,形成电网二次设备对象模型,即预处理模型。2-3: Using the finite state machine, through the state change, obtain the model object from the CIM/E file to form the power grid secondary equipment object model, that is, the preprocessing model.

其中,在2-3中,从CIM/E文件中取得的模型对象包括保护设备、定值、母线、模拟量、开入量。Among them, in 2-3, the model objects obtained from the CIM/E file include protection equipment, fixed value, busbar, analog quantity, binary input quantity.

步骤3进一步包括以下内容:Step 3 further includes the following:

3-1:将步骤2中所述预处理模型与标准电力对象模板进行匹配,通过分析CIM/E文件中各节点的相关信息,使用类型反射系统,建立对象继承和关联关系;3-1: Match the preprocessing model described in step 2 with the standard power object template, and use the type reflection system to establish object inheritance and association by analyzing the relevant information of each node in the CIM/E file;

3-2:二次设备在线监测主站的模型子系统使用增量更新原理导入二次设备对象模型,通过对二次设备对象模型进行键值比较,并根据IEC 61850模型关系和实时库现有模型即标准电力对象模板,计算新的二次设备对象模型和现有模型的差异,记录到模型差异表中;3-2: The model subsystem of the secondary equipment online monitoring master station uses the incremental update principle to import the secondary equipment object model. The model is the standard power object template, and the difference between the new secondary equipment object model and the existing model is calculated and recorded in the model difference table;

3-3:对当前导入的二次设备对象模型,通过迭代方式,建立新的二次设备模型对象,新的二次设备模型对象作为待导入对象,保存在能够高效检索的数据结构,即map映射中;3-3: For the currently imported secondary equipment object model, a new secondary equipment model object is established through iteration. The new secondary equipment model object is used as the object to be imported and saved in a data structure that can be efficiently retrieved, namely map mapping;

3-4:逐一判断待导入对象是否为新数据,如果是,则插入;如果不是,则更新。3-4: Determine whether the object to be imported is new data one by one, if so, insert it; if not, update it.

与现有技术相比,本发明具有可以实现电网系统均衡工作分配,避免模型协调的工作量都放在变电站或调度端一方,着眼未来的应用考虑,除了二次设备类模型外,对于变电站、二次设备、保护、控制、通信等模型都可以统一建模方法的技术效果。并且通过有效使用软件模板技术,兼顾了模型在新的电力数据类型增加或修改时,保证模型系统的一致性和维护的方便性,为智能电网在线监测系统的开发和维护提供了有效的技术手段。Compared with the prior art, the present invention has the advantages of realizing balanced work distribution of the power grid system, avoiding the workload of model coordination being placed on the substation or dispatching side, focusing on future application considerations, in addition to the secondary equipment model, for substations, Models such as secondary equipment, protection, control, and communication can all unify the technical effects of the modeling method. And through the effective use of software template technology, it takes into account the consistency of the model system and the convenience of maintenance when new power data types are added or modified, providing an effective technical means for the development and maintenance of the smart grid online monitoring system. .

附图说明Description of drawings

图1为依据本发明的二次设备在线监测系统自适应建模方法的系统结构图;Fig. 1 is the system structure diagram of the self-adaptive modeling method of the secondary equipment online monitoring system according to the present invention;

图2为依据本发明的二次设备在线监测系统自适应建模方法的流程示意图。FIG. 2 is a schematic flowchart of an adaptive modeling method for an on-line monitoring system for secondary equipment according to the present invention.

图3为依据本发明的二次设备在线监测系统自适应建模方法中CIM/E文件召唤流程示意图;3 is a schematic diagram of a CIM/E file summoning process flow in the self-adaptive modeling method of the secondary equipment online monitoring system according to the present invention;

图4为依据本发明的二次设备在线监测系统自适应建模方法中CIM/E文件校验流程示意图;Fig. 4 is the schematic flow chart of CIM/E file verification in the self-adaptive modeling method of the secondary equipment online monitoring system according to the present invention;

图5为依据本发明的二次设备在线监测系统自适应建模方法的模型比较规则流程示意图。FIG. 5 is a schematic flow chart of model comparison rules of the adaptive modeling method of the secondary equipment online monitoring system according to the present invention.

具体实施方式Detailed ways

为了进一步描述本发明的技术特点和效果,以下结合附图和具体实施方式对本发明做进一步描述。In order to further describe the technical features and effects of the present invention, the present invention will be further described below with reference to the accompanying drawings and specific embodiments.

如图1所示,一种基于CIM/E文件的电力系统的二次设备在线监测系统由主站、子站、调度数据网组成。子站部署于变电站中,通过站内通信网络接入保护装置、录波器等二次设备;主站部署于调度端,采集和接收子站上送的二次设备信息,并提供二次设备信息显示、告警、分析等功能,在线监测二次设备的运行情况;主站和子站通过调度数据网进行通信。As shown in Figure 1, an on-line monitoring system for secondary equipment of a power system based on CIM/E files consists of a master station, a substation, and a dispatching data network. Substations are deployed in substations and access secondary equipment such as protection devices and wave recorders through the in-station communication network; the main station is deployed at the dispatching end, collects and receives secondary equipment information sent by substations, and provides secondary equipment information Display, alarm, analysis and other functions, online monitoring of the operation of the secondary equipment; the master station and the substation communicate through the dispatching data network.

主站的构成包括CIM/E模型子系统、通信子系统、实时库、历史存储子系统。CIM/E模型子系统实现二次设备模型的解析和转换;通信子系统实现二次设备模型和数据的采集功能,使用请求/响应方式与子站通信;实时库负责二次设备模型数据更新;历史存储子系统完成二次设备数据的历史存储和查询。图2说明了整个建模方法的流程。The composition of the master station includes CIM/E model subsystem, communication subsystem, real-time library, and historical storage subsystem. The CIM/E model subsystem realizes the analysis and conversion of the secondary equipment model; the communication subsystem realizes the acquisition function of the secondary equipment model and data, and communicates with the substation in the request/response mode; the real-time library is responsible for the data update of the secondary equipment model; The historical storage subsystem completes the historical storage and query of secondary equipment data. Figure 2 illustrates the flow of the entire modeling approach.

上述电力系统CIM/E文件的二次设备在线监测系统自适应建模方法,包括以下步骤:The self-adaptive modeling method of the secondary equipment online monitoring system in the above-mentioned power system CIM/E file includes the following steps:

步骤1:二次设备在线监测主站的通信子系统通过电力系统通用实时通信服务协议,使用请求/响应模式,向二次设备在线监测子站召唤(或称作请求)变电站内全部二次设备的CIM/E文件,子站返回(或称作响应)所请求的CIM/E文件。Step 1: The communication subsystem of the secondary equipment online monitoring master station uses the request/response mode to call (or request) all the secondary equipment in the substation to the secondary equipment online monitoring substation through the general real-time communication service protocol of the power system. CIM/E file, the slave station returns (or is called as a response) the requested CIM/E file.

1-1:二次设备在线监测主站召唤二次设备在线监测子站内全部二次设备的CIM/E文件。1-1: Secondary equipment online monitoring The master station calls the CIM/E files of all secondary equipment in the secondary equipment online monitoring sub-station.

CIM/E是在IEC 61970-301电力系统公用数据模型的基础上,为解决CIM/XML方式进行描述时的效率问题而开发的一种新型高效的电力系统模型数据描述规范,具有简洁、高效和适用于描述和交换大型电网模型的特点。CIM/E将电力系统传统的面向关系的数据描述方式与面向对象的CIM相结合,既保留了面向关系方法的高效率,又吸收了面向对象方法的特点。CIM/E is a new and efficient power system model data description specification developed on the basis of IEC 61970-301 public data model of power system to solve the efficiency problem when describing in CIM/XML. Suitable for describing and exchanging characteristics of large grid models. CIM/E combines the traditional relation-oriented data description method of the power system with the object-oriented CIM, which not only retains the high efficiency of the relation-oriented method, but also absorbs the characteristics of the object-oriented method.

根据类定义模式(CIM/E Schema),电力系统模型可以转换并导出一个CIM/E文件。类定义模式提供了CIM/E文档所使用的模式描述格式。CIM/E模式中定义了文档中需要的所有类和属性,类名用来标识数据块,属性名称是文档中的属性行或属性列,用“@”引导。CIM/E模式可以是CIM的子集,也可以扩展。CIM/E数据是纯文本数据,通过对文本中每行第一个字符或前2个字符的使用,达到规范格式的目的。CIM/E数据的格式比较固定,有2种基本结构,即横表式结构、纵表式结构。According to the class definition schema (CIM/E Schema), the power system model can be converted and exported to a CIM/E file. The Class Definition Schema provides the schema description format used by CIM/E documents. All classes and attributes required in the document are defined in the CIM/E schema. The class name is used to identify the data block, and the attribute name is the attribute row or attribute column in the document, which is guided by "@". CIM/E mode can be a subset of CIM, and can also be extended. CIM/E data is plain text data, and the purpose of standard format is achieved by using the first character or the first 2 characters of each line in the text. The format of CIM/E data is relatively fixed, and there are two basic structures, namely horizontal table structure and vertical table structure.

依据国家电网Q/GDW 11068-2013电力系统通用实时通信服务协议,针对电力系统数据传输的需求,提供了关联、服务管理、类管理、数据、数据集、事件、时间同步、文件、数据库、图形、模型等服务接口,可以实现参数、对象、数据集、类描述、流数据单元等五类数据传输要求,采用M编码进行数据通信。According to the State Grid Q/GDW 11068-2013 general real-time communication service protocol for power systems, for the needs of power system data transmission, it provides association, service management, class management, data, data sets, events, time synchronization, files, databases, graphics , model and other service interfaces, which can realize five types of data transmission requirements such as parameters, objects, data sets, class descriptions, and stream data units, and use M coding for data communication.

主站和子站间数据交换的范围包括二次设备模型和运行数据。其中,运行数据包括二次设备实时运行信息、子站的在线监测信息、中间节点信息、录波文件。二次设备实时运行信息等(事件、告警、遥信变位)使用DL 476告警直传方式上送;子站的在线监测信息、中间节点信息、录波文件使用文件方式上送,CIM/E文件可以按照文件方式进行上送。The scope of data exchange between the master station and the slave station includes secondary equipment models and operational data. Among them, the operation data includes the real-time operation information of the secondary equipment, the online monitoring information of the substation, the information of the intermediate nodes, and the wave recording file. The real-time operation information of secondary equipment (events, alarms, remote signaling displacement) is uploaded by DL 476 alarm direct transmission; online monitoring information, intermediate node information, and wave recording files of substations are uploaded by file, and CIM/E Files can be uploaded as files.

如图3所示,主站通信子系统从二次设备在线监测子站周期性或者变更时召唤请求二次设备模型,在子站中将二次设备模型转换成为CIM/E文件数据返回给主站监测系统,其中CIM文件数据包含电网设备参数的文件数据,E文件数据为包含电网实时运行的文件数据。As shown in Figure 3, the communication subsystem of the master station calls and requests the secondary equipment model from the secondary equipment online monitoring substation periodically or when it changes, and converts the secondary equipment model into CIM/E file data in the substation and returns it to the main station The station monitoring system, in which the CIM file data contains the file data of the power grid equipment parameters, and the E file data is the file data containing the real-time operation of the power grid.

1-2:二次设备在线监测子站通过电力系统通用实时通信服务协议接收主站下发的召唤命令,向主站上送所请求的二次设备CIM/E文件。1-2: The secondary equipment online monitoring sub-station receives the call command issued by the main station through the general real-time communication service protocol of the power system, and sends the requested secondary equipment CIM/E file to the main station.

二次设备在线监测系统的所有二次设备模型,采用相关文件配置上送的方式实现。二次设备模型包括设备台账、通信状态、自检告警、设备资源、内部环境、对时状态等信息。例如召唤自检告警,则可定义为上送文件alarm.cime,召唤状态量,则定义为上送文件status.cime,以此类推。文件格式采用E语言,通过对文件名、文件路径、文件格式的规定和要求,能够简单快捷的实现所有召唤操作。主站召唤整个子站的模型信息,则子站将所有的模型信息打包到一个文件进行上送;主站召唤单个类型的模型信息,子站将对应的模型信息打包到独立的文件进行上送。All secondary equipment models of the secondary equipment online monitoring system are realized by uploading the relevant file configuration. The secondary equipment model includes information such as equipment account, communication status, self-checking alarm, equipment resources, internal environment, and time synchronization status. For example, the calling self-check alarm can be defined as the upload file alarm.cime, the calling status quantity can be defined as the upload file status.cime, and so on. The file format adopts E language, through the regulations and requirements of file name, file path and file format, all summoning operations can be realized simply and quickly. When the master station calls the model information of the entire sub station, the slave station packs all the model information into a file for uploading; the master station calls a single type of model information, and the slave station packs the corresponding model information into a separate file for uploading .

步骤2:二次设备在线监测主站解析二次设备CIM/E文件,验证文件的有效性通过后,使用有限状态机,通过预定义的模板,创建预处理模型。Step 2: The secondary equipment online monitoring master station parses the secondary equipment CIM/E file, and after verifying the validity of the file, the finite state machine is used to create a preprocessing model through a predefined template.

2-1:二次设备在线监测主站中的模型子系统解析接收到的CIM/E文件,通过语法检查,分析文件内容的有效性。2-1: The model subsystem in the secondary equipment online monitoring master station parses the received CIM/E file, and analyzes the validity of the file content through grammar check.

CIM/E文件格式如下所示定义:The CIM/E file format is defined as follows:

根据IEC 61850的模型关系定义对导入的CIM/E模型进行校验,如图4所示,包括语法检查、模型完整性检查等。如果模型校验出错,则结束程序处理流程。通过检查后,将CIM/E中的二次对象之间建立起逻辑关系,如定值信息使用IED的ID作为外键。如果发现模型有效性问题,提请用户检查,并给出判定依据。The imported CIM/E model is verified according to the model relationship definition of IEC 61850, as shown in Figure 4, including syntax check, model integrity check, etc. If there is an error in the model verification, the program processing flow ends. After passing the inspection, establish a logical relationship between the secondary objects in CIM/E. For example, the fixed value information uses the ID of the IED as a foreign key. If there is a problem with the validity of the model, ask the user to check and give the basis for judgment.

CIM/E和模型对象的转换关系对应表:The conversion relationship between CIM/E and model objects corresponds to the following table:

Figure BDA0001239625210000071
Figure BDA0001239625210000071

2-2:使用模板元技术,通过组合及模板偏特化,支持新的电力数据类型扩展,进行模型校验。2-2: Using template meta technology, through combination and template partial specialization, it supports the extension of new power data types and performs model verification.

由于使用文件作为模型和数据的传输方式,为了使系统在扩展时能最小限度的降低系统的变化,需要建立一套类型自动化判别机制。使用模板元技术,利用模板的特化机制实现编译期的条件选择结构,利用递归模板实现编译期循环结构,模板元程序则由编译器在编译期解释执行。系统定义基础的电力系统对象模板,基础模板类定义基本的接口,并预留扩展功能,新的对象通过类型标识派生于基础对象模板,当CIM/E文件解析对象时,可以最大限度的使用公共操作模块,容易添加操作代理行为,而且方便业务流程处理。Due to the use of files as the transmission method of models and data, in order to minimize the changes of the system when the system is expanded, it is necessary to establish a set of automatic type discrimination mechanisms. Using template meta technology, the specialization mechanism of template is used to realize the conditional selection structure at compile time, the recursive template is used to realize the loop structure at compile time, and the template meta program is interpreted and executed by the compiler at compile time. The system defines the basic power system object template. The basic template class defines the basic interface and reserves extension functions. The new object is derived from the basic object template through the type identification. When the CIM/E file parses the object, the public can be used to the maximum extent. Operation module, easy to add operation agent behavior, and convenient for business process processing.

当增加一种新的装置告警类型,则可以在模板中创建该类型,根据模板接口对相应的接口实现,即可使用模板元方法,完成自适应类型定义,扩展该类告警的属性和定义,不需要修改原有实现,即可增加了模型的新的告警类型。When a new device alarm type is added, the type can be created in the template, and the corresponding interface can be implemented according to the template interface, and the template meta method can be used to complete the adaptive type definition and expand the attributes and definitions of this type of alarm. New alarm types for the model can be added without modifying the original implementation.

2-3:使用有限状态机,通过状态变化,从CIM/E中取得模型对象(如保护设备、定值、母线、模拟量、开入量等),形成电网二次设备对象模型,即预处理模型。使用有限状态机,处理二次设备在线监测系统对电力对象的操作过程,通过二次设备在线监测系统内部和外部的输入输出状态,引导数据对象在操作接口中的执行方向,采用状态表格定义流程,用户可以自定义状态信息并持久化到文件中,保证了系统的灵活性。2-3: Using a finite state machine, through state changes, obtain model objects (such as protection equipment, fixed values, busbars, analog quantities, binary inputs, etc.) from CIM/E to form a grid secondary equipment object model, that is, pre- Process the model. Use the finite state machine to process the operation process of the secondary equipment online monitoring system on the power object, monitor the internal and external input and output status of the system through the secondary equipment online, guide the execution direction of the data object in the operation interface, and use the status table to define the process , the user can customize the state information and persist it to the file, which ensures the flexibility of the system.

每个操作任务,如召唤定值文件,首先创建一个执行序列,维护整个生命周期的状态变化,当通信子系统返回子站的响应CIM/E文件时,触发状态变化,进入有限状态机中,模型子系统自动判别下一步的流程。同理,当子站发送模拟量运行数据文件时,会触发数据刷新状态,从CIM/E文件中取得模型对象(如保护设备、定值、母线、模拟量、开入量等),形成电网二次设备对象模型,即预处理模型。Each operation task, such as calling a fixed value file, first creates an execution sequence to maintain the state change of the entire life cycle. When the communication subsystem returns the response CIM/E file of the substation, it triggers the state change and enters the finite state machine. The model subsystem automatically determines the next process. In the same way, when the slave station sends the analog running data file, it will trigger the data refresh state, and obtain the model objects (such as protection equipment, fixed value, bus, analog quantity, binary input, etc.) from the CIM/E file to form a power grid. The secondary device object model, that is, the preprocessing model.

步骤3:基于模型比较规则算法,对步骤2解析得到二次设备模型进行增量更新,将二次设备模型导入模型库(及数据库),更新实时库,存入历史库。Step 3: Based on the model comparison rule algorithm, incrementally update the secondary equipment model obtained by the analysis in step 2, import the secondary equipment model into the model library (and database), update the real-time library, and store it in the historical library.

如图5所示,二次设备在线监测主站的模型子系统完成模型增量更新。对入实时库的电网模型、实时数据断面等信息,系统进行统一的管理,把CIM/E文件中内容解析成内部数据结构,将对象标识和主要关联属性创建索引,使其作为主键,其他数据作为值,生成map映射。通过比较新旧模型的差异,实现增量更新。CIM/E模型子系统解析数据后,将得到的电网对象保存至数据库(模型库)和实时库中,根据电网设备参数和IEC61850定义的一二次设备关系,如果发现模型关系明显不符合预定义的关系模式,如IED不在子站(Substation)中,则对用户显示告警信息。As shown in Figure 5, the model subsystem of the secondary equipment online monitoring master station completes the incremental update of the model. The system manages the power grid model, real-time data section and other information entered into the real-time database in a unified manner, parses the content of the CIM/E file into an internal data structure, and creates an index for the object identifier and main associated attributes to be used as the primary key and other data. As a value, a map map is generated. Incremental updates are achieved by comparing the differences between old and new models. After the CIM/E model subsystem parses the data, it saves the obtained power grid objects to the database (model library) and real-time library. According to the power grid equipment parameters and the primary and secondary equipment relationships defined by IEC61850, if it is found that the model relationship obviously does not conform to the predefined ones If the IED is not in the substation (Substation), the alarm information will be displayed to the user.

3-1:将步骤2中所述预处理模型与标准电力对象模板进行匹配,通过分析CIM/E文件中个节点的相关信息,使用类型反射系统,建立对象继承和关联关系;3-1: Match the preprocessing model described in step 2 with the standard power object template, and use the type reflection system to establish object inheritance and association by analyzing the relevant information of each node in the CIM/E file;

3-2:二次设备在线监测主站的模型子系统使用增量更新原理导入二次设备模型时,通过对二次设备模型进行键值比较,如装置名称、装置reference等,并根据IEC 61850模型关系和实时库现有模型,计算新的二次设备对象模型和现有模型的差异,记录到模型差异表中。3-2: When the model subsystem of the secondary equipment online monitoring master station uses the incremental update principle to import the secondary equipment model, the secondary equipment model is compared by key values, such as device name, device reference, etc., and according to IEC 61850 Model relationship and real-time library existing model, calculate the difference between the new secondary equipment object model and the existing model, and record it in the model difference table.

3-3:对当前导入的二次设备模型,通过迭代方式,建立新的二次设备模型对象。3-3: For the currently imported secondary equipment model, establish a new secondary equipment model object through iteration.

新的设备模型对象作为待导入对象,保存在可以高效检索的数据结构,即map映射中,为下面增量操作提供输入。The new device model object, as the object to be imported, is stored in a data structure that can be efficiently retrieved, that is, the map map, and provides input for the following incremental operations.

3-4:逐一判断待导入对象是否为新数据,如果是,则插入;如果不是,则更新。3-4: Determine whether the object to be imported is new data one by one, if so, insert it; if not, update it.

通过上面模型的基本属性,判断新的对象是否已存在于系统中。判断逻辑支持用户自定义脚本,通过某些属性去定义对象的等价性,只要该属性集合一致,即为同一对象,如设备台账中的装置名称和站内地址,能够唯一确定一个IED对象。如果判定是全新的数据,使用插入操作,导入到实时库中,同时将模型写入到历史库中以保存持久化信息,并即刻生效参与系统的监视、控制、数据刷新等功能;否则回到上一步骤进行迭代。Through the basic properties of the above model, it is judged whether the new object already exists in the system. The judgment logic supports user-defined scripts to define the equivalence of objects through certain attributes. As long as the attribute set is consistent, it is the same object, such as the device name and in-site address in the equipment account, and an IED object can be uniquely determined. If it is determined to be brand new data, use the insert operation to import it into the real-time database, and at the same time write the model to the historical database to save the persistent information, and immediately participate in the monitoring, control, data refresh and other functions of the system; otherwise, go back to Iterate over the previous step.

当然,本技术领域内的一般技术人员应当认识到,上述的实施例仅是用来说明本发明,而并非用作对本发明的限定,凡是采取等同替换或等效变换的形式所获得的技术方案,均落在本发明权利要求的范围内。Of course, those skilled in the art should realize that the above-mentioned embodiments are only used to illustrate the present invention, not to limit the present invention, and all technical solutions obtained in the form of equivalent replacement or equivalent transformation , all fall within the scope of the claims of the present invention.

Claims (6)

1. A secondary equipment on-line monitoring system self-adaptive modeling method of a power system CIM/E file uses CIM/E as a model exchange mode, and is characterized by comprising the following steps:
step 1: the communication subsystem of the secondary equipment online monitoring main station calls CIM/E files of all secondary equipment in the substation to the substation by using a request/response mode through a power system universal real-time communication service protocol, and the secondary equipment online monitoring substation returns the requested CIM/E files;
the range of data exchange between the secondary equipment online monitoring main station and the secondary equipment online monitoring sub-station comprises a secondary equipment model and operation data, wherein the operation data comprises secondary equipment real-time operation information, online monitoring information of the secondary equipment online monitoring sub-station, intermediate node information and a wave recording file, and the secondary equipment real-time operation information is uploaded in a DL 476 alarm direct transmission mode; the on-line monitoring information, the intermediate node information and the wave recording file of the substation are uploaded in a file mode, and the CIM/E file is uploaded in the file mode; the secondary equipment model comprises an equipment ledger, a communication state, a self-checking alarm, equipment resources, an internal environment and a time synchronization state;
step 2: the model subsystem of the secondary equipment online monitoring main station analyzes a CIM/E file of the secondary equipment, and after the validity of the file is verified, a finite-state machine is used for creating a preprocessing model through a predefined template;
realizing a condition selection structure of a compiling period by utilizing a specialization mechanism of a template, and realizing a loop structure of the compiling period by utilizing a recursion template;
the method comprises the steps of processing the operation process of a secondary equipment online monitoring system on an electric power object, guiding the execution direction of a data object in an operation interface through the input and output states inside and outside the secondary equipment online monitoring system, defining a flow by adopting a state table, and enabling a user to define state information and persist the state information into a file;
and step 3: and the model subsystem of the secondary equipment online monitoring main station performs incremental updating on the secondary equipment model based on a model comparison rule algorithm, imports the secondary equipment model into a model library, updates the real-time library and stores the updated model into a history library.
2. The adaptive modeling method for the secondary equipment online monitoring system of the CIM/E file of the power system according to claim 1, characterized in that:
in step 1, the following is further included:
1-1: the secondary equipment online monitoring main station calls CIM/E files of all secondary equipment in the secondary equipment online monitoring substation;
1-2: the secondary equipment on-line monitoring substation receives a calling command issued by the main station through a power system universal real-time communication service protocol and transmits a requested secondary equipment CIM/E file to the main station.
3. The adaptive modeling method for the secondary equipment online monitoring system of the CIM/E file of the power system according to claim 1, characterized in that:
step 2 further comprises the following:
2-1: analyzing the received CIM/E file by a model subsystem in the secondary equipment online monitoring main station, analyzing the validity of the file through syntax check and model integrity check, and ending the program processing flow if the model is checked to be wrong; after the checking is passed, establishing a logical relation between secondary objects in the CIM/E, if the model validity problem is found, submitting a user for checking, and giving a judgment basis;
2-2: the template element technology is used, new electric power data type extension is supported through combination and template partial specialization, and model verification is carried out; 2-3: and (3) obtaining a model object from the CIM/E file through state change by using a finite state machine to form a power grid secondary equipment object model, namely a preprocessing model.
4. The adaptive modeling method for the secondary equipment online monitoring system of the CIM/E file of the power system according to claim 3, characterized in that:
in 2-3, the model objects obtained from the CIM/E file include protection devices, constants, buses, analog quantities, and opening quantities.
5. The adaptive modeling method for the secondary equipment online monitoring system of the CIM/E file of the power system according to claim 1, characterized in that:
step 3 further comprises the following:
3-1: matching the preprocessing model in the step 2 with a standard power object template, and establishing object inheritance and association relations by analyzing relevant information of each node in a CIM/E file and using a type reflection system;
3-2: the model subsystem of the secondary equipment online monitoring main station uses an increment updating principle to introduce a secondary equipment object model, key value comparison is carried out on the secondary equipment object model, the difference between a new secondary equipment object model and an existing model is calculated according to an IEC61850 model relation and the existing model of a real-time library, namely a standard electric power object template, and the difference is recorded into a model difference table;
3-3: establishing a new secondary equipment model object for the currently imported secondary equipment model in an iterative mode, wherein the new secondary equipment model object is used as an object to be imported and is stored in a data structure capable of being efficiently retrieved, namely map mapping;
3-4: judging whether the objects to be imported are new data one by one, and if so, inserting; if not, updating.
6. The adaptive modeling method for the secondary equipment online monitoring system of the CIM/E file of the power system according to claim 5, characterized in that:
in 3-2, the key includes a device name, a device reference.
CN201710129900.XA2017-03-072017-03-07Adaptive modeling method for online monitoring system of secondary equipment of power systemActiveCN106951694B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710129900.XACN106951694B (en)2017-03-072017-03-07Adaptive modeling method for online monitoring system of secondary equipment of power system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710129900.XACN106951694B (en)2017-03-072017-03-07Adaptive modeling method for online monitoring system of secondary equipment of power system

Publications (2)

Publication NumberPublication Date
CN106951694A CN106951694A (en)2017-07-14
CN106951694Btrue CN106951694B (en)2020-01-14

Family

ID=59467894

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710129900.XAActiveCN106951694B (en)2017-03-072017-03-07Adaptive modeling method for online monitoring system of secondary equipment of power system

Country Status (1)

CountryLink
CN (1)CN106951694B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107493269B (en)*2017-07-272020-08-28国网江西省电力公司检修分公司 Substation intelligent electronic equipment and its data sending and receiving method and system
CN108347470B (en)*2017-12-212021-02-26国网冀北电力有限公司 Information transmission method and system based on general service protocol of power system
CN108460156A (en)*2018-03-282018-08-28南方电网科学研究院有限责任公司Power grid dispatching automation system model difference comparison method and device
CN108768995B (en)*2018-05-222021-06-08广东电网有限责任公司电力调度控制中心Substation self-adaptive master station access method
CN108695849A (en)*2018-06-072018-10-23国电南瑞科技股份有限公司Boss station integrated modelling system and method based on wide-area services bus
CN109884422B (en)*2019-01-222020-12-11许昌许继软件技术有限公司 A kind of in-situ protection device with load test method and device
CN110009958A (en)*2019-02-282019-07-12南京耀多信息技术有限公司A kind of grid simulation training system
CN109962529B (en)*2019-03-142022-09-09国网福建省电力有限公司On-line monitoring and operation and maintenance device of electrical secondary equipment
CN110162843B (en)*2019-04-282023-01-03南方电网科学研究院有限责任公司Real-time simulation modeling method and device for power grid primary system and secondary system
CN110851199B (en)*2019-10-162023-07-11许昌许继软件技术有限公司 An information protection system in a power system and an initialization method thereof
CN110986155A (en)*2019-12-052020-04-10深圳供电局有限公司Heat supply data processing method and device
CN113538164B (en)*2020-04-132023-04-25电力规划总院有限公司Modeling method and device for power system production simulation model and electronic equipment
CN112367234B (en)*2020-10-272022-04-29深圳力维智联技术有限公司Simulation data generation method, terminal device and computer-readable storage medium
CN112865309B (en)*2021-01-132022-08-02湖南依中紫光电气科技有限公司Intelligent substation analysis method and system with automatic modeling function
CN113705026B (en)*2021-11-012022-03-08南京亚尔软件测试有限公司 A digital modeling and intelligent detection system for power secondary equipment
CN114186419A (en)*2021-12-132022-03-15南方电网科学研究院有限责任公司Master station modeling test method, system and equipment with master station online monitoring control function
CN114372774A (en)*2021-12-292022-04-19国网天津市电力公司 Communication system of power secondary system model, graph, data of operating status

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102510127A (en)*2011-10-212012-06-20南京南瑞继保电气有限公司Method for unifying models of on-line monitored first and secondary equipment of power grid
CN102750406A (en)*2012-06-062012-10-24中国电力科学研究院Multi-version management method for model set and difference model-based power grid model
CN103294568A (en)*2013-06-242013-09-11国家电网公司Distribution network model incremental storage method based on E language
CN106101173A (en)*2016-05-262016-11-09南京国电南自电网自动化有限公司Relay protection device on-line monitoring information file transfer method based on file service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102510127A (en)*2011-10-212012-06-20南京南瑞继保电气有限公司Method for unifying models of on-line monitored first and secondary equipment of power grid
CN102750406A (en)*2012-06-062012-10-24中国电力科学研究院Multi-version management method for model set and difference model-based power grid model
CN103294568A (en)*2013-06-242013-09-11国家电网公司Distribution network model incremental storage method based on E language
CN106101173A (en)*2016-05-262016-11-09南京国电南自电网自动化有限公司Relay protection device on-line monitoring information file transfer method based on file service

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
变电站在线监测系统的一体化建模与模型维护;王德文等;《电力系统自动化》;20131210;第37卷(第23期);78—80*

Also Published As

Publication numberPublication date
CN106951694A (en)2017-07-14

Similar Documents

PublicationPublication DateTitle
CN106951694B (en)Adaptive modeling method for online monitoring system of secondary equipment of power system
CN102750406B (en)Multi-version management method for model set and difference model-based power grid model
CN105843182B (en)A kind of power scheduling accident prediction system and method based on OMS
CN107402976A (en)Power grid multi-source data fusion method and system based on multi-element heterogeneous model
CN109284346A (en)Cloud computing-based power distribution network planning method and device
CN105787089A (en)Power distribution network scheduling foundation data integrating method
CN105790441A (en)Intelligent transformer substation relay protection inspection system
CN103441900A (en)Centralization cross-platform automated testing system and control method thereof
CN108549650A (en)A kind of intelligent substation anti-misoperation locking logic rules source configuration method and system
CN102043719A (en)Method for testing IEC61850 configuration description file
CN109274178B (en)Automatic analysis system and method for power dispatching preposed operation information
CN114123482A (en)Main plant station information joint debugging decoupling method
CN110555583A (en)method for uniformly processing wide-area operation data of intelligent power grid dispatching control system
CN105335900A (en)Data integration processing method based on power equipment state monitoring system
CN118585516A (en) Intelligent processing method of power grid data based on NLP and dynamic lineage
CN111340253A (en)Main network maintenance request form analysis method and system
CN116501720A (en)Data management device and method based on rule engine
CN107391617A (en)Model method is led based on monitoring system automatically
CN109271350B (en) A method for automatic comparison and synchronization of database and information point table based on telecontrol communication
CN102738897B (en)Offline configuration resource information fusion method for intelligent substation
WO2019056564A1 (en)Power distribution network fault repair system data sharing method for information exchange bus based on iec 61968 standards
CN111352818B (en)Application program performance analysis method and device, storage medium and electronic equipment
CN107577789A (en)Province based on information interactive bus ground artwork interconnected method
CN119415973B (en)Data processing method, device, product and equipment
CN118174461B (en) An intelligent pre-test system for multi-dimensional pattern recognition and drive control of substation

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp