A method and system for drawing transformer variant graphic elements

By analyzing the power grid equipment and factory station wiring diagram models, the transformer wiring diagram elements are generated and displayed in color, which solves the problem of difficult splicing of transformer graphics in the relay protection platform and improves calculation accuracy and efficiency.

CN108287939BActive Publication Date: 2024-10-29CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201711380574.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2017-12-20
Publication Date
2024-10-29
Estimated Expiration
2037-12-20

AI Technical Summary

Technical Problem

During the process of merging and splicing graphics files, the relay protection integrated setting calculation platform encountered difficulties in splicing multiple transformer graphics elements, resulting in low calculation accuracy and efficiency.

Method used

By analyzing the power grid equipment model and factory station wiring diagram model, extracting the transformer wiring mode and coordinate information, using bubble sorting and vector drawing methods to generate transformer wiring mode primitives, and coloring and displaying according to the voltage sorting results, solving the problem of transformer graphics splicing .

Benefits of technology

It improves the efficiency of relay protection integrated setting calculation and the accuracy of calculation results, and achieves effective splicing of transformer graphics elements and data consistency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN108287939B_ABST
    Figure CN108287939B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for drawing transformer variant graphics, including: parsing the primary equipment model of the power grid, extracting the transformer wiring mode, and sorting the voltage of the primary equipment connected to the transformer; parsing the power grid plant wiring diagram model to determine the coordinate information of the transformer; generating the transformer wiring mode graphics according to the coordinate information of the transformer and the wiring mode of the transformer; and coloring and displaying the transformer according to the generated transformer wiring mode graphics and the sorting result of the voltage of the primary equipment connected to the transformer. The technical solution provided by the present invention extracts the transformer connection relationship and type by parsing the data file according to the characteristics of the wiring diagram in the primary equipment and the plant. After the coordinate position is confirmed, a new transformer winding wiring mode graphics is generated, which solves the transformer graphic splicing problem encountered by the integrated relay protection setting calculation platform in the process of merging and splicing graphic files.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of relay protection and software development, and in particular relates to a method and system for drawing transformer variant graphic elements. Background Art

[0002] With the continuous expansion of the scale of power grids and the further interconnection of national power grids, the connection between regional power grids is becoming increasingly close. The company's relay protection specialty has put forward higher requirements for the accuracy, efficiency and automation of the existing relay protection setting calculation. At present, the setting calculation software used by various networks and provincial companies is not the same, and most of them are an isolated calculation management system, which makes the data formats between systems vary greatly, resulting in a large amount of data redundancy, and it is difficult to ensure data consistency, which brings inconvenience to data maintenance, management and data exchange between systems; on the other hand, the data exchange used for relay protection setting calculation by various networks and provincial dispatching is still in the system equivalent way. With the rapid development of power grid construction, more and more data such as power grid equipment parameters, equivalent impedance and coordination setting values ​​need to be exchanged, and the system equivalent parameters are difficult to fully match the actual operation mode of the system.

[0003] The positioning of the integrated setting calculation platform for relay protection is to meet the needs of integrated setting calculation for relay protection. According to the technical route of integrated maintenance, integrated application and integrated calculation of setting calculation, the "horizontal integration and vertical connection" of setting calculation system will be finally realized. After the construction of the integrated setting calculation platform of Guofen Dispatching, the splicing of setting calculation data and graphics can be realized, which can improve the accuracy of relay protection setting calculation model and calculation results, and promote the development of integrated setting calculation for relay protection. However, at present, when the platform performs graphic splicing, it will encounter a variety of transformer graphics such as two-winding transformers, three-winding transformers and autotransformers, which brings certain difficulties to graphic splicing. Summary of the invention

[0004] In order to solve the transformer graphic splicing problem encountered in the process of merging and splicing graphic files of the integrated setting calculation platform of relay protection, realize the effective splicing of multiple variant graphics of transformer, and improve the work efficiency of the integrated setting calculation of relay protection, the present invention provides a method and system for drawing transformer variant graphics.

