Setting calculation parameter input method, device and equipment based on digital drawing

By extracting parameters from the STD and SPD files of the digital drawings and performing point-to-point verification, the input of setting calculation parameters is automatically completed, solving the problem of low efficiency of manual input and ensuring the accuracy of setting calculation results and the safety of the power grid.

CN121009656APending Publication Date: 2025-11-25ELECTRIC POWER RESEARCH INSTITUTE OF STATE GRID SHANDONG ELECTRIC POWER COMPANY +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510852826.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-24
Publication Date
2025-11-25

AI Technical Summary

Technical Problem

In existing technologies, the input of setting calculation parameters for relay protection relies on manual operation, which leads to low work efficiency, is prone to errors, affects the accuracy of setting calculation results, and threatens the safe and stable operation of the power grid.

Method used

By acquiring the STD and SPD files of the digital drawings, the parameters of primary equipment and protection devices are extracted. By matching the plant name and equipment parameter items, the input and verification of the setting calculation parameters are automatically completed, ensuring data consistency.

Benefits of technology

It improved the accuracy and efficiency of setting calculation parameters, reduced human error, and ensured the safe operation of the power grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121009656A_ABST
    Figure CN121009656A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a setting calculation parameter input method, device and equipment based on a digital drawing. The method comprises the steps that an STD file and an SPD file of the digital drawing are acquired; extracting plant station information and parameters of primary equipment from the STD file, and extracting plant station information and parameters of a protection device from the SPD file; extracting the primary equipment connected with the protection device based on the SPD file and the STD file to form a corresponding connection relationship; the point-to-point relation is determined through point-to-point operation of plant station names, point-to-point operation of primary equipment, point-to-point operation of protection devices and point-to-point operation of equipment parameter items in the plant station information; according to the method, the target parameters and the corresponding parameters in the setting calculation system are verified, the corresponding connection relation between the protection device and the primary equipment and the corresponding connection relation in the setting calculation system are verified, the target parameters serve as the setting calculation parameters, and the setting calculation parameters are input into the setting calculation system according to the point-to-point relation, so that the working efficiency can be improved; parameter anti-error checking can be carried out, and safe operation of a power grid is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of relay protection technology, and in particular to a method, apparatus and equipment for inputting setting calculation parameters based on digital drawings. Background Technology

[0002] The setting calculation of relay protection is the core foundation for ensuring the correct operation of protection devices. By scientifically setting the action parameters (such as action value and time limit), the protection device can quickly and accurately isolate the fault area when a fault occurs, which can not only avoid false operation / failure to operate, but also minimize the power outage area, thereby effectively preventing the spread of faults and ensuring the stable operation of the power grid. It is the key technical support for the relay protection to play the role of the "first line of defense".

[0003] Currently, the input of setting calculation parameters for relay protection mainly relies on manual labor, meaning that staff manually input the parameters based on collected setting calculation data. This input method is inefficient, prolongs the setting calculation cycle, and hinders the rapid progress of putting protection devices into operation. The large amount of repetitive work is also prone to human error, which directly affects the accuracy of the setting calculation parameters, thereby affecting the correctness of the setting calculation results. This can lead to the risk that the protection device may not operate correctly according to the predetermined plan, threatening the safe and stable operation of the power grid. Summary of the Invention

[0004] This application provides a method, apparatus, and equipment for inputting tuning calculation parameters based on digital drawings. This method can improve work efficiency, perform parameter error prevention checks, effectively avoid potential errors in the input of tuning calculation parameters, and ensure the safe operation of the power grid.

[0005] In a first aspect, embodiments of this application provide a method for inputting tuning calculation parameters based on digital drawings, including:

[0006] Obtain the system topology description (STD) file and the station-level physical loop description (SPD) file from the digital drawings;

[0007] Extract plant information from the STD file, extract parameters of primary equipment according to the first preset path, and extract plant information from the SPD file and extract parameters of protection devices according to the second preset path.

[0008] Extract the interval to which the protection device belongs from the SPD file as the target interval, and extract the primary equipment connected to the protection device from the STD file based on the target interval to form the corresponding connection relationship between the protection device and the primary equipment.

[0009] The process involves matching the plant name in the plant information with the plant name in the setting calculation system; matching the primary equipment within the plant corresponding to the plant name in the plant information with the primary equipment in the setting calculation system; matching the protection device within the plant corresponding to the plant name in the plant information with the protection device in the setting calculation system; and matching the equipment parameter item corresponding to the target parameter with the equipment parameter item in the setting calculation system to determine the matching relationship. The target parameter includes the extracted parameters of the protection device and the extracted parameters of the primary equipment. The equipment parameter item includes the parameter item of the protection device and the parameter item of the primary equipment.

[0010] The target parameter is verified against the corresponding parameter in the setting calculation system. The corresponding connection relationship between the protection device and the primary equipment is verified against the corresponding connection relationship in the setting calculation system. The target parameter is used as the setting calculation parameter and entered into the setting calculation system according to the point-to-point relationship.

[0011] Secondly, embodiments of this application provide a device for inputting tuning calculation parameters based on digital drawings, including:

[0012] The acquisition module is used to acquire the system topology description (STD) file and the station-level physical loop description (SPD) file of the digital drawings;

[0013] The extraction module is used to extract plant information from the STD file, obtain parameters of primary equipment according to a first preset path, extract plant information from the SPD file, and extract parameters of protection devices according to a second preset path.

[0014] The connection relationship extraction module is used to extract the interval to which the protection device belongs in the SPD file as the target interval, and extract the primary equipment connected to the protection device in the STD file based on the target interval to form the corresponding connection relationship between the protection device and the primary equipment.

