CN113779034B - Automatic inspection SCD file virtual terminal interval-crossing error connection method and device - Google Patents
Automatic inspection SCD file virtual terminal interval-crossing error connection method and device Download PDFInfo
- Publication number
- CN113779034B CN113779034B CN202111094682.3A CN202111094682A CN113779034B CN 113779034 B CN113779034 B CN 113779034B CN 202111094682 A CN202111094682 A CN 202111094682A CN 113779034 B CN113779034 B CN 113779034B
- Authority
- CN
- China
- Prior art keywords
- goose
- ied
- information
- interval
- terminal
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2291—User-Defined Types; Storage management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Human Resources & Organizations (AREA)
- General Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Tourism & Hospitality (AREA)
- Marketing (AREA)
- Entrepreneurship & Innovation (AREA)
- Evolutionary Biology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Artificial Intelligence (AREA)
- Software Systems (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Databases & Information Systems (AREA)
- Evolutionary Computation (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Design And Manufacture Of Integrated Circuits (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
技术领域technical field
本发明涉及智能变电站领域,更具体涉及一种自动审查SCD文件虚端子跨间隔误连接方法及装置。The invention relates to the field of intelligent substations, and more particularly relates to a method and device for automatically reviewing false connections of virtual terminals across intervals in SCD files.
背景技术Background technique
智能变电站采用光缆代替电缆,虚回路代替实回路。而数字报文的通信模型和数据模型、虚回路连接关系,采用SCD文件(变电站配置描述文件)进行描述,按照国网的要求,SCD文件由设计人员完成虚端子的连接,其连接的正确性受人员素质、经验影响。尤其是GOOSE虚端子,GOOSE虚端子数目多、描述相似、涉及IED(智能电子设备)广,更加容易误连、漏连。Smart substations use optical cables instead of cables, and virtual circuits instead of real circuits. The communication model and data model of the digital message, and the virtual circuit connection relationship are described by the SCD file (substation configuration description file). According to the requirements of the State Grid, the designer completes the connection of the virtual terminal in the SCD file. The correctness of the connection Affected by personnel quality and experience. Especially the GOOSE virtual terminals, which have a large number of virtual terminals, similar descriptions, and involve a wide range of IEDs (Intelligent Electronic Devices), are more likely to be misconnected and missed.
目前,SCD文件GOOSE虚端子的检查及正确性的保证,主要采用文本编辑器、XML查看软件或专门开发的软件,导入SCD文件进行查看,该方法对查看人员的技术素养要求非常高,必须对IEC61850模型非常了解的情况下才能进行,且存不直观、效率低;而对于GOOSE虚端子跨间隔误连接,涉及IED众多,查看困难,很难实现人工校验。At present, the inspection and correctness of GOOSE virtual terminals in SCD files mainly use text editors, XML viewing software or specially developed software to import SCD files for viewing. The IEC61850 model can only be carried out when the model is well understood, and the storage is not intuitive and the efficiency is low; for the misconnection of the GOOSE virtual terminal across the interval, many IEDs are involved, it is difficult to check, and it is difficult to achieve manual verification.
中国专利公开号CN105335342A,公开了一种智能变电站SCD配置文件虚端子联线正确性自动审查方法,该方法适用于采用IEC61850标准的数字化变电站及智能变电站,通过生成各种主接线形式的智能站继电保护相关设备的虚端子联线典型库和虚端子标准模板文件,并将待测SCD文件与虚端子标准模板文件相比较,实现自动判断待测装置的虚端子连线是否正确、完整,避免了大量的人工操作工作量和错误率,大幅提升工作效率。但是该专利申请不涉及对GOOSE虚端子跨间隔误连接的审查。Chinese Patent Publication No. CN105335342A discloses a method for automatically checking the correctness of the virtual terminal connection of the SCD configuration file of an intelligent substation. The virtual terminal connection typical library and virtual terminal standard template file of electrical protection related equipment, and compare the SCD file to be tested with the virtual terminal standard template file to realize automatic judgment whether the virtual terminal connection of the device under test is correct and complete, to avoid A large amount of manual operation workload and error rate have greatly improved work efficiency. However, this patent application does not involve the examination of the misconnection of the GOOSE virtual terminal across the interval.
发明内容Contents of the invention
本发明所要解决的技术问题在于现有技术缺乏自动审查SCD文件虚端子跨间隔误连接方法。The technical problem to be solved by the present invention is that the prior art lacks a method for automatically checking the false connection of virtual terminals across intervals in SCD files.
本发明通过以下技术手段实现解决上述技术问题的:一种自动审查SCD文件虚端子跨间隔误连接方法,包括以下步骤:The present invention solves the above-mentioned technical problems through the following technical means: a method for automatically checking the false connection of the virtual terminal of the SCD file across the interval, including the following steps:
步骤1、解析SCD文件,遍历IED列表,获取设备名称,并按照设备名称对设备进行分类;Step 1, parse the SCD file, traverse the IED list, obtain the device name, and classify the device according to the device name;
步骤2、提取分类后设备的设备信息;Step 2, extracting the device information of the classified device;
步骤3、根据设备信息对全站设备进行间隔划分;Step 3. According to the equipment information, the equipment of the whole station is divided into intervals;
步骤4、遍历所有IED,获取每个IED中所有GOOSE虚端子的输入端子地址和输出端子地址;Step 4. Traverse all IEDs to obtain the input terminal addresses and output terminal addresses of all GOOSE virtual terminals in each IED;
步骤5、每一个GOOSE虚端子分别与除自身外的其他GOOSE虚端子比对输入端子地址和输出端子地址,根据比对结果,分类存储参与比对的GOOSE虚端子为正确GOOSE虚端子、异常GOOSE虚端子或待检GOOSE虚端子;Step 5. Each GOOSE virtual terminal compares the input terminal address and output terminal address with other GOOSE virtual terminals except itself, and according to the comparison results, classify and store the GOOSE virtual terminals participating in the comparison as correct GOOSE virtual terminals and abnormal GOOSE Virtual terminal or GOOSE virtual terminal to be tested;
步骤6、将待检GOOSE虚端子,按照输出端子地址中的IED name进行分组,取出分组后的每个GOOSE虚端子的输入端子地址的IED name,根据输入端子地址的IED name匹配步骤3中已划分的间隔;根据同组IED的所属间隔评估是否存在GOOSE虚端子跨间隔误连接。Step 6. Group the GOOSE virtual terminals to be checked according to the IED name in the output terminal address, take out the IED name of the input terminal address of each GOOSE virtual terminal after grouping, and match the IED name in step 3 according to the IED name of the input terminal address Divided intervals; evaluate whether there is a false connection of GOOSE virtual terminals across intervals according to the intervals to which IEDs of the same group belong.
本发明通过遍历SCD文件IED列表,读取IED的设备信息,按照设备信息对IED进行间隔划分;取每个IED中所有GOOSE虚端子的输入端子地址和输出端子地址,比对各个IED的GOOSE虚端子,从而实现GOOSE虚端子跨间隔误连接的自动审查。The present invention reads the device information of the IED by traversing the IED list of the SCD file, and divides the IED according to the device information; takes the input terminal addresses and output terminal addresses of all GOOSE virtual terminals in each IED, and compares the GOOSE virtual terminals of each IED. Terminals, so as to realize the automatic review of the misconnection of GOOSE virtual terminals across intervals.
进一步地,所述步骤1中设备名称从IED列表中每个IED下的IED name节点获取,根据获取的IED name中设备类型属性将设备分为保护、合并单元、智能终端以及测控。Further, in the step 1, the device name is obtained from the IED name node under each IED in the IED list, and the devices are divided into protection, merging unit, intelligent terminal and measurement and control according to the device type attribute in the obtained IED name.
更进一步地,所述IED name的命名规则为设备类型+间隔类型+电压等级+支路编号+A/B套,其中,设备类型包括:保护P、测控C/S、合并单元M、智能终端I,间隔类型包括:线路L、母线M、母联/分段E、主变T,电压等级包括:750kV、500kV、220kV、110kV、35kV、10kV。Furthermore, the naming rule of the IED name is equipment type + interval type + voltage level + branch number + A/B set, wherein the equipment type includes: protection P, measurement and control C/S, merging unit M, intelligent terminal I. Interval types include: line L, bus bar M, bus coupler/section E, main transformer T, and voltage levels include: 750kV, 500kV, 220kV, 110kV, 35kV, 10kV.
进一步地,所述步骤2中设备信息分为三层:Further, the device information in step 2 is divided into three layers:
第一层为IED信息,包括设备类型、设备名称,依据SCD文件中该设备的IED name关键字进行匹配;The first layer is IED information, including device type and device name, which is matched according to the IED name keyword of the device in the SCD file;
第二层为链路信息,包括SV链路信息和GOOSE链路信息,为该设备所有发布/订阅的SV链路信息和GOOSE链路信息;The second layer is link information, including SV link information and GOOSE link information, which is the SV link information and GOOSE link information published/subscribed by the device;
第三层为外部IED信息,与该设备有GOOSE链路连接的其他设备的信息,包括设备类型、设备名称,依据SCD文件中IED name关键字匹配。The third layer is the external IED information, the information of other devices connected to the device with GOOSE links, including device type and device name, which are matched according to the IED name keyword in the SCD file.
更进一步地,对于GOOSE链路,提取IED中G1访问点下FCDA和Inputs节点信息为GOOSE链路信息,其中FCDA节点信息为IED发布的GOOSE链路信息,Inputs节点信息为IED订阅的GOOSE链路信息;提取IED中G1访问点下Inputs节点下ExtRef元素信息为外部IED信息;对于SV链路,提取IED中M1访问点下FCDA、Inputs节点信息为SV链路信息,其中M1访问点下FCDA节点的信息为IED发布的SV链路信息,Inputs节点信息为IED订阅的SV链路信息;提取IED中M1访问点下Inputs节点下ExtRef元素中信息为外部IED信息。Furthermore, for the GOOSE link, extract the FCDA and Inputs node information under the G1 access point in the IED as the GOOSE link information, where the FCDA node information is the GOOSE link information issued by the IED, and the Inputs node information is the GOOSE link subscribed by the IED information; extract the ExtRef element information under the Inputs node under the G1 access point in the IED as external IED information; for the SV link, extract the FCDA and Inputs node information under the M1 access point in the IED as the SV link information, where the FCDA node under the M1 access point The information is the SV link information released by the IED, and the Inputs node information is the SV link information subscribed by the IED; the information in the ExtRef element under the Inputs node under the M1 access point in the IED is extracted as the external IED information.
更进一步地,所述步骤3中间隔划分原则如下:Furthermore, the interval division principle in step 3 is as follows:
以线路保护为中心,搜索与该线路保护有SV/GOOSE订阅/发布关系的其他直接关联IED,比对线路保护的设备名称和直接关联IED的设备名称,若直接关联IED的设备名称中间隔类型、电压等级、支路编号与线路保护的一致,则这些直接关联IED与线路保护整体为一个间隔。Centering on the line protection, search for other directly associated IEDs that have a SV/GOOSE subscription/publishing relationship with the line protection, compare the device name of the line protection with the device name of the directly associated IED, if the device name of the directly associated IED is separated by type , voltage level, and branch circuit number are consistent with those of the line protection, then these directly related IEDs and the line protection as a whole form an interval.
更进一步地,所述步骤4中GOOSE虚端子的输入端子地址和输出端子地址获取方式为,将IED name与IED中G1访问点下inputs节点中intaddr信息组合,存储为输出端子地址;将Inputs节点下ExtRef元素信息中prefix、ldInst、lnClass、lnInst、doName、daName组合为外部地址,并与ExtRef元素信息中iedName一起存储为输入端子地址,输出端子地址与输入端子地址共同组成一条完整的GOOSE虚端子。Further, the method of obtaining the input terminal address and output terminal address of the GOOSE virtual terminal in the step 4 is to combine the IED name with the intaddr information in the inputs node under the G1 access point in the IED, and store it as the output terminal address; The combination of prefix, ldInst, lnClass, lnInst, doName, and daName in the ExtRef element information is the external address, and stored together with iedName in the ExtRef element information as the input terminal address, and the output terminal address and the input terminal address together form a complete GOOSE virtual terminal .
进一步地,所述步骤5中GOOSE虚端子比对原则为:Further, the GOOSE virtual terminal comparison principle in step 5 is:
每一个GOOSE虚端子作为源GOOSE虚端子分别与除自身外的其他GOOSE虚端子比对输入端子地址和输出端子地址;Each GOOSE virtual terminal is used as the source GOOSE virtual terminal to compare the input terminal address and output terminal address with other GOOSE virtual terminals except itself;
当源GOOSE虚端子的输出端子地址、输入端子地址均不与所有参与比对的GOOSE虚端子一致时,存储源GOOSE虚端子为正确GOOSE虚端子;When the output terminal address and input terminal address of the source GOOSE virtual terminal are not consistent with all the GOOSE virtual terminals participating in the comparison, the stored source GOOSE virtual terminal is the correct GOOSE virtual terminal;
当源GOOSE虚端子的输入端子地址与参与比对的GOOSE虚端子的输入端子地址一致,而输出端子地址不一致时,存储源GOOSE虚端子和参与比对的GOOSE虚端子为异常GOOSE虚端子;When the input terminal address of the source GOOSE virtual terminal is consistent with the input terminal address of the GOOSE virtual terminal participating in the comparison, but the output terminal address is inconsistent, the storage source GOOSE virtual terminal and the GOOSE virtual terminal participating in the comparison are abnormal GOOSE virtual terminals;
当源GOOSE虚端子的输出端子地址与参与比对的GOOSE虚端子的输出端子地址一致,而输入端子地址不一致时,存储源GOOSE虚端子和参与比对的GOOSE虚端子为待检GOOSE虚端子。When the output terminal address of the source GOOSE virtual terminal is consistent with the output terminal address of the GOOSE virtual terminal participating in the comparison, but the input terminal address is inconsistent, the storage source GOOSE virtual terminal and the GOOSE virtual terminal participating in the comparison are the GOOSE virtual terminals to be checked.
进一步地,所述步骤6中根据同组IED的所属间隔评估是否存在GOOSE虚端子跨间隔误连接的过程为:Further, in the step 6, the process of assessing whether there is a GOOSE virtual terminal misconnection across the interval according to the interval of the same group of IEDs is as follows:
本组IED均属于同一间隔,则本组GOOSE虚端子为正确的GOOSE虚端子;All IEDs in this group belong to the same interval, so the GOOSE virtual terminal in this group is the correct GOOSE virtual terminal;
本组IED属于2个不同间隔,且2个不同间隔属于同一电压等级,其中一个间隔为母线间隔,则本组GOOSE虚端子为正确的GOOSE虚端子;This group of IEDs belongs to 2 different bays, and the 2 different bays belong to the same voltage level, and one of the bays is a bus bay, then the GOOSE virtual terminal in this group is the correct GOOSE virtual terminal;
本组IED属于2个间隔,且2个间隔分属不同电压等级,则本组GOOSE虚端子属于跨间隔误连接;This group of IEDs belongs to 2 bays, and the 2 bays belong to different voltage levels, then this group of GOOSE virtual terminals belongs to misconnection across bays;
本组IED属于2个间隔,2个间隔属于同一电压等级,但2个间隔中没有母线间隔,则本组GOOSE虚端子属于跨间隔误连接;The IEDs in this group belong to 2 bays, and the 2 bays belong to the same voltage level, but there is no bus bar bay in the 2 bays, then the GOOSE virtual terminals in this group belong to misconnection across bays;
本组IED属于超过2个间隔,则本组GOOSE虚端子属于跨间隔误连接。If the IEDs in this group belong to more than 2 bays, then the GOOSE virtual terminals in this group belong to misconnections across bays.
本发明还提供一种自动审查SCD文件虚端子跨间隔误连接装置,包括:The present invention also provides a device for automatically checking the false connection of virtual terminals across intervals in SCD files, including:
分类模块,用于解析SCD文件,遍历IED列表,获取设备名称,并按照设备名称对设备进行分类;The classification module is used to parse the SCD file, traverse the IED list, obtain the device name, and classify the device according to the device name;
信息提取模块,用于提取分类后设备的设备信息;An information extraction module, configured to extract device information of classified devices;
间隔划分模块,用于根据设备信息对全站设备进行间隔划分;The interval dividing module is used to divide the interval of the whole station equipment according to the equipment information;
端子地址获取模块,用于遍历所有IED,获取每个IED中所有GOOSE虚端子的输入端子地址和输出端子地址;The terminal address obtaining module is used to traverse all IEDs and obtain the input terminal addresses and output terminal addresses of all GOOSE virtual terminals in each IED;
比对模块,用于每一个GOOSE虚端子分别与除自身外的其他GOOSE虚端子比对输入端子地址和输出端子地址,根据比对结果,分类存储参与比对的GOOSE虚端子为正确GOOSE虚端子、异常GOOSE虚端子或待检GOOSE虚端子;The comparison module is used to compare the input terminal address and output terminal address of each GOOSE virtual terminal with other GOOSE virtual terminals except itself, and classify and store the GOOSE virtual terminals participating in the comparison as correct GOOSE virtual terminals according to the comparison results , Abnormal GOOSE virtual terminal or pending GOOSE virtual terminal;
评估模块,用于将待检GOOSE虚端子,按照输出端子地址中的IED name进行分组,取出分组后的每个GOOSE虚端子的输入端子地址的IED name,根据输入端子地址的IEDname匹配间隔划分模块中已划分的间隔;根据同组IED的所属间隔评估是否存在GOOSE虚端子跨间隔误连接。The evaluation module is used to group the GOOSE virtual terminals to be checked according to the IED name in the output terminal address, take out the IED name of the input terminal address of each GOOSE virtual terminal after grouping, and divide the modules according to the IEDname matching interval of the input terminal address The intervals that have been divided in; evaluate whether there is any misconnection of GOOSE virtual terminals across intervals according to the intervals to which IEDs of the same group belong.
进一步地,所述分类模块中设备名称从IED列表中每个IED下的IED name节点获取,根据获取的IED name中设备类型属性将设备分为保护、合并单元、智能终端以及测控。Further, the device name in the classification module is obtained from the IED name node under each IED in the IED list, and the device is divided into protection, merging unit, intelligent terminal and measurement and control according to the device type attribute in the obtained IED name.
更进一步地,所述IED name的命名规则为设备类型+间隔类型+电压等级+支路编号+A/B套,其中,设备类型包括:保护P、测控C/S、合并单元M、智能终端I,间隔类型包括:线路L、母线M、母联/分段E、主变T,电压等级包括:750kV、500kV、220kV、110kV、35kV、10kV。Furthermore, the naming rule of the IED name is equipment type + interval type + voltage level + branch number + A/B set, wherein the equipment type includes: protection P, measurement and control C/S, merging unit M, intelligent terminal I. Interval types include: line L, bus bar M, bus coupler/section E, main transformer T, and voltage levels include: 750kV, 500kV, 220kV, 110kV, 35kV, 10kV.
进一步地,所述信息提取模块中设备信息分为三层:Further, the device information in the information extraction module is divided into three layers:
第一层为IED信息,包括设备类型、设备名称,依据SCD文件中该设备的IED name关键字进行匹配;The first layer is IED information, including device type and device name, which is matched according to the IED name keyword of the device in the SCD file;
第二层为链路信息,包括SV链路信息和GOOSE链路信息,为该设备所有发布/订阅的SV链路信息和GOOSE链路信息;The second layer is link information, including SV link information and GOOSE link information, which is the SV link information and GOOSE link information published/subscribed by the device;
第三层为外部IED信息,与该设备有GOOSE链路连接的其他设备的信息,包括设备类型、设备名称,依据SCD文件中IED name关键字匹配。The third layer is the external IED information, the information of other devices connected to the device with GOOSE links, including device type and device name, which are matched according to the IED name keyword in the SCD file.
更进一步地,对于GOOSE链路,提取IED中G1访问点下FCDA和Inputs节点信息为GOOSE链路信息,其中FCDA节点信息为IED发布的GOOSE链路信息,Inputs节点信息为IED订阅的GOOSE链路信息;提取IED中G1访问点下Inputs节点下ExtRef元素信息为外部IED信息;对于SV链路,提取IED中M1访问点下FCDA、Inputs节点信息为SV链路信息,其中M1访问点下FCDA节点的信息为IED发布的SV链路信息,Inputs节点信息为IED订阅的SV链路信息;提取IED中M1访问点下Inputs节点下ExtRef元素中信息为外部IED信息。Furthermore, for the GOOSE link, extract the FCDA and Inputs node information under the G1 access point in the IED as the GOOSE link information, where the FCDA node information is the GOOSE link information issued by the IED, and the Inputs node information is the GOOSE link subscribed by the IED information; extract the ExtRef element information under the Inputs node under the G1 access point in the IED as external IED information; for the SV link, extract the FCDA and Inputs node information under the M1 access point in the IED as the SV link information, where the FCDA node under the M1 access point The information is the SV link information released by the IED, and the Inputs node information is the SV link information subscribed by the IED; the information in the ExtRef element under the Inputs node under the M1 access point in the IED is extracted as the external IED information.
更进一步地,所述间隔划分模块中间隔划分原则如下:Further, the interval division principle in the interval division module is as follows:
以线路保护为中心,搜索与该线路保护有SV/GOOSE订阅/发布关系的其他直接关联IED,比对线路保护的设备名称和直接关联IED的设备名称,若直接关联IED的设备名称中间隔类型、电压等级、支路编号与线路保护的一致,则这些直接关联IED与线路保护整体为一个间隔。Centering on the line protection, search for other directly associated IEDs that have a SV/GOOSE subscription/publishing relationship with the line protection, compare the device name of the line protection with the device name of the directly associated IED, if the device name of the directly associated IED is separated by type , voltage level, and branch circuit number are consistent with those of the line protection, then these directly related IEDs and the line protection as a whole form an interval.
更进一步地,所述端子地址获取模块中GOOSE虚端子的输入端子地址和输出端子地址获取方式为,将IED name与IED中G1访问点下inputs节点中intaddr信息组合,存储为输出端子地址;将Inputs节点下ExtRef元素信息中prefix、ldInst、lnClass、lnInst、doName、daName组合为外部地址,并与ExtRef元素信息中iedName一起存储为输入端子地址,输出端子地址与输入端子地址共同组成一条完整的GOOSE虚端子。Further, the acquisition method of the input terminal address and the output terminal address of the GOOSE virtual terminal in the terminal address acquisition module is to combine the IED name with the intaddr information in the inputs node under the G1 access point in the IED, and store it as the output terminal address; The prefix, ldInst, lnClass, lnInst, doName, and daName in the ExtRef element information under the Inputs node are combined into an external address, and stored together with iedName in the ExtRef element information as an input terminal address, and the output terminal address and the input terminal address together form a complete GOOSE Virtual terminal.
进一步地,所述比对模块中GOOSE虚端子比对原则为:Further, the GOOSE virtual terminal comparison principle in the comparison module is:
每一个GOOSE虚端子作为源GOOSE虚端子分别与除自身外的其他GOOSE虚端子比对输入端子地址和输出端子地址;Each GOOSE virtual terminal is used as the source GOOSE virtual terminal to compare the input terminal address and output terminal address with other GOOSE virtual terminals except itself;
当源GOOSE虚端子的输出端子地址、输入端子地址均不与所有参与比对的GOOSE虚端子一致时,存储源GOOSE虚端子为正确GOOSE虚端子;When the output terminal address and input terminal address of the source GOOSE virtual terminal are not consistent with all the GOOSE virtual terminals participating in the comparison, the stored source GOOSE virtual terminal is the correct GOOSE virtual terminal;
当源GOOSE虚端子的输入端子地址与参与比对的GOOSE虚端子的输入端子地址一致,而输出端子地址不一致时,存储源GOOSE虚端子和参与比对的GOOSE虚端子为异常GOOSE虚端子;When the input terminal address of the source GOOSE virtual terminal is consistent with the input terminal address of the GOOSE virtual terminal participating in the comparison, but the output terminal address is inconsistent, the storage source GOOSE virtual terminal and the GOOSE virtual terminal participating in the comparison are abnormal GOOSE virtual terminals;
当源GOOSE虚端子的输出端子地址与参与比对的GOOSE虚端子的输出端子地址一致,而输入端子地址不一致时,存储源GOOSE虚端子和参与比对的GOOSE虚端子为待检GOOSE虚端子。When the output terminal address of the source GOOSE virtual terminal is consistent with the output terminal address of the GOOSE virtual terminal participating in the comparison, but the input terminal address is inconsistent, the storage source GOOSE virtual terminal and the GOOSE virtual terminal participating in the comparison are the GOOSE virtual terminals to be checked.
进一步地,所述评估模块中根据同组IED的所属间隔评估是否存在GOOSE虚端子跨间隔误连接的过程为:Further, the process of assessing whether there is GOOSE virtual terminal misconnection across the interval according to the interval belonging to the same group of IEDs in the evaluation module is:
本组IED均属于同一间隔,则本组GOOSE端子为正确的GOOSE虚端子;All IEDs in this group belong to the same interval, so the GOOSE terminal in this group is the correct GOOSE virtual terminal;
本组IED属于2个不同间隔,且2个不同间隔属于同一电压等级,其中一个间隔为母线间隔,则本组GOOSE虚端子为正确的GOOSE虚端子;This group of IEDs belongs to 2 different bays, and the 2 different bays belong to the same voltage level, and one of the bays is a bus bay, then the GOOSE virtual terminal in this group is the correct GOOSE virtual terminal;
本组IED属于2个间隔,且2个间隔分属不同电压等级,则本组GOOSE虚端子属于跨间隔误连接;This group of IEDs belongs to 2 bays, and the 2 bays belong to different voltage levels, then this group of GOOSE virtual terminals belongs to misconnection across bays;
本组IED属于2个间隔,2个间隔属于同一电压等级,但2个间隔中没有母线间隔,则本组GOOSE虚端子属于跨间隔误连接;The IEDs in this group belong to 2 bays, and the 2 bays belong to the same voltage level, but there is no bus bar bay in the 2 bays, then the GOOSE virtual terminals in this group belong to misconnection across bays;
本组IED属于超过2个间隔,则本组GOOSE虚端子属于跨间隔误连接。If the IEDs in this group belong to more than 2 bays, then the GOOSE virtual terminals in this group belong to misconnections across bays.
本发明的优点在于:The advantages of the present invention are:
(1)本发明通过遍历SCD文件IED列表,读取IED的设备信息,按照设备信息对IED进行间隔划分;取每个IED中所有GOOSE虚端子的输入端子地址和输出端子地址,比对各个IED的GOOSE虚端子,从而实现GOOSE虚端子跨间隔误连接的自动审查。(1) The present invention reads the device information of the IED by traversing the IED list of the SCD file, and divides the IED according to the device information; gets the input terminal address and the output terminal address of all GOOSE virtual terminals in each IED, and compares each IED GOOSE virtual terminals, so as to realize the automatic review of wrong connection of GOOSE virtual terminals across intervals.
(2)本发明提供GOOSE虚端子跨间隔误连接的自动审查的方法,减少人工审查的时间,节约人力成本,也提高了SCD的正确性。(2) The present invention provides an automatic review method for incorrect connection of GOOSE virtual terminals across intervals, which reduces the time for manual review, saves labor costs, and improves the accuracy of the SCD.
附图说明Description of drawings
图1为本发明实施例所公开的一种自动审查SCD文件虚端子跨间隔误连接方法的流程图;Fig. 1 is a flow chart of a method for automatically reviewing the false connection method of the virtual terminal of the SCD file across the interval disclosed by the embodiment of the present invention;
图2为本发明实施例所提供的一种自动审查SCD文件虚端子跨间隔误连接方法中典型间隔示意图;Fig. 2 is a schematic diagram of a typical interval in a method for automatically reviewing the false connection of a virtual terminal of an SCD file across an interval provided by an embodiment of the present invention;
图3为本发明实施例所提供的一种自动审查SCD文件虚端子跨间隔误连接方法中GOOSE虚端子比对示意图。Fig. 3 is a schematic diagram of comparison of GOOSE virtual terminals in a method for automatically reviewing false connection of virtual terminals across intervals in SCD files provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the embodiments of the present invention. Obviously, the described embodiments are part of the present invention Examples, not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
实施例1Example 1
如图1所示,一种自动审查SCD文件虚端子跨间隔误连接方法,从导入SCD文件到完成GOOSE虚端子跨间隔误连接的自动审查包括以下步骤:As shown in Figure 1, a method for automatically reviewing the misconnection of virtual terminals across intervals in SCD files, from importing the SCD file to completing the automatic review of misconnections of GOOSE virtual terminals across intervals includes the following steps:
步骤1、解析SCD文件,遍历IED列表,获取设备名称,并按照设备名称对设备进行分类;Step 1, parse the SCD file, traverse the IED list, obtain the device name, and classify the device according to the device name;
本实施例中设备名称从IED列表中每个IED下的IED name(设备名称)节点获取,根据获取的IED name中设备类型属性将设备分为保护(P)、合并单元(M)、智能终端(I)、测控(C/S)。In this embodiment, the device name is obtained from the IED name (device name) node under each IED in the IED list, and the device is divided into protection (P), merging unit (M), and intelligent terminal according to the device type attribute in the obtained IED name. (I), measurement and control (C/S).
所述IED name的命名规则为设备类型+间隔类型+电压等级+支路编号+A/B套,其中,设备类型包括:保护P、测控C/S、合并单元M、智能终端I,间隔类型包括:线路L、母线M、母联/分段E、主变T,电压等级包括:750kV、500kV、220kV、110kV、35kV、10kV。The naming rule of the IED name is equipment type + interval type + voltage level + branch number + A/B set, wherein the equipment type includes: protection P, measurement and control C/S, merging unit M, intelligent terminal I, interval type Including: line L, bus M, bus coupler/section E, main transformer T, voltage levels include: 750kV, 500kV, 220kV, 110kV, 35kV, 10kV.
步骤2、提取分类后设备的设备信息;设备信息分为三层:Step 2. Extract the device information of the classified device; the device information is divided into three layers:
第一层为IED信息,包括设备类型、设备名称,依据SCD文件中该设备的IED name关键字进行匹配;The first layer is IED information, including device type and device name, which is matched according to the IED name keyword of the device in the SCD file;
第二层为链路信息,包括SV链路信息和GOOSE链路信息,为该设备所有发布/订阅的SV链路信息和GOOSE链路信息;The second layer is link information, including SV link information and GOOSE link information, which is the SV link information and GOOSE link information published/subscribed by the device;
第三层为外部IED信息,与该设备有GOOSE链路连接的其他设备的信息,包括设备类型、设备名称,依据SCD文件中IED name关键字匹配。The third layer is the external IED information, the information of other devices connected to the device with GOOSE links, including device type and device name, which are matched according to the IED name keyword in the SCD file.
对于GOOSE链路,提取IED中G1访问点下逻辑设备实例节点LDeviceinst(PI或者PIGO)中各逻辑设备的逻辑节点类LN0 lnClass(LLN0)下数据集信息节点(以下简称dataSet)的FCDA(功能约束数据属性)和Inputs(外部信号引用)节点信息为GOOSE链路信息。dataSet中FCDA包括如下元素,ldInst(逻辑设备实例)、prefix(前缀)、lnClass(逻辑节点类)、lnInst(逻辑节点实例)、doName(数据对象名称)、daName(数据属性);FCDA下所有元素信息组合为本IED发布的GOOSE链路信息。For the GOOSE link, extract the FCDA (functional constraint) of the data set information node (hereinafter referred to as dataSet) under the logical node class LN0 lnClass (LLN0) of each logical device in the logical device instance node LDeviceinst (PI or PIGO) under the G1 access point in the IED Data attribute) and Inputs (external signal reference) node information is GOOSE link information. FCDA in dataSet includes the following elements, ldInst (logical device instance), prefix (prefix), lnClass (logical node class), lnInst (logical node instance), doName (data object name), daName (data attribute); all elements under FCDA The information combination is the GOOSE link information released by this IED.
Inputs中ExtRef(外部属性引用)包括如下元素,iedName(设备名称)、prefix、lnClass、lnInst、doName、daName、intAddr(内部地址);ExtRef下所有元素信息组合为本IED订阅的GOOSE链路信息。ExtRef (external attribute reference) in Inputs includes the following elements, iedName (device name), prefix, lnClass, lnInst, doName, daName, intAddr (internal address); all element information under ExtRef is combined into the GOOSE link information subscribed by this IED.
同理,对于SV链路信息,IED模型中M1访问点下FCDA下ldInst、prefix、lnClass、lnInst、doName、daName、fc元素信息组合为本IED发布的SV链路信息;ExtRef下iedName、prefix、lnClass、lnInst、doName、daName、intAddr元素信息组合为本IED订阅的SV链路信息。Similarly, for SV link information, the combination of ldInst, prefix, lnClass, lnInst, doName, daName, and fc element information under FCDA under M1 access point in the IED model is the SV link information released by this IED; iedName, prefix, The combination of lnClass, lnInst, doName, daName, and intAddr element information is the SV link information subscribed by this IED.
步骤3、根据设备信息对全站设备进行间隔划分;如图2所示,为典型间隔示意图,在本实施例中,以线路间隔为例,间隔划分原则如下:Step 3. Carry out interval division for all station equipment according to the equipment information; as shown in Figure 2, it is a typical interval schematic diagram. In this embodiment, taking the line interval as an example, the interval division principle is as follows:
搜索与线路保护有SV/GOOSE订阅/发布关系的其他直接关联IED,图2中可知,线路合并单元与线路保护之间有SV订阅/发布;线路智能终端与线路保护之间有GOOSE订阅/发布;线路测控与线路保护之间有GOOSE订阅/发布;母线保护与线路保护之间有GOOSE订阅/发布;比对与线路保护直接关联IED的IED name,其中线路合并单元、线路智能终端和线路测控与线路保护的间隔类型、电压等级、支路编号均一致,而母线保护与线路保护的间隔类型不一致,所以线路保护、线路合并单元、线路智能终端以及线路测控为一个线路间隔。Search for other directly related IEDs that have a SV/GOOSE subscription/publishing relationship with the line protection, as shown in Figure 2, there is an SV subscription/publishing between the line merging unit and the line protection; there is a GOOSE subscription/publishing between the line intelligent terminal and the line protection ; There is GOOSE subscription/publishing between line monitoring and control and line protection; there is GOOSE subscription/publishing between busbar protection and line protection; compare the IED name of the IED directly associated with line protection, among which the line merging unit, line intelligent terminal and line monitoring and control The bay type, voltage level, and branch number are consistent with the line protection, but the busbar protection is inconsistent with the line protection bay type, so the line protection, line merging unit, line intelligent terminal, and line monitoring and control are one line bay.
步骤4、遍历所有IED,获取每个IED中所有GOOSE虚端子的输入端子地址和输出端子地址;Step 4. Traverse all IEDs to obtain the input terminal addresses and output terminal addresses of all GOOSE virtual terminals in each IED;
GOOSE虚端子的输入端子地址和输出端子地址获取方式为,将IED name与IED中G1访问点下inputs节点中intaddr信息组合,存储为输出端子地址;将Inputs节点下ExtRef元素信息中prefix、ldInst、lnClass、lnInst、doName、daName组合为外部地址,并与ExtRef元素信息中iedName一起存储为输入端子地址,输出端子地址与输入端子地址共同组成一条完整的GOOSE虚端子。The way to obtain the input terminal address and output terminal address of GOOSE virtual terminal is to combine the IED name with the intaddr information in the inputs node under the G1 access point in the IED, and store it as the output terminal address; the prefix, ldInst, lnClass, lnInst, doName, and daName are combined into an external address, and stored together with iedName in the ExtRef element information as an input terminal address, and an output terminal address and an input terminal address together form a complete GOOSE virtual terminal.
步骤5、每一个GOOSE虚端子分别与除自身外的其他GOOSE虚端子比对输入端子地址和输出端子地址,根据比对结果,分类存储参与比对的GOOSE虚端子为正确GOOSE虚端子、异常GOOSE虚端子或待检GOOSE虚端子;如图3所示,为GOOSE虚端子比对过程示意图,图中Addr IN表示输入端子地址,AddrOUT表示输出端子地址,GOOSE虚端子比对原则为:Step 5. Each GOOSE virtual terminal compares the input terminal address and output terminal address with other GOOSE virtual terminals except itself, and according to the comparison results, classify and store the GOOSE virtual terminals participating in the comparison as correct GOOSE virtual terminals and abnormal GOOSE Virtual terminal or GOOSE virtual terminal to be checked; as shown in Figure 3, it is a schematic diagram of the comparison process of GOOSE virtual terminals. In the figure, Addr IN indicates the input terminal address, and AddrOUT indicates the output terminal address. The principle of GOOSE virtual terminal comparison is:
每一个GOOSE虚端子作为源GOOSE虚端子分别与除自身外的其他GOOSE虚端子比对输入端子地址和输出端子地址;Each GOOSE virtual terminal is used as the source GOOSE virtual terminal to compare the input terminal address and output terminal address with other GOOSE virtual terminals except itself;
当源GOOSE虚端子的输出端子地址、输入端子地址均不与所有参与比对的GOOSE虚端子一致时,存储源GOOSE虚端子为正确GOOSE虚端子;When the output terminal address and input terminal address of the source GOOSE virtual terminal are not consistent with all the GOOSE virtual terminals participating in the comparison, the stored source GOOSE virtual terminal is the correct GOOSE virtual terminal;
当源GOOSE虚端子的输入端子地址与参与比对的GOOSE虚端子的输入端子地址一致,而输出端子地址不一致时,存储源GOOSE虚端子和参与比对的GOOSE虚端子为异常GOOSE虚端子;When the input terminal address of the source GOOSE virtual terminal is consistent with the input terminal address of the GOOSE virtual terminal participating in the comparison, but the output terminal address is inconsistent, the storage source GOOSE virtual terminal and the GOOSE virtual terminal participating in the comparison are abnormal GOOSE virtual terminals;
当源GOOSE虚端子的输出端子地址与参与比对的GOOSE虚端子的输出端子地址一致,而输入端子地址不一致时,存储源GOOSE虚端子和参与比对的GOOSE虚端子为待检GOOSE虚端子。When the output terminal address of the source GOOSE virtual terminal is consistent with the output terminal address of the GOOSE virtual terminal participating in the comparison, but the input terminal address is inconsistent, the storage source GOOSE virtual terminal and the GOOSE virtual terminal participating in the comparison are the GOOSE virtual terminals to be checked.
步骤5所述正确GOOSE虚端子为正确链路,不需要跨间隔审查;异常GOOSE虚端子为错误链路,直接报告链路错误;待检GOOSE虚端子需进行跨间隔审查。所以以下通过步骤6的方法对待检GOOSE虚端子进行跨间隔审查。The correct GOOSE virtual terminal mentioned in step 5 is a correct link and does not need to be checked across intervals; the abnormal GOOSE virtual terminal is an incorrect link, and the link error is directly reported; the GOOSE virtual terminal to be checked needs to be checked across intervals. Therefore, the method of step 6 is used to conduct cross-interval inspection of the GOOSE virtual terminal to be inspected.
步骤6、将待检GOOSE虚端子,按照输出端子地址中的IED name进行分组,取出分组后的每个GOOSE虚端子的输入端子地址的IED name,根据输入端子地址的IED name匹配步骤3中已划分的间隔;根据同组IED的所属间隔评估是否存在GOOSE虚端子跨间隔误连接。具体审查过程为:Step 6. Group the GOOSE virtual terminals to be checked according to the IED name in the output terminal address, take out the IED name of the input terminal address of each GOOSE virtual terminal after grouping, and match the IED name in step 3 according to the IED name of the input terminal address Divided intervals; evaluate whether there is a false connection of GOOSE virtual terminals across intervals according to the intervals to which IEDs of the same group belong. The specific review process is:
本组IED均属于同一间隔,则本组GOOSE端子为正确的GOOSE虚端子;All IEDs in this group belong to the same interval, so the GOOSE terminal in this group is the correct GOOSE virtual terminal;
本组IED属于2个不同间隔,且2个不同间隔属于同一电压等级,其中一个间隔为母线间隔,则本组GOOSE虚端子为正确的GOOSE虚端子;This group of IEDs belongs to 2 different bays, and the 2 different bays belong to the same voltage level, and one of the bays is a bus bay, then the GOOSE virtual terminal in this group is the correct GOOSE virtual terminal;
本组IED属于2个间隔,且2个间隔分属不同电压等级,则本组GOOSE虚端子属于跨间隔误连接;This group of IEDs belongs to 2 bays, and the 2 bays belong to different voltage levels, then this group of GOOSE virtual terminals belongs to misconnection across bays;
本组IED属于2个间隔,2个间隔属于同一电压等级,但2个间隔中没有母线间隔,则本组GOOSE虚端子属于跨间隔误连接;The IEDs in this group belong to 2 bays, and the 2 bays belong to the same voltage level, but there is no bus bar bay in the 2 bays, then the GOOSE virtual terminals in this group belong to misconnection across bays;
本组IED属于超过2个间隔,则本组GOOSE虚端子属于跨间隔误连接。If the IEDs in this group belong to more than 2 bays, then the GOOSE virtual terminals in this group belong to misconnections across bays.
通过以上技术方案,本发明通过遍历SCD文件IED列表,读取IED的设备信息,按照设备信息对IED进行间隔划分;取每个IED中所有GOOSE虚端子的输入端子地址和输出端子地址,比对各个IED的GOOSE虚端子,从而实现GOOSE虚端子跨间隔误连接的自动审查。Through the above technical scheme, the present invention reads the device information of the IED by traversing the IED list of the SCD file, and divides the IED according to the device information; takes the input terminal addresses and output terminal addresses of all GOOSE virtual terminals in each IED, and compares them GOOSE virtual terminals of each IED, so as to realize the automatic review of wrong connection of GOOSE virtual terminals across intervals.
实施例2Example 2
与本发明实施例1相对应的,本发明实施例2还提供一种自动审查SCD文件虚端子跨间隔误连接装置,包括:Corresponding to Embodiment 1 of the present invention, Embodiment 2 of the present invention also provides a device for automatically reviewing false connections of virtual terminals across intervals in SCD files, including:
分类模块,用于解析SCD文件,遍历IED列表,获取设备名称,并按照设备名称对设备进行分类;The classification module is used to parse the SCD file, traverse the IED list, obtain the device name, and classify the device according to the device name;
信息提取模块,用于提取分类后设备的设备信息;An information extraction module, configured to extract device information of classified devices;
间隔划分模块,用于根据设备信息对全站设备进行间隔划分;The interval dividing module is used to divide the interval of the whole station equipment according to the equipment information;
端子地址获取模块,用于遍历所有IED,获取每个IED中所有GOOSE虚端子的输入端子地址和输出端子地址;The terminal address obtaining module is used to traverse all IEDs and obtain the input terminal addresses and output terminal addresses of all GOOSE virtual terminals in each IED;
比对模块,用于每一个GOOSE虚端子分别与除自身外的其他GOOSE虚端子比对输入端子地址和输出端子地址,根据比对结果,分类存储参与比对的GOOSE虚端子为正确GOOSE虚端子、异常GOOSE虚端子或待检GOOSE虚端子;The comparison module is used to compare the input terminal address and output terminal address of each GOOSE virtual terminal with other GOOSE virtual terminals except itself, and classify and store the GOOSE virtual terminals participating in the comparison as correct GOOSE virtual terminals according to the comparison results , Abnormal GOOSE virtual terminal or pending GOOSE virtual terminal;
评估模块,用于将待检GOOSE虚端子,按照输出端子地址中的IED name进行分组,取出分组后的每个GOOSE虚端子的输入端子地址的IED name,根据输入端子地址的IEDname匹配间隔划分模块中已划分的间隔;根据同组IED的所属间隔评估是否存在GOOSE虚端子跨间隔误连接。The evaluation module is used to group the GOOSE virtual terminals to be checked according to the IED name in the output terminal address, take out the IED name of the input terminal address of each GOOSE virtual terminal after grouping, and divide the modules according to the IEDname matching interval of the input terminal address The intervals that have been divided in; evaluate whether there is any misconnection of GOOSE virtual terminals across intervals according to the intervals to which IEDs of the same group belong.
具体的,所述分类模块中设备名称从IED列表中每个IED下的IED name节点获取,根据获取的IED name中设备类型属性将设备分为保护、合并单元、智能终端以及测控。Specifically, the device name in the classification module is obtained from the IED name node under each IED in the IED list, and the device is divided into protection, merging unit, intelligent terminal and measurement and control according to the device type attribute in the obtained IED name.
更具体的,所述IED name的命名规则为设备类型+间隔类型+电压等级+支路编号+A/B套,其中,设备类型包括:保护P、测控C/S、合并单元M、智能终端I,间隔类型包括:线路L、母线M、母联/分段E、主变T,电压等级包括:750kV、500kV、220kV、110kV、35kV、10kV。More specifically, the naming rule of the IED name is equipment type + interval type + voltage level + branch number + A/B set, wherein the equipment type includes: protection P, measurement and control C/S, merging unit M, intelligent terminal I. Interval types include: line L, bus bar M, bus coupler/section E, main transformer T, and voltage levels include: 750kV, 500kV, 220kV, 110kV, 35kV, 10kV.
具体的,所述信息提取模块中设备信息分为三层:Specifically, the device information in the information extraction module is divided into three layers:
第一层为IED信息,包括设备类型、设备名称,依据SCD文件中该设备的IED name关键字进行匹配;The first layer is IED information, including device type and device name, which is matched according to the IED name keyword of the device in the SCD file;
第二层为链路信息,包括SV链路信息和GOOSE链路信息,为该设备所有发布/订阅的SV链路信息和GOOSE链路信息;The second layer is link information, including SV link information and GOOSE link information, which is the SV link information and GOOSE link information published/subscribed by the device;
第三层为外部IED信息,与该设备有GOOSE链路连接的其他设备的信息,包括设备类型、设备名称,依据SCD文件中IED name关键字匹配。The third layer is the external IED information, the information of other devices connected to the device with GOOSE links, including device type and device name, which are matched according to the IED name keyword in the SCD file.
更具体的,对于GOOSE链路,提取IED中G1访问点下FCDA和Inputs节点信息为GOOSE链路信息,其中FCDA节点信息为IED发布的GOOSE链路信息,Inputs节点信息为IED订阅的GOOSE链路信息;提取IED中G1访问点下Inputs节点下ExtRef元素信息为外部IED信息;对于SV链路,提取IED中M1访问点下FCDA、Inputs节点信息为SV链路信息,其中M1访问点下FCDA节点的信息为IED发布的SV链路信息,Inputs节点信息为IED订阅的SV链路信息;提取IED中M1访问点下Inputs节点下ExtRef元素中信息为外部IED信息。More specifically, for the GOOSE link, extract the FCDA and Inputs node information under the G1 access point in the IED as the GOOSE link information, where the FCDA node information is the GOOSE link information issued by the IED, and the Inputs node information is the GOOSE link subscribed by the IED information; extract the ExtRef element information under the Inputs node under the G1 access point in the IED as external IED information; for the SV link, extract the FCDA and Inputs node information under the M1 access point in the IED as the SV link information, where the FCDA node under the M1 access point The information in is the SV link information released by the IED, and the Inputs node information is the SV link information subscribed by the IED; the information in the ExtRef element under the Inputs node under the M1 access point in the IED is extracted as the external IED information.
更具体的,所述间隔划分模块中间隔划分原则如下:More specifically, the interval division principle in the interval division module is as follows:
以线路保护为中心,搜索与该线路保护有SV/GOOSE订阅/发布关系的其他直接关联IED,比对线路保护的设备名称和直接关联IED的设备名称,若直接关联IED的设备名称中间隔类型、电压等级、支路编号与线路保护的一致,则这些直接关联IED与线路保护整体为一个间隔。Centering on the line protection, search for other directly associated IEDs that have a SV/GOOSE subscription/publishing relationship with the line protection, compare the device name of the line protection with the device name of the directly associated IED, if the device name of the directly associated IED is separated by type , voltage level, and branch circuit number are consistent with those of the line protection, then these directly related IEDs and the line protection as a whole form an interval.
更具体的,所述端子地址获取模块中GOOSE虚端子的输入端子地址和输出端子地址获取方式为,将IED name与IED中G1访问点下inputs节点中intaddr信息组合,存储为输出端子地址;将Inputs节点下ExtRef元素信息中prefix、ldInst、lnClass、lnInst、doName、daName组合为外部地址,并与ExtRef元素信息中iedName一起存储为输入端子地址,输出端子地址与输入端子地址共同组成一条完整的GOOSE虚端子。More specifically, the acquisition method of the input terminal address and the output terminal address of the GOOSE virtual terminal in the terminal address acquisition module is to combine the IED name with the intaddr information in the inputs node under the G1 access point in the IED, and store it as the output terminal address; The prefix, ldInst, lnClass, lnInst, doName, and daName in the ExtRef element information under the Inputs node are combined into an external address, and stored together with iedName in the ExtRef element information as an input terminal address, and the output terminal address and the input terminal address together form a complete GOOSE Virtual terminal.
具体的,所述比对模块中GOOSE虚端子比对原则为:Specifically, the comparison principle of the GOOSE virtual terminal in the comparison module is:
每一个GOOSE虚端子作为源GOOSE虚端子分别与除自身外的其他GOOSE虚端子比对输入端子地址和输出端子地址;Each GOOSE virtual terminal is used as the source GOOSE virtual terminal to compare the input terminal address and output terminal address with other GOOSE virtual terminals except itself;
当源GOOSE虚端子的输出端子地址、输入端子地址均不与所有参与比对的GOOSE虚端子一致时,存储源GOOSE虚端子为正确GOOSE虚端子;When the output terminal address and input terminal address of the source GOOSE virtual terminal are not consistent with all the GOOSE virtual terminals participating in the comparison, the stored source GOOSE virtual terminal is the correct GOOSE virtual terminal;
当源GOOSE虚端子的输入端子地址与参与比对的GOOSE虚端子的输入端子地址一致,而输出端子地址不一致时,存储源GOOSE虚端子和参与比对的GOOSE虚端子为异常GOOSE虚端子;When the input terminal address of the source GOOSE virtual terminal is consistent with the input terminal address of the GOOSE virtual terminal participating in the comparison, but the output terminal address is inconsistent, the storage source GOOSE virtual terminal and the GOOSE virtual terminal participating in the comparison are abnormal GOOSE virtual terminals;
当源GOOSE虚端子的输出端子地址与参与比对的GOOSE虚端子的输出端子地址一致,而输入端子地址不一致时,存储源GOOSE虚端子和参与比对的GOOSE虚端子为待检GOOSE虚端子。When the output terminal address of the source GOOSE virtual terminal is consistent with the output terminal address of the GOOSE virtual terminal participating in the comparison, but the input terminal address is inconsistent, the storage source GOOSE virtual terminal and the GOOSE virtual terminal participating in the comparison are the GOOSE virtual terminals to be checked.
具体的,所述评估模块中根据同组IED的所属间隔评估是否存在GOOSE虚端子跨间隔误连接的过程为:Specifically, in the evaluation module, the process of evaluating whether there is a misconnection of GOOSE virtual terminals across intervals according to the intervals of the same group of IEDs is as follows:
本组IED均属于同一间隔,则本组GOOSE端子为正确的GOOSE虚端子;All IEDs in this group belong to the same interval, so the GOOSE terminal in this group is the correct GOOSE virtual terminal;
本组IED属于2个不同间隔,且2个不同间隔属于同一电压等级,其中一个间隔为母线间隔,则本组GOOSE虚端子为正确的GOOSE虚端子;This group of IEDs belongs to 2 different bays, and the 2 different bays belong to the same voltage level, and one of the bays is a bus bay, then the GOOSE virtual terminal in this group is the correct GOOSE virtual terminal;
本组IED属于2个间隔,且2个间隔分属不同电压等级,则本组GOOSE虚端子属于跨间隔误连接;This group of IEDs belongs to 2 bays, and the 2 bays belong to different voltage levels, then this group of GOOSE virtual terminals belongs to misconnection across bays;
本组IED属于2个间隔,2个间隔属于同一电压等级,但2个间隔中没有母线间隔,则本组GOOSE虚端子属于跨间隔误连接;The IEDs in this group belong to 2 bays, and the 2 bays belong to the same voltage level, but there is no bus bar bay in the 2 bays, then the GOOSE virtual terminals in this group belong to misconnection across bays;
本组IED属于超过2个间隔,则本组GOOSE虚端子属于跨间隔误连接。If the IEDs in this group belong to more than 2 bays, then the GOOSE virtual terminals in this group belong to misconnections across bays.
以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be described in the foregoing embodiments Modifications are made to the recorded technical solutions, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111094682.3A CN113779034B (en) | 2021-09-17 | 2021-09-17 | Automatic inspection SCD file virtual terminal interval-crossing error connection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111094682.3A CN113779034B (en) | 2021-09-17 | 2021-09-17 | Automatic inspection SCD file virtual terminal interval-crossing error connection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113779034A CN113779034A (en) | 2021-12-10 |
CN113779034B true CN113779034B (en) | 2023-08-22 |
Family
ID=78851958
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111094682.3A Active CN113779034B (en) | 2021-09-17 | 2021-09-17 | Automatic inspection SCD file virtual terminal interval-crossing error connection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113779034B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104361189A (en) * | 2014-12-03 | 2015-02-18 | 国网四川省电力公司经济技术研究院 | Method for quickly generating virtual terminal Excel table by SCD (Security Coding Device) |
WO2015139473A1 (en) * | 2014-03-18 | 2015-09-24 | 国家电网公司 | Method for managing and controlling system configuration document in intelligent substation |
CN105335342A (en) * | 2015-12-01 | 2016-02-17 | 国家电网公司 | Method for automatic examination of wiring correctness of intelligent substation SCD configuration file virtual terminator |
-
2021
- 2021-09-17 CN CN202111094682.3A patent/CN113779034B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015139473A1 (en) * | 2014-03-18 | 2015-09-24 | 国家电网公司 | Method for managing and controlling system configuration document in intelligent substation |
CN104361189A (en) * | 2014-12-03 | 2015-02-18 | 国网四川省电力公司经济技术研究院 | Method for quickly generating virtual terminal Excel table by SCD (Security Coding Device) |
CN105335342A (en) * | 2015-12-01 | 2016-02-17 | 国家电网公司 | Method for automatic examination of wiring correctness of intelligent substation SCD configuration file virtual terminator |
Non-Patent Citations (1)
Title |
---|
智能变电站各设备间多方虚连接可视化展示的实现;郑永康;童晓阳;刘明忠;庄先涛;田力智;刘涛;;电工技术(10);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113779034A (en) | 2021-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108733928B (en) | SCD file virtual circuit automatic checking method based on intermediate model file | |
CN105790441A (en) | Intelligent transformer substation relay protection inspection system | |
CN109002391A (en) | The method of automatic detection embedded software interface testing data | |
CN106408207A (en) | Modeling method and system for secondary virtual loop of intelligent substation | |
CN112116243A (en) | Electrical equipment defect management system based on AHP and remote support | |
CN113095059B (en) | Method, device, equipment and storage medium for verifying substation configuration description file | |
CN106843041A (en) | Automatic generation system and method for anti-error logic formula of electrical equipment | |
CN116500385B (en) | Power transmission network monitoring and checking method, device, equipment and medium | |
CN106469419A (en) | The processing method and processing device of auxiliary tone insertion data is sought in a kind of power system | |
CN105447261B (en) | An inspection tool for virtual circuits in smart substations | |
CN116561941A (en) | SCD virtual loop template model and modeling and application method thereof | |
CN111984656B (en) | Method and system for checking key parameters of basic data of smart substation automation equipment | |
CN116743079A (en) | Photovoltaic string fault processing method and device, photovoltaic management system and medium | |
CN113779034B (en) | Automatic inspection SCD file virtual terminal interval-crossing error connection method and device | |
CN110308358B (en) | Power distribution automation terminal testing method and device | |
CN119127949A (en) | Method and system for constructing virtual circuit verification rule base for smart substation | |
CN117973058A (en) | Secondary circuit checking method and system based on engineering file index and device mapping | |
CN104572433B (en) | A kind of financial information system method of testing and device | |
CN114358338A (en) | A fault diagnosis method, system, storage medium and device for power equipment | |
CN114114122A (en) | Intelligent distribution transformer terminal assembly line production verification method | |
CN103904777A (en) | Grid secondary device uploaded information effectiveness automatic identification method | |
CN112215256A (en) | Multi-source data processing method for low-voltage distribution network | |
CN116702415B (en) | A method for automatically dividing IED attribute information in SCD file of smart substation | |
CN111143296A (en) | Substation SCD file classification method and device, terminal and storage medium | |
CN117250439B (en) | A three-layer research and analysis system for multi-source ground faults |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |