CN104732041A - Automatic virtual terminal generation method based on multiple SCD templates - Google Patents

Automatic virtual terminal generation method based on multiple SCD templates Download PDF

Info

Publication number
CN104732041A
CN104732041A CN201510169738.5A CN201510169738A CN104732041A CN 104732041 A CN104732041 A CN 104732041A CN 201510169738 A CN201510169738 A CN 201510169738A CN 104732041 A CN104732041 A CN 104732041A
Authority
CN
China
Prior art keywords
virtual connections
designed
empty terminal
template
scd
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.)
Granted
Application number
CN201510169738.5A
Other languages
Chinese (zh)
Other versions
CN104732041B (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.)
State Grid Corp of China SGCC
Southwest Jiaotong University
XJ Electric Co Ltd
Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Southwest Jiaotong University
XJ Electric Co Ltd
Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd
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 State Grid Corp of China SGCC, Southwest Jiaotong University, XJ Electric Co Ltd, Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201510169738.5A priority Critical patent/CN104732041B/en
Publication of CN104732041A publication Critical patent/CN104732041A/en
Application granted granted Critical
Publication of CN104732041B publication Critical patent/CN104732041B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an automatic virtual terminal generation method based on multiple SCD templates. The method comprises the steps that all devices of a to-be-designed intelligent substation are constructed, an ICD document and a transmission device set are appointed for each device, and a corresponding similar template device of each to-be-designed device in the SCD templates is found out according to multiple SCD template documents obtained by being processed by an existing SCD; for the to-be-designed devices, the similar template devices are processed one by one, virtual connections of the current similar template device are processed one by one, an input virtual terminal, a transmission device and an output virtual terminal which are successfully matched are found out through a string-matching algorithm, a virtual connection chain table with the largest number in the virtual connection chain tables generated by the similar template devices serves as the finally generated virtual connection chain table, the virtual connections of the to-be-designed devices are automatically formed, therefore, the virtual terminal design is small in workload and high in accuracy, the intelligent degree of the virtual terminal table design is improved, the design working efficiency is improved, and the reusability of the design result of the existing SCD is improved.

Description