[0015] The point-matching module is used to match the plant name in the plant information with the plant name in the setting calculation system, match the primary equipment within the plant corresponding to the plant name in the plant information with the primary equipment in the setting calculation system, match the protection device within the plant corresponding to the plant name in the plant information with the protection device in the setting calculation system, and match the equipment parameter item corresponding to the target parameter with the equipment parameter item in the setting calculation system to determine the point-matching relationship; wherein, the target parameter includes the extracted parameters of the protection device and the extracted parameters of the primary equipment; the equipment parameter item includes the parameter item of the protection device and the parameter item of the primary equipment;

[0016] The verification and input module is used to verify the target parameter and the corresponding parameter in the setting calculation system, verify the corresponding connection relationship between the protection device and the primary equipment and the corresponding connection relationship in the setting calculation system, and use the target parameter as the setting calculation parameter and input it into the setting calculation system according to the point relationship.

[0017] Thirdly, embodiments of this application provide an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, it implements the method provided in embodiments of this application.

[0018] Fourthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to perform the method provided in embodiments of this application.

[0019] The technical solution provided in this application extracts primary equipment parameters from the STD file of the digitized drawings and protection device parameters from the SPD file of the digitized drawings. It then combines the SPD and STD files to extract the corresponding connection relationships between the protection devices and primary equipment. By matching plant names, primary equipment within the plant, protection devices, and equipment parameter items, the data in the digitized drawings is aligned with the data in the setting calculation system. The extracted primary equipment parameters and protection device parameters are verified against their corresponding parameters in the setting calculation system, as are the corresponding connection relationships between the protection devices and primary equipment. This automatically completes the consistency verification of the setting calculation parameters. Finally, the extracted primary equipment parameters and protection device parameters are entered into the setting calculation system as setting calculation parameters. Therefore, this method improves the accuracy of the setting calculation parameters, ensures the correctness of the setting calculation results, increases work efficiency, enables parameter error prevention checks, effectively avoids potential errors in setting calculation parameter entry, and ensures the safe operation of the power grid. Attached Figure Description

[0020] Figure 1 This is a schematic diagram of the traditional method for entering calculation parameters.

[0021] Figure 2 This is a flowchart of a method for inputting tuning calculation parameters based on digital drawings, provided in this application.

[0022] Figure 3 This is a schematic diagram of the STD model structure;

[0023] Figure 4 This is a schematic diagram of the SPD model structure;

[0024] Figure 5 This is a schematic diagram of the parameter extraction path for a primary device;

[0025] Figure 6 This is a schematic diagram of the parameter extraction path for the protection device;

[0026] Figure 7 This is a schematic diagram showing the corresponding connection relationship between the protection device and the CT.

[0027] Figure 8 This is a schematic diagram showing the corresponding connection relationship between the protection device and the circuit breaker;

[0028] Figure 9 This is a schematic diagram of the point-to-point process;

[0029] Figure 10 This is a structural block diagram of a device for inputting tuning calculation parameters based on digital drawings, provided in an embodiment of this application.

[0030] Figure 11 This is a schematic diagram of an electronic device structure provided in an embodiment of this application. Detailed Implementation

[0031] The present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0032] In related technologies, digital drawings use standardized modeling languages ​​to structurally describe and store the primary and secondary models of the power grid, including the power grid topology and equipment parameters. DL / T 2765-2024 "Specification for Logical Model of Transmission and Transformation Engineering" (hereinafter referred to as DL / T 2765) specifies the system topology relationship description STD model, station-level physical circuit description SPD model, file structure and storage requirements of the logical model of transmission and transformation engineering, which provides a basis for the automatic extraction of setting calculation parameters.

[0033] The traditional method for entering model parameters (i.e., setting calculation parameters) into a setting calculation system can be divided into several steps: grid topology drawing, model parameter entry, protection device modeling, and protection device configuration. These tasks are primarily manual. Field personnel collect setting calculation data (electronic or paper versions) and send it to the setting specialist. The specialist then reviews the data (design drawings, test reports, measured parameter reports, etc.) and uses the modeling tools provided by the setting calculation system to construct a graphical grid topology and enter parameters. (See reference...) Figure 1 .

[0034] The traditional method for calibrating model parameters in a power grid tuning calculation system involves staff reviewing the tuning calculation data and verifying each parameter in the established primary and secondary power grid models. If inconsistencies are found, modeling tools are used to make corrections. When there are many modeling devices, this traditional method of inputting and calibrating model parameters significantly increases work time and reduces efficiency.

[0035] Figure 2 This is a flowchart of a method for inputting tuning calculation parameters based on digital drawings, provided by an embodiment of this application. The method can be executed by a device for inputting tuning calculation parameters based on digital drawings. The device can be implemented by software and / or hardware and can be configured in electronic devices such as computers.

[0036] like Figure 2 As shown, the technical solutions provided in this application include:

[0037] S110: Obtain the system topology description (STD) file and the station-level physical loop description (SPD) file for digital drawings.

[0038] In this embodiment, the digital drawing can be a digital drawing of an electronic system, the system topology relationship description (STD) file can be a file generated based on the STD model, or it can be a file generated based on an expanded STD model, and the substation physical circuit description (SPD) file can be a file generated based on the SPD model, or it can be a file generated based on an expanded SPD model.

[0039] In this embodiment, the DL / T 2765 logical model is mainly divided into two categories: STD model and SPD model. The STD model and SPD model describe the equipment models of primary and secondary equipment, as well as the connection relationships between them. Since this standard primarily addresses the design of power transmission and transformation projects, and setting calculations need to consider not only the equipment in power transmission and transformation projects but also the impact of power generation equipment, especially given the rapid development of new power systems, the impact of short-circuit electrical quantities provided by new energy equipment on setting calculations is becoming increasingly significant. Therefore, to meet the business data requirements of setting calculations, the DL / T 2765 system topology description model needs to be expanded to include the digital description of power generation projects, including new energy power plants. Therefore, before S110, the STD model and SPD model can be expanded, thereby generating corresponding digital drawing STD and SPD files based on the expanded models.

