Intelligent substation SCL file comparison method

文档序号:1378967 发布日期:2020-08-14 浏览:13次 中文

阅读说明:本技术 一种智能变电站scl文件比对方法 (Intelligent substation SCL file comparison method ) 是由 王家军 江开伦 李波 黄立金 陈�胜 刘晓放 唐顺国 王荣 贾浩然 李成才 王瑞 于 2020-06-24 设计创作,主要内容包括:本发明公开了一种智能变电站SCL文件比对方法,该方法包括以下步骤:(1)选择智能变电站SCL文件变更前后的两个版本分别加载,对两个SCL文件进行解析;(2)读取包含SCL文件配置的信息参数层和信息参数层包含的信息参数进行文本比较;(3)对比较结果进行保存。本发明相对于定义标识符建立比较模型等方法,项目采用将解析工具与文本比较结合的方法,比较过程更加简单,直接比较解析后的SCL文件,比较结果更全面更精确,省时省力。(The invention discloses a method for comparing SCL files of an intelligent substation, which comprises the following steps: (1) selecting two versions before and after the SCL file of the intelligent substation is changed to be loaded respectively, and analyzing the two SCL files; (2) reading an information parameter layer containing SCL file configuration and information parameters contained in the information parameter layer to perform text comparison; (3) and storing the comparison result. Compared with methods for establishing a comparison model by defining identifiers and the like, the method for combining the analysis tool with the text comparison is adopted in the project, the comparison process is simpler, the analyzed SCL file is directly compared, the comparison result is more comprehensive and more accurate, and time and labor are saved.)

1. A method for comparing SCL files of an intelligent substation is characterized in that: the method comprises the following steps:

(1) selecting two versions before and after the SCL file of the intelligent substation is changed to be loaded respectively, and analyzing the two SCL files;

(2) reading an information parameter layer containing SCL file configuration and information parameters contained in the information parameter layer to perform text comparison;

(3) and storing the comparison result.

2. The intelligent substation SCL file comparison method according to claim 1, characterized in that: in the process of analyzing the two SCL files in the step (1), the SCL files are analyzed into a tree state layered structure according to the structural features of the SCL files, and information parameter layers of all levels and information parameters contained in the information parameter layers are extracted.

3. The intelligent substation SCL file comparison method according to claim 2, characterized in that: judging whether the information parameter layers are the same or not in the text comparison process in the step (2), and finishing the comparison of the information parameter layers if the information parameter layers are different; if the information parameter layers are the same, judging whether the information parameters are consistent, and if the information parameters are consistent, finishing the comparison of the information parameter layers; if the information parameters are not consistent, outputting the corresponding information parameters to finish the comparison of the information parameter layer.

4. The intelligent substation SCL file comparison method of claim 3, characterized in that: and (4) screening out information parameters with different information parameter layers or inconsistent information parameters as comparison results in the step (3).

5. The intelligent substation SCL file comparison method according to claim 2, characterized in that: and (3) analyzing the SCL file in the step (1) by adopting a QXmlStreamreader analyzing mode.

6. The intelligent substation SCL file comparison method according to claim 1, characterized in that: in the step (1), an SCL document structure is defined by adopting an XMLSchema document type for the SCL file, and according to the IEC 61850-6 standard, SCL.xsd is used as a main file, and other 7 Schema files are quoted and included for verifying the correctness of the IED configuration file format and the validity of data information.

7. The intelligent substation SCL file comparison method according to claim 1, characterized in that: the data communication of the intelligent substation adopts an industrial Ethernet switch to realize the networking of a communication platform, and the industrial Ethernet switch divides a communication area by a Virtual Local Area Network (VLAN) technology based on an IEEE802.1q protocol and a multicast filtering technology based on a GMRP multicast management protocol.

8. The intelligent substation SCL file comparison method of claim 7, characterized in that: and analyzing the SCL file, generating a message interaction logic based on the APPID, downloading the message interaction logic to an industrial Ethernet switch, obtaining a message interaction routing table from the switch, and generating a virtual secondary loop diagram and a network topology diagram.

Technical Field

The invention relates to a method for comparing SCL (substation configuration language) files of an intelligent substation, and belongs to the technical field of substation maintenance equipment.

Background

The IEC61850 standard is generally applied to intelligent substations, and the standard system and the application specification of the IEC61850 standard are gradually refined. The IEC61850 standard unifies information models inside the transformer substation and standardizes communication interfaces of all equipment in the whole substation. The standard defines that a substation monitoring automation system consists of a three-layer network architecture of a station control layer, a bay layer and a process layer, provides SCL information model and description, Abstract Communication Service Interface (ACSI), Specific Communication Service Mapping (SCSM) and other technologies, and realizes interoperability among devices and expandability of total station functions.

In order to realize the interoperation between devices, IEC61850 adopts a standardized communication service interface technology. In a station control layer network, IEC 61850/MMS standardized communication service is adopted, and equipment and subsystems such as measurement and control, protection, PMU, a fault recorder, primary equipment state monitoring and the like are accessed. And at a station control layer or a process layer network, IEC61850/GOOSE standardized communication service is adopted for the real-time message rapid transmission between the devices, so that network tripping and interlocking between the devices are realized. And in a process layer network, the IEC 61850-9-2 standardized sampling value is adopted to transmit communication service, so that the network transmission of the sampling measurement value is realized.

The existing SCL file data comparison mode is carried out manually, time and labor are wasted, and the comparison result error is large.

Disclosure of Invention

The technical problem to be solved by the invention is as follows: the method for comparing the SCL files of the intelligent substation is provided to solve the problems in the prior art.

The technical scheme adopted by the invention is as follows: a method for comparing SCL files of an intelligent substation comprises the following steps:

(1) selecting two versions before and after the SCL file of the intelligent substation is changed to be loaded respectively, and analyzing the two SCL files;

(2) reading an information parameter layer containing SCL file configuration and information parameters contained in the information parameter layer to perform text comparison;

(3) and storing the comparison result.

In the process of analyzing the two SCL files in the step (1), the SCL files are analyzed into a tree state layered structure according to the structural features of the SCL files, and information parameter layers of all levels and information parameters contained in the information parameter layers are extracted.

Judging whether the information parameter layers are the same or not in the text comparison process in the step (2), and finishing the comparison of the information parameter layers if the information parameter layers are different; if the information parameter layers are the same, judging whether the information parameters are consistent, and if the information parameters are consistent, finishing the comparison of the information parameter layers; if the information parameters are not consistent, outputting the corresponding information parameters to finish the comparison of the information parameter layer.

And (4) screening out information parameters with different information parameter layers or inconsistent information parameters as comparison results in the step (3).

And (3) analyzing the SCL file in the step (1) by adopting a QXmlStreamreader analyzing mode.

In the step (1), an SCL document structure is defined by adopting an XMLSchema document type for the SCL file, and according to the IEC 61850-6 standard, SCL.xsd is used as a main file, and other 7 Schema files are quoted and included for verifying the correctness of the IED configuration file format and the validity of data information.

The data communication of the intelligent substation adopts an industrial Ethernet switch to realize the networking of a communication platform, and the industrial Ethernet switch divides a communication area by a Virtual Local Area Network (VLAN) technology based on an IEEE802.1q protocol and a multicast filtering technology based on a GMRP multicast management protocol.

And analyzing the SCL file, generating a message interaction logic based on the APPID, downloading the message interaction logic to an industrial Ethernet switch, obtaining a message interaction routing table from the switch, and generating a virtual secondary loop diagram and a network topology diagram.

The invention has the beneficial effects that: compared with the prior art, the method for establishing the comparison model by the definition identifier and the like has the advantages that the analysis tool and the text are combined in the project, the comparison process is simpler, the analyzed SCL file is directly compared, the comparison result is more comprehensive and accurate, and time and labor are saved.

Drawings

FIG. 1 is a flow chart of the operation of the present invention.

Detailed Description

The invention is further described with reference to the accompanying drawings and specific embodiments.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:笔记生成方法、计算设备及计算机存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!