A kind of empty terminal table automatic generation method based on many SCD template
Technical field
The present invention relates to the design of intelligent substation, debugging, operation, area of maintenance, particularly relate to a kind of empty terminal table automatic generation method based on many SCD template.
Background technology
In intelligent substation, along with the digitizing of intelligent electronic device Signal transmissions, hardwire design " the empty terminal " become based on device model feature index based on terminal block in former normal station designs, and the empty terminal association between each device becomes the main contents of intelligent substation secondary design.Substation configuration description file SCD (substation configuration description) is used for describing the configuration information of each equipment.The empty terminal that China adopted empty terminal table (Excel file) to describe between each device of intelligent substation in recent years contacts, empty terminal table file generally comprises the respective virtual connections of each device, and every bar virtual connections comprises: receiving trap, input empty terminal and describe, input empty terminal and quote, design descriptions, export the description of empty terminal, export the information such as empty terminal is quoted, dispensing device.
At present, empty terminal design flow process mainly contains following three kinds:
(1) conventional design method.Producer is each intelligent electronic device capabilities description file ICD(IED Capability Description, ICD) in equipment input, export empty terminal information derive be saved in EXCEL table in, form the empty terminal source list file of each equipment, be supplied to designing institute; Designing institute is for the empty terminal source list file of each equipment, and design scheme combining, designs the empty terminal table file of intelligent substation.Specific practice is: in empty terminal table file, for each equipment, copy from the list file of empty terminal source respectively manually, paste, produce empty terminal information (describe and quote) of input of receiving trap in certain virtual connections record in empty terminal table file, empty terminal information (describe and quote) of output of transmitting apparatus, then carry out edit.For the empty terminal table having several thousand virtual connections, such method for designing is very loaded down with trivial details, and inefficiency, easily makes mistakes.
(2) assistant software is adopted to design empty terminal table.ICD file is supplied to designing institute by producer, and designing institute take assistant software as platform, imports ICD file and reads empty terminal information wherein, on assistant software interface, directly realized the craft association of empty terminal by modes such as drag and drop, click, editors.This method comparatively method (1) has certain improvement, without the need to copying empty terminal, decreases the mistake that may occur in copy procedure, but the association of empty terminal relies on manual connection completely, does not have intelligent association, and workload is still very large.
(3) the empty terminal table auxiliary design method of common template is adopted.First the empty terminal of manual association is as common template, then is mated by key character, makes the empty terminal position that empty terminal in file to be associated is identical with function in common template consistent, thus realizes the empty terminal auto-associating of the major part of different manufacturers different model.The method can reduce design efforts would to a certain extent, but for the empty terminal of same implication, in the empty terminal source table that different manufacturers provides, the description (quoting) of this empty terminal is different, adopt the method for key character coupling can not find the empty terminal of target exactly, this makes common template can not be applicable to the empty terminal table design of multiple producer completely.The limitation of common template is comparatively strong, and does not use for reference the similar empty terminal design in existing multiple existing SCD file.
In sum, present inventor, in the process realizing invention technical scheme in the embodiment of the present application, finds that above-mentioned technology at least exists following technical matters:
In the prior art, because traditional empty terminal design method adopts in empty terminal table file, for each equipment, copy manually, paste, produce certain virtual connections information in empty terminal table file, carry out edit again, or adopt assistant software to design empty terminal table, the association of empty terminal relies on manual connection completely, there is no intelligent association, or adopt the empty terminal table auxiliary design method of common template, make common template can not be applicable to the empty terminal table design of multiple producer completely, the limitation of common template is stronger, and the similar empty terminal design of existing SCD file can not be used for reference, so, it is larger to there is workload in empty terminal design method of the prior art, efficiency is lower, easily make mistakes, do not use for reference the technical matters of existing SCD result of design.
Summary of the invention
The invention provides a kind of empty terminal table automatic generation method based on many SCD template, have for empty terminal design method of the prior art that workload is comparatively large, efficiency is lower, the technical matters of existing SCD result of design of easily makeing mistakes, do not use for reference, achieve the automatic generation of empty terminal design, its workload is less, accuracy rate is higher, efficiency is higher, improve the intelligence degree of empty terminal table design, improve the work efficiency of design, improve the technique effect of the reusability of existing design result.
For solving the problems of the technologies described above, the embodiment of the present application provides a kind of empty terminal table automatic generation method based on many SCD template, and described method comprises:
A: for the device each to be designed of transformer station to be designed, specifies corresponding ICD file for it is manual, specifies corresponding dispensing device collection, define the dispensing device collection List chained list of each device to be designed;
B: obtain N number of SCD template file, described N be more than or equal to 1 positive integer;
C: according to N number of SCD template file, for each device to be designed, treat each plate device name in design apparatus name and each SCD template file, similarity of character string matching algorithm GST is adopted to carry out character string comparison successively, find front 3 plate devices that matching degree is the highest, as the similar templates device collection of device to be designed, form the similar templates device List chained list of each device to be designed;
D: process each device to be designed one by one, process each similar templates device of its correspondence one by one, process the every bar virtual connections of each similar templates device in corresponding SCD template file one by one, automatically corresponding virtual connections collection is generated by each similar templates device, therefrom choose the virtual connections collection that number is maximum, be deposited into the generation virtual connections List chained list that this device to be designed is corresponding;
E: after the virtual connections of all devices to be designed generates automatically, according to the generation virtual connections List chained list of each device to be designed, writes the empty terminal table file of target successively its each virtual connections had.
Further, described step B: obtain SCD template file and be specially: certain SCD file of transformer station is resolved, read the wherein information of each virtual connections ExtRef node that Inputs node comprises under each LD under each IED, be deposited in the virtual connections chained list of each IED; Then by each IED grouping, the virtual connections of each IED is derived from internal memory, is written to an empty terminal table Excel file corresponding to this transformer station, using the SCD template file of the empty terminal table Excel file after the virtual connections of all IED in the full station of write as automatic generating process; In like manner N number of SCD file is processed accordingly, can form and obtain N number of SCD template file.
Further, described step D: process each device to be designed one by one, process each similar templates device of its correspondence one by one, process the every bar virtual connections of each similar templates device in corresponding SCD template file one by one, automatically corresponding virtual connections collection is generated by each similar templates device, therefrom choose the virtual connections collection that number is maximum, be deposited into the generation virtual connections List chained list that this device to be designed is corresponding, specifically comprise:
D1: empty for the input of certain similar templates device every bar template virtual connections in SCD template file terminal is described, describe with the empty terminal of each existing input of current device to be designed successively and carry out character string comparison, when describing identical with the empty terminal of certain existing input, be device to be designed to have found an existing input empty terminal identical with template virtual connections and describe, then forward D2 to and continue process; Describe all inconsistent if the empty terminal of the input of this template virtual connections describes with the empty terminal of all existing input of current device to be designed, then process next template virtual connections information of similar templates device;
D2: by the dispensing device name of current similar templates device this template virtual connections in SCD template file, character string comparison is carried out with each dispensing device name in the dispensing device collection List chained list of current device to be designed, find the dispensing device that matching degree is the highest, as the dispensing device of target virtual connections; The description of the empty terminal of each output of empty for the output of this virtual connections terminal and this dispensing device is carried out string matching successively, if obtain the empty terminal of output that the match is successful, then using the output empty terminal of empty for the output of current template virtual connections terminal as target virtual connections;
D3: when the match is successful for step C1, C2 simultaneously, just automatically for current device to be designed forms a new virtual connections, the empty terminal of input of this new virtual connections adopts the empty terminal of input that in device to be designed, the match is successful, the dispensing device of this new virtual connections adopts the dispensing device that matching degree is the highest, and it exports empty terminal and adopts the empty terminal of output that in this dispensing device, the match is successful; The all virtual connections generated by current similar templates device, join generation virtual connections List corresponding to described similar templates device and connect;
D4: for current device to be designed, compares the number of generation virtual connections List chained list corresponding to its each similar templates device, using generation virtual connections List chained list maximum for number as in the final generation virtual connections List chained list of current device to be designed.
Further, described by the dispensing device name of this template virtual connections in current template, carry out character string comparison with the dispensing device collection List chained list of current device to be designed, find the dispensing device that matching degree is the highest; The empty terminal of all outputs of empty for the output of this template virtual connections terminal and this dispensing device is described and carries out character string comparison successively, find the empty terminal of the output of Corresponding matching, be specially: empty for the output of this virtual connections in current template terminal is described, the empty terminal of each output of the dispensing device the highest with the matching degree just found describes and carries out character string comparison successively, when certain two character string comparison is completely the same, is in device to be designed and have found the empty terminal of the output identical with template virtual connections and describe; If the empty terminal of each output of the dispensing device the highest with matching degree describes all inconsistent, in the dispensing device that this matching degree is the highest, the empty terminal of identical output is not namely found to describe, then next template virtual connections of processing template device.
Further, described empty terminal table file comprises: certain IED name is put into certain row the 2nd and arranges, all the other are respectively classified as sky, the mark that this row starts as certain IED virtual connections is capable, following row deposits the virtual connections of this IED, often go the 2nd has arranged each row is respectively: receiving trap, input empty terminal to describe, input empty terminal to quote, design describes, export empty terminal to describe, export empty terminal to quote, the information such as dispensing device, wherein, described design describes by user's edit in empty terminal table file, the mark that two row terminate as this certain IED virtual connections is vacated capable after each virtual connections row of this IED.
The one or more technical schemes provided in the embodiment of the present application, at least have following technique effect or advantage:
Owing to have employed, the empty terminal table automatic generation method based on many SCD template is designed to comprise: be first the corresponding ICD file of the manual appointment of device each to be designed of transformer station to be designed, specify corresponding dispensing device collection, define the dispensing device collection List chained list of each device to be designed, then obtain N each SCD template file, described N be more than or equal to 1 positive integer, then according to N number of SCD template file, for each device to be designed, treat each plate device name in design apparatus name and each SCD template file, similarity of character string matching algorithm GST is adopted once to carry out character string comparison, find front 3 plate devices that matching degree is the highest, as the similar templates device of device to be designed, form the similar templates device List chained list of each device to be designed, then each device to be designed is processed one by one, process each similar templates device of its correspondence one by one, process the every bar virtual connections of each similar templates device in corresponding SCD template file one by one, automatically corresponding virtual connections collection is generated by each similar templates device, therefrom choose the virtual connections collection that number is maximum, be deposited into the generation virtual connections List chained list that this device to be designed is corresponding, finally, after the virtual connections of all devices to be designed generates automatically, according to the generation virtual connections List chained list of each device to be designed, its each virtual connections had is write successively the technical scheme of the empty terminal table file of template, namely, first all devices of intelligent substation are built, and be that each device specifies empty terminal source to show and dispensing device collection, according to multiple SCD template file, find the similar templates device that each device to be designed is corresponding in each SCD template, process each device to be designed one by one, process its each similar templates device one by one, process every bar virtual connections of current similar templates device one by one, by empty terminal profile matching, find the empty terminal of input that the match is successful, export empty terminal, the virtual connections of automatic formation device to be designed, by automatically generating empty terminal table, shown to obtain input from the empty terminal source of specifying by program, export empty terminal information, decrease traditional design method to need to copy the mistake brought by hand, utilize multiple SCD template, pass through string matching, for device to be designed is automatically found the virtual connections the most close with current transformer substation, and automatically form empty terminal table file, the result of design of existing SCD file can be made full use of, improve the intelligence degree of empty terminal table design, improve the work efficiency of design, improve the reusability of existing design result, so, efficiently solving empty terminal design method of the prior art, to there is workload larger, efficiency is lower, easily make mistakes, do not use for reference the technical matters of existing SCD result of design, and then achieve the automatic generation of empty terminal design, its workload is less, accuracy rate is higher, efficiency is higher, improve the intelligence degree of empty terminal table design, improve the work efficiency of design, improve the technique effect of the reusability of existing design result.
Accompanying drawing explanation
Fig. 1 is the process flow diagram based on the empty terminal table automatic generation method of many SCD template in the embodiment of the present application one;
Fig. 2 is the process flow diagram of designer's empty terminal table automatic generation method in application the embodiment of the present application in the embodiment of the present application one.
Embodiment
The invention provides a kind of empty terminal table automatic generation method based on many SCD template, have for empty terminal design method of the prior art that workload is comparatively large, efficiency is lower, the technical matters of existing SCD result of design of easily makeing mistakes, do not use for reference, achieve the automatic generation of empty terminal design, its workload is less, accuracy rate is higher, efficiency is higher, improve the intelligence degree of empty terminal table design, improve the work efficiency of design, improve the technique effect of the reusability of existing design result.
Technical scheme during the application implements is for solving the problems of the technologies described above.General thought is as follows:
Have employed and the empty terminal table automatic generation method based on many SCD template is designed to comprise: be first the corresponding ICD file of the manual appointment of device each to be designed of transformer station to be designed, specify corresponding dispensing device collection, define the dispensing device collection List chained list of each device to be designed, then obtain N each SCD template file, described N be more than or equal to 1 positive integer, then according to N number of SCD template file, for each device to be designed, treat each plate device name in design apparatus name and each SCD template file, similarity of character string matching algorithm GST is adopted once to carry out character string comparison, find front 3 plate devices that matching degree is the highest, as the similar templates device of device to be designed, form the similar templates device List chained list of each device to be designed, then each device to be designed is processed one by one, process each similar templates device of its correspondence one by one, process the every bar virtual connections of each similar templates device in corresponding SCD template file one by one, automatically corresponding virtual connections collection is generated by each similar templates device, therefrom choose the virtual connections collection that number is maximum, be deposited into the generation virtual connections List chained list that this device to be designed is corresponding, finally, after the virtual connections of all devices to be designed generates automatically, according to the generation virtual connections List chained list of each device to be designed, its each virtual connections had is write successively the technical scheme of the empty terminal table file of template, namely, first all devices of intelligent substation are built, and be that each device specifies empty terminal source to show and dispensing device collection, according to multiple SCD template file, find the similar templates device that each device to be designed is corresponding in each SCD template, process each device to be designed one by one, process its each similar templates device one by one, process every bar virtual connections of current similar templates device one by one, by empty terminal profile matching, find the empty terminal of input that the match is successful, export empty terminal, the virtual connections of automatic formation device to be designed, by automatically generating empty terminal table, shown to obtain input from the empty terminal source of specifying by program, export empty terminal information, decrease traditional design method to need to copy the mistake brought by hand, utilize multiple SCD template, pass through string matching, for device to be designed is automatically found the virtual connections the most close with current transformer substation, and automatically form empty terminal table file, the result of design of existing SCD file can be made full use of, improve the intelligence degree of empty terminal table design, improve the work efficiency of design, improve the reusability of existing design result, so, efficiently solving empty terminal design method of the prior art, to there is workload larger, efficiency is lower, easily make mistakes, do not use for reference the technical matters of existing SCD result of design, and then achieve the automatic generation of empty terminal design, its workload is less, accuracy rate is higher, efficiency is higher, improve the intelligence degree of empty terminal table design, improve the work efficiency of design, improve the technique effect of the reusability of existing design result.
In order to better understand technique scheme, below in conjunction with Figure of description and concrete embodiment, technique scheme is described in detail.
Embodiment one:
In embodiment one, provide a kind of empty terminal table automatic generation method based on many SCD template, please refer to Fig. 1-Fig. 2, described method comprises:
A: for the device each to be designed of transformer station to be designed, specifies corresponding ICD file for it is manual, specifies corresponding dispensing device collection, define the dispensing device collection List chained list of each device to be designed;
B: obtain N number of SCD template file, described N be more than or equal to 1 positive integer;
C: according to N number of SCD template file, for each device to be designed, treat each plate device name in design apparatus name and each SCD template file, similarity of character string matching algorithm GST is adopted to carry out character string comparison successively, find front 3 plate devices that matching degree is the highest, as the similar templates device collection of device to be designed, form the similar templates device List chained list of each device to be designed;
D: process each device to be designed one by one, process each similar templates device of its correspondence one by one, process the every bar virtual connections of each similar templates device in corresponding SCD template file one by one, automatically corresponding virtual connections collection is generated by each similar templates device, therefrom choose the virtual connections collection that number is maximum, be deposited into the generation virtual connections List chained list that this device to be designed is corresponding;
E: after the virtual connections of all devices to be designed generates automatically, according to the generation virtual connections List chained list of each device to be designed, writes the empty terminal table file of target successively its each virtual connections had.
Wherein, in the embodiment of the present application, described step B: obtain SCD template file and be specially: resolve certain SCD file of transformer station, reads the information of each virtual connections ExtRef node that Inputs node comprises under each LD under wherein each IED, is deposited in the virtual connections chained list of each IED; Then by each IED grouping, the virtual connections of each IED is derived from internal memory, is written to an empty terminal table Excel file corresponding to this transformer station, using the SCD template file of the empty terminal table Excel file after the virtual connections of all IED in the full station of write as automatic generating process; In like manner N number of SCD file is processed accordingly, can form and obtain N number of SCD template file.
Wherein, in the embodiment of the present application, described step D: process each device to be designed one by one, process each similar templates device of its correspondence one by one, process the every bar virtual connections of each similar templates device in corresponding SCD template file one by one, automatically generate corresponding virtual connections collection by each similar templates device, therefrom choose the virtual connections collection that number is maximum, be deposited into the generation virtual connections List chained list that this device to be designed is corresponding, specifically comprise:
D1: empty for the input of certain similar templates device every bar template virtual connections in SCD template file terminal is described, describe with the empty terminal of each existing input of current device to be designed successively and carry out character string comparison, when describing identical with the empty terminal of certain existing input, be device to be designed to have found an existing input empty terminal identical with template virtual connections and describe, then forward D2 to and continue process; Describe all inconsistent if the empty terminal of the input of this template virtual connections describes with the empty terminal of all existing input of current device to be designed, then process next template virtual connections information of similar templates device;
D2: by the dispensing device name of current similar templates device this template virtual connections in SCD template file, character string comparison is carried out with each dispensing device name in the dispensing device collection List chained list of current device to be designed, find the dispensing device that matching degree is the highest, as the dispensing device of target virtual connections; The description of the empty terminal of each output of empty for the output of this virtual connections terminal and this dispensing device is carried out string matching successively, if obtain the empty terminal of output that the match is successful, then using the output empty terminal of empty for the output of current template virtual connections terminal as target virtual connections;
D3: when the match is successful for step C1, C2 simultaneously, just automatically for current device to be designed forms a new virtual connections, the empty terminal of input of this new virtual connections adopts the empty terminal of input that in device to be designed, the match is successful, the dispensing device of this new virtual connections adopts the dispensing device that matching degree is the highest, and it exports empty terminal and adopts the empty terminal of output that in this dispensing device, the match is successful; The all virtual connections generated by current similar templates device, join generation virtual connections List corresponding to described similar templates device and connect;
D4: for current device to be designed, compares the number of generation virtual connections List chained list corresponding to its each similar templates device, using generation virtual connections List chained list maximum for number as in the final generation virtual connections List chained list of current device to be designed.
Wherein, in the embodiment of the present application, described by the dispensing device name of this template virtual connections in current template, carry out character string comparison with the dispensing device collection List chained list of current device to be designed, find the dispensing device that matching degree is the highest; The empty terminal of all outputs of empty for the output of this template virtual connections terminal and this dispensing device is described and carries out character string comparison successively, find the empty terminal of the output of Corresponding matching, be specially: empty for the output of this virtual connections in current template terminal is described, the empty terminal of each output of the dispensing device the highest with the matching degree just found describes and carries out character string comparison successively, when certain two character string comparison is completely the same, is in device to be designed and have found the empty terminal of the output identical with template virtual connections and describe; If the empty terminal of each output of the dispensing device the highest with matching degree describes all inconsistent, in the dispensing device that this matching degree is the highest, the empty terminal of identical output is not namely found to describe, then next template virtual connections of processing template device.
Wherein, in the embodiment of the present application, described empty terminal table file comprises: certain IED name is put into certain row the 2nd and arranges, all the other are respectively classified as sky, the mark that this row starts as certain IED virtual connections is capable, following row deposits the virtual connections of this IED, often go the 2nd has arranged each row is respectively: receiving trap, input empty terminal to describe, input empty terminal to quote, design describes, export empty terminal to describe, export empty terminal to quote, the information such as dispensing device, wherein, described design describes by user's edit in empty terminal table file, the mark that two row terminate as this certain IED virtual connections is vacated capable after each virtual connections row of this IED.
Wherein, in the embodiment of the present application, similarity of character string metric algorithm GST is a kind of greedy character string string matching algorithm, this algorithm carries out Greedy search to source character string, these two character strings of target string, find out maximum total substring, with 2 times of maximum total substring divided by the length sum of two character strings, obtain the matching degree of two character strings.
Wherein, in actual applications, for the device each to be designed of current transformer station to be designed, for it specifies corresponding ICD file, manual from this transformer station is its appointment dispensing device collection, and the dispensing device collection List chained list defining each device to be designed is specific as follows:
As: device to be designed " PL2201A:220kV olive pacifies line 268 isolating switch No. 1 protection ", needing manual is its appointment dispensing device " IL2201A:220kV olive pacifies a line 268 isolating switch intelligent terminal A ", " ML2201A:220kV olive pacifies a line 268 isolating switch merge cells A ", " No. 1, PM2201A:220kV mother difference failure protection ".
For each device to be designed constructs a dispensing device structure set body object, it comprises device name name to be designed, the set of dispensing device name, and specifically its structure is defined as follows:
Struct IED_Senders // dispensing device structure set body
{
QString ied_name;
QStringList ied_senders;
};
Wherein, in actual applications, according to multiple SCD template file, for each device to be designed, this device name is carried out character string comparison with each plate device name in each SCD template and mated, adopt similarity of character string metric algorithm GST to carry out string matching, get the similar templates device of the highest front 3 plate devices of matching degree as device to be designed, the similar templates device List chained list forming each device to be designed is specially:
As: device to be designed is " PL2201A:220kV olive pacifies line 268 isolating switch No. 1 protection ", and by it, in " three branch off transformer station ", all IED describe and mate one by one with template SCD, obtain matching degree as shown in table 1.Get front 3 plate devices that matching degree is the highest; as the similar templates device collection of device to be designed; they are route protection A CSC-103B/E, PL2201B:220kV peach township of PL2201A:220kV peach township route protection B WXH-803B, PL2202A:220kV Ziyang I route protection A CSC-103B/E respectively, as shown in table 1 below.
Table 1
Wherein, in the embodiment of the present application, by the dispensing device name of the virtual connections of this in current template, mate with the dispensing device collection List chained list of current device to be designed, find the dispensing device that matching degree is the highest, described by empty for the output of the virtual connections of this in current template terminal, the empty terminal of each output of the dispensing device the highest with the matching degree just found describes and carries out character string comparison.When two character string comparisons are completely the same, are in device to be designed and have found the empty terminal of the output identical with template virtual connections and describe; When two character string comparisons are inconsistent, when namely not finding the empty terminal of identical output to describe in device to be designed, then next virtual connections information of processing template device is specially:
As: device to be designed is " PL2201A:220kV olive pacifies line 268 isolating switch No. 1 protection ", and the dispensing device collection of device to be designed comprises: " IL2201A:220kV olive pacifies a line 268 isolating switch intelligent terminal A ", " ML2201A:220kV olive pacifies a line 268 isolating switch merge cells A ", " No. 1, PM2201A:220kV mother difference failure protection ".
Plate device is " PL2201A:220kV peach township route protection A CSC-103B/E ", and the dispensing device collection of plate device comprises:
" IL2201A:220kV peach township circuit intelligent terminal A JFZ600F ", " ML2201A:220kV peach township circuit merge cells A CSN-15B4 ", " PM2201A:220kV bus protection A PCS-915 "
When process dispensing device is the template virtual connections of " IL2201A:220kV peach township circuit intelligent terminal A JFZ600F ", then need the dispensing device collection of character string " IL2201A:220kV peach township circuit intelligent terminal A JFZ600F " with device to be designed: " IL2201A:220kV olive pacifies a line 268 isolating switch intelligent terminal A ", " ML2201A:220kV olive pacifies a line 268 isolating switch merge cells A ", " No. 1, PM2201A:220kV mother difference failure protection " etc. mate one by one.Matching result is as shown in table 2 below, so the dispensing device of the device to be designed of " IL2201A:220kV peach township circuit intelligent terminal A JFZ600F " correspondence is " IL2201A:220kV olive pacifies a line 268 isolating switch intelligent terminal A ".
Table 2
Wherein, in actual applications, please refer to Fig. 2, designer using idiographic flow when being applied in reality based on the empty terminal table automatic generation method of many SCD template is: A1: first start design, A2: then process making to be designed one by one, A3: then find corresponding plate device according to device mapping table, A4: all virtual connections of then searching plate device, and process one by one, A5: whether the empty terminal description of input of then comparing this virtual connections of plate device describes identical with the empty terminal of all inputs of device to be designed, if not identical, then repeat A4 step, if identical, then A6: the empty terminal of output searching this virtual connections of plate device describes, dispensing device, the dispensing device to be designed that dispensing device is corresponding, A7: by the empty terminal of the output of this template virtual connections, this dispensing device to template SCD finds the empty terminal of this output to describe, describe with the empty terminal of all outputs of dispensing device to be designed and check one by one, check whether identical two kinds of empty terminals describe, if not identical, then repeat A4 step, if identical, then the dispensing device of newly-built virtual connections is " device to be designed that this virtual connections dispensing device of plate device is corresponding ", the empty terminal of output of newly-built virtual connections is that the empty terminal of the above-mentioned output just matched is every, the empty terminal of input of newly-built virtual connections is the above-mentioned intaddr matched, A8: when whether the virtual connections of pre-treatment is the last item virtual connections of plate device, if not then, repeat A4 step, if identical, then judge whether the device to be designed when pre-treatment is last device to be designed, then repeat steps A 2 if not, if then generate the empty terminal table of Automated Design.
Give a concrete illustration below and provide the virtual connections of a template, as shown in table 3, the virtual connections how automatically to generate is described during the application implements, is specially:
Table 3
During as processed this template virtual connections: device to be designed is " PL2201A:220kV olive pacifies line 268 isolating switch No. 1 protection ", and the dispensing device of device to be designed is: " IL2201A:220kV olive pacifies a line 268 isolating switch intelligent terminal A ".
Plate device is " PL2201A:220kV peach township route protection A CSC-103B/E ", and the dispensing device of this template virtual connections is " IL2201A:220kV peach township circuit intelligent terminal A JFZ600F ".
Input empty terminal and describe by each to " sequential trip position TWJA " and " L2201A:220kV olive is pacified No. 1, line 268 isolating switch and protect " and carry out character string comparison, when two input empty terminals describe character string comparison completely the same time, " isolating switch A phase _ from 1 " and " IL2201A:220kV peach township circuit intelligent terminal A JFZ600F " are respectively exported empty terminal and describe and carry out character string comparison, when two export empty terminals describe character string comparison completely the same time, it is then " L2201A:220kV olive pacifies line 268 isolating switch No. 1 protection " generation new virtual connections, as shown in table 4 below.
Table 4
Wherein, the virtual connections of plate device " PL2201A:220kV peach township route protection A CSC-103B/E " is as shown in table 5:
Table 5
Technical scheme in above-mentioned the embodiment of the present application, at least has following technique effect or advantage:
Owing to have employed, the empty terminal table automatic generation method based on many SCD template is designed to comprise: be first the corresponding ICD file of the manual appointment of device each to be designed of transformer station to be designed, specify corresponding dispensing device collection, define the dispensing device collection List chained list of each device to be designed, then obtain N each SCD template file, described N be more than or equal to 1 positive integer, then according to N number of SCD template file, for each device to be designed, treat each plate device name in design apparatus name and each SCD template file, similarity of character string matching algorithm GST is adopted once to carry out character string comparison, find front 3 plate devices that matching degree is the highest, as the similar templates device of device to be designed, form the similar templates device List chained list of each device to be designed, then each device to be designed is processed one by one, process each similar templates device of its correspondence one by one, process the every bar virtual connections of each similar templates device in corresponding SCD template file one by one, automatically corresponding virtual connections collection is generated by each similar templates device, therefrom choose the virtual connections collection that number is maximum, be deposited into the generation virtual connections List chained list that this device to be designed is corresponding, finally, after the virtual connections of all devices to be designed generates automatically, according to the generation virtual connections List chained list of each device to be designed, its each virtual connections had is write successively the technical scheme of the empty terminal table file of template, namely, first all devices of intelligent substation are built, and be that each device specifies empty terminal source to show and dispensing device collection, according to multiple SCD template file, find the similar templates device that each device to be designed is corresponding in each SCD template, process each device to be designed one by one, process its each similar templates device one by one, process every bar virtual connections of current similar templates device one by one, by empty terminal profile matching, find the empty terminal of input that the match is successful, export empty terminal, the virtual connections of automatic formation device to be designed, by automatically generating empty terminal table, shown to obtain input from the empty terminal source of specifying by program, export empty terminal information, decrease traditional design method to need to copy the mistake brought by hand, utilize multiple SCD template, pass through string matching, for device to be designed is automatically found the virtual connections the most close with current transformer substation, and automatically form empty terminal table file, the result of design of existing SCD file can be made full use of, improve the intelligence degree of empty terminal table design, improve the work efficiency of design, improve the reusability of existing design result, so, efficiently solving empty terminal design method of the prior art, to there is workload larger, efficiency is lower, easily make mistakes, do not use for reference the technical matters of existing SCD result of design, and then achieve the automatic generation of empty terminal design, its workload is less, accuracy rate is higher, efficiency is higher, improve the intelligence degree of empty terminal table design, improve the work efficiency of design, improve the technique effect of the reusability of existing design result.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (5)

