Automatic uniform modeling method based on rule file and dictionary file

By adopting an automatic unified modeling method based on rule files and dictionary files, the problem of repetitive development in IEC61850 modeling was solved, and the automatic generation and unification of device models were realized, thereby improving modeling efficiency and model quality.

CN114117735BActive Publication Date: 2026-01-09BEIJING SIFANG JIBAO ENG TECH +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111247779.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-26
Publication Date
2026-01-09
Estimated Expiration
2041-10-26

AI Technical Summary

Technical Problem

The existing IEC61850 modeling application suffers from redundant development issues, resulting in high costs and poor model quality. In particular, the redundant development problem is serious due to differences in modeling specifications between different devices.

Method used

An automatic unified modeling method based on rule files and dictionary files is adopted. By abstracting and generating dictionary file libraries and rule file libraries for devices, the automatic generation of device models is realized, the differences in modeling specifications between different devices are shielded, the modeling information points are associated with dictionary files, and operation call interfaces are generated to achieve automatic modeling.

Benefits of technology

It unifies the modeling software for different types of products, reduces maintenance costs, improves modeling efficiency and model validity, and has scalability for new devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114117735B_ABST
    Figure CN114117735B_ABST
Patent Text Reader

Abstract

The application discloses an automatic unified modeling method based on a rule file and a dictionary file, comprising the following steps: abstractly generating a dictionary file of a corresponding device model based on modeling specifications of different devices; abstractly generating a rule file of a corresponding device by associating the dictionary file of the corresponding device for different device modeling information points; obtaining the dictionary file and the rule file corresponding to the device according to different device types; traversing and analyzing the modeling information points of the device, selecting corresponding rules from the rule file, and generating model information of the corresponding modeling information points; exporting the model information defined in the dictionary file; generating an operation calling interface; instantiating the model information of the modeling information points to realize automatic modeling; and instantiating a short address to realize the mapping between internal signals and external standards. The application realizes the automatic modeling of different devices based on engineering files, realizes the unification of modeling software of different types of products, and has the expandability for modeling new devices.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the field of electric power engineering application, and particularly relates to an automatic unified modeling method based on a rule file and a dictionary file. BACKGROUND

[0002] IEC61850 is a standard system for substation network communication, which is specified from the aspects of function, model, communication, etc., has good expansibility, and especially provides a clear structure and flexible definition mechanism in the SCL (substation configuration language) specification in the model aspect, and covers device modeling, substation configuration description and other aspects, and is applicable to a wide range of businesses. Therefore, when developing to the second edition, the most significant and most changes are mainly concentrated in the derivation of the model specification, such as state monitoring, new energy, distribution network automation and other fields. In addition to some basic framework semantics, the SCL specification defines specific specifications for different business ranges, including ICD / CID / IID file specifications for device configuration, SCD / SED file specifications for substation configuration, SSD file specifications for substation primary system configuration, and there are specific processing differences between different types of files.

[0003] In the process of promoting IEC61850 in China, in order to solve the problem in the interoperability process and improve the convenience of IEC61850 standard equipment production, debugging, maintenance and operation, State Grid and Southern Grid have developed a variety of technical specifications such as "Relay Protection Engineering Application Model" to regulate the models of protection and measurement and control devices. For various devices that need to meet these specifications, corresponding modeling software usually needs to be developed, and the problem of repeated development is serious.

[0004] As described above, the most prominent problems in the existing IEC61850 modeling application are quality and cost problems, so a new modeling method needs to be developed to unify device modeling software, reduce the cost caused by repeated development, and automatically generate models to reduce human intervention and improve the quality of models. SUMMARY

[0005] To solve the problems in the prior art, the purpose of the present application is to provide an automatic unified modeling method based on a rule file and a dictionary file, which generates a dictionary file library and a rule file library of corresponding devices according to the modeling specifications of different devices, and automatically generates models based on engineering files.

[0006] The application adopts the following technical solutions.

[0007] An automatic unified modeling method based on a rule file and a dictionary file, the method comprising:

[0008] (1) Abstract dictionary files of corresponding device models based on modeling specifications of different devices;

