Intelligent improvement method and system for drawing power grid dispatching number diagram
Through customized electrical equipment graphic element library and database management, automatic generation and automatic numbering of electrical intervals are achieved, which solves the problem of low efficiency in drawing numbering diagrams for power grid dispatching and improves the safety and reliability of power grid dispatching.
Patent Information
- Application Number
- CN202510552145.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-29
- Publication Date
- 2025-09-19
AI Technical Summary
In the existing technology, the drawing efficiency of power grid dispatch numbering maps is low and lacks automatic management, resulting in non-standard numbering, duplication and inconsistent drawing standards. In addition, it cannot be deployed on intranet computers, affecting the security and reliability of power grid dispatching.
By designing a custom electrical equipment graphic library, the automatic generation and layout of electrical intervals can be achieved. Combined with database management methods, the scheduling number diagram can be automatically numbered and managed. An intelligent auxiliary drawing method is adopted, including equipment graphic library construction, automatic numbering and database management.
It improves the efficiency of drawing power grid dispatch numbering maps, ensures the uniformity of numbering standards, reduces manual operation time, supports intranet deployment, and improves the security and reliability of power grid dispatching.
Smart Images

Figure CN120672898A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of numbering diagram drawing, and in particular to an intelligent improvement method and system for drawing numbering diagrams for power grid dispatching. Background Art
[0002] With the continuous expansion of the scale of power systems and the improvement of their intelligence levels, the grid dispatching number diagram, as a core tool for power equipment management, operation monitoring and fault handling, has a direct impact on the safety and reliability of grid dispatching due to its drawing efficiency and standardization. Currently, provincial and prefecture-level grid dispatching agencies generally use general-purpose drawing software such as Visio or CAD to complete the drawing of dispatching number diagrams. This type of software supports users to manually create electrical equipment elements such as busbars, transformers, and switches through a graphical interface, and completes equipment numbering, interval naming, and parameter entry based on manual operations.
[0003] However, the current use of Visio or CAD software to draw dispatch numbering diagrams, perform equipment numbering, line and electrical interval naming for newly built dispatching equipment, and enter the equipment parameter library for newly commissioned equipment, etc., has the following main problems: this type of software can only be used for single drawing applications and cannot set dispatch naming rules. Therefore, the numbers of various electrical components lack automatic management, and each drawing requires manual number entry, which is time-consuming and difficult to avoid the problems of repeated and irregular dispatch naming; drawing standard and beautiful plant and station dispatch numbering diagrams requires a large number of manual layout operations such as positioning, alignment, equidistant, and dragging, and the drawing efficiency is extremely low; the software has copyright issues and cannot be deployed on intranet computers, which seriously restricts the development of business. Summary of the Invention
[0004] In view of the above-mentioned problems, the present invention is proposed.
[0005] Therefore, the technical problem solved by the present invention is: how to provide an intelligent improvement method and system for drawing power grid dispatching numbering diagrams. Compared with the problem of low efficiency when only manually drawing the equipment in the dispatching numbering diagram one by one, by designing a custom electrical equipment graphic element library, an automatic generation and layout method of electrical intervals, a numbering diagram including busbars, busbar PT intervals, outgoing line intervals, busbar node knife switch intervals and bus tie switch intervals is quickly obtained, and through the automatic equipment numbering method, the rapid numbering of equipment in the electrical interval is quickly completed.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions: an intelligent improvement method for drawing a power grid dispatching numbering diagram, which comprises the following steps:
[0007] Acquire equipment graphic metadata and extract attributes to construct an electrical equipment graphic library; generate and arrange busbars and electrical bays on a dispatching number diagram based on the electrical equipment graphic library; automatically number the busbars and electrical bays of the dispatching number diagram; and manage the dispatching number diagram using a database management method.
[0008] As a preferred solution for the intelligent improvement method of drawing a power grid dispatching numbering diagram described in the present invention, the construction of an electrical equipment graphic element library includes the following steps: drawing graphics and composing equipment graphic elements, and saving the equipment graphic elements as an electrical equipment graphic element library; extracting attributes of the equipment graphic element data to obtain equipment graphic element attributes, and classifying them with the equipment graphic elements to form an electrical equipment graphic element library.
[0009] As a preferred solution of the intelligent improvement method for drawing a power grid dispatching number diagram described in the present invention, the generation and arrangement of busbars and electrical intervals on the dispatching number diagram includes the following steps: creating or opening a dispatching number diagram, selecting busbars from the electrical equipment library and placing them in corresponding positions on the dispatching number diagram according to the wiring method of the busbars; drawing electrical intervals using an automatic electrical interval generation and arrangement method based on the number and position of each type of electrical intervals in the electrical main wiring diagram.
[0010] As a preferred solution of the intelligent improvement method for drawing a power grid dispatching numbering diagram described in the present invention, the method for automatically generating and arranging electrical intervals includes the following steps: electrical intervals based on equipment composition; automatically generating electrical intervals of corresponding types and performing default arrangements according to the number of electrical intervals of each type in the electrical main wiring diagram; if the default position does not match the position of the electrical main wiring diagram, it is manually adjusted to the corresponding position, and the remaining electrical intervals are moved accordingly, thereby keeping the electrical intervals evenly distributed on both sides of the bus; the default arrangement includes the bus PT interval and the bus grounding switch interval being arranged on the outside of the bus outgoing line by default, and the outgoing line intervals are evenly arranged on both sides of the bus.
[0011] As a preferred solution for the intelligent improvement method for drawing a power grid dispatching numbering diagram described in the present invention, the automatic numbering of the busbars and electrical intervals of the dispatching numbering diagram includes: for the busbars, numbering them in sequence according to the position and quantity of the busbars on the electrical main connection diagram; for each type of electrical interval, automatically numbering the electrical intervals using the equipment automatic numbering method.
[0012] As a preferred solution of the intelligent improvement method for drawing a power grid dispatching numbering diagram described in the present invention, the automatic equipment numbering method includes the following steps: numbering according to the position sequence of the electrical intervals; after the position sequence of the electrical intervals is determined, numbering the equipment corresponding to each electrical interval according to the position sequence of the electrical intervals.
[0013] As a preferred solution for the intelligent improvement method for drawing a power grid dispatching number map described in the present invention, the management of the dispatching number map using a database management method includes: designing a dispatching number map, an electrical equipment graphic element library, and a data table of the map-device mapping relationship and saving them to the database; saving user information, unit information, and tool setting information to the database in the form of a data table.
[0014] Another object of the present invention is to provide an intelligent system for drawing grid dispatch numbering diagrams.
[0015] In order to solve the above technical problems, the present invention provides the following technical solutions: an intelligent improvement system for drawing power grid dispatching number diagrams, comprising: a graphic element library construction module, used to obtain equipment graphic element data and perform attribute extraction to construct an electrical equipment graphic element library; a generation and layout module, used to generate and arrange busbars and electrical intervals on the dispatching number diagram according to the electrical equipment graphic element library; an automatic numbering module, used to automatically number the busbars and electrical intervals of the dispatching number diagram; and a data management module, used to manage the dispatching number diagram using a database management method.
[0016] The present invention provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein when the processor executes the computer program, the steps of the intelligent improvement method for drawing a power grid dispatching numbering diagram are implemented.
[0017] The present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, the steps of the intelligent improvement method for drawing a power grid dispatch numbering diagram are implemented.
[0018] Beneficial effects of the present invention: The present invention proposes a method for improving the intelligent drawing of dispatch number diagrams, which solves the problems of low efficiency and difficult management of dispatch number diagrams by sorting out and identifying the rules for equipment layout and number naming of dispatch number diagrams, adopting a customized electrical equipment graphic element library, intelligently assisting in automatic equipment generation and layout, and automatically numbering and verifying according to the rules. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] To more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. Those skilled in the art can also derive other drawings based on these drawings without inventive effort. Among them:
[0020] Figure 1This is an overall flow chart of the intelligent improvement method drawn for the power grid dispatch numbering diagram in Example 1.
[0021] Figure 2 This is a structural diagram of the computer equipment in Example 3.
[0022] Figure 3 Draw a schematic diagram of the scheduling numbering diagram in Example 5. DETAILED DESCRIPTION
[0023] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0024] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0025] Secondly, the term "one embodiment" or "embodiment" herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The phrase "in one embodiment" appearing in various places throughout this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive of other embodiments.
[0026] Example 1, reference Figure 1 , which is the first embodiment of the present invention, provides an intelligent improvement method for drawing a power grid dispatch numbering diagram, comprising:
[0027] S100: Acquire equipment graphic metadata and extract attributes to build an electrical equipment graphic library.
[0028] S200: Generate and arrange busbars and electrical bays on the dispatch number diagram according to the electrical equipment graphic element library.
[0029] S300: Automatically number the busbars and electrical bays in the dispatch numbering diagram.
[0030] S400: managing the dispatch number map using a database management method.
[0031] It should be noted that as the core technology for the operation and management of power systems, the grid dispatching numbering diagram has long faced multiple technical challenges in its drawing process. In the traditional manual drawing mode, there is a lack of unified standards for electrical equipment elements. Engineers need to repeatedly manually draw basic components such as busbars and switches, resulting in inconsistent element styles and serious time-consuming. At the same time, the layout of electrical intervals relies on personal experience, and problems such as chaotic equipment arrangement and uneven interval distribution often occur, affecting the professionalism and readability of the drawings. In addition, the equipment numbering rules are complex and error-prone, and manual operations are prone to duplicate or conflicting numbers, which can lead to ripple effects during later modifications. In addition, drawing version management is difficult, and multi-source data compatibility is poor, making it difficult to meet the needs of modern intelligent power grid management.
[0032] Therefore, in response to the above-mentioned problems of insufficient standardization of graphic elements, inefficient layout, confusing numbering logic and backward management methods, a complete intelligent solution was built through the steps S100-S400; by establishing a standardized graphic element library with dual storage in XML and database, rapid calling and parametric adaptation of equipment graphic elements were achieved; based on the templated busbar wiring method and intelligent interval layout algorithm, automatic generation and dynamic adjustment of electrical intervals were achieved; hierarchical automatic numbering rules were adopted to ensure the topological relevance and standardized uniformity of equipment numbering; through database management, structured storage and version traceability of drawings, graphic elements and user information were achieved, and multi-format export and full life cycle management were supported, effectively solving the key problems in the drawing and management of power grid dispatching drawings.
[0033] Example 2, reference Figure 1 , which is the second embodiment of the present invention, provides an intelligent improvement method for drawing a power grid dispatching numbering diagram based on the above embodiment.
[0034] It should be noted that, according to the functional requirements of the dispatch numbering diagram drawing, the present invention proposes methods such as graphic element drawing, electrical equipment graphic element library, automatic numbering, electrical interval positioning, and numbering diagram management. First, a new drawing is created or opened, and graphics can be drawn on it; on the other hand, graphics can be combined into equipment graphic elements according to actual needs, and then an electrical equipment graphic element library is formed; the dispatch numbering diagram can be composed of various types of equipment graphic elements, and the dispatch numbering diagram can be converted into a combination of various electrical intervals by defining the electrical intervals of the equipment; on the basis of the above, intelligent auxiliary functions such as electrical interval positioning and automatic numbering are developed to improve the drawing efficiency of the dispatch numbering diagram; finally, the dispatch numbering diagram is managed in the form of a database and XML file, and the drawn dispatch numbering diagram is exported into various required file formats for use and numbering diagram management.
[0035] In the embodiment of the present invention, the electrical equipment graphic element library in step S100 refers to the identification graphics of busbars, transformers, switches, circuit breakers, grounding switches and PT equipment displayed on the dispatch number diagram.
[0036] In the embodiment of the present invention, building the electrical equipment primitive library in step S100 includes the following steps:
[0037] With the help of the graphics drawing function of the open source project NShape, open the NShape drawing tool, draw graphics and compose device primitives, and save the device primitives as an electrical equipment primitive library, where the electrical equipment primitive library is saved in XML file format.
[0038] Attributes of equipment graphic elements are extracted to obtain equipment graphic element attributes, which are then classified with equipment graphic elements to form an electrical equipment graphic element library.
[0039] In an optional implementation, the construction of an electrical equipment graphic element library can flexibly select technical paths based on different data source characteristics and storage requirements; when it is necessary to extract graphic elements from historical drawings or unstructured documents, deep learning-based image recognition technology can be used to perform target detection and segmentation on busbars, transformers and other equipment in scanned drawings, automatically extract their shape, color and other attributes and generate standardized graphic elements, and at the same time use OCR to identify equipment numbers or annotation information to form structured data and store them in the graphic element library; if the data source is a standardized CAD drawing, an open source library can be used to parse the vector graphics in the drawing, and the equipment graphic elements can be classified and imported into the database through a geometric feature matching algorithm. This multi-source data adaptation mechanism not only improves the efficiency of graphic element library construction, but also ensures compatibility with heterogeneous data.
[0040] In another optional embodiment, the construction of the electrical equipment graphic element library can also be combined with parametric modeling and dynamic generation technology to achieve intelligent expansion; for example, for equipment such as busbars and switches, parametric templates (such as busbar length, line width, and number of connectors) can be predefined, and users can automatically generate corresponding graphic element instances by entering specific parameters to avoid repeated drawing; for complex equipment, a dynamic modeling method based on physical rules can be used to generate graphics elements that meet topological constraints in real time based on the electrical characteristics of the equipment; in addition, the present invention can also integrate version control functions, record the modification history of graphics elements through a Git-like mechanism, and support conflict detection and merging operations during multi-user collaborative editing, thereby improving the maintainability and scalability of the graphic element library.
[0041] In an embodiment of the present invention, the graphics include line segments, circles, and triangles.
[0042] In the embodiment of the present invention, the equipment graphic elements include a busbar, a transformer, a switch, a knife switch, a grounding knife switch and a PT.
[0043] In an optional implementation, the device primitive attributes may be attributes that describe primitive features, such as size, position, or color.
[0044] It should be noted that the present invention solves the technical problems of insufficient standardization and time-consuming repeated drawing of graphics elements in traditional power grid dispatching numbering drawings by constructing an electrical equipment graphic element library; in the prior art, electrical equipment graphics elements often require engineers to draw manually repeatedly, and lack unified standards, resulting in uneven drawing quality; the present invention achieves standardization and rapid call of graphics elements by using a dual storage mechanism of the open source project NShape to construct XML format graphics elements and save their attributes to the database; in practical applications, this dual storage structure effectively shortens the graphic element retrieval time and improves retrieval efficiency; more importantly, the establishment of the graphic element library enables drawings drawn by different engineers to maintain visual consistency, significantly improving the professionalism and readability of the drawings; by supporting parametric definition of graphic element attributes (size, position, color), the same graphic element can adapt to different drawing requirements, solving the problem that traditional graphics elements are difficult to flexibly adjust; this parametric feature makes the graphic element library simple in structure but able to express complex and changeable electrical equipment, greatly reducing the storage space requirements of the graphic element library, while ensuring the lightweight operation of the system.
[0045] In the embodiment of the present invention, the electrical interval in step S200 includes the outgoing line interval, the bus PT interval, the bus grounding switch interval and the bus tie switch interval.
[0046] In an embodiment of the present invention, generating and arranging busbars and electrical bays on the dispatch number diagram in step S200 includes the following steps:
[0047] Create or open a dispatch number diagram. According to the busbar wiring method, select the busbar from the electrical equipment library and place it at the corresponding position on the dispatch number diagram to complete the drawing of the busbar.
[0048] According to the number and position of various types of electrical intervals in the electrical main wiring diagram, the electrical intervals are drawn using the electrical interval automatic generation and layout method, and the drawing of the electrical intervals on the scheduling number diagram is completed.
[0049] In the embodiment of the present invention, the busbar connection mode can be saved as a file template, and the layout of a typical busbar connection mode can be obtained by calling the template, thereby improving efficiency.
[0050] Furthermore, the busbar connection mode can be a single busbar, a single busbar segment, or a double busbar segment.
[0051] In an embodiment of the present invention, the method for automatically generating and arranging electrical intervals in step S200 includes the following steps:
[0052] Based on the equipment composition electrical spacing.
[0053] According to the number of electrical bays of various types in the main electrical wiring diagram provided by the design unit, electrical bays of corresponding types are automatically generated and arranged by default.
[0054] If the default position does not match the position on the electrical main wiring diagram, it will be manually adjusted to the corresponding position, and the remaining electrical intervals will be moved accordingly to keep the electrical intervals evenly distributed on both sides of the busbar.
[0055] In an optional embodiment, the automatic generation and layout of electrical intervals can also be flexibly implemented according to the complexity of the grid wiring and the need for manual intervention. For example, when dealing with single busbar or simple double busbar segmented wiring, the standardized layout scheme in the predefined template library can be called to quickly generate a default layout by matching the busbar type and the number of electrical intervals, such as fixing the busbar PT interval on the outside of the busbar and symmetrically distributing the outgoing line intervals at equal intervals. For complex wiring, a topological analysis mode based on graph theory is switched to determine the optimal arrangement order and position of the electrical intervals by constructing a device connection relationship diagram and applying the minimum spanning tree algorithm. This hierarchical strategy ensures both the efficiency of simple scenarios and the accuracy of complex scenarios. In addition, when the electrical interval position is manually adjusted, an elastic layout algorithm can be used to automatically redistribute adjacent electrical intervals based on the spring oscillator model. By calculating the relative displacement and force between the electrical intervals, the uniformity and aesthetics of the overall layout after adjustment are ensured to avoid local dense or sparse problems.
[0056] In another optional embodiment, the automatic generation and layout of electrical intervals can also be optimized by combining real-time power grid data with a historical experience library; for example, when a high-frequency operating electrical interval (such as a busbar tie switch interval) is detected in the main wiring diagram, it can be automatically arranged in a preferred position close to the center of the busbar to shorten the dispatch path; at the same time, by analyzing historical manual adjustment records, association rule mining technology is used to extract layout preferences (such as a regional power grid's habit of arranging the grounding switch interval on the right side of the busbar), and solidify it into a regional layout rule; in addition, in a three-dimensional visualization scene, the electrical interval layout can be associated with the actual power grid geographic coordinates by introducing digital twin technology, and the mapping relationship between the physical location of the display device and the dispatch number diagram can be superimposed through an augmented reality interface to assist users in making spatial decisions.
[0057] In the embodiment of the present invention, the equipment constituting the electrical bay includes a busbar PT, a switch, a knife switch and a grounding knife.
[0058] In the embodiment of the present invention, the default arrangement includes that the busbar PT interval and the busbar grounding switch interval are arranged on the outside of the busbar outgoing line by default, and the outgoing line intervals are evenly arranged on both sides of the busbar.
[0059] It should be noted that the method for generating and arranging busbars and electrical bays solves the technical difficulties of traditional dispatching number diagram layout, which is time-consuming, labor-intensive, and difficult to standardize. In the prior art, engineers need to place equipment and electrical bays one by one based on experience, which is a cumbersome and error-prone process. The present invention templates the busbar wiring method and realizes the automatic generation and layout of electrical bays, fundamentally changing the drawing logic. Especially in complex substation design, compared with traditional methods, the present invention effectively improves the efficiency of layout work. Secondly, the default layout, manual fine-tuning, and overall rearrangement strategies of the automatic electrical bay generation and layout method provide sufficient flexibility while maintaining a high degree of automation. When an engineer adjusts the position of a certain electrical bay, it can intelligently recalculate and distribute other electrical bays to ensure an aesthetically pleasing and balanced overall layout, solving the problem in traditional methods where adjusting one location may lead to global layout disorder. Finally, the introduction of busbar wiring method templates enables the one-click generation of typical structures such as single busbar, single busbar segmentation, and double busbar segmentation, greatly reducing engineers' reliance on professional knowledge and enabling junior engineers to draw professional drawings.
[0060] In the embodiment of the present invention, the automatic numbering of the busbars and electrical bays in the dispatch numbering diagram in step S300 includes:
[0061] For the busbars, according to the position and number of the busbars on the main electrical wiring diagram, label them from top to bottom and from left to right as busbar No. 1, busbar No. 2, etc. to complete the busbar equipment numbering.
[0062] For each type of electrical interval, the electrical interval is automatically numbered using the equipment automatic numbering method.
[0063] In an embodiment of the present invention, the device automatic numbering method in step S300 includes the following steps:
[0064] The electrical bays are numbered sequentially according to their location.
[0065] After the position sequence of the electrical bays is determined, the devices corresponding to the electrical bays are numbered according to the position sequence of the electrical bays, for example, the devices are numbered in order from left to right.
[0066] For example, for the automatic numbering method of equipment, according to the numbering rules, the switch of the first electrical interval is numbered 2051, the corresponding knife switch connected to the first bus section in the electrical interval is numbered 20511, the corresponding ground switch is numbered 205117, the knife switch connected to the second bus section is numbered 20512, and the corresponding ground switch is numbered 205127. Among them, automatic and unified automatic numbering is the main function of the intelligent drawing tool of the dispatching numbering diagram.
[0067] In an optional embodiment, the implementation of the automatic device numbering method can also adopt a variety of technical means to enhance adaptability; for example, in the basic numbering generation link, in addition to linear numbering in order of position, a topological numbering method based on graph theory can be adopted to abstract the bus, electrical interval and connection relationship into a directed graph, traverse the device nodes through depth-first search or breadth-first search, and dynamically assign numbers according to the traversal order to ensure a strong correlation between the number and the topological position of the device; for complex numbering rules (such as multi-level bus nesting scenarios), a rule engine is introduced to implement configurable numbering logic, allowing users to define numbering templates through natural language or DSL.
[0068] In another optional embodiment, the implementation of the automatic numbering method for equipment can also enhance the uniqueness and consistency of the numbering through blockchain technology, such as recording each numbering change in a distributed ledger, and combining the hash chain structure to ensure the non-tamperability of the numbering history; in the numbering verification link, in addition to static rule checking, a semantic verification method based on a knowledge graph can be used to construct attributes such as equipment type, voltage level, and electrical interval into a knowledge network, and detect whether the number meets the preset semantic constraints through graph query; regardless of the strategy adopted, the uniqueness, traceability and logical consistency of the number with the physical properties of the equipment must be ensured during the numbering process. For example, when generating the switch number, the identification information of the bus section and electrical interval to which it belongs must be retained, and the occurrence of duplicate or conflicting numbers must be prevented through verification methods.
[0069] It should be noted that the automatic equipment numbering method solves the technical problems of poor consistency, high error rate and difficult modification in the traditional numbering process; in the drawing of traditional dispatching numbering diagrams, equipment numbering often relies on the manual operation and experience judgment of engineers, which is prone to number duplication, omission or non-compliance with specifications, and the modification workload is large; based on the numbering principle of electrical interval position sequence, fully automated numbering allocation is achieved, eliminating human errors; the hierarchical numbering rules adopted not only comply with industry standards, but also contain topological relationship information between devices, which is convenient for later identification and management; in actual applications, the present invention not only reduces the numbering error rate, but also supports one-click renumbering function, making numbering adjustments during design changes simple and efficient; in addition, automatic numbering can also intelligently identify and apply corresponding numbering rules according to the equipment type. This intelligent feature is particularly prominent when dealing with complex substations (such as multi-busbar and multi-segment), avoiding the numbering logic confusion problems that may occur in traditional methods.
[0070] In an embodiment of the present invention, managing the dispatch number map using the database management method in step S400 includes:
[0071] Design the dispatch number diagram, electrical equipment element library and diagram-equipment mapping relationship data table and save them to the database.
[0072] User information, unit information, and tool setting information are saved to the database in the form of data tables to implement the management of the dispatch number map.
[0073] It should be noted that the data table of the diagram-device mapping relationship is used to save the relationship between the layout and numbered scheduling number diagram and the electrical equipment elements, such as how many electrical equipment elements are in a certain scheduling number diagram, and to which scheduling number diagram a certain electrical equipment element belongs.
[0074] In an embodiment of the present invention, managing the dispatch number map using the database management method in step S400 further includes:
[0075] Export the drawn dispatch number map into various required file formats for use and manage the dispatch number map.
[0076] In an optional implementation, the data storage and version control in the database management method can dynamically select technical paths based on the data scale and complexity; for example, when the scheduling number map data volume is large and needs to support high concurrent access, a distributed time-series database can be used to store real-time equipment status data, and combined with a relational database to manage static graphic element libraries and mapping relationship tables to form a hybrid storage architecture; if the data volume is small or strong consistency is required, a fully relational database can be used and performance can be optimized through sharding technology; for version management, in addition to basic Git-like version control, blockchain technology can also be introduced to build an unalterable version chain. Each version change generates a hash value through a smart contract and is anchored to a distributed ledger to ensure the credibility of version traceability; in addition, for multi-user collaborative editing scenarios, a real-time synchronization mechanism based on an operation conversion algorithm can be designed to ensure data consistency through conflict detection and automatic merge strategies; this combination of hierarchical storage and trusted version control not only meets the performance requirements in different scenarios, but also enhances the reliability and security of data management.
[0077] It should be noted that the database management method solves the problems of decentralized management, difficult retrieval, and cumbersome format conversion of traditional dispatching number maps; in the prior art, power grid dispatching number maps often exist in the form of scattered files, lacking effective indexing and association mechanisms, resulting in difficulties in searching and updating; the present invention designs a dedicated data table structure to achieve unified management of dispatching number maps, electrical equipment graphic element libraries, and graphic-device mapping relationships, and establishes a full-link digital management system from graphic elements to complete drawings; supports multi-dimensional retrieval by project, substation name, voltage level, etc., shortening the drawing search time; the unique graphic-device mapping relationship table design can achieve precise positioning and modification at the equipment level, solving the problem that modifying a single device in traditional methods may require redrawing the entire drawing; the multi-format export function meets the needs of different application scenarios, without the need for third-party tools for format conversion, significantly improving work efficiency; the data table management of user information, unit information, and tool setting information realizes permission control and personalized settings in a multi-user environment, solving the limitation of traditional methods that are difficult to achieve collaborative work.
[0078] In summary, the present invention proposes a method for improving the intelligent drawing of dispatch number diagrams. By sorting out and identifying the rules for equipment layout and number naming of dispatch number diagrams, a customized electrical equipment graphic element library is used, intelligent assistance is provided to automatically generate and arrange equipment, and automatic numbering and verification are performed according to the rules to intelligently compile dispatch number diagrams, so as to solve the problems of low efficiency in drawing dispatch number diagrams and difficult management.
[0079] Example 3 is the third embodiment of the present invention. This embodiment provides an intelligent improvement system for drawing power grid dispatching number diagrams, including: a graphic element library construction module, used to obtain equipment graphic element data and perform attribute extraction to construct an electrical equipment graphic element library; a generation and layout module, used to generate and arrange busbars and electrical intervals on the dispatching number diagram according to the electrical equipment graphic element library; an automatic numbering module, used to automatically number the busbars and electrical intervals of the dispatching number diagram; a data management module, used to manage the dispatching number diagram using a database management method.
[0080] Example 4 is the fourth embodiment of the present invention, which is different from the first three embodiments in that:
[0081] like Figure 2As shown, if the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0082] The logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (e.g., a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device). For purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by, or in conjunction with, an instruction execution system, apparatus, or device.
[0083] More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk cartridge (magnetic devices), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disc read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering, or processing in another suitable manner as necessary, and then stored in a computer memory.
[0084] It should be understood that various parts of the present invention can be implemented using hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0085] Example 5, with reference to Figure 3 , which is the fifth embodiment of the present invention, provides an intelligent improvement method for drawing a power grid dispatching numbering map. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through experiments.
[0086] This embodiment draws a dispatching number diagram of a plant station, specifically as follows Figure 3 As shown, busbars, switches, circuit breakers, transformers, busbar PTs and other equipment are selected from the electrical equipment graphic library and dragged to the drawing area. After setting the relative positions and connection relationships between the electrical equipment, the electrical interval automatic layout method and the equipment automatic numbering method are applied to arrange the equipment neatly according to the electrical main wiring diagram, automatically number the electrical intervals, and manually enter the equipment name to form a plant station dispatching numbering diagram.
[0087] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. An intelligent improvement method for drawing a power grid dispatch numbering diagram, characterized by: include: Obtain equipment metadata and extract attributes to build an electrical equipment metadata library; generating and arranging busbars and electrical bays on a dispatch number diagram according to the electrical equipment graphic element library; Automatically numbering the busbars and electrical bays of the dispatch numbering diagram; The dispatch number map is managed using a database management method.
2. The intelligent improvement method for drawing a power grid dispatching numbering diagram according to claim 1, characterized in that: The construction of the electrical equipment graphic element library comprises the following steps: Drawing graphics and composing equipment graphic elements, and saving the equipment graphic elements as an electrical equipment graphic element library; Attributes of the equipment graphic element data are extracted to obtain equipment graphic element attributes, and the attributes are classified with the equipment graphic elements to form an electrical equipment graphic element library.
3. The intelligent improvement method for drawing a power grid dispatching numbering diagram according to claim 2, characterized in that: The generation and arrangement of busbars and electrical bays on the dispatch number diagram includes the following steps: Create or open a dispatch number diagram, and select a busbar from the electrical equipment library based on the busbar wiring method and place it in the corresponding position on the dispatch number diagram; According to the number and position of various types of electrical intervals in the electrical main wiring diagram, the electrical intervals are drawn using an automatic generation and arrangement method of the electrical intervals.
4. The intelligent improvement method for drawing a power grid dispatching numbering diagram according to claim 3, characterized in that: The method for automatically generating and arranging electrical spacing comprises the following steps: Based on the equipment composition electrical spacing; According to the number of electrical bays of each type in the main electrical wiring diagram, the corresponding electrical bays are automatically generated and arranged by default; If the default position does not match the position on the electrical main wiring diagram, it should be manually adjusted to the corresponding position, and the remaining electrical bays should be moved accordingly to keep the electrical bays evenly distributed on both sides of the busbar; The default arrangement includes that the busbar PT interval and the busbar grounding switch interval are arranged on the outside of the busbar outgoing line by default, and the outgoing line intervals are evenly arranged on both sides of the busbar.
5. The intelligent improvement method for drawing a power grid dispatching numbering diagram according to claim 4, characterized in that: Automatically numbering the busbars and electrical bays of the dispatch numbering diagram includes: For busbars, number them in sequence according to their position and quantity on the main electrical wiring diagram; For each type of electrical interval, the electrical interval is automatically numbered using the equipment automatic numbering method.
6. The intelligent improvement method for drawing a power grid dispatching numbering diagram according to claim 5, characterized in that: The device automatic numbering method comprises the following steps: Number the electrical bays in order of location; After the position sequence of the electrical intervals is determined, the equipment corresponding to each electrical interval is numbered according to the position sequence of the electrical intervals.
7. The intelligent improvement method for drawing a power grid dispatching numbering diagram according to claim 6, characterized in that: The method for managing the dispatch number map by using a database management method includes: Design the dispatch number diagram, electrical equipment diagram library and diagram-equipment mapping relationship data table and save them to the database; Save user information, unit information, and tool setting information to the database through data tables.
8. An intelligent system for improving the drawing of a power grid dispatching numbering diagram, based on the intelligent method for improving the drawing of a power grid dispatching numbering diagram according to any one of claims 1 to 7, characterized in that: include, The graphic element library construction module is used to obtain equipment graphic element data and extract attributes to build an electrical equipment graphic element library; Generate and arrange module, used to generate and arrange busbars and electrical bays on the dispatch number diagram according to the electrical equipment element library; Automatic numbering module, used to automatically number the busbars and electrical bays in the dispatching numbering diagram; The data management module is used to manage the dispatch number map using database management methods.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the processor implements the steps of the intelligent improvement method for drawing a power grid dispatching numbering diagram according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the intelligent improvement method for drawing a power grid dispatching numbering diagram according to any one of claims 1 to 7 are implemented.