1., based on an empty terminal table automatic generation method for many SCD template, it is characterized in that, described method comprises:
A: for the device each to be designed of transformer station to be designed, specifies corresponding ICD file for it is manual, specifies corresponding dispensing device collection, define the dispensing device collection List chained list of each device to be designed;
B: obtain N number of SCD template file, described N be more than or equal to 1 positive integer;
C: according to N number of SCD template file, for each device to be designed, treat each plate device name in design apparatus name and each SCD template file, similarity of character string matching algorithm GST is adopted to carry out character string comparison successively, find front 3 plate devices that matching degree is the highest, as the similar templates device collection of device to be designed, form the similar templates device List chained list of each device to be designed;
D: process each device to be designed one by one, process each similar templates device of its correspondence one by one, process the every bar virtual connections of each similar templates device in corresponding SCD template file one by one, automatically corresponding virtual connections collection is generated by each similar templates device, therefrom choose the virtual connections collection that number is maximum, be deposited into the generation virtual connections List chained list that this device to be designed is corresponding;
E: after the virtual connections of all devices to be designed generates automatically, according to the generation virtual connections List chained list of each device to be designed, writes the empty terminal table file of target successively its each virtual connections had.
2. method according to claim 1, it is characterized in that, described step B: obtain SCD template file and be specially: certain SCD file of transformer station is resolved, read the wherein information of each virtual connections ExtRef node that Inputs node comprises under each LD under each IED, be deposited in the virtual connections chained list of each IED; Then by each IED grouping, the virtual connections of each IED is derived from internal memory, is written to an empty terminal table Excel file corresponding to this transformer station, using the SCD template file of the empty terminal table Excel file after the virtual connections of all IED in the full station of write as automatic generating process; In like manner N number of SCD file is processed accordingly, can form and obtain N number of SCD template file.
3. method according to claim 1, it is characterized in that, described step D: process each device to be designed one by one, process each similar templates device of its correspondence one by one, process the every bar virtual connections of each similar templates device in corresponding SCD template file one by one, automatically generate corresponding virtual connections collection by each similar templates device, therefrom choose the virtual connections collection that number is maximum, be deposited into the generation virtual connections List chained list that this device to be designed is corresponding, specifically comprise:
D1: empty for the input of certain similar templates device every bar template virtual connections in SCD template file terminal is described, describe with the empty terminal of each existing input of current device to be designed successively and carry out character string comparison, when describing identical with the empty terminal of certain existing input, be device to be designed to have found an existing input empty terminal identical with template virtual connections and describe, then forward D2 to and continue process; Describe all inconsistent if the empty terminal of the input of this template virtual connections describes with the empty terminal of all existing input of current device to be designed, then process next template virtual connections information of similar templates device;
D2: by the dispensing device name of current similar templates device this template virtual connections in SCD template file, character string comparison is carried out with each dispensing device name in the dispensing device collection List chained list of current device to be designed, find the dispensing device that matching degree is the highest, as the dispensing device of target virtual connections; The description of the empty terminal of each output of empty for the output of this virtual connections terminal and this dispensing device is carried out string matching successively, if obtain the empty terminal of output that the match is successful, then using the output empty terminal of empty for the output of current template virtual connections terminal as target virtual connections;
D3: when the match is successful for step C1, C2 simultaneously, just automatically for current device to be designed forms a new virtual connections, the empty terminal of input of this new virtual connections adopts the empty terminal of input that in device to be designed, the match is successful, the dispensing device of this new virtual connections adopts the dispensing device that matching degree is the highest, and it exports empty terminal and adopts the empty terminal of output that in this dispensing device, the match is successful; The all virtual connections generated by current similar templates device, join generation virtual connections List corresponding to described similar templates device and connect;
D4: for current device to be designed, compares the number of generation virtual connections List chained list corresponding to its each similar templates device, using generation virtual connections List chained list maximum for number as in the final generation virtual connections List chained list of current device to be designed.
4. method according to claim 3, is characterized in that, described by the dispensing device name of this template virtual connections in current template, carries out character string comparison, find the dispensing device that matching degree is the highest with the dispensing device collection List chained list of current device to be designed; The empty terminal of all outputs of empty for the output of this template virtual connections terminal and this dispensing device is described and carries out character string comparison successively, find the empty terminal of the output of Corresponding matching, be specially: empty for the output of this virtual connections in current template terminal is described, the empty terminal of each output of the dispensing device the highest with the matching degree just found describes and carries out character string comparison successively, when certain two character string comparison is completely the same, is in device to be designed and have found the empty terminal of the output identical with template virtual connections and describe; If the empty terminal of each output of the dispensing device the highest with matching degree describes all inconsistent, in the dispensing device that this matching degree is the highest, the empty terminal of identical output is not namely found to describe, then next template virtual connections of processing template device.
5. method according to claim 3, it is characterized in that, described empty terminal table file comprises: certain IED name is put into certain row the 2nd and arranges, all the other are respectively classified as sky, the mark that this row starts as certain IED virtual connections is capable, following row deposits the virtual connections of this IED, often go the 2nd has arranged each row is respectively: receiving trap, input empty terminal to describe, input empty terminal to quote, design describes, export empty terminal to describe, export empty terminal to quote, the information such as dispensing device, wherein, described design describes by user's edit in empty terminal table file, the mark that two row terminate as this certain IED virtual connections is vacated capable after each virtual connections row of this IED.
CN201510169738.5A 2015-04-13 2015-04-13 A kind of empty terminal table automatic generation method based on many SCD templates Active CN104732041B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510169738.5A CN104732041B (en) 2015-04-13 2015-04-13 A kind of empty terminal table automatic generation method based on many SCD templates

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510169738.5A CN104732041B (en) 2015-04-13 2015-04-13 A kind of empty terminal table automatic generation method based on many SCD templates