[0040] Specifically, the setting calculation parameters for relay protection settings are organized according to the plant / station level, primary equipment, protection devices, and equipment connection relationships, as shown in Tables 1-4. Table 1 lists the plant / station level information requirements, Table 2 lists the primary equipment parameter requirements, Table 3 lists the protection device parameter requirements, and Table 4 lists the equipment connection relationship requirements.

[0041] Table 1

[0042] Serial Number project 1 name 2 Voltage level (kV) 3 Wiring configurations for each voltage level 4 Plant type 4.1 power plant 4.2 conventional substation 4.3 Smart substation 4.4 New energy power stations 4.5 User Station

[0043] Table 2

[0044]

[0045]

[0046]

[0047] Table 3

[0048] Serial Number project 1 Physical ID 2 Unique Device Identifier 3 factory 4 model 5 Version number 6 Verification code 7 Is it a domestically produced chip? 8 Set 9 Channel 1, Channel 2

[0049] Table 4

[0050]

[0051] Specifically, the STD model is expanded by adding equipment types to the primary equipment elements within the STD model; and adding attribute names and unit information to the desc and dimension parameters of the parameter elements under the primary equipment elements. The objects in the STD model include elements such as Substation, Voltage Level, Bay, Group (a group of complete or combined electrical equipment), PowerTransformer or Transformer, Transformer Winding, Equipment, and SubEquipment. For a detailed structure, please refer to [reference needed]. Figure 3 .

[0052] like Figure 3As shown, from a model perspective, the elements in the model can describe the parameters of all primary equipment in the power grid and the connection relationships between primary equipment. Primary equipment can be described using Equipment or ConductingEquipment elements, primary equipment parameters can be described using Parameter elements, and the connection relationships between primary equipment can be described using InNode, ConnectivityNode, and other elements. However, due to the requirement in DL / T 2765 that "digital design of power transmission and transformation projects should utilize visualization, digitization, and other technologies to establish an engineering logical model, and the model file should be generated synchronously with the drawings, and the model and drawings should be consistent," the model file and the drawings are mutually restrictive, resulting in the following two problems:

[0053] (1) The type (equipment type) in the Equipment element adopts the equipment type code in Appendix C of DL / T 2765, but the equipment type in Appendix C needs to be further expanded to describe all primary equipment in Table 2;

[0054] (2) The desc parameter and dimension parameter in the Parameter element are described with reference to the attribute names and unit specifications in the model detail of NB / T 11199-2023 "Specification for Interaction and Modeling of Three-Dimensional Design Model of Power Transmission and Transformation Engineering". It is necessary to expand the attribute names and unit specifications to describe all the parameter items of the primary equipment in Table 2.

[0055] The STD model specifies 20 equipment types, including transformers, reactors, circuit breakers, disconnectors, current transformers, and voltage transformers. The graphical description further categorizes these equipment types based on the model description. By comparing Table 2 with Appendix C of DL / T 2765, the method for expanding equipment types in the STD model can be obtained.

[0056] The model equipment types have been expanded to include a new "New Energy Converter" category, with the equipment type code "NE". The graphical types for "New Energy Converter" include new descriptions for photovoltaic, doubly-fed wind turbines, direct-drive wind turbines, and energy storage power supplies; for "Transformer", descriptions for three-coil split transformers, four-coil transformers, and four-coil split transformers have been added; and for "Reactor", descriptions for shunt reactors and split reactors have been added. See Table 5 for details; Table 5 is an expanded definition table of primary equipment graphical symbols in the STD model.

[0057] Table 5

[0058]

[0059]

[0060] After expanding the equipment types according to Table 5 above, the primary equipment elements in the STD model can describe all the primary equipment that needs to be considered in the tuning calculation. Table 6 can be an example of a primary equipment description.

[0061] Table 6

[0062]

[0063] The parameters of primary equipment are expanded. Specifically, the parameters of primary equipment can be described using parameter elements. For a specific equipment, its parameters can be described in the form shown in Table 7. Table 7 is an example of parameter description for primary equipment.

[0064] Table 7

[0065]

[0066] In theory, all parameter items of primary equipment in Table 2 can be described using the Parameter element in the example format shown in Table 7. The desc and dimension parameters in DL / T2765-2024 are described with reference to the attribute names and unit specifications in the model detail section of NB / T 11199-2023 "Specification for Interaction and Modeling of Three-Dimensional Design Models for Power Transmission and Transformation Engineering," but the requirements for setting calculation parameters were not considered during the formulation process. Therefore, based on Table 2, the desc parameters of existing equipment parameter items in DL / T2765 are standardized and expanded. Simultaneously, to facilitate subsequent parameter extraction and use, the dimension parameters also need to be standardized and expanded. Table 8 is the parameter item expansion table for primary equipment in the STD model. After expanding the equipment types according to Table 8, the Parameter element can describe all primary equipment parameter items required for setting calculation operations using the example format shown in Table 7.

[0067] Table 8

[0068]

[0069]

[0070]

[0071]

[0072]

[0073] In this embodiment, expanding the SPD model can include extending the station-level elements and equipment elements within the SPD model. Specifically, the SPD model expresses the connection relationships between primary and secondary equipment and cabinets, such as optical cables and electrical cables, and is used to identify the physical loop connection logic between primary equipment, secondary equipment, and cabinets. The SPD model structure can be referenced... Figure 4 As can be seen from the SPD model definition, the connection relationships shown in Table 4 can be obtained from the STD model. In order to fully obtain the substation information shown in Table 2 and the parameters of the protection devices shown in Table 3, it is necessary to expand the substation elements and device elements in the STD model. The expansion of the substation elements can be referred to Table 9, and the expansion of the device elements can be referred to Table 10.

