A relay protection setting calculation principle library management system
The relay protection setting calculation principle library management system realizes the standardized management of protection device templates and the customization of calculation principles, solves the problems of closed rigidity and redundancy in existing technologies, improves the flexibility and accuracy of setting calculation, reduces maintenance costs, and ensures the safety and traceability of calculation principles.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHINA YANGTZE POWER
- Filing Date
- 2026-03-26
- Publication Date
- 2026-07-10
AI Technical Summary
The existing management of relay protection device setting calculation principles suffers from problems such as closed and rigid systems, redundancy and duplication, poor adaptability, and low efficiency. The lack of a unified protection device template management mechanism leads to inconsistent setting item calculation logic, affecting the accuracy and efficiency of setting calculations.
Design a relay protection setting calculation principle library management system, including a protection device template management unit, an open secondary development unit, and a common quantity library unit. This system enables standardized management of protection device templates, customization of setting calculation principles, and reuse of common principles. It supports user-defined calculation formulas through a visual editing interface and logical judgment functions, and reduces redundant definitions through the common quantity library.
It improves the flexibility and accuracy of tuning calculations, reduces maintenance costs, enhances management efficiency, ensures the security and traceability of calculation principles, and achieves synchronous updates with industry standards and efficient template adaptation.
Smart Images