Publications (2)

Publication Number Publication Date
CN104732041A true CN104732041A (en) 2015-06-24
CN104732041B CN104732041B (en) 2017-09-29

Family

ID=53455923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510169738.5A Active CN104732041B (en) 2015-04-13 2015-04-13 A kind of empty terminal table automatic generation method based on many SCD templates

Country Status (1)

Country Link
CN (1) CN104732041B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426616A (en) * 2015-11-25 2016-03-23 国家电网公司 Six-unification standard-based virtual terminal matching method
CN105488293A (en) * 2015-12-14 2016-04-13 国家电网公司 Method and system for configuring virtual terminator connection wires in SCD
CN105718680A (en) * 2016-01-25 2016-06-29 国网四川省电力公司电力科学研究院 Virtual terminal assisted automatic design method based on equipment encoding
CN105956276A (en) * 2016-05-04 2016-09-21 西南交通大学 Multi-SCD-oriented method for rapidly searching and optimizing target associated pairs of intelligent substations
CN106777540A (en) * 2016-11-25 2017-05-31 南京电力工程设计有限公司 The template connected for empty terminal and the method for automatically generating
CN106780110A (en) * 2016-11-25 2017-05-31 南京电力工程设计有限公司 The method that whole station CONFIG.SYS void loop based on ATL automatically generates
CN109086515A (en) * 2018-07-25 2018-12-25 西南交通大学 The modeling method of primary equipment pictorial information in intelligent substation SSD based on SVG

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103761681A (en) * 2014-01-17 2014-04-30 国网四川省电力公司电力科学研究院 Intelligent comparison method of SCD and Excel virtual terminal table of intelligent substation
CN103942734A (en) * 2014-04-25 2014-07-23 国网四川省电力公司电力科学研究院 Multi-dimensional graphical display method based on virtual connection between all devices of smart substation SCD
CN103984806A (en) * 2014-04-25 2014-08-13 西南交通大学 Imaging generation method for input virtual terminal of intelligent substation SCD (System Configuration Description)
CN104008119A (en) * 2013-12-30 2014-08-27 西南交通大学 One-to-many mixed string comparison method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104008119A (en) * 2013-12-30 2014-08-27 西南交通大学 One-to-many mixed string comparison method
CN103761681A (en) * 2014-01-17 2014-04-30 国网四川省电力公司电力科学研究院 Intelligent comparison method of SCD and Excel virtual terminal table of intelligent substation
CN103942734A (en) * 2014-04-25 2014-07-23 国网四川省电力公司电力科学研究院 Multi-dimensional graphical display method based on virtual connection between all devices of smart substation SCD
CN103984806A (en) * 2014-04-25 2014-08-13 西南交通大学 Imaging generation method for input virtual terminal of intelligent substation SCD (System Configuration Description)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郑永康 等: "《智能变电站 SCD 智能比对软件的设计与实现》", 《四川电力技术》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426616A (en) * 2015-11-25 2016-03-23 国家电网公司 Six-unification standard-based virtual terminal matching method
CN105488293A (en) * 2015-12-14 2016-04-13 国家电网公司 Method and system for configuring virtual terminator connection wires in SCD
CN105488293B (en) * 2015-12-14 2018-11-06 国家电网公司 A kind of method and system configuring virtual terminator line in SCD
CN105718680A (en) * 2016-01-25 2016-06-29 国网四川省电力公司电力科学研究院 Virtual terminal assisted automatic design method based on equipment encoding
CN105956276A (en) * 2016-05-04 2016-09-21 西南交通大学 Multi-SCD-oriented method for rapidly searching and optimizing target associated pairs of intelligent substations
CN105956276B (en) * 2016-05-04 2019-01-25 西南交通大学 For more SCD intelligent substation target association to fast search optimization method
CN106777540A (en) * 2016-11-25 2017-05-31 南京电力工程设计有限公司 The template connected for empty terminal and the method for automatically generating
CN106780110A (en) * 2016-11-25 2017-05-31 南京电力工程设计有限公司 The method that whole station CONFIG.SYS void loop based on ATL automatically generates
CN109086515A (en) * 2018-07-25 2018-12-25 西南交通大学 The modeling method of primary equipment pictorial information in intelligent substation SSD based on SVG
CN109086515B (en) * 2018-07-25 2022-04-29 西南交通大学 Modeling method for primary equipment drawing information in SSD (solid State drive) of intelligent substation based on SVG (scalable vector graphics)