[0074] Table 9

[0075]

[0076] Table 10

[0077]

[0078] After completing the Substation element expansion according to Table 9 and the Device element expansion according to Table 10, information such as the substation, protection device, and primary and secondary equipment connection relationships required for relay protection services can be described.

[0079] In this embodiment, through the above-described expansion, SPD files of digital drawings can be generated based on the expanded SPD model, and STD files of digital drawings can be generated based on the expanded STD model.

[0080] S120: Extract plant information from the STD file, extract parameters of primary equipment according to the first preset path, extract plant information from the SPD file, and extract parameters of protection devices according to the second preset path.

[0081] In this embodiment, both the STD model and the SPD model adopt a hierarchical description mechanism, with "layer" representing a logical subordinate relationship. Within a layer, the devices, device attributes, and device connection relationships contained in that layer are described. Therefore, this hierarchical description mechanism can be used to extract the setting calculation parameters (including the parameters of primary equipment and the parameters of protection devices) described in the digital drawings.

[0082] In this embodiment, the step of extracting plant information from the STD file and obtaining primary equipment parameters according to a first preset path includes: for complete or combined electrical equipment, determining the complete or combined electrical equipment elements under the station-level elements of the STD file, determining the bay elements under the complete or combined electrical equipment elements, and extracting the parameters of the primary equipment from the primary equipment elements under the bay elements; for non-complete or non-combined electrical equipment, determining the bay elements under the station-level elements of the STD file, and extracting the parameters of the primary equipment from the primary equipment elements under the bay elements.