[0009] (2) Abstract rule files of corresponding devices by associating the dictionary files of corresponding devices with modeling information points of different devices;

[0010] (3) Obtain the dictionary files and rule files of devices according to different device types;

[0011] (4) Traverse and parse the modeling information points of devices, select corresponding modeling rules from the rule files, and generate model information of corresponding modeling information points;

[0012] (5) Export the model information defined in the dictionary files; and generate operation call interfaces;

[0013] (6) Instantiate the model information of the modeling information points, call the operation interfaces, realize automatic modeling, and instantiate short addresses to realize the mapping between internal signals and external standards.

[0014] Further, in the step (1), the dictionary files include definitions of access points, definitions of logical devices, definitions of data sets, definitions of control blocks corresponding to the data sets, definitions of logical nodes, and definitions of data type templates.

[0015] Further, in the step (2), the rule files are associations of modeling information points and modeling rules.

[0016] Further, in the step (2), the modeling information points come from the dictionary files in the step (1), and can be selected from logical devices, data sets, and logical nodes.

[0017] Further, in the step (4), the model information obtained from the rule files includes logical devices, data sets, logical nodes, DOName, and DAName.

[0018] Further, in the step (4), the modeling rules of each modeling information point are different.

[0019] Further, in the step (5), the model information obtained from the dictionary files includes access points, logical devices, data sets, control blocks, and data type templates.

[0020] Further, in the step (5), the operation call interfaces include adding access points, logical devices, data sets, control blocks, and data type templates, and encapsulating and adding according to requirements of IEC61850 schema.

[0021] Further, in the step (6), the short address mapping format is: type code + CPU number + object instance number + parameter group number + data point number + data sub-point number.

[0022] The beneficial effects of this invention are that, compared with the prior art, this invention can unify the modeling software for different types of products, reduce the maintenance cost of model software, and automatically generate models based on engineering files, ensuring the legality of the models and improving engineering efficiency.

[0023] This invention is used for automatic modeling of IED devices in smart substations. It uses dictionary files to mask the differences in modeling specifications between different devices of the State Grid and China Southern Power Grid, and uses rule files to associate modeling information points of specific devices with corresponding dictionary files, thereby selecting the dataset, logical nodes, etc. for modeling information points.

[0024] This invention unifies the modeling software, enables automatic modeling of different types of devices in the State Grid and Southern Power Grid, improves modeling efficiency, ensures the legality of modeling, and also has scalability for modeling new devices. Attached Figure Description

[0025] Figure 1 This is a flowchart of the automatic unified modeling method based on rule files and dictionary files of the present invention;

[0026] Figure 2 A diagram illustrating the dictionary file structure configuration;

[0027] Figure 3 A schematic diagram of the PTRC logic node definition in Q / GDW-1396 "Application Model for Relay Protection Engineering";

[0028] Figure 4 Modeling and configuration diagram for protecting alarm information points. Detailed Implementation

[0029] The present application will be further described below with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solutions of the present invention, and should not be construed as limiting the scope of protection of the present application.

[0030] like Figure 1 As shown, the core of the automatic unified modeling method based on rule files and dictionary files described in this invention is to abstract and generate corresponding dictionary file libraries and rule file libraries for different devices of State Grid and China Southern Power Grid according to the modeling specifications of different devices.

[0031] Specifically, the following steps are included:

[0032] (1) Based on the modeling specifications of different devices, a dictionary file for the corresponding device model is generated;

[0033] Commonly, IEC61850 modeling of the protection and control IED device of the smart substation of State Grid and Southern Grid is performed, and the dictionary file includes definition of access point, definition of logical device, definition of data set, definition of data set corresponding control block, definition of logical node, and definition of data type template.

[0034] (2) The dictionary file of the corresponding device is associated according to the modeling information point of different devices, the rule file of the corresponding device is abstractly generated, and the association between the modeling information point and the modeling specification is realized through the rule file.

[0035] The modeling information point in the rule file is from the dictionary file in step (1); the modeling information point can be selected from a logical device, a data set, a logical node and the like.

[0036] (3) According to different device types, the dictionary file and the rule file corresponding to the device are obtained.