Figure CN122371015A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power system relay protection technology, specifically to a relay protection setting calculation principle library management system. Background Technology
[0002] During the operation of a power system, relay protection devices are the core equipment for ensuring the safe and stable operation of the power grid. The accuracy and rationality of their settings directly affect the fault response capability and operational reliability of the power system. With the continuous expansion of the power system, the models of relay protection devices are becoming increasingly diverse. Protection devices from different manufacturers and at different voltage levels differ in their setting parameters and calculation logic, while there are also situations where the calculation requirements for some setting parameters are common.
[0003] Existing relay protection device setting calculation principle management schemes have several shortcomings: First, most setting calculation systems adopt a closed architecture, with calculation principles fixed within the system. Users cannot flexibly modify the calculation logic according to actual engineering needs, and adapting to new models of protection devices requires extensive low-level code modifications, resulting in long development cycles and high costs. Second, for the same setting items of different models of protection devices, calculation principles need to be repeatedly defined, leading to high redundancy in the principle library, high maintenance difficulty, and easy inconsistencies in definitions, affecting the accuracy of setting calculations. Third, there is a lack of a unified protection device template management mechanism, making it difficult to standardize the management of basic information and setting lists of different models of protection devices. This results in low efficiency in generating subsequent setting calculation schemes, fixed document output formats, and an inability to meet the reporting needs of different scenarios.
[0004] Therefore, there is an urgent need for a management system that can achieve standardized management of protection device templates, flexible customization of setting calculation principles, and reuse of common principles, in order to solve the problems of closed and rigid, redundant and repetitive, and inefficient existing technologies. Summary of the Invention
[0005] The technical problem to be solved by this invention is to provide a relay protection setting calculation principle library and management system, which solves the technical problems of closed and inflexible, redundant and repetitive, poor adaptability and low efficiency in the existing relay protection device setting calculation principle management. It realizes the standardized management of protection device templates, the open customization of setting calculation principles and the efficient reuse of common principles, thereby improving the efficiency and accuracy of setting calculation work.
[0006] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is as follows: A relay protection setting calculation principle library management system, comprising: The protection device template management unit is used to define the basic information of each type of relay protection device, establish the setting list corresponding to each protection principle, define the basic information of each setting item and control word in the setting list, and associate each setting item and control word with a custom setting calculation principle. The secondary development unit provides an open secondary development environment, allowing users to customize and modify the tuning calculation principles according to their actual needs. This enables the editing of tuning calculation formulas, the construction of complex logical judgments, and the customization of the output content of the calculation scheme, as well as the generation of detailed calculation scheme documents. The common quantity library unit is used to store the common custom setting calculation principles corresponding to the same setting items in different models of protection devices, forming a common quantity library for each setting item to select and reuse the calculation principle, avoiding duplicate and redundant principle definitions.
[0007] The collaborative work of each unit enables full lifecycle management of the tuning calculation principles, as detailed below: 1. Protection Device Template Management Unit The core function of this unit is to establish standardized protection device templates, enabling the standardized definition and management of information related to various types of protection devices. Specifically, this includes: defining the basic attribute information of each type of relay protection device, which at least includes the device name, manufacturer, software version, and applicable voltage level; establishing corresponding setting lists based on different protection principles (such as differential protection, overcurrent protection, zero-sequence protection, etc.), clarifying the setting items and control words that need to be adjusted under each protection principle; defining the basic information of each setting item and control word item, including item name, identifier, data type, value range, default value, and documentation; and associating each setting item and control word item with corresponding setting calculation principles, which can be achieved by directly calling common principles from the common quantity library or by defining custom principles.
[0008] 2. Secondary Development Unit This unit provides an open and flexible secondary development environment, breaking the closed limitations of traditional systems and allowing users to customize tuning calculation principles according to their actual needs. Specifically, it offers a visual editing interface where users can edit tuning calculation formulas by dragging and dropping components and inputting parameters. It supports various operation types, including arithmetic operations, function operations, and constant references, without requiring specialized programming skills. It supports the configuration of complex logical judgments, allowing users to build conditional judgments (such as IF-ELSE), loop control (such as FOR-WHILE), and branch selection logic structures through a graphical interface, adapting to dynamic calculation needs in various scenarios. It also supports the customization of the output content of the calculation scheme. Users can select the content modules to be output, such as fixed values, calculation process, logical descriptions, and parameter sources, and configure the document format, layout, data precision, and chart styles, ultimately generating a detailed calculation scheme document that can be exported in multiple formats, including PDF, Word, and Excel.
[0009] 3. Common Library Unit This unit is used to build a common library of custom setting calculation principles, enabling the reuse of calculation principles for the same setting items and reducing repetitive and redundant definition work. Specific functions include: identifying common setting items (such as "overcurrent protection setting" and "trip time limit") in different types of protection devices, organizing their corresponding calculation principles into a common quantity library; assigning a unique identifier to each common principle in the common quantity library to facilitate quick retrieval and selection of setting items in various protection device templates; supporting dynamic management of the common quantity library, allowing users to add, modify, delete, and categorize common principles in the library according to industry standard updates, engineering practice optimizations, and other needs; when a setting item is associated with a principle in the common quantity library, if that common principle is modified, all setting items associated with that principle can be updated synchronously to ensure consistency of the principles.
[0010] The basic information defined in the aforementioned protection device template management unit includes the name of the protection device, manufacturer, software version, and applicable voltage level.
[0011] The aforementioned secondary development unit supports a visual interface for editing tuning calculation formulas. Users can construct calculation formulas by dragging and dropping, inputting parameters, etc., without having to write underlying code.
[0012] The complex logic judgment function of the aforementioned secondary development unit supports the visual configuration of logic structures such as condition judgment, loop control, and branch selection, adapting to the tuning calculation needs of different scenarios.
[0013] The aforementioned secondary development unit allows for customization of the output format of the calculation scheme document, including document structure, content modules, data precision, and chart styles, and supports export in multiple formats such as PDF, Word, and Excel.
[0014] The aforementioned common quantity library unit supports the addition, modification, deletion, and categorized management of common setting calculation principles. The setting items in each protection device template can be associated with the calculation principles in the common quantity library through a unique identifier.
[0015] The system also includes a permission management subunit, which is used to assign different operation permissions to different users, including permission to view calculation principles, permission to edit, permission to manage common quantity libraries, and permission to export calculation schemes.
[0016] The system also includes a version management subunit, which records the modification history of the tuning calculation principles, supports version backtracking and version comparison, and ensures the traceability of the calculation principles.
[0017] The system also includes a principle library intelligent update module, a template application effect tracking module, and a historical data mining module. The principle library intelligent update module, template application effect tracking module, and historical data mining module communicate and work collaboratively with each unit / subunit of the system to realize intelligent operation and maintenance of the protection device template and setting calculation principle library throughout the entire life cycle. The principle library intelligent update module is used to realize the linkage update of industry standards and common quantity library; the template application effect tracking module is used to realize the full-process application effect analysis and optimization reminder of protection device templates; and the historical data mining module is used to mine the value of historical data in the entire process of setting calculation and form an engineering case library.
[0018] The aforementioned principle base intelligent update module includes a standard perception submodule, a standard parsing submodule, and a principle update submodule; The standard perception submodule connects to the power industry standard release platform and uses web crawling technology to obtain real-time updates of relevant industry standards for relay protection setting calculations, extracting the standard number S and update time T of the updated standards. s Standard Application Areas F s and update content text C s ; The standard parsing submodule uses Natural Language Processing (NLP) technology to analyze the updated content text C. s The text is analyzed, and the weights of keywords are calculated using the TF-IDF algorithm. Semantic recognition is then performed using a BERT pre-trained model to extract the modification clause number K related to the tuning calculation principle. i , Setting parameter type P i Parameter calculation rules R i and the conditions for the application of the rules Q i The TF-IDF algorithm calculation formula is as follows: ; ; ; in, Keywords In updating content text word frequency in Keywords In the text The number of times it appears in For text The sum of the occurrences of all words in the text; Keywords In the standard document collection Inverse document frequency, |D| represents the total number of documents in the standard document set. For keywords The number of documents; Keywords In the text Weights in; The principle update submodule matches the corresponding common tuning calculation principles in the common quantity library based on the parsing results, generates a list of principle update suggestions, and supports batch updates of principles in the common quantity library after manual confirmation by the administrator. At the same time, the principle update information is recorded through the version management subunit of the original system.
[0019] The template application effect tracking module mentioned above includes a data collection submodule, an effect analysis submodule, and an optimization reminder submodule; The data acquisition submodule interfaces with the relay protection device action recording system and the power grid fault recording system, and collects in real time the application device number M of the protection device template, the actual operating condition parameters O, the device action record A, and the power grid fault information F. The operating condition parameters O include the system operating mode. Load current Bus voltage Fault type and fault clearing time ; The effect analysis submodule establishes a template-work condition-action effect correlation analysis model, and calculates the template's suitability score using a weighted scoring method. The calculation formula is: ; in, For the first The weights of the evaluation indicators satisfy the following: Evaluation indicators include principle matching degree Accuracy of movement Fault response speed Anti-interference capability Adaptability to the site Each indicator has a score range of 0-10. Optimize the adaptation score threshold for the reminder submodule settings. ,when When the template is optimized, the system will automatically issue a template optimization reminder. At the same time, based on the results of the correlation analysis model, it will extract the types of fixed-value items and calculation principle parameters related to low-scoring indicators in the template and generate targeted suggestions for template modification.
[0020] In the above effect analysis submodule, the action accuracy rate The calculation formula is: ; in, To ensure the correct number of actions during the application of the protection device template, This refers to the number of erroneous actions. Number of rejected actions; fault response speed The calculation formula is: ; in, This refers to the actual fault clearance time. This is the lower limit of the standard fault clearance time. This is the upper limit of the standard fault clearing time.
[0021] The aforementioned historical data mining module includes a data integration submodule, an association rule mining submodule, and a case library construction submodule; The data integration submodule integrates the protection device template data, setting calculation principle data, calculation scheme data, template modification records, and principle reuse records from the original system to form a standardized historical dataset. The data fields include device model, voltage level, protection principle, setting item configuration, calculation principle parameters, application scenario, calculation scheme effect, and modification and optimization records; The association rule mining submodule uses the Apriori algorithm to process historical datasets. The mining process aims to uncover the optimal configuration rules for tuning calculation principles in different application scenarios. The support and confidence formulas for the Apriori algorithm are as follows: ; ; in, For scene feature set, Configure sets for tuning calculation principles. To contain simultaneously and The number of records, Let |X| be the total number of records in the historical dataset, and |X| be the set of scene features. Number of records; set minimum support and minimum confidence Filter out the strongly associated rules that meet the conditions; The case library construction submodule builds a case library for setting calculation projects based on strong association rules and historical engineering examples. It assigns a unique case number to each case and categorizes and archives them according to voltage level, protection principle, and application scenario, allowing users to retrieve case information through multi-condition searches.
[0022] The relay protection setting calculation principle library management system mentioned in this invention has the following beneficial effects: 1. Significantly enhanced flexibility and openness: Through the visual editing environment provided by the secondary development unit, users can independently modify the setting calculation principles, edit the calculation formulas, and configure complex logic without relying on system developers. This enables rapid adaptation to new models of protection devices and special engineering requirements, greatly shortening the system adaptation cycle and reducing maintenance costs.
[0023] 2. Reduced redundancy and improved maintenance efficiency: The common quantity library unit realizes centralized management and reuse of the same setting item calculation principles, avoids repeated definitions, and reduces redundant data in the principle library; at the same time, the unified update mechanism of common principles ensures the consistency of the calculation logic of related setting items in each protection device template, reduces maintenance difficulty, and improves management efficiency.
[0024] 3. Standardization and normalization management: The protection device template management unit realizes the standardized definition of basic information and setting list of various protection devices, which facilitates the standardized development of subsequent setting calculation work; the custom calculation scheme output function can generate standardized documents that meet the needs of different scenarios, improving the standardization and readability of the work results.
[0025] 4. Enhanced security and traceability: The access control subunit prevents unauthorized operations and ensures the security of the calculation principle library; the version control subunit realizes a full record of the calculation principle modification process, supports version backtracking, ensures the traceability of the tuning calculation work, and facilitates engineering quality control.
[0026] 5. Efficient and compliant principle library updates: The intelligent principle library update module enables automatic perception, intelligent parsing, and batch updates of industry standards, solving the problems of lagging principle library updates and low efficiency of manual standard parsing. It ensures that the tuning calculation principles in the common quantity library are synchronized with industry standards, improving the compliance of tuning calculation work.
[0027] 5. Continuously improved template adaptability: The template application effect tracking module enables multi-source data collection and quantitative analysis of template application effects. Based on objective data, template optimization suggestions are generated, solving the problem of template optimization relying on manual experience and lacking data support. This achieves closed-loop optimization of templates and improves the adaptability of templates to on-site working conditions. Attached Figure Description
[0028] The present invention will be further described below with reference to the accompanying drawings and embodiments: Figure 1 This is a schematic diagram of the architecture of the protection device template and the setting calculation principle library management system in an embodiment of the present invention; Figure 2 This is a schematic diagram of the workflow of the protection device template management unit in an embodiment of the present invention; Figure 3This is a schematic diagram illustrating the principle of reusing common library units in an embodiment of the present invention. Detailed Implementation
[0029] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0030] Example 1: like Figure 1-3 As shown, a relay protection setting calculation principle library management system is applied to the relay protection setting calculation work of a hydropower station. The system architecture includes a protection device template management unit, a secondary development unit, a common quantity library unit, an access control subunit, and a version control subunit. Each unit realizes data interaction through a data interface.
[0031] 1. Construction of protection device template Through the protection device template management unit, basic information is defined for different models of devices commonly used in hydropower stations, such as the 35kV overcurrent protection device from Manufacturer A and the 110kV differential protection device from Manufacturer B. For example, the name of the 35kV overcurrent protection device from Manufacturer A is "35kV Line Overcurrent Protection Device", the manufacturer is "A Power Equipment Co., Ltd.", the software version is V2.0, and the applicable voltage level is 35kV. Based on the overcurrent protection principle, a setting list for the device is established, including setting items such as "Overcurrent Stage I Setting", "Overcurrent Stage II Setting", "Overcurrent Stage I Time Limit", and "Overcurrent Stage II Time Limit", as well as control word items such as "Overcurrent Stage I Entry Control Word" and "Overcurrent Stage II Entry Control Word". Basic information for each setting item is defined, such as the identifier for "Overcurrent Stage I Setting" being "OC1_SET", the data type being "floating-point number", the value range being 0-100A, the default value being 30A, and the description document being "used to set the operating current threshold of Overcurrent Stage I protection".
[0032] 2. Construction and reuse of common data libraries By using common quantity library units, the same setting items in different types of devices are identified. For example, both "Manufacturer A's 35kV overcurrent protection device" and "Manufacturer C's 35kV overcurrent protection device" include "overcurrent stage I setting value". Their calculation logic is "overcurrent stage I setting value = 1.2 × maximum load current". This calculation principle is included in the common quantity library and assigned a unique identifier "COMM_OC1". When constructing the templates for the above two devices, the calculation principle of "overcurrent stage I setting value" is directly selected as "COMM_OC1" to achieve principle reuse. If the calculation logic needs to be modified to "overcurrent stage I setting value = 1.3 × maximum load current" due to subsequent grid load adjustments, only the principle corresponding to "COMM_OC1" needs to be modified in the common quantity library. The calculation logic of "overcurrent stage I setting value" in the templates of the two devices will be updated synchronously.
[0033] 3. Calculation principles can be customized. For the "differential instantaneous trip setting value" of the 110kV differential protection device from Manufacturer B, its calculation requirements are unique and cannot directly reuse the principles in the common quantity library. Custom modifications are made through a secondary development unit: After logging into the system, the engineer enters the secondary development interface, selects the calculation principle editing module corresponding to "differential instantaneous trip setting value," and constructs the calculation formula "differential instantaneous trip setting value = 1.5 × rated current + 50A" by dragging and dropping the "multiplication component" and "addition component." The engineer then configures the logical judgment condition "if the system operation mode is maintenance mode, the differential instantaneous trip setting value will automatically double" through the graphical interface. Finally, the engineer configures the output content of the calculation scheme, selecting modules including "setting value name, calculation process, parameter source, and logical description," setting the document format to Word, and retaining two decimal places for data precision.
[0034] 4. Permissions and Version Management The access control sub-unit divides users into three categories: administrators, engineers, and viewers. Administrators have full permissions for managing common quantity libraries and allocating user permissions; engineers have permissions to edit protection device templates, modify calculation principles, and export calculation schemes; viewers only have permissions to view calculation principles and calculation schemes. When a viewer attempts to modify a calculation principle, the system automatically intercepts the request and prompts that the viewer does not have permission.
[0035] The version management subunit records the process of engineers modifying the calculation principle of "differential instantaneous trip setting value": On October 20, 2025, Engineer A modified the calculation formula from "differential instantaneous trip setting value = 1.5 × rated current + 50A" to "differential instantaneous trip setting value = 1.6 × rated current + 55A". The system saves the version before modification (version number V1.0) and the version after modification (version number V2.0). If problems are found in the modified principle later, the administrator can restore to version V1.0 through the version rollback function and view the version comparison results to clarify the differences in modification.
[0036] 5. Calculation scheme generation After completing the construction of the protection device template and the configuration of the calculation principles, the user triggers the calculation scheme generation command through the system. The secondary development unit automatically generates a detailed calculation scheme document containing the calculation process, logical description, and parameter source of each set value item according to the customized output configuration. The document is exported as a Word document and can be directly used for project archiving and review.
[0037] Example 2: This embodiment illustrates the implementation of the principle base intelligent update module.
[0038] 1. Standard Awareness: The standard awareness submodule of the intelligent update module of the principle library is connected to the industry standard release platform of "Calculation Procedure for Setting of Power System Relay Protection". When it is detected that the standard (standard number DL / T 559-2025) has been updated in a certain month of a certain year, the core information is automatically extracted: update time T. s =2026-01-15, Standard Application Area F s =Calculation of relay protection settings for 35kV and above power systems, updated text C s This includes modifications to the calculation rules for setting items such as overcurrent protection and differential protection; 2. Standard Parsing: The standard parsing submodule updates the text C. s Analysis was performed, and the weights of core keywords such as "overcurrent protection setting value", "load current coefficient", "differential instantaneous trip setting value", and "rated current coefficient" were all greater than 0.8, calculated using the TF-IDF algorithm. Then, semantic recognition was performed using a BERT pre-trained model to extract the core modification clauses: the load current coefficient of the overcurrent protection setting value was modified from 1.2 to 1.3-1.5, applicable to 35kV line overcurrent protection; the rated current coefficient of the differential instantaneous trip setting value was modified from 1.5 to 1.6-1.8, applicable to 110kV transformer differential protection. 3. Principle Update: The principle update submodule matches the commonality library with the number COMM based on the parsing results. OC1 The calculation principle for the "35kV overcurrent stage I setting" (original rule: overcurrent stage I setting = 1.2 × maximum load current) and the number COMM CD1The calculation principle of "110kV differential instantaneous trip setting value" (original rule: differential instantaneous trip setting value = 1.5 × rated current + 50A) is used to generate a list of principle update suggestions. After the administrator logs into the system to view and confirm the suggestions, the module updates the above two principles in the common quantity library in batches. The updated rules are: overcurrent stage I setting value = (1.3-1.5) × maximum load current, differential instantaneous trip setting value = (1.6-1.8) × rated current + 50A. At the same time, the update information is synchronized to the version management subunit of the original system. The update person is recorded as: Administrator A, update time: 2026-01-18, and the modification content is: adjust the coefficient range of overcurrent protection and differential protection to achieve traceability of principle updates.
[0039] Example 3: This embodiment illustrates the implementation of the template application effect tracking module.
[0040] 1. Data Acquisition: The data acquisition submodule of the template application effect tracking module interfaces with the relay protection device action recording system and power grid fault recording system of the hydropower station to collect the operating data of the 35kV overcurrent protection device template (device number M001) from Manufacturer A: operating parameters O are the system's normal operating mode O1, load current O2=25A, bus voltage O3=35kV, fault information F is the phase-to-phase short circuit fault O4, fault clearing time O5=0.5s, and device action record A is the number of correct actions N. ca =8 times, number of erroneous actions N wa =1 time, N times of refusal na =1 time; 2. Effect Analysis: The effect analysis submodule determines the weights of five evaluation indicators through expert scoring: principle matching degree w1=0.2, action accuracy rate w2=0.3, fault response speed w3=0.2, anti-interference ability w4=0.15, and field adaptability w5=0.15; Calculation of action accuracy: point; Fault response speed calculation: Preset lower limit of standard fault clearing time t for 35kV line overcurrent protection a0 =0.4s, upper limit t a1 =0.6s, actual resection time t a =0.5s, point; The remaining indicators were obtained through on-site evaluation: Principle matching degree S m1 =7.0 points, anti-interference ability S m4 =6.0 points, On-site adaptability S m5 =7.0 points; Overall compatibility score: point; 3. Optimization Reminder: The system has a preset compatibility scoring threshold S. m0 =8.0 points. Since 6.95 < 8.0, the system automatically issued a template optimization reminder. At the same time, the module extracted the low-scoring indicators as fault response speed (5.0 points) and anti-interference capability (6.0 points) and generated modification direction suggestions: "The fault response speed and anti-interference capability scores of the template of Manufacturer A's 35kV overcurrent protection device are low. It is recommended to optimize the calculation principle of the overcurrent stage II time limit, shorten the time limit parameter to 0.3-0.4s, and increase the anti-interference coefficient to 1.1." The engineer optimized and modified the template according to the suggestions.
[0041] Example 4: This embodiment illustrates the implementation of the historical data mining module.
[0042] 1. Data Integration: The data integration submodule integrates the setting calculation historical data of the original system for the past 5 years, covering three voltage levels (35kV, 110kV, and 220kV) and three protection principles (overcurrent protection, differential protection, and zero-sequence protection), totaling 120 valid records. 15 invalid records are removed, and 8 missing records are added, forming a standardized historical dataset D. h ; 2. Association Rule Mining: The association rule mining submodule uses the Apriori algorithm to mine the historical dataset D_h, setting a minimum support (min). sup =0.2, minimum confidence level min conf =0.8, strong association rule obtained: 35kV mountain hydropower station line overcurrent protection (X) Overcurrent stage I setting = 1.4 × maximum load current, overcurrent stage I time limit = 0.1s, overcurrent stage II setting = 1.2 × maximum load current, overcurrent stage II time limit = 0.3s (Y), the support of this rule = 0.25, confidence level = 0.92, which meets the preset conditions; 3. Case Library Construction: The case library construction submodule builds a case library for setting calculation projects based on the strong correlation rules obtained from mining and the corresponding 28 historical engineering examples. The case for this scenario is assigned the number AL001 and is categorized and archived according to "Voltage Level - 35kV", "Protection Principle - Overcurrent Protection", and "Application Scenario - Mountain Hydropower Station". The case library contains core content such as the optimal setting configuration scheme for this scenario, the application effects of the 28 examples, and optimization records. When engineers perform overcurrent protection setting calculations for another 35kV mountain hydropower station near this hydropower station, they can retrieve the AL001 case information from the case library and directly refer to the optimal configuration scheme for setting calculations, significantly improving work efficiency.
[0043] Example 5: This example illustrates the implementation of the linkage between permissions and version management.
[0044] 1. Access Control: This intelligent operation and maintenance system is linked with the original system's access control subunit, assigning module operation permissions to three types of roles: Administrators have full access to intelligent updates of the principle library, template effect analysis, and case library construction; Engineers have permissions to view data, export update suggestions, export optimization suggestions, and retrieve cases; Viewers only have permissions to view data and retrieve cases; When a viewer attempts to modify the principle library update suggestion list, the system automatically intercepts the request and prompts that the viewer does not have the necessary permissions. 2. Version Management: All operation records of intelligent updates to the principle library, template optimization modifications, and additions to the case library are synchronized to the original system's version management subunit. For example, after Engineer B modifies the template of Manufacturer A's 35kV overcurrent protection device based on optimization suggestions on February 10, 2026, the system automatically saves the version before modification (V2.0) and the modified version (V3.0), allowing administrators to perform version rollback and version comparison at any time to clarify the differences in modifications.
[0045] This embodiment, through the application of a full lifecycle intelligent operation and maintenance system for protection device templates and setting calculation principle libraries, achieves efficient and compliant updates of the principle library, closed-loop optimization of templates, and value mining of historical data in the relay protection setting calculation of the hydropower station. It solves many problems of the original system in the operation and maintenance phase, increases the average adaptability score of protection device templates from 6.8 to 8.5, and improves the efficiency of setting calculation work by more than 40%. It significantly improves the intelligence level and operation and maintenance efficiency of the relay protection setting calculation management system of the hydropower station, and ensures the safe and stable operation of the power grid.
Claims
1. A relay protection setting calculation principle database management system, characterized in that, include: The protection device template management unit is used to define the basic information of each type of relay protection device, establish the setting list corresponding to each protection principle, define the basic information of each setting item and control word in the setting list, and associate each setting item and control word with a custom setting calculation principle. The secondary development unit provides an open secondary development environment, allowing users to customize and modify the tuning calculation principles according to their actual needs. This enables the editing of tuning calculation formulas, the construction of logical judgments, and the customization of the output content of the calculation scheme, as well as the generation of calculation scheme documents. The common quantity library unit is used to store the common custom setting calculation principles corresponding to the same setting items in different models of protection devices, forming a common quantity library for each setting item to select and reuse the calculation principle, avoiding duplicate and redundant principle definitions.
2. The relay protection setting calculation principle database management system according to claim 1, characterized in that, The basic information defined in the protection device template management unit includes the name of the protection device, manufacturer, software version, and applicable voltage level.
3. The relay protection setting calculation principle database management system according to claim 1, characterized in that, The secondary development unit supports a visual interface for editing tuning calculation formulas. Users can construct calculation formulas by dragging and dropping, inputting parameters, etc., without writing underlying code.
4. The relay protection setting calculation principle database management system according to claim 1, characterized in that, The complex logic judgment function of the secondary development unit supports the visual configuration of logic structures such as condition judgment, loop control, and branch selection, and adapts to the tuning calculation needs in different scenarios.
5. The relay protection setting calculation principle database management system according to claim 1, characterized in that, The secondary development unit allows for customization of the output format of the calculation scheme document, including document structure, content modules, data precision, and chart styles, and supports exporting in multiple formats such as PDF, Word, and Excel.
6. The relay protection setting calculation principle library management system according to claim 1, characterized in that, The common quantity library unit supports the addition, modification, deletion and classification management of common setting calculation principles. The setting items in each protection device template can be associated with the calculation principles in the common quantity library through a unique identifier.
7. The relay protection setting calculation principle database management system according to claim 1, characterized in that, The system also includes a permission management subunit, which is used to assign different operation permissions to different users, including permission to view calculation principles, permission to edit, permission to manage common quantity libraries, and permission to export calculation schemes.
8. The relay protection setting calculation principle database management system according to claim 1, characterized in that, The system also includes a version management subunit, which records the modification history of the tuning calculation principles, supports version backtracking and version comparison, and ensures the traceability of the calculation principles.
9. The relay protection setting calculation principle database management system according to claim 1, characterized in that, The system also includes a principle library intelligent update module, a template application effect tracking module, and a historical data mining module. The principle library intelligent update module, template application effect tracking module, and historical data mining module communicate and work collaboratively with each unit / subunit of the system to realize intelligent operation and maintenance of the protection device template and setting calculation principle library throughout the entire life cycle. The principle library intelligent update module is used to realize the linkage update of industry standards and common quantity library; the template application effect tracking module is used to realize the full-process application effect analysis and optimization reminder of protection device templates; and the historical data mining module is used to mine the value of historical data in the entire process of setting calculation and form an engineering case library.
10. A relay protection setting calculation principle database management system according to claim 9, characterized in that, The principle base intelligent update module includes a standard perception submodule, a standard parsing submodule, and a principle update submodule; The standard perception submodule connects to the power industry standard release platform and uses web crawling technology to obtain real-time updates of relevant industry standards for relay protection setting calculations, extracting the standard number S and update time T of the updated standards. s Standard Application Areas F s and update content text C s ; The standard parsing submodule uses Natural Language Processing (NLP) technology to update the content text C. s The text is analyzed, and the weights of keywords are calculated using the TF-IDF algorithm. Semantic recognition is then performed using a BERT pre-trained model to extract the modification clause number K related to the tuning calculation principle. i , Setting parameter type P i Parameter calculation rules R i and the conditions for the application of the rules Q i The TF-IDF algorithm calculation formula is as follows: ; ; ; in, Keywords In updating content text word frequency in Keywords In the text The number of times it appears in For text The sum of the occurrences of all words in the text; Keywords In the standard document collection Inverse document frequency, |D| represents the total number of documents in the standard document set. For keywords The number of documents; Keywords In the text Weights in; The principle update submodule matches the corresponding common tuning calculation principles in the common quantity library based on the parsing results, generates a list of principle update suggestions, and supports batch updates of principles in the common quantity library after manual confirmation by the administrator. At the same time, the principle update information is recorded through the version management subunit of the original system.
11. The relay protection setting calculation principle library management system according to claim 9, characterized in that, The template application effect tracking module includes a data acquisition submodule, an effect analysis submodule, and an optimization reminder submodule; The data acquisition submodule interfaces with the relay protection device action recording system and the power grid fault recording system, and collects in real time the application device number M of the protection device template, the actual operating condition parameters O, the device action record A, and the power grid fault information F. The operating condition parameters O include the system operating mode. Load current Bus voltage Fault type and fault clearing time ; The effect analysis submodule establishes a template-work condition-action effect correlation analysis model, and calculates the template's suitability score using a weighted scoring method. The calculation formula is: ; in, For the first The weights of the evaluation indicators satisfy the following: Evaluation indicators include principle matching degree Accuracy of movement Fault response speed Anti-interference capability Adaptability to the site Each indicator has a score range of 0-10. Optimize the adaptation score threshold for the reminder submodule settings. ,when When the template is optimized, the system will automatically issue a template optimization reminder. At the same time, based on the results of the correlation analysis model, it will extract the types of fixed-value items and calculation principle parameters related to low-scoring indicators in the template and generate targeted suggestions for template modification.
12. The relay protection setting calculation principle database management system according to claim 11, characterized in that, In the aforementioned effect analysis submodule, the action accuracy rate The calculation formula is: ; in, To ensure the correct number of actions during the application of the protection device template, This refers to the number of erroneous actions. Number of rejected actions; fault response speed The calculation formula is: ; in, This refers to the actual fault clearance time. This is the lower limit of the standard fault clearance time. This is the upper limit of the standard fault clearing time.
13. The relay protection setting calculation principle database management system according to claim 9, characterized in that, The historical data mining module includes a data integration submodule, an association rule mining submodule, and a case library construction submodule. The data integration submodule integrates the protection device template data, setting calculation principle data, calculation scheme data, template modification records, and principle reuse records from the original system to form a standardized historical dataset. The data fields include device model, voltage level, protection principle, setting item configuration, calculation principle parameters, application scenario, calculation scheme effect, and modification and optimization records; The association rule mining submodule uses the Apriori algorithm to process historical datasets. The mining process aims to uncover the optimal configuration rules for tuning calculation principles in different application scenarios. The support and confidence formulas for the Apriori algorithm are as follows: ; ; in, For scene feature set, Configure sets for tuning calculation principles. To contain simultaneously and The number of records, Let |X| be the total number of records in the historical dataset, and |X| be the set of scene features. Number of records; set minimum support and minimum confidence Filter out the strongly associated rules that meet the conditions; The case library construction submodule builds a case library for setting calculation projects based on strong association rules and historical engineering examples. It assigns a unique case number to each case and categorizes and archives them according to voltage level, protection principle, and application scenario, allowing users to retrieve case information through multi-condition searches.