[0083] Specifically, for complete or combined electrical equipment, follow the path Substation-Group-Bay-ConductingEquipment ( Figure 5 The path shown retrieves the parameters of the primary equipment from the STD file: extracts the parameters from the Group element under the Substation element, extracts the bay information contained in the set or combination of electrical equipment from the Bay element under the Group element, and extracts the primary equipment parameters in the set or combination of electrical equipment from the ConductingEquipment element under the Bay element.

[0084] For non-complete or combined electrical equipment, which does not have a Group element, the parameters of the primary equipment can be extracted in the STD file according to the Substation-Bay-ConductingEquipment path.

[0085] In this embodiment, extracting plant information from the SPD file and extracting parameters of the protection device according to the second preset path includes: extracting plant information from the station-level elements of the SPD file, determining the regional elements under the station-level elements, and determining the cabinet elements under the regional elements; determining the target equipment element describing the protection device based on the equipment type in the equipment elements under the cabinet elements, and obtaining the parameters of the protection device from the target equipment element.

[0086] Specifically, the path for extracting protection device parameters from the SPD file can be found in [reference needed]. Figure 6Specifically, the substation information, including substation name, type, and voltage level, is extracted from the Substation element; the parameters of the physical areas (such as 220kV relay protection room I and 220kV AC power distribution equipment) contained in this substation are obtained from the Region elements under the Substation element; the parameters of the cabinets (such as the 220kV Example 1 line intelligent control cabinet) contained in this physical area are obtained from the Cubicle elements under the Region element; and the parameters of the protection devices are obtained by filtering the Device elements (Devices) under the Cubicle element by whether the device type (class) is RPE (Protection Device / Integrated Protection and Testing Device).

[0087] S130: Extract the interval to which the protection device belongs from the SPD file as the target interval, and extract the primary equipment connected to the protection device from the STD file based on the target interval to form the corresponding connection relationship between the protection device and the primary equipment.

[0088] In this embodiment, optionally, the interval to which the protection device belongs is extracted from the SPD file as the target interval, and the primary equipment connected to the protection device is extracted from the STD file based on the target interval. This includes: for the SPD file, extracting plant information from the station-level elements of the SPD file, determining the plant name in the plant information as the target plant name, obtaining interval information from the interval elements under the station-level elements, determining the interval in the interval information as the first interval, and obtaining the protection device referenced in the first interval from the equipment reference elements under the interval elements to obtain the interval to which the protection device belongs as the target interval; for the STD file, obtaining the target plant name from the station-level elements of the STD file, obtaining the second interval corresponding to the target plant name from the interval elements under the station-level elements, and obtaining the primary equipment with the second interval from the primary equipment elements under the interval elements as the primary equipment connected to the protection device, wherein the second interval is the same as the target interval; the primary equipment includes current transformers and circuit breakers.

[0089] Specifically, the connection relationship between the protection device and the current transformer (CT) is extracted by combining information from the STD file and the SPD file. The process can be found by referring to [the following documentation / reference]. Figure 7In the SPD file, the device reference element (DeviceRef element) under the bay element (Bay element) represents a reference to the device within the bay, used to declare the bay affiliation of the device in the cabinet. The desc attribute (bay description) of the Bay element contains information about the protected device. Therefore, the bay to which the protected device belongs and its description can be obtained through the DeviceRef element under the Bay element. Then, the bay with the same description is found in the STD file, and the primary device of type CTR is found under its primary device element (ConductingEquipment element). This primary device is the CT connected to the protected device in the same bay.

[0090] In this embodiment, the connection relationship between the protection device and the circuit breaker can be extracted by referring to... Figure 8 The method for extracting the connection relationship between the protection device and the circuit breaker can be referenced from the method for extracting the connection relationship with the CT. The difference is that the primary device with type CBR is found in the same bay of the STD file. This primary device is the circuit breaker connected to the protection device in the same bay.

[0091] S140: Match the plant name in the plant information with the plant name in the setting calculation system; match the primary equipment within the plant corresponding to the plant name in the plant information with the primary equipment in the setting calculation system; match the protection device within the plant corresponding to the plant name in the plant information with the protection device in the setting calculation system; and match the equipment parameter item corresponding to the target parameter with the equipment parameter item in the setting calculation system to determine the matching relationship; wherein, the target parameter includes the extracted parameters of the protection device and the extracted parameters of the primary equipment; the equipment parameter item includes the parameter item of the protection device and the parameter item of the primary equipment.

[0092] In this embodiment, the point-to-point process can be referred to Figure 9 The process can begin with calibrating the plant / station data, followed by calibrating the equipment within that plant / station. Therefore, there is a sequential relationship between plant / station calibrating and equipment calibrating. The difference lies in the fact that different equipment may have the same equipment parameter names. To reuse calibrating information and reduce workload, it's unnecessary to differentiate between plant / station and equipment for equipment parameter calibrating; instead, all equipment parameter items can be extracted and calibrated uniformly.

[0093] In this embodiment, optionally, the step of matching the plant name in the plant information with the plant name in the setting calculation system includes: matching the desc parameter in the station-level element with the plant name in the setting calculation system. Optionally, it may also include forming matching information by matching the power grid name, region name, and plant name in the station-level elements of the STD file and SPD file with the plant ID in the setting calculation system and storing this information.

[0094] Specifically, the `desc` parameter in the `Substation` element is used to perform alignment with the plant / station name in the setting calculation system. Alternatively, the `gridName` (power grid name), `areaName` (region name), and `name` (plant / station name) from the `Substation` element in the STD and SPD files of the digitized drawings can be combined with the plant / station ID in the setting calculation system to form alignment information for storage. During the alignment process, the setting calculation system aligns with the data in the digitized drawings by querying the alignment information database. A combination of automatic and manual alignment is used. Automatic alignment is based on the matching relationships in the alignment information database, while manual alignment is used to handle equipment alignment outside the database. After manual alignment is completed, the alignment information database is updated. As the database is continuously updated, it becomes increasingly complete, reducing the need for manual alignment and bringing the level of automation closer to full automation.

[0095] In this embodiment, optionally, the step of matching the primary equipment within the substation corresponding to the substation name with the primary equipment in the setting calculation system, and matching the protection device within the substation corresponding to the substation name with the protection device in the setting calculation system, includes: matching the desc parameter in the primary equipment element of the STD file with the primary equipment name in the setting calculation system; matching the unified identification code of power grid assets in the equipment element or sub-equipment element of the SPD file with the protection device ID in the setting calculation system. Optionally, it may further include: forming and storing matching information between the unified identification code of power grid assets in the equipment element or sub-equipment element of the SPD file and the protection device ID in the setting calculation system; forming and storing matching information between the power grid name, region name, substation name, and primary equipment code in the substation-level elements of the STD and SPD files and the primary equipment ID in the setting calculation system; and storing the matching information of the equipment parameter items.

[0096] Specifically, for primary equipment point-to-point matching, the `desc` parameter in the `Equipment` or `ConductingEquipment` element is used to match the primary equipment name in the setting calculation system. Alternatively, the `gridName` (power grid name), `areaName` (region name), `name` (plant name), and `gridId` (equipment code) in the `Substation` element of the digitized drawing can be used to create point-to-point information with the primary equipment ID in the setting calculation system for storage.

[0097] Specifically, for protection device pairing, the objectId (unified identification code for power grid assets) in the Device or SubDevice element of the SPD file is used to pair with the physical ID of the protection device in the setting calculation system. When the setting calculation system has an objectId obtained from other business systems (such as OMS), it compares this objectId with the objectId in the Device or SubDevice element for consistency. If they match, the pairing relationship is correct; otherwise, an alarm is issued for manual handling. Alternatively, the objectId in the Device or SubDevice element of the SPD file of the digitized drawing can be used to form pairing information with the protection device ID of the setting calculation system for storage.

[0098] In this embodiment, optionally, the step of matching the device parameter item corresponding to the target parameter with the device parameter item in the tuning calculation system includes: for the primary device, matching the desc parameter of the parameter element under the primary device element with the parameter item name of the primary device in the tuning calculation system; for the protection device, matching the attribute name of the protection device in the device element or sub-device element with the attribute name of the protection device in the tuning calculation system.

[0099] Specifically: For primary equipment parameters, the desc parameter in the Parameter element of the STD file is used to match the primary equipment parameter names in the setting calculation system; for protection devices, the device or SubDevice element is used to match the verification attribute name (e.g., manufacturer) with the protection device attribute name (e.g., protection manufacturer) in the setting calculation system, and the matched attribute names (matched equipment parameter items) are stored as matching information.

[0100] Therefore, by matching plant names, primary equipment, protection devices, and equipment parameters, data alignment can be completed, facilitating the accurate input of data from digital drawings into the calibration calculation system. Storing the alignment information facilitates subsequent updates to the alignment database, thus improving alignment efficiency in situations where automatic alignment is not possible.

[0101] S150: Verify the target parameter with the corresponding parameter in the setting calculation system, verify the corresponding connection relationship between the protection device and the primary equipment with the corresponding connection relationship in the setting calculation system, and use the target parameter as the setting calculation parameter, and enter it into the setting calculation system according to the point relationship.

[0102] In this embodiment, optionally, after S150, the method may further include: if the target parameter is inconsistent with the corresponding parameter in the setting calculation system, or if the corresponding connection relationship between the protection device and the primary equipment is inconsistent with the corresponding connection relationship in the setting calculation system, providing alarm prompt information.

[0103] In this embodiment, after the alignment is completed, the parameters of the primary equipment extracted from the STD file of the digitized drawing and the parameters of the protection device extracted from the SPD file are verified against the corresponding parameters in the setting calculation system. If they are inconsistent, an alarm message is given, requiring manual handling. Furthermore, the corresponding connection relationship between the extracted protection device and the primary equipment is verified against the corresponding connection relationship in the setting calculation system. If they are inconsistent, an alarm message is given, requiring manual handling.

[0104] The technical solution provided in this application extracts primary equipment parameters from the STD file of the digitized drawings and protection device parameters from the SPD file of the digitized drawings. It then combines the SPD and STD files to extract the corresponding connection relationships between the protection devices and primary equipment. By matching the plant / station name, primary equipment within the plant / station, protection devices, and equipment parameter items, it aligns the data in the digitized drawings with the data in the setting calculation system. Furthermore, it verifies the extracted primary equipment parameters, protection device parameters, and the corresponding connection relationships between the protection devices and primary equipment with the corresponding connection relationships in the setting calculation system. This automatically completes the consistency verification of the setting calculation parameters. Finally, it inputs the extracted primary equipment parameters and protection device parameters into the setting calculation system as setting calculation parameters. Therefore, this method improves the accuracy of the setting calculation parameters, ensures the correctness of the setting calculation results, increases work efficiency, enables parameter error prevention checks, effectively avoids potential errors in setting calculation parameter input, and ensures the safe operation of the power grid.

[0105] Figure 10 This is a structural block diagram of a device for inputting tuning calculation parameters based on digital drawings, as provided in an embodiment of this application. Figure 10 As shown, the device includes:

[0106] Module 101 is used to acquire the system topology description (STD) file and the station-level physical loop description (SPD) file of the digitized drawings;

[0107] Extraction module 102 is used to extract plant information from the STD file, obtain parameters of primary equipment according to a first preset path, extract plant information from the SPD file, and extract parameters of protection devices according to a second preset path.

[0108] The connection relationship extraction module 103 is used to extract the interval to which the protection device belongs in the SPD file as the target interval, and extract the primary equipment connected to the protection device in the STD file based on the target interval to form the corresponding connection relationship between the protection device and the primary equipment.

[0109] The point-matching module 104 is used to match the plant name in the plant information with the plant name in the setting calculation system, match the primary equipment within the plant corresponding to the plant name in the plant information with the primary equipment in the setting calculation system, match the protection device within the plant corresponding to the plant name in the plant information with the protection device in the setting calculation system, and match the equipment parameter item corresponding to the target parameter with the equipment parameter item in the setting calculation system to determine the point-matching relationship; wherein, the target parameter includes the extracted parameters of the protection device and the extracted parameters of the primary equipment; the equipment parameter item includes the parameter item of the protection device and the parameter item of the primary equipment;

[0110] The verification and input module 105 is used to verify the target parameter and the corresponding parameter in the setting calculation system, verify the corresponding connection relationship between the protection device and the primary equipment and the corresponding connection relationship in the setting calculation system, and use the target parameter as the setting calculation parameter and input it into the setting calculation system according to the point relationship.

[0111] In an optional embodiment, extracting plant information from the STD file and obtaining parameters of primary equipment according to a first preset path includes:

[0112] For complete sets or combined electrical equipment, determine the complete sets or combined electrical equipment elements under the station-level elements of the STD file, determine the bay elements under the complete sets or combined electrical equipment elements, and extract the parameters of the primary equipment from the primary equipment elements under the bay elements;

[0113] For non-complete or non-combined electrical equipment, determine the bay elements under the station-level elements of the STD file, and extract the parameters of the primary equipment from the primary equipment elements under the bay elements.

[0114] In an optional embodiment, extracting plant information from the SPD file and extracting parameters of the protection device according to a second preset path includes:

[0115] Extract plant and station information from the station-level elements of the SPD file, and determine the regional elements and cabinet elements under the station-level elements;

[0116] Based on the device type in the device element under the cabinet element, determine the target device element that describes the protection device, and obtain the parameters of the protection device from the target device element.

[0117] In an optional embodiment, the interval to which the protection device belongs is extracted from the SPD file as the target interval, and the primary equipment connected to the protection device is extracted from the STD file based on the target interval, including:

[0118] For the SPD file, extract the plant information from the station-level elements of the SPD file, determine the plant name in the plant information and use it as the target plant name, obtain the interval information from the interval elements under the station-level elements, determine the interval in the interval information and use it as the first interval, and obtain the protection device referenced in the first interval from the equipment reference elements under the interval elements to obtain the interval to which the protection device belongs and use it as the target interval.

[0119] For the STD file, the target plant name is obtained from the station-level element of the STD file, the second interval corresponding to the target plant name is obtained from the interval element under the station-level element, and the primary equipment with the second interval is obtained from the primary equipment element under the interval element and is used as the primary equipment connected to the protection device. The second interval is the same as the target interval. The primary equipment includes current transformers and circuit breakers.

[0120] In an optional embodiment, the step of matching the plant names in the plant information with the plant names in the tuning calculation system includes:

[0121] The desc parameter in the station-level element is matched with the plant / station name in the tuning calculation system.

[0122] In an optional embodiment, the step of aligning the primary equipment within the plant corresponding to the plant name with the primary equipment in the setting calculation system, and aligning the protection devices within the plant corresponding to the plant name with the protection devices in the setting calculation system, includes:

[0123] Match the desc parameter in the primary device element of the STD file with the primary device name of the tuning calculation system;

[0124] The unified identity code of power grid assets in the device element or sub-device element of the SPD file is matched with the protection device ID of the setting calculation system.

[0125] In an optional embodiment, the step of matching the device parameter item corresponding to the target parameter with the device parameter item in the tuning calculation system includes:

[0126] For the primary device, the desc parameter of the parameter element under the primary device element is matched with the parameter item name of the primary device in the tuning calculation system;

[0127] For the protection device, the attribute name of the protection device in the device element or sub-device element is matched with the attribute name of the protection device in the setting calculation system.

[0128] In an optional embodiment, the device further includes an alarm module, configured to: provide alarm information if the target parameter is inconsistent with the corresponding parameter in the setting calculation system, or if the corresponding connection relationship between the protection device and the primary equipment is inconsistent with the corresponding connection relationship in the setting calculation system.

[0129] In an optional embodiment, the step of using the target parameter as a tuning calculation parameter and entering it into the tuning calculation system according to the point-to-point relationship includes:

[0130] If the target parameter is inconsistent with the corresponding parameter in the setting calculation system, or if the corresponding connection relationship between the protection device and the primary equipment is inconsistent with the corresponding connection relationship in the setting calculation system, or if the corresponding parameter in the setting calculation system is missing, the target parameter shall be entered into the setting calculation system.

[0131] In an optional embodiment, the device further includes a point information storage module for:

[0132] The power grid name, region name, and plant / station name in the station-level elements of the STD and SPD files are compared with the plant / station ID in the setting calculation system to form point-to-point information and stored.

[0133] The unified identity code of power grid assets in the device element or sub-device element of the SPD file is paired with the protection device ID in the setting calculation system to form point information and is stored.

[0134] The grid name, region name, plant name, and primary equipment code in the station-level elements of the STD and SPD files are compared with the primary equipment ID in the setting calculation system to form point information and stored. The point information of the equipment parameter items is also stored.

[0135] In an optional embodiment, the apparatus further includes an expansion module for expanding the STD model and the SPD model, wherein the STD file is a file generated based on the expanded STD model, and the SPD file is a file generated based on the expanded SPD model.

[0136] In an optional embodiment, the expansion of the STD model includes:

[0137] Add a device type to the primary device element in the STD model;

[0138] Add the attribute name and unit information to the desc parameter and dimension parameter of the parameter element under the primary device element.

[0139] In one optional embodiment, expanding the SPD model includes expanding the station-level elements and device elements in the SPD model.

[0140] like Figure 11 As shown in the figure, this application provides an electronic device, including a processor 111, a communication interface 112, a memory 113, and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.

[0141] Memory 113 is used to store computer programs;

[0142] In one embodiment of this application, when the processor 111 executes a program stored in the memory 113, it implements the method provided in any of the foregoing method embodiments, including:

[0143] Obtain the system topology description (STD) file and the station-level physical loop description (SPD) file from the digital drawings;

[0144] Extract plant information from the STD file, obtain parameters of primary equipment according to the first preset path, extract plant information from the SPD file, and extract parameters of protection devices according to the second preset path;

[0145] Extract the interval to which the protection device belongs from the SPD file as the target interval, and extract the primary equipment connected to the protection device from the STD file based on the target interval to form the corresponding connection relationship between the protection device and the primary equipment.

[0146] The process involves matching the plant name in the plant information with the plant name in the setting calculation system, matching the primary equipment within the plant corresponding to the plant name with the primary equipment in the setting calculation system, matching the protection device within the plant corresponding to the plant name with the protection device in the setting calculation system, and matching the equipment parameter item corresponding to the target parameter with the equipment parameter item in the setting calculation system to determine the matching relationship. The target parameter includes the extracted parameters of the protection device and the extracted parameters of the primary equipment. The equipment parameter item includes the parameter item of the protection device and the parameter item of the primary equipment.

[0147] The target parameter is verified against the corresponding parameter in the setting calculation system. The corresponding connection relationship between the protection device and the primary equipment is verified against the corresponding connection relationship in the setting calculation system. The target parameter is used as the setting calculation parameter and entered into the setting calculation system according to the point-to-point relationship.

[0148] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the method provided in any of the foregoing method embodiments.

[0149] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0150] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software plus a general-purpose hardware platform, or of course, using hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0151] The above embodiments are merely illustrative examples and are not intended to limit the implementation. Those skilled in the art will recognize that other variations or modifications can be made based on the above description. It is neither necessary nor possible to exhaustively list all possible implementations. However, obvious variations or modifications derived therefrom are still within the scope of protection of this application.