[0037] (4) The modeling information point of the device is traversed and parsed, the corresponding modeling rule is selected from the rule file, and the model information of the logical device, the data set, the logical node, the DOName, the DAName and the like corresponding to the modeling information point are generated.

[0038] The modeling rule mainly includes the logical device of the information point, the data set, the logical node type, the logical node instance, the prefix, the DONAME, the DOTYPE, the DATYPE, the short address rule description, the log data set and the like, and the rule description corresponding to each kind of information point is different, which will not be described in detail one by one. Taking an alarm signal as an example, the following is described:

[0039] <!-- Protection I class alarm -->

[0040] <Item type="RptAlm1" table="AlmTable" idinst="LD0" dataset="dsAlarm" lndesc="Device failure" lninst="1:32" prefix="DevAlm" lnclass="GGIO_1" doname="Alm" dotype="CN_SPS" daname="stVal:q:t" saddr="" log="dsLog1" / >

[0041] (5) The model information of the access point, the logical device, the data set, the control block, the data type template and the like defined in the dictionary file is exported; and the operation calling xml operation interface is generated.

[0042] The xml operation interface mainly includes adding access points, logical devices, data sets, control blocks, data type templates and the like, encapsulation and addition are carried out according to the requirements of IEC61850 schema, and the specific interface class of which kind of XML is not described in the message range. The model information of the instantiated modeling information point includes logical device, data set, logical node, DOName, DAName and the like, the xml operation interface is called to realize automatic modeling.

[0043]

[0044]

[0045] (6) The model information of the instantiated modeling information point, including logical device, data set, logical node, DOName, DAName and the like, calls the xml operation interface to realize automatic modeling.

[0046] And the short address is instantiated to realize the data mapping of internal signals and external IEC61850 reference. The short address is used to realize the data mapping of internal signals and external reference, and the specific format can be specified according to the internal implementation of the manufacturer, which is not described in detail in the patent. The short address mapping format realized by the application is: type code + CPU number + object instance number + parameter group number + data point number + data sub-point number, which can be specifically expressed as 10.96.2.1.48.0.

[0047] Generally, a corresponding model tool software is developed for device modeling that needs to meet the modeling specification to realize the modeling work of the device. The repeated development of the tool increases the maintenance workload, and also causes confusion to the modeling personnel on how to select the corresponding version of the tool.

[0048] The modeling software development work of different products is converted into the development of rule files and dictionary files that meet the product model specification in the application, the modeling software is unified, the maintenance and development workload is reduced, and the subsequent development of new products is provided with good expansibility, only the corresponding rule files and modeling files need to be newly developed, and code development is not needed.

[0049] The State Grid has many modeling specifications for devices, such as unified protection, unified measurement and control, on-site protection, on-site measurement and control, secondary optimization protection, secondary optimization measurement and control and the like.

[0050] In order to facilitate the description of the method, the generation method of the rule file and the dictionary file is introduced taking the State Grid nine unified protection as an example. The specific steps include the following steps:

[0051] (1) The dictionary file of the device model is abstractly generated according to the modeling specification of the device;

[0052] For example Figure 2As shown in the figure, the dictionary file includes the definitions of access points, logical devices, data sets, control blocks corresponding to data sets, logical nodes, and data type templates.

[0053] The definitions of access points, logical devices, data sets, and control blocks only need to be predefined according to the corresponding specifications and will not be introduced in detail.

[0054] Taking PTRC (protection trip) as an example, the definition of logical nodes in the dictionary file will be introduced. As Figure 3 shown, the definition of the PTRC logical node in Q / GDW1396 "Relay Protection Engineering Application Model". According to the definition, the definition in the PTRC logical node dictionary file is as follows:

[0055]

[0056]

[0057] The data type template definition of the logical node type SF_CSD_V1.00_PTRC_1 is as follows:

[0058]

[0059]

[0060] (2) Abstract the rule file of the generating device, and realize the association between the modeling information points and the modeling specifications through the rule file, and select logical devices, data sets, logical nodes, etc. for the modeling information points;

[0061] Taking the protection alarm signal as an example, the rule file is defined as follows:

[0062] <Item type="RptAlm1"table="AlmTable"ldinst="LD0"dataset="dsAlarm"lndesc="Device failure"lninst="1:32"prefix="DevAlm"lnclass="GGIO_1"doname="Alm"dotype="CN_SPS"daname="stVal:q:t"saddr=""log="dsLog1" / >

[0063] (3) According to the device model, obtain the corresponding dictionary file and rule file of the device;

[0064] (4) Analyze the modeling information points of the IED device, select the corresponding rules from the rule file, and generate model information such as logical devices, data sets, logical nodes, DOName, DAName, etc. for the corresponding modeling information points, as Figure 4 shown;

[0065] (5) According to the definition in the dictionary file in step (1), the model access point, logical device, data set, control block, data set, data type template and other model information are generated; the operation call xml operation interface is generated, which will not be described in detail herein;

[0066] (6) The model information of the modeling information point is instantiated, including the instantiation of logical device, data set, logical node, DOName, DAName and other information, and the short address is instantiated, so as to realize the mapping of internal signals of the device and the signals of IEC61850.

[0067] The beneficial effects of the present application are that, compared with the prior art, the present application can realize the unification of modeling software of different types of products, reduce the maintenance cost of model software, automatically generate models based on engineering files, ensure the legality of the models, and improve the engineering efficiency.

[0068] The present application is used for the automatic modeling of IED devices of intelligent substation, the differences of modeling specifications of different devices of State Grid and Southern Grid are shielded through the dictionary file, the association of specific device modeling information points and corresponding dictionary files is realized through the rule file, so as to select the data set, logical node and the like of the modeling information points for modeling.

[0069] The present application realizes the unification of modeling software, realizes the automatic modeling of different types of devices of State Grid and Southern Grid, improves the modeling efficiency, guarantees the legality of modeling, and also has the expandability of modeling of new devices.

[0070] The applicant of the present application has made a detailed description and explanation of the embodiment of the present application in combination with the drawings of the specification, but those skilled in the art should understand that the above embodiment is only a preferred embodiment of the present application, and the detailed description is only to help the reader better understand the spirit of the present application, and is not a limitation on the protection scope of the present application, on the contrary, any improvement or modification based on the spirit of the present application should fall within the protection scope of the present application.

Claims

1. An automatic uniform modeling method based on a rule file and a dictionary file, characterized by, The method comprises: (1) Abstractly generating a dictionary file of a corresponding device model based on modeling specifications of different devices, wherein the dictionary file comprises definitions of access points, definitions of logical devices, definitions of data sets, definitions of data set corresponding control blocks, definitions of logical nodes, and definitions of data type templates; (2) For modeling information points of different devices, associating the dictionary file of the corresponding device to abstractly generate a rule file of the corresponding device, the rule file being an association of the modeling information points and modeling rules, the modeling information points being from the dictionary file in step (1); (3) According to different device types, obtaining the dictionary file and the rule file corresponding to the device; (4) Iterating and parsing the modeling information points of the device, selecting corresponding modeling rules from the rule file to generate model information of the corresponding modeling information points, the model information obtained from the rule file comprising logical devices, data sets, logical nodes, DOName, and DAName, and the modeling rules of each modeling information point being different; (5) Exporting the model information defined in the dictionary file; generating an operation calling interface, the operation calling interface comprising adding access points, logical devices, data sets, control blocks, and data type templates, and being encapsulated and added according to IEC61850 schema requirements; (6) Instantiating the model information of the modeling information points, calling the operation interface, and realizing automatic modeling; and instantiating a short address to realize mapping of internal signals and external standards.

2. The automatic unified modeling method based on the rule file and the dictionary file according to claim 1, wherein in step (5), the model information obtained from the dictionary file comprises access points, logical devices, data sets, control blocks, and data type templates.

3. The automatic unified modeling method based on the rule file and the dictionary file according to claim 1, wherein in step (6), the short address mapping format is: type code + CPU number + object instance number + parameter group number + data point number + data sub-point number.

Citation Information

Patent Citations

  • Method for realizing fast and automatic modeling of transformer substation IEC 61850 by adopting XML information recombination

    CN101706773A

  • Relay protection device capability description file generation system

    CN112328323A

  • Checking method for ICD model of intelligent device of transformer substation based on rule file

    CN113065256A