[0005] The present invention provides a method for drawing a transformer variant graphic element, comprising:

[0006] Analyze the primary equipment model of the power grid, extract the transformer wiring method, and sort the voltages of the primary equipment connected to the transformer;

[0007] Analyze the power grid plant wiring diagram model and determine the coordinate information of the transformer;

[0008] Generate transformer wiring diagram elements according to the transformer coordinate information and transformer wiring diagram;

[0009] The transformer is displayed in color according to the generated transformer wiring diagram and the sorting results of the voltage of the primary equipment connected to the transformer.

[0010] The sorting of the voltages of the primary devices connected to the transformer includes: performing bubble sorting on the devices connected to the transformer according to the voltages of the devices.

[0011] The coordinate information of the transformer includes:

[0012] Transformer coordinates and transformer endpoint coordinates.

[0013] The step of analyzing the power grid plant wiring diagram model and determining the coordinate information of the transformer includes:

[0014] By analyzing the power grid plant wiring diagram model, it is determined whether the primary equipment connected to the transformer has rotated. If it has rotated, the transformer coordinates remain unchanged, and the transformer endpoint coordinates are recalculated based on the transformer coordinates. If it has not rotated, both the transformer coordinates and the transformer endpoint coordinates remain unchanged.

[0015] Recalculate the transformer endpoint coordinates based on the transformer coordinates, including:

[0016] Assume that the original coordinates of the transformer endpoint A are (x, y) and the coordinates of the transformer are (x1, y1), then the new coordinates of the recalculated transformer endpoint A are (x+x1, y+y1).

[0017] The transformer wiring diagram is generated using vector drawing methods.

[0018] The present invention provides a transformer variant graphic element drawing system, comprising:

[0019] A sorting module is used to analyze the primary equipment model of the power grid, extract the transformer wiring mode, and sort the voltage of the primary equipment connected to the transformer; and

[0020] The coordinate module is used to analyze the power grid plant wiring diagram model and determine the coordinate information of the transformer;

[0021] A graphic element generation module, used for generating a transformer wiring mode graphic element according to the coordinate information of the transformer and the wiring mode of the transformer;

[0022] The drawing module is used to color and display the transformer according to the generated transformer wiring diagram and the sorting results of the voltage of the primary equipment connected to the transformer.

[0023] The sorting module performs bubble sorting on the devices connected to the transformer according to the voltages of the devices.

[0024] The coordinate module analyzes the power grid plant wiring diagram model to determine whether the primary equipment connected to the transformer has rotated. If rotation has occurred, the transformer coordinates remain unchanged, and the transformer endpoint coordinates are recalculated based on the transformer coordinates. If no rotation has occurred, both the transformer coordinates and the transformer endpoint coordinates remain unchanged.

[0025] The graphic element drawing module uses a vector drawing method to generate a transformer wiring mode graphic element.

[0026] Compared with the closest prior art, the technical solution provided by the present invention has the following beneficial effects:

[0027] The technical solution provided by the present invention extracts the connection relationship and type of the transformer by parsing the data file according to the characteristics of the wiring diagram within the primary equipment and the plant, and generates a new transformer winding connection method graphic element after confirming the coordinate position, thereby solving the transformer graphic splicing problem encountered by the integrated setting calculation platform of relay protection in the process of merging and splicing graphic files. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 A flow chart of a method for drawing a transformer variant graphic element according to the present invention;

[0029] Figure 2 This is a schematic diagram of the transformer center coordinates and endpoint coordinates. DETAILED DESCRIPTION

[0030] The present invention will be further described in detail below in conjunction with the accompanying drawings:

[0031] Embodiment 1

[0032] Figure 1 This is a flow chart of a method for drawing a transformer variant graphic element of the present invention, such as Figure 1 As shown, the present invention provides a method for drawing a transformer variant graphic element, comprising:

[0033] Analyze the primary equipment model of the power grid, extract the transformer wiring method, and sort the voltages of the primary equipment connected to the transformer;

[0034] Analyze the power grid plant wiring diagram model and determine the coordinate information of the transformer;