Claims

1. A method for inputting tuning calculation parameters based on digital drawings, characterized in that, include: Obtain the system topology description (STD) file and the station-level physical loop description (SPD) file from the digital drawings; Extract plant information from the STD file, extract parameters of primary equipment according to the first preset path, and extract plant information from the SPD file and extract parameters of protection devices according to the second preset path. Extract the interval to which the protection device belongs from the SPD file as the target interval, and extract the primary equipment connected to the protection device from the STD file based on the target interval to form the corresponding connection relationship between the protection device and the primary equipment. The process involves matching the plant name in the plant information with the plant name in the setting calculation system; matching the primary equipment within the plant corresponding to the plant name in the plant information with the primary equipment in the setting calculation system; matching the protection device within the plant corresponding to the plant name in the plant information with the protection device in the setting calculation system; and matching the equipment parameter item corresponding to the target parameter with the equipment parameter item in the setting calculation system to determine the matching relationship. The target parameter includes the extracted parameters of the protection device and the extracted parameters of the primary equipment. The equipment parameter item includes the parameter item of the protection device and the parameter item of the primary equipment. The target parameter is verified against the corresponding parameter in the setting calculation system. The corresponding connection relationship between the protection device and the primary equipment is verified against the corresponding connection relationship in the setting calculation system. The target parameter is used as the setting calculation parameter and entered into the setting calculation system according to the point-to-point relationship.