Also Published As

Publication number Publication date
CN104732041B (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN104732041A (en) Automatic virtual terminal generation method based on multiple SCD templates
CN105335570B (en) A method of netlist comparison is carried out based on component pin connection relation
CN103544352B (en) Empty terminal based on SCD file connects graphic method
CN101957745A (en) Method for converting ladder diagram language into structure text language
CN106777723A (en) A kind of method of automatic drawing principle figure
CN102622463A (en) Drawing-model uniformity based method for automatic check of design drawings
CN104484499A (en) Dynamic simulation image rapid generation method for substation secondary circuit
CN102403718A (en) Generating method for power grid topological relationship based on Arcgis
CN102508654A (en) Method for designing ladder diagram editing software of embedded PLC (Programmable Logic Controller)
CN103902763A (en) Automatic matching method of virtual terminals of cross-interval device of intelligent substation
CN105718680A (en) Virtual terminal assisted automatic design method based on equipment encoding
CN104317864A (en) Automatic identification method of information model based on IEC61850 logical nodes
CN102737108A (en) Method and device for processing flow diagram
CN106383939A (en) SSD file-based virtual terminator automatic connection method
US10776313B2 (en) Converting source objects to target objects
CN106528512A (en) EXCEL preliminary budget table automatic compiling method
CN101986282B (en) Topology adaptation method and device
CN104899214A (en) Data processing method and system for setting up input suggestions
CN105701256A (en) Communication point table file comparison method
CN105956276B (en) For more SCD intelligent substation target association to fast search optimization method
CN107025329A (en) The empty loop automatic connection method of intelligent substation
CN106055684A (en) SCD file comparison method of transformer substation
CN108170953A (en) Circuit diagram migration method and device
CN105572490A (en) Method for obtaining plug combination and power line topology of detection device and electronic device thereof
CN110070462B (en) Target device pair matching method based on IED information and common keyword check

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Liu Mingzhong

Inventor after: Tian Lizhi

Inventor after: Meng Lei

Inventor after: Jiang Zhenchao

Inventor after: Ding Xuanwen

Inventor after: Chen Chi

Inventor after: Bi Yanqiu

Inventor after: Zhu Qingdai

Inventor after: Chang Xiaoqing

Inventor after: Tong Xiaoyang

Inventor after: Zheng Yongkang

Inventor after: Zhuang Xiantao

Inventor after: Cai Jiran

Inventor after: Li Baoen

Inventor before: Liu Mingzhong

Inventor before: Ding Xuanwen

Inventor before: Chen Chi

Inventor before: Chen Cangyang

Inventor before: Zhang Yunhua

Inventor before: Xu Shuangkai

Inventor before: Zhang Min

Inventor before: Wei Boyuan

Inventor before: He Zhipeng

Inventor before: Xiang Hongji

Inventor before: Zheng Yongkang

Inventor before: Tong Xiaoyang

Inventor before: Zhuang Xiantao

Inventor before: Cai Jiran

Inventor before: Li Baoen

Inventor before: Tian Lizhi

Inventor before: Meng Lei

Inventor before: Jiang Zhenchao

GR01 Patent grant
GR01 Patent grant