[0035] Generate transformer wiring diagram elements according to the transformer coordinate information and transformer wiring diagram;

[0036] The transformer is displayed in color according to the generated transformer wiring diagram and the sorting results of the voltage of the primary equipment connected to the transformer.

[0037] The sorting of the voltages of the primary devices connected to the transformer includes: performing bubble sorting on the devices connected to the transformer according to the voltages of the devices.

[0038] The coordinate information of the transformer includes:

[0039] Transformer coordinates and transformer endpoint coordinates.

[0040] The step of analyzing the power grid plant wiring diagram model and determining the coordinate information of the transformer includes:

[0041] By analyzing the power grid plant wiring diagram model, it is determined whether the primary equipment connected to the transformer has rotated. If it has rotated, the transformer coordinates remain unchanged, and the transformer endpoint coordinates are recalculated based on the transformer coordinates. If it has not rotated, both the transformer coordinates and the transformer endpoint coordinates remain unchanged.

[0042] Recalculate the transformer endpoint coordinates based on the transformer coordinates, including:

[0043] Assume that the original coordinates of the transformer endpoint A are (x, y) and the coordinates of the transformer are (x1, y1), then the new coordinates of the recalculated transformer endpoint A are (x+x1, y+y1).

[0044] The transformer wiring diagram is generated using vector drawing methods.

[0045] Embodiment 2

[0046] Based on the same inventive concept, a transformer variant graphic element drawing system provided by the present invention may include:

[0047] A sorting module is used to analyze the primary equipment model of the power grid, extract the transformer wiring mode, and sort the voltage of the primary equipment connected to the transformer; and

[0048] The coordinate module is used to analyze the power grid plant wiring diagram model and determine the coordinate information of the transformer;

[0049] A graphic element generation module, used for generating a transformer wiring mode graphic element according to the coordinate information of the transformer and the wiring mode of the transformer;

[0050] The drawing module is used to color and display the transformer according to the generated transformer wiring diagram and the sorting results of the voltage of the primary equipment connected to the transformer.

[0051] The sorting module performs bubble sorting on the devices connected to the transformer according to the voltages of the devices.

[0052] The coordinate module analyzes the power grid plant wiring diagram model to determine whether the primary equipment connected to the transformer has rotated. If rotation has occurred, the transformer coordinates remain unchanged, and the transformer endpoint coordinates are recalculated based on the transformer coordinates. If no rotation has occurred, both the transformer coordinates and the transformer endpoint coordinates remain unchanged.

[0053] The graphic element drawing module uses a vector drawing method to generate a transformer wiring mode graphic element.

[0054] Embodiment 3

[0055] The present invention provides a transformer variant graphic element drawing method, which uses a power grid primary equipment model analysis method, a power grid plant wiring diagram analysis method and a vector drawing method to draw transformer variant graphic elements. The specific steps are as follows:

[0056] Step 1: Analyze the primary equipment model of the power grid, extract the transformer winding connection method, and then bubble sort the primary equipment connected to the transformer according to the voltage of the equipment;

[0057] Step 2: Analyze the power grid plant wiring diagram model, and determine the coordinate position of the transformer according to the rotate attribute of the primary device connected to the transformer. In this process, it is necessary to determine whether the primary device connected to the transformer rotates. If the device connected to the transformer rotates, it is necessary to calculate the endpoint coordinates of the transformer and redraw the endpoint coordinate information of the transformer winding to ensure that it can be displayed normally when connected to the primary device, otherwise the coordinates of the transformer will not change;

[0058] Step 3: After the coordinate position of the transformer is confirmed, generate specific transformer wiring diagrams (including different winding wiring methods such as Y, Yn, and D) according to the wiring method of the transformer. In the process of diagram generation, the vector drawing method is used to support more accurate display of diagrams at different scales.

[0059] Step 4: When the transformer winding is drawn, the transformer is colored and displayed according to the sorting results of the voltages of the devices connected to the transformer. Finally, the transformer variant graphic element completes the drawing.