2. The method according to claim 1, characterized in that, Extracting plant information from the STD file and obtaining parameters of primary equipment according to a first preset path includes: For complete sets or combined electrical equipment, determine the complete sets or combined electrical equipment elements under the station-level elements of the STD file, determine the bay elements under the complete sets or combined electrical equipment elements, and extract the parameters of the primary equipment from the primary equipment elements under the bay elements; For non-complete or non-combined electrical equipment, determine the bay elements under the station-level elements of the STD file, and extract the parameters of the primary equipment from the primary equipment elements under the bay elements.

3. The method according to claim 2, characterized in that, Extracting plant information from the SPD file and extracting protection device parameters according to the second preset path includes: Extract plant and station information from the station-level elements of the SPD file, and determine the regional elements and cabinet elements under the station-level elements; Based on the device type in the device element under the cabinet element, determine the target device element that describes the protection device, and obtain the parameters of the protection device from the target device element.

4. The method according to claim 1, characterized in that, Extract the interval to which the protection device belongs from the SPD file as the target interval, and extract the primary equipment connected to the protection device from the STD file based on the target interval, including: For the SPD file, extract the plant information from the station-level elements of the SPD file, determine the plant name in the plant information and use it as the target plant name, obtain the interval information from the interval elements under the station-level elements, determine the interval in the interval information and use it as the first interval, and obtain the protection device referenced in the first interval from the equipment reference elements under the interval elements to obtain the interval to which the protection device belongs and use it as the target interval. For the STD file, the target plant name is obtained from the station-level element of the STD file, the second interval corresponding to the target plant name is obtained from the interval element under the station-level element, and the primary equipment with the second interval is obtained from the primary equipment element under the interval element and is used as the primary equipment connected to the protection device. The second interval is the same as the target interval. The primary equipment includes current transformers and circuit breakers.

5. The method according to claim 3, characterized in that, The step of matching the plant names in the plant information with the plant names in the tuning calculation system includes: The desc parameter in the station-level element is matched with the plant / station name in the tuning calculation system.

6. The method according to claim 3, characterized in that, The step of aligning the primary equipment within the plant corresponding to the plant name with the primary equipment in the setting calculation system, and aligning the protection devices within the plant corresponding to the plant name with the protection devices in the setting calculation system, includes: Match the desc parameter in the primary device element of the STD file with the primary device name of the tuning calculation system; The unified identity code of power grid assets in the device element or sub-device element of the SPD file is matched with the protection device ID of the setting calculation system.

7. The method according to claim 3, characterized in that, The step of matching the device parameter item corresponding to the target parameter with the device parameter item in the tuning calculation system includes: For the primary device, the desc parameter of the parameter element under the primary device element is matched with the parameter item name of the primary device in the tuning calculation system; For the protection device, the attribute name of the protection device in the device element or sub-device element is matched with the attribute name of the protection device in the setting calculation system.

8. The method according to claim 1, characterized in that, Also includes: If the target parameter is inconsistent with the corresponding parameter in the setting calculation system, or if the corresponding connection relationship between the protection device and the primary equipment is inconsistent with the corresponding connection relationship in the setting calculation system, an alarm prompt message will be provided.

9. The method according to claim 1, characterized in that, The step of using the target parameter as the tuning calculation parameter and entering it into the tuning calculation system according to the point relationship includes: If the target parameter is inconsistent with the corresponding parameter in the setting calculation system, or if the corresponding connection relationship between the protection device and the primary equipment is inconsistent with the corresponding connection relationship in the setting calculation system, or if the corresponding parameter in the setting calculation system is missing, the target parameter shall be entered into the setting calculation system.

10. The method according to claim 1, characterized in that, Also includes: The power grid name, region name, and plant / station name in the station-level elements of the STD and SPD files are compared with the plant / station ID in the setting calculation system to form point-to-point information and stored. The unified identity code of power grid assets in the device element or sub-device element of the SPD file is paired with the protection device ID in the setting calculation system to form point information and is stored. The grid name, region name, plant name, and primary equipment code in the station-level elements of the STD and SPD files are compared with the primary equipment ID in the setting calculation system to form point information and stored. The point information of the equipment parameter items is also stored.

11. The method according to claim 1, characterized in that, It also includes expanding the STD model and expanding the SPD model, wherein the STD file is a file generated based on the expanded STD model, and the SPD file is a file generated based on the expanded SPD model.

12. The method according to claim 11, characterized in that, The expansion of the STD model includes: Add a device type to the primary device element in the STD model; Add the attribute name and unit information to the desc parameter and dimension parameter of the parameter element under the primary device element.

13. The method according to claim 11, characterized in that, The expansion of the SPD model includes: expanding the station-level elements and equipment elements in the SPD model.

14. A device for inputting tuning calculation parameters based on digital drawings, characterized in that, include: The acquisition module is used to acquire the system topology description (STD) file and the station-level physical loop description (SPD) file of the digital drawings; The extraction module is used to extract plant information from the STD file, extract parameters of primary equipment according to a first preset path, extract plant information from the SPD file, and extract parameters of protection devices according to a second preset path. The connection relationship extraction module is used to extract the interval to which the protection device belongs in the SPD file as the target interval, and extract the primary equipment connected to the protection device in the STD file based on the target interval to form the corresponding connection relationship between the protection device and the primary equipment. The point-matching module is used to match the plant name in the plant information with the plant name in the setting calculation system, match the primary equipment within the plant corresponding to the plant name in the plant information with the primary equipment in the setting calculation system, match the protection device within the plant corresponding to the plant name in the plant information with the protection device in the setting calculation system, and match the equipment parameter item corresponding to the target parameter with the equipment parameter item in the setting calculation system to determine the point-matching relationship; wherein, the target parameter includes the extracted parameters of the protection device and the extracted parameters of the primary equipment; the equipment parameter item includes the parameter item of the protection device and the parameter item of the primary equipment; The verification and input module is used to verify the target parameter and the corresponding parameter in the setting calculation system, verify the corresponding connection relationship between the protection device and the primary equipment and the corresponding connection relationship in the setting calculation system, and use the target parameter as the setting calculation parameter and input it into the setting calculation system according to the point relationship.

15. An electronic device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method as described in any one of claims 1-13.

16. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed in a computer, causes the computer to perform the method described in any one of claims 1-13.