[0060] Step 5: After completing steps 1 to 4, the program will automatically render the transformer variant graphics on the display side.

[0061] The step 2 of calculating the endpoint coordinates of the transformer includes:

[0062] According to the coordinate attributes of the primary equipment connected to the transformer, combined with the coordinate attributes of the transformer graphic element, the relative coordinates of the transformer endpoint on the map are calculated. It is known that the coordinates of a transformer endpoint A are (x, y) and the coordinates of the transformer are (x1, y1). The relative coordinates of the transformer endpoint A are the sum of the transformer coordinates and the transformer endpoint A coordinates. The new endpoint coordinates (x+x1, y+y1) are obtained. The coordinates of the related winding endpoints are obtained in the same way. By obtaining the relative coordinates of the transformer endpoints on the layer, the following can be achieved: Figure 2 Calculation of the transformer center coordinates and endpoint coordinates shown.

[0063] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0064] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0065] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0066] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0067] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit its protection scope. Although the present application has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that after reading the present application, those skilled in the art can still make various changes, modifications or equivalent substitutions to the specific implementation methods of the application, but these changes, modifications or equivalent substitutions are all within the protection scope of the claims to be approved.

Claims

1. A method for drawing a transformer variant graphic element, characterized in that: include: Analyze the primary equipment model of the power grid, extract the transformer wiring method, and sort the voltages of the primary equipment connected to the transformer; Analyze the power grid plant wiring diagram model and determine the coordinate information of the transformer; Generate transformer wiring diagram elements according to the transformer coordinate information and transformer wiring diagram; The transformer is displayed in color according to the generated transformer wiring diagram and the sorting results of the voltage of the primary equipment connected to the transformer; The coordinate information of the transformer includes: transformer coordinates and transformer endpoint coordinates; The step of analyzing the power grid plant wiring diagram model and determining the coordinate information of the transformer includes: By analyzing the power grid plant wiring diagram model, it is determined whether the primary equipment connected to the transformer has rotated. If it has rotated, the transformer coordinates remain unchanged, and the transformer endpoint coordinates are recalculated based on the transformer coordinates. If it has not rotated, the transformer coordinates and transformer endpoint coordinates remain unchanged. The sorting of the voltages of the primary devices connected to the transformer comprises: performing bubble sorting on the devices connected to the transformer according to the voltages of the devices; Use vector drawing method to generate transformer wiring diagram; The step of recalculating the transformer endpoint coordinates according to the transformer coordinates includes: Assume that the original coordinates of the transformer endpoint A are (x, y) and the coordinates of the transformer are (x1, y1), then the new coordinates of the recalculated transformer endpoint A are (x+x1, y+y1).

2. A transformer variant graphic element drawing system, characterized in that: include: The sorting module is used to analyze the primary equipment model of the power grid, extract the transformer wiring mode, and sort the voltage of the primary equipment connected to the transformer; and The coordinate module is used to analyze the power grid plant wiring diagram model and determine the coordinate information of the transformer; A graphic element generation module, used for generating a transformer wiring mode graphic element according to the coordinate information of the transformer and the wiring mode of the transformer; A drawing module is used to color and display the transformer according to the generated transformer wiring diagram and the sorting result of the voltage of the primary equipment connected to the transformer; The coordinate module analyzes the power grid plant wiring diagram model to determine whether the primary equipment connected to the transformer has rotated. If it has rotated, the transformer coordinates remain unchanged, and the transformer endpoint coordinates are recalculated based on the transformer coordinates. If it has not rotated, the transformer coordinates and the transformer endpoint coordinates remain unchanged. The sorting module performs bubble sorting on the devices connected to the transformer according to the voltage of the devices; The graphic element drawing module uses a vector drawing method to generate a transformer wiring mode graphic element; The coordinate module recalculates the transformer endpoint coordinates according to the transformer coordinates, including: Assume that the original coordinates of the transformer endpoint A are (x, y) and the coordinates of the transformer are (x1, y1), then the new coordinates of the recalculated transformer endpoint A are (x+x1, y+y1).