CN113505558B - Automatic connection method for power grid monitoring system equipment elements based on graph algorithm technology - Google Patents
Automatic connection method for power grid monitoring system equipment elements based on graph algorithm technology Download PDFInfo
- Publication number
- CN113505558B CN113505558B CN202110820033.0A CN202110820033A CN113505558B CN 113505558 B CN113505558 B CN 113505558B CN 202110820033 A CN202110820033 A CN 202110820033A CN 113505558 B CN113505558 B CN 113505558B
- Authority
- CN
- China
- Prior art keywords
- port
- information
- connection port
- equipment element
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004422 calculation algorithm Methods 0.000 title claims abstract description 78
- 238000012544 monitoring process Methods 0.000 title claims abstract description 75
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000005516 engineering process Methods 0.000 title claims abstract description 36
- 238000010586 diagram Methods 0.000 claims abstract description 58
- 238000009429 electrical wiring Methods 0.000 claims abstract description 53
- 238000004590 computer program Methods 0.000 claims description 17
- 238000005259 measurement Methods 0.000 claims description 6
- 238000010248 power generation Methods 0.000 claims description 4
- 238000004891 communication Methods 0.000 description 5
- 238000009434 installation Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/39—Circuit design at the physical level
- G06F30/392—Floor-planning or layout, e.g. partitioning or placement
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/39—Circuit design at the physical level
- G06F30/394—Routing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/50—Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Geometry (AREA)
- Health & Medical Sciences (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Architecture (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- Computer Networks & Wireless Communication (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Remote Monitoring And Control Of Power-Distribution Networks (AREA)
Abstract
The application relates to an automatic connection method of power grid monitoring system equipment elements based on a graph algorithm technology, which comprises the following steps: acquiring first port information corresponding to each first port of a first equipment element and second port information corresponding to a second port of a second equipment element, wherein the first equipment element is an equipment element laid out on an electrical wiring diagram in a power grid monitoring system, and the second equipment element is an equipment element to be laid out; determining each initial connection port and initial connection port information which accord with preset standard information in each first port of the first equipment element according to each first port information and second port information; determining a connection port in each initial connection port of the first equipment element based on a preset graph algorithm, each initial connection port information and the second port information; and connecting the connection port of the first equipment element with the second port of the second equipment element, and updating an electrical wiring diagram in the power grid monitoring system. The method can improve the drawing efficiency of the electric wiring diagram.
Description
Technical Field
The application relates to the technical field of power networks, in particular to an automatic connection method, an automatic connection device, computer equipment and a storage medium for power network monitoring system equipment elements based on a graph algorithm technology.
Background
As the application of power electronics technology in power networks has become more and more widespread, and images of power networks are the basis of analysis of power systems, research into graphic systems applied to power systems has been started. The electric wiring diagram is drawn according to the actual positions and installation conditions of the electric equipment and the electric elements, is an important diagram in the power network, and technicians can monitor the running state of each node in the whole power network through the electric wiring diagram and analyze the topological structure of the power network.
The traditional electrical wiring diagram is mainly drawn manually on a drawing by a technician or by using auxiliary drawing software related to a power grid, the drawing time is long, the drawing cost is high, and along with the continuous expansion of the scale of the power grid, the new increase, the upgrading and the line change of the power grid are frequent, the corresponding electrical wiring diagram must be changed and adjusted continuously, and the development requirement of the power grid cannot be met in a manual drawing mode.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a computer device, and a storage medium for automatically connecting elements of a power grid monitoring system based on a graph algorithm technology, which can improve the drawing efficiency of an electrical wiring graph.
An automatic connection method for power grid monitoring system equipment elements based on a graph algorithm technology, the method comprises the following steps:
acquiring first port information corresponding to each first port of a first equipment element and second port information corresponding to a second port of a second equipment element, wherein the first equipment element is an equipment element laid out on an electrical wiring diagram in a power grid monitoring system, and the second equipment element is an equipment element to be laid out on the electrical wiring diagram;
determining each initial connection port conforming to preset specification information and corresponding initial connection port information in each first port of the first equipment element according to each first port information and the second port information;
determining a connection port in each initial connection port of the first equipment element based on a preset graph algorithm, each initial connection port information and the second port information;
The connection port of the first device element is connected with the second port of the second device element, and the electrical wiring diagram in the grid monitoring system is updated.
In one embodiment, the determining, based on a preset graph algorithm, each of the initial connection port information and the second port information, each connection line information between the first device element and the second device element includes:
determining a virtual connection mode between each initial connection port and the second port of the first equipment element based on the preset graph algorithm, each initial connection port information and the second port information;
and determining each piece of connection line information between the first equipment element and the second equipment element according to each virtual connection mode.
In one embodiment, the determining a connection port in each of the initial connection ports of the first device element based on the preset graph algorithm, each of the initial connection port information, and the second port information includes:
determining each piece of connection line information between the first equipment element and the second equipment element based on a preset graph algorithm, each piece of initial connection port information and the second port information;
And determining a connection port in each initial connection port of the first equipment element according to each connection line information.
In one embodiment, the determining a connection port in each of the initial connection ports of the first device element according to each of the connection line information includes:
calculating the length of the connecting wire corresponding to each piece of connecting wire information;
and comparing the lengths of the connecting lines, and determining an initial connecting port corresponding to the minimum connecting line length as the connecting port of the first equipment element.
In one embodiment, the determining a connection port in each of the initial connection ports of the first device element according to each of the connection line information includes:
acquiring a selected instruction aiming at each piece of connecting line information;
and determining an initial connection port corresponding to the connection line information corresponding to the selected instruction as the connection port of the first equipment element.
In one embodiment, the connecting the connection port of the first device element with the second port of the second device element comprises:
determining connection port connection line information corresponding to the connection port of the first equipment element;
And connecting the connection port of the first equipment element with the second port of the second equipment element according to the connection port connection line information.
In one embodiment, the first port information includes: and at least one of core packet information, domain packet information, power generation packet information, load model packet information, measurement packet information, disabling packet information, protection packet information, topology packet information and wire packet information corresponding to the first port.
In one embodiment, the preset specification information includes: IEC61970 specification information.
An automatic wiring device for equipment elements of a power grid monitoring system based on graph algorithm technology, the device comprising:
the port information acquisition module is used for acquiring first port information corresponding to each first port of a first equipment element and second port information corresponding to a second port of a second equipment element, wherein the first equipment element is an equipment element which is laid out on an electrical wiring diagram in a power grid monitoring system, and the second equipment element is an equipment element to be laid out on the electrical wiring diagram;
an initial connection port determining module, configured to determine, according to each of the first port information and the second port information, each initial connection port that meets preset specification information and corresponding initial connection port information in each of the first ports of the first device element;
A connection port determining module, configured to determine a connection port in each initial connection port of the first device element based on a preset graph algorithm, each initial connection port information, and the second port information;
and the port connection module is used for connecting the connection port of the first equipment element with the second port of the second equipment element and updating the electrical wiring diagram in the power grid monitoring system.
The computer equipment comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the automatic connection method of the power grid monitoring system equipment element based on the graph algorithm technology when executing the computer program.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the above-described grid monitoring system device component auto-wiring method based on graph algorithm technology.
According to the automatic connection method, the automatic connection device, the computer equipment and the storage medium for the power grid monitoring system equipment element based on the graph algorithm technology, through acquiring the first port information corresponding to each first port of the first equipment element and the second port information corresponding to the second port of the second equipment element, the first equipment element is the equipment element which is already laid out on an electrical wiring diagram in the power grid monitoring system, and the second equipment element is the equipment element to be laid out on the electrical wiring diagram; determining each initial connection port and corresponding initial connection port information which accord with preset standard information in each first port of the first equipment element according to each first port information and second port information; determining a connection port in each initial connection port of the first equipment element based on a preset graph algorithm, each initial connection port information and the second port information; and connecting the connection port of the first equipment element with the second port of the second equipment element, and updating an electrical wiring diagram in the power grid monitoring system. By adopting the method of the embodiment, the automatic connection between the equipment elements and the change and adjustment of the electrical wiring diagram can be realized by determining the connection port of the first equipment element and connecting the connection port with the second port of the second equipment element, so that the drawing efficiency of the electrical wiring diagram is effectively improved.
Drawings
FIG. 1 is an application environment diagram of an automatic connection method for power grid monitoring system equipment elements based on graph algorithm technology in one embodiment;
FIG. 2 is a flow chart of an automatic connection method for the components of the power grid monitoring system based on the graph algorithm technology in one embodiment;
FIG. 3 is a block diagram of an automatic wiring device for components of a power grid monitoring system based on graph algorithm technology in one embodiment;
FIG. 4 is an internal block diagram of a computer device in one embodiment;
fig. 5 is an internal structural view of a computer device in another embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In one embodiment, the method for automatically connecting the components of the power grid monitoring system based on the graph algorithm technology provided by the application, and the application environment can relate to the terminal 102 and the server 104 at the same time, as shown in fig. 1. The terminal 102 may communicate with the server 104 through a network or a protocol, and the terminal 102 may be a terminal in a power monitoring system, and the terminal 102 may obtain information related to an electrical wiring diagram in the power monitoring system. Specifically, the server 104 may obtain, through the terminal 102, first port information corresponding to each first port of a first device element, where the first device element is a device element that has been laid out on an electrical wiring diagram in the grid monitoring system, and second port information corresponding to a second port of a second device element, where the second device element is a device element to be laid out on the electrical wiring diagram; determining each initial connection port and corresponding initial connection port information which accord with preset standard information in each first port of the first equipment element according to each first port information and second port information; determining a connection port in each initial connection port of the first equipment element based on a preset graph algorithm, each initial connection port information and the second port information; and connecting the connection port of the first equipment element with the second port of the second equipment element, and updating an electrical wiring diagram in the power grid monitoring system.
In one embodiment, the method for automatically connecting the power grid monitoring system device elements based on the graph algorithm technology provided by the application can be applied to the terminal 102 at the same time, the terminal 102 can be a terminal in the power monitoring system, and the terminal 102 can acquire the related information of the electrical wiring graph in the power monitoring system. Specifically, the terminal 102 may directly obtain first port information corresponding to each first port of a first device element, and second port information corresponding to a second port of a second device element, where the first device element is a device element already laid out on an electrical wiring diagram in the grid monitoring system, and the second device element is a device element to be laid out on the electrical wiring diagram; determining each initial connection port and corresponding initial connection port information which accord with preset standard information in each first port of the first equipment element according to each first port information and second port information; determining a connection port in each initial connection port of the first equipment element based on a preset graph algorithm, each initial connection port information and the second port information; and connecting the connection port of the first equipment element with the second port of the second equipment element, and updating an electrical wiring diagram in the power grid monitoring system.
In one embodiment, the method for automatically connecting the power grid monitoring system device elements based on the graph algorithm technology provided by the application can be applied to the environment only related to the server 104, the server 104 can be a server in the power monitoring system, and the server 104 can acquire related information of an electrical wiring graph in the power monitoring system. Specifically, the server 104 may directly obtain first port information corresponding to each first port of a first device element, and second port information corresponding to a second port of a second device element, where the first device element is a device element that has been laid out on an electrical wiring diagram in the grid monitoring system, and the second device element is a device element to be laid out on the electrical wiring diagram; determining each initial connection port and corresponding initial connection port information which accord with preset standard information in each first port of the first equipment element according to each first port information and second port information; determining a connection port in each initial connection port of the first equipment element based on a preset graph algorithm, each initial connection port information and the second port information; and connecting the connection port of the first equipment element with the second port of the second equipment element, and updating an electrical wiring diagram in the power grid monitoring system.
The terminal 102 may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices, and the server 104 may be implemented by a stand-alone server or a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, a method for automatically connecting elements of a power grid monitoring system based on graph algorithm technology is provided, and the method is applied to the terminal 102 and/or the server 104 in fig. 1 for illustration, and includes the following steps:
step S202, obtaining first port information corresponding to each first port of a first device element, and second port information corresponding to a second port of a second device element, where the first device element is a device element already laid out on an electrical wiring diagram in the grid monitoring system, and the second device element is a device element to be laid out on the electrical wiring diagram.
In one embodiment, the power grid monitoring system uses a computer, communication equipment and a measurement and control unit as basic tools, provides a basic platform for real-time data acquisition, switch state detection and remote control of the power transformation and distribution system, and can form a complex monitoring system with detection and control equipment. The electrical wiring diagram is an image for representing the position, wiring pattern, and wiring pattern of the electrical equipment element, which is drawn according to the actual position and installation condition of the electrical equipment element. That is, the grid monitoring system can monitor each electrical equipment element in real time through the electrical wiring diagram so as to remove faults as soon as possible and provide guidance for wiring installation of the electrical equipment elements.
In one embodiment, the device elements that have been laid out on the electrical wiring diagram in the grid monitoring system are referred to as first device elements, and the device elements that are to be laid out on the electrical wiring diagram are referred to as second device elements. The device elements to be laid out may be newly added device elements or changed device elements. The equipment components may include transformers, high voltage cabinets, low voltage cabinets, bus bar bridges, dc screens, analog screens, and the like. The output port of the first device element is referred to as a first port, the first port includes at least one port information corresponding to the first port is referred to as first port information, the input port of the second device element is referred to as a second port, the second port includes at least one port information corresponding to the second port is referred to as second port information. Specifically, the first port information includes: at least one of core packet information, domain packet information, power generation packet information, load model packet information, measurement packet information, disabling packet information, protection packet information, topology packet information, and wire packet information corresponding to the first port. The second port information is the information corresponding to the second port. The first port information and the second port information may be historical operation information or real-time operation information.
Step S204, each initial connection port and corresponding initial connection port information which accord with preset standard information are determined in each first port of the first equipment element according to each first port information and second port information.
In one embodiment, the preset specification information is international standard information related to the power grid, for example, IEC61970 specification information. Among them, IEC61970 is an international standard of the series of "energy management System application program interfaces" made by the International electrotechnical Commission, corresponding to the domestic Power industry Standard DL 890. The IEC61970 series of standards define Application Program Interfaces (APIs) of Energy Management Systems (EMS) in order to facilitate integration of various applications within EMS from different vendors, interconnect EMS with other systems within a dispatch center, and implement model exchanges between different dispatch center EMS. The IEC61970 specification information mainly consists of an interface reference model, a public information model and a component interface specification. The interface reference model describes a system integration mode, the public information model defines the semantics of information exchange, and the component interface specification defines the grammar of information exchange.
In one embodiment, according to preset specification information, each first port information and each second port information are compared and screened one by one, first port information which accords with the preset specification information is determined, a first port corresponding to the first port information which accords with the preset specification information is called an initial connection port, and the first port information which accords with the preset specification information is called initial connection port information. Wherein the initial connection port includes at least one. When there is only one initial connection port, the initial connection port is determined as the connection port of the first equipment element, and when there is more than one initial connection port, screening is needed for each initial connection port to determine the connection port of the first equipment element.
Step S206, determining a connection port among the initial connection ports of the first device element based on the preset graph algorithm, the initial connection port information and the second port information.
In one embodiment, the graph algorithm refers to an algorithm for obtaining results by using a specially-made line graph, and the algorithm comprises the following steps: one of various traversal algorithms, an algorithm for searching the shortest path, an algorithm for searching the lowest cost path in the network and the like can be applied to occasions such as line optimization, pipeline optimization, routing tables and the like. Specifically, based on at least one of the above-described graph algorithms, and according to each initial connection port information of the first device element, and the second port information of the second device element, a connection port is determined in each initial connection port of the first device element.
Step S208, connecting the connection port of the first device element with the second port of the second device element, and updating the electrical wiring diagram in the grid monitoring system.
In one embodiment, after determining the connection port of the first device element, the connection port of the first device element is connected to the second port of the second device element, so far, the electrical wiring diagram in the grid monitoring system is updated.
In the automatic connection method of the power grid monitoring system equipment elements based on the graph algorithm technology, the first equipment elements are equipment elements which are laid out on an electrical wiring diagram in the power grid monitoring system, and the second equipment elements are equipment elements to be laid out on the electrical wiring diagram by acquiring the first port information corresponding to each first port of the first equipment elements and the second port information corresponding to the second port of the second equipment elements; determining each initial connection port and corresponding initial connection port information which accord with preset standard information in each first port of the first equipment element according to each first port information and second port information; determining a connection port in each initial connection port of the first equipment element based on a preset graph algorithm, each initial connection port information and the second port information; and connecting the connection port of the first equipment element with the second port of the second equipment element, and updating an electrical wiring diagram in the power grid monitoring system. By adopting the method of the embodiment, the automatic connection between the equipment elements and the change and adjustment of the electrical wiring diagram can be realized by determining the connection port of the first equipment element and connecting the connection port with the second port of the second equipment element, so that the drawing efficiency of the electrical wiring diagram is effectively improved.
In one embodiment, step S206 determines a connection port among the initial connection ports of the first device element based on a preset graph algorithm, the initial connection port information, and the second port information, including:
step S302, determining each connection line information between the first device element and the second device element based on a preset graph algorithm, each initial connection port information, and the second port information.
Specifically, each connection line information between the first device element and the second device element may be determined first based on at least one of the graph algorithms and according to each initial connection port information of the first device element and the second port information of the second device element. Wherein, the connecting wire information includes: port information corresponding to the connected ports, length information of each connection line, crossing or overlapping condition information between each connection line, and the like.
Step S304, determining a connection port among the initial connection ports of the first device element according to the connection line information.
Specifically, after determining the connection line information, a connection port that can be used for connection with the second port of the second device element may be determined in each initial connection port of the first device element according to each connection line information in combination with actual use conditions of each electrical device element.
In one embodiment, step S302 determines each connection line information between the first device element and the second device element based on a preset graph algorithm, each initial connection port information, and the second port information, including:
step S402, determining a virtual connection mode between each initial connection port and the second port of the first device element based on a preset graph algorithm, each initial connection port information and the second port information.
Specifically, when determining each connection line information between the first device element and the second device element by using the graph algorithm, virtual connection is performed between each initial connection port and the second port of the first device element, that is, each virtual connection mode is determined.
Step S404, determining each piece of connection line information between the first equipment element and the second equipment element according to each virtual connection mode.
Specifically, connection line information between each corresponding first device element and second device element may be determined according to each virtual connection manner.
In one embodiment, step S304 determines, according to each connection line information, a connection port among initial connection ports of the first device element, including:
Step S402, calculating the length of the connecting wire corresponding to each connecting wire information.
Specifically, the connection port of the first device element may be selected by means of calculation or measurement. First, the length of the connection line corresponding to each connection line information is calculated. When a certain connecting wire is decomposed into a plurality of small connecting wires, the lengths of the small connecting wires are added to obtain the corresponding connecting wire lengths.
In step S404, the lengths of the connection lines are compared, and the initial connection port corresponding to the minimum connection line length is determined as the connection port of the first device element.
In particular, in order to save costs, the second element may be placed at a position near the first element, so that after comparing the lengths of the respective connection lines, the minimum connection line length is determined, and the initial connection port corresponding to the minimum connection line length is determined as the connection port of the first device element.
In one embodiment, step S304 determines, according to each connection line information, a connection port among initial connection ports of the first device element, including:
step S502, obtain the selected instruction for each connection line information.
Specifically, the connection port of the first device element may be selected in a manner specified by the user. First, a selection instruction of a user for each connection line information is acquired, and the selected connection line is determined by the selection instruction.
Step S504, determining an initial connection port corresponding to the connection line information corresponding to the selected command as a connection port of the first device element.
Specifically, an initial connection port corresponding to the selected connection line is determined, and the selected initial connection port is determined as the connection port of the first device element.
In one embodiment, step S208 connects the connection port of the first device element with the second port of the second device element, including:
step S602, determining connection port connection line information corresponding to a connection port of the first device element.
Specifically, when the connection port of the first device element is connected to the second port of the second device element, the connection port of the first device element determined according to the above-described embodiment determines connection line information corresponding to the connection port, which is also referred to as connection port connection line information.
Step S604, according to the connection port connection line information, connects the connection port of the first device element with the second port of the second device element.
Specifically, according to the determined connection port connection line information, the connection port of the first device element is connected with the second port of the second device element, and thus, the connection of the first device element and the second device element is completed, that is, the updating of the electrical wiring diagram in the grid monitoring system is completed.
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and one of the embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In one embodiment, the method for automatically connecting the components of the power grid monitoring system based on the graph algorithm technology comprises the following steps:
acquiring first port information corresponding to each first port of a first equipment element and second port information corresponding to a second port of a second equipment element, wherein the first equipment element is an equipment element laid out on an electrical wiring diagram in a power grid monitoring system, and the second equipment element is an equipment element to be laid out on the electrical wiring diagram;
according to the first port information and the second port information, determining initial connection ports and corresponding initial connection port information which accord with IEC 61970 standard information in the first ports of the first equipment element;
determining a virtual connection mode between each initial connection port and the second port of the first equipment element based on a preset graph algorithm, each initial connection port information and the second port information;
Determining each piece of connection line information between the first equipment element and the second equipment element according to each virtual connection mode;
determining a connection port in each initial connection port of the first equipment element according to each connection line information;
calculating the length of the connecting wire corresponding to each connecting wire information; comparing the lengths of the connecting lines, determining an initial connecting port corresponding to the minimum connecting line length as the connecting port of the first equipment element, or acquiring a selected instruction aiming at the information of each connecting line; determining an initial connection port corresponding to the wiring information corresponding to the selected instruction as a connection port of the first equipment element;
determining connection port connection line information corresponding to a connection port of the first equipment element;
and connecting the connection port of the first equipment element with the second port of the second equipment element according to the connection port connection line information.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps in fig. 2 may include a plurality of steps or stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily sequential, but may be performed in rotation or alternatively with at least a portion of the steps or stages in other steps or other steps.
In one embodiment, as shown in fig. 3, there is provided an automatic connection device for a device element of a power grid monitoring system based on graph algorithm technology, including: a port information acquisition module 310, an initial connection port determination module 320, a connection port determination module 330, and a port connection module 340, wherein:
the port information obtaining module 310 is configured to obtain first port information corresponding to each first port of a first device element, where the first device element is a device element that is already laid out on an electrical wiring diagram in a grid monitoring system, and second port information corresponding to a second port of a second device element, where the second device element is a device element to be laid out on the electrical wiring diagram.
The initial connection port determining module 320 is configured to determine, according to each of the first port information and the second port information, each initial connection port that meets preset specification information and corresponding initial connection port information in each of the first ports of the first device element.
The connection port determining module 330 is configured to determine a connection port among the initial connection ports of the first device element based on a preset graph algorithm, the initial connection port information and the second port information.
And a port connection module 340, configured to connect the connection port of the first device element with the second port of the second device element, and update the electrical wiring diagram in the grid monitoring system.
In one embodiment, the port information acquisition module 310 includes the following elements:
a first port information determining unit, configured to determine the first port information, including: and at least one of core packet information, domain packet information, power generation packet information, load model packet information, measurement packet information, disabling packet information, protection packet information, topology packet information and wire packet information corresponding to the first port.
In one embodiment, the initial connection port determination module 320 includes the following elements:
the specification information determining unit is configured to determine preset specification information, and includes: IEC 61970 specification information.
In one embodiment, the connection port determination module 330 includes the following elements:
and a connection line information determining unit configured to determine each connection line information between the first device element and the second device element based on a preset graph algorithm, each initial connection port information, and the second port information.
And a connection port determining unit configured to determine a connection port among the initial connection ports of the first device element based on each of the connection line information.
In one of the embodiments, the connection line information determination unit includes the following units:
and the virtual connection mode determining unit is used for determining the virtual connection mode between each initial connection port and the second port of the first equipment element based on the preset graph algorithm, each initial connection port information and the second port information.
And the connecting line information acquisition unit is used for determining each connecting line information between the first equipment element and the second equipment element according to each virtual connection mode.
In one embodiment, the connection port determination module 330 includes the following elements:
and the connecting wire length calculation unit is used for calculating the connecting wire length corresponding to each piece of connecting wire information.
And the connecting wire length comparison unit is used for comparing the lengths of the connecting wires and determining an initial connecting port corresponding to the minimum connecting wire length as the connecting port of the first equipment element.
In one embodiment, the connection port determination module 330 includes the following elements:
And the selected instruction acquisition unit is used for acquiring the selected instruction aiming at each piece of connecting line information.
And a connection port determining unit, configured to determine an initial connection port corresponding to the connection line information corresponding to the selected instruction as the connection port of the first device element.
In one embodiment, the port connection module 340 includes the following elements:
and the connection port connection line information determining unit is used for determining connection port connection line information corresponding to the connection port of the first equipment element.
And the port connection unit is used for connecting the connection port of the first equipment element with the second port of the second equipment element according to the connection port connection line information.
The specific limitation of the automatic connection device of the power grid monitoring system equipment element based on the graph algorithm technology can be referred to the limitation of the automatic connection method of the power grid monitoring system equipment element based on the graph algorithm technology, and the description is omitted here. All or part of each module in the automatic wiring device of the power grid monitoring system equipment element based on the graph algorithm technology can be realized by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 4. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer equipment is used for storing the automatic connection data of the power grid monitoring system equipment elements based on the graph algorithm technology. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to realize an automatic connection method of the power grid monitoring system equipment elements based on the graph algorithm technology.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to realize an automatic connection method of the power grid monitoring system equipment elements based on the graph algorithm technology. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by persons skilled in the art that the structures shown in fig. 4 and 5 are block diagrams of only portions of structures associated with the present inventive arrangements and are not limiting of the computer device to which the present inventive arrangements are applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, including a memory and a processor, where the memory stores a computer program, and the processor executes the computer program to implement the steps of the method for automatically connecting elements of a grid monitoring system device based on graph algorithm technology.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the steps of the grid monitoring system device component auto-wiring method described above based on graph algorithm technology.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.
Claims (10)
1. An automatic connection method for power grid monitoring system equipment elements based on a graph algorithm technology is characterized by comprising the following steps:
acquiring first port information corresponding to each first port of a first equipment element and second port information corresponding to a second port of a second equipment element, wherein the first equipment element is an equipment element laid out on an electrical wiring diagram in a power grid monitoring system, and the second equipment element is an equipment element to be laid out on the electrical wiring diagram;
Determining each initial connection port conforming to preset specification information and corresponding initial connection port information in each first port of the first equipment element according to each first port information and the second port information;
determining a connection port in each initial connection port of the first equipment element based on a preset graph algorithm, each initial connection port information and the second port information, wherein the graph algorithm is an algorithm for obtaining a result by utilizing a specially-made line graph;
the connection port of the first device element is connected with the second port of the second device element, and the electrical wiring diagram in the grid monitoring system is updated.
2. The method for automatically connecting the device elements of the power grid monitoring system based on the graph algorithm technology according to claim 1, wherein determining a connection port in each initial connection port of the first device element based on a preset graph algorithm, each initial connection port information and the second port information comprises:
determining each piece of connection line information between the first equipment element and the second equipment element based on a preset graph algorithm, each piece of initial connection port information and the second port information;
And determining a connection port in each initial connection port of the first equipment element according to each connection line information.
3. The method for automatically connecting the equipment elements of the power grid monitoring system based on the graph algorithm technology according to claim 2, wherein determining each connection line information between the first equipment element and the second equipment element based on the preset graph algorithm, each piece of initial connection port information and the second port information comprises:
determining a virtual connection mode between each initial connection port and the second port of the first equipment element based on the preset graph algorithm, each initial connection port information and the second port information;
and determining each piece of connection line information between the first equipment element and the second equipment element according to each virtual connection mode.
4. A method for automatically connecting network monitoring system components based on a graph algorithm according to claim 3, wherein determining a connection port among the initial connection ports of the first device component according to each connection line information comprises at least one of the following:
A first item:
calculating the length of the connecting wire corresponding to each piece of connecting wire information;
comparing the lengths of the connecting lines, and determining an initial connecting port corresponding to the minimum connecting line length as the connecting port of the first equipment element;
the second item:
acquiring a selected instruction aiming at each piece of connecting line information;
and determining an initial connection port corresponding to the connection line information corresponding to the selected instruction as the connection port of the first equipment element.
5. A method of automatically wiring grid monitoring system equipment components based on a graph algorithm technique as in claim 3, wherein said connecting said connection port of said first equipment component with said second port of said second equipment component comprises:
determining connection port connection line information corresponding to the connection port of the first equipment element;
and connecting the connection port of the first equipment element with the second port of the second equipment element according to the connection port connection line information.
6. The method for automatically connecting elements of a power grid monitoring system based on graph algorithm according to claim 1, wherein the first port information comprises: and at least one of core packet information, domain packet information, power generation packet information, load model packet information, measurement packet information, disabling packet information, protection packet information, topology packet information and wire packet information corresponding to the first port.
7. The method for automatically connecting the components of the power grid monitoring system based on the graph algorithm technology according to claim 1, wherein the preset specification information comprises: IEC 61970 specification information.
8. An automatic wiring device for equipment elements of a power grid monitoring system based on a graph algorithm technology is characterized by comprising the following components:
the port information acquisition module is used for acquiring first port information corresponding to each first port of a first equipment element and second port information corresponding to a second port of a second equipment element, wherein the first equipment element is an equipment element which is laid out on an electrical wiring diagram in a power grid monitoring system, and the second equipment element is an equipment element to be laid out on the electrical wiring diagram;
an initial connection port determining module, configured to determine, according to each of the first port information and the second port information, each initial connection port that meets preset specification information and corresponding initial connection port information in each of the first ports of the first device element;
the connection port determining module is used for determining a connection port in each initial connection port of the first equipment element based on a preset graph algorithm, each initial connection port information and the second port information, wherein the graph algorithm is an algorithm for obtaining a result by utilizing a specially-made line graph;
And the port connection module is used for connecting the connection port of the first equipment element with the second port of the second equipment element and updating the electrical wiring diagram in the power grid monitoring system.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the graph algorithm technology based method for automatically wiring elements of a grid monitoring system device as defined in any one of claims 1 to 7.
10. A computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the graph algorithm based method for automatically wiring elements of a grid monitoring system device of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110820033.0A CN113505558B (en) | 2021-07-20 | 2021-07-20 | Automatic connection method for power grid monitoring system equipment elements based on graph algorithm technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110820033.0A CN113505558B (en) | 2021-07-20 | 2021-07-20 | Automatic connection method for power grid monitoring system equipment elements based on graph algorithm technology |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113505558A CN113505558A (en) | 2021-10-15 |
CN113505558B true CN113505558B (en) | 2023-08-22 |
Family
ID=78013423
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110820033.0A Active CN113505558B (en) | 2021-07-20 | 2021-07-20 | Automatic connection method for power grid monitoring system equipment elements based on graph algorithm technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113505558B (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103500237A (en) * | 2013-07-03 | 2014-01-08 | 国家电网公司 | Automatic image forming method for power distribution network based on logic layout |
CN104133943A (en) * | 2014-07-08 | 2014-11-05 | 国家电网公司 | Distribution network pattern automatic generating method based on target guide |
CN105488269A (en) * | 2015-11-29 | 2016-04-13 | 国家电网公司 | CIM based automatic graph-forming system for power transmission and distribution network |
CN107292003A (en) * | 2017-06-06 | 2017-10-24 | 南京南瑞继保电气有限公司 | A kind of automatic generating method of electric network station wiring diagram |
CN108509676A (en) * | 2018-02-12 | 2018-09-07 | 广东电网有限责任公司佛山供电局 | A kind of geographical retraction automatic drafting method of figure of power system |
CN108563810A (en) * | 2018-01-30 | 2018-09-21 | 南京理工大学 | A kind of method of self routing and generation report |
CN109947859A (en) * | 2017-08-25 | 2019-06-28 | 南方电网科学研究院有限责任公司 | Power distribution network drawing modeling method, system, storage medium and computer equipment |
CN110852023A (en) * | 2019-11-06 | 2020-02-28 | 许继集团有限公司 | Automatic generation method and device for primary main wiring diagram of intelligent substation |
CN111026826A (en) * | 2019-12-05 | 2020-04-17 | 中国南方电网有限责任公司 | Power grid map updating method and device, computer equipment and storage medium |
CN111290957A (en) * | 2020-02-19 | 2020-06-16 | 北京航天测控技术有限公司 | Signal-oriented test path planning method, device, equipment and storage medium |
CN111444587A (en) * | 2020-02-27 | 2020-07-24 | 国网信通亿力科技有限责任公司 | Electric power graph drawing method based on automatic drawing technology |
CN112202245A (en) * | 2020-09-29 | 2021-01-08 | 国网北京市电力公司 | Automatic mapping system for low-voltage transformer area wiring diagram |
CN112560206A (en) * | 2020-11-23 | 2021-03-26 | 国网山东省电力公司青岛供电公司 | Method and system for automatically drawing power transmission line edge layout by CAD |
-
2021
- 2021-07-20 CN CN202110820033.0A patent/CN113505558B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103500237A (en) * | 2013-07-03 | 2014-01-08 | 国家电网公司 | Automatic image forming method for power distribution network based on logic layout |
CN104133943A (en) * | 2014-07-08 | 2014-11-05 | 国家电网公司 | Distribution network pattern automatic generating method based on target guide |
CN105488269A (en) * | 2015-11-29 | 2016-04-13 | 国家电网公司 | CIM based automatic graph-forming system for power transmission and distribution network |
CN107292003A (en) * | 2017-06-06 | 2017-10-24 | 南京南瑞继保电气有限公司 | A kind of automatic generating method of electric network station wiring diagram |
CN109947859A (en) * | 2017-08-25 | 2019-06-28 | 南方电网科学研究院有限责任公司 | Power distribution network drawing modeling method, system, storage medium and computer equipment |
CN108563810A (en) * | 2018-01-30 | 2018-09-21 | 南京理工大学 | A kind of method of self routing and generation report |
CN108509676A (en) * | 2018-02-12 | 2018-09-07 | 广东电网有限责任公司佛山供电局 | A kind of geographical retraction automatic drafting method of figure of power system |
CN110852023A (en) * | 2019-11-06 | 2020-02-28 | 许继集团有限公司 | Automatic generation method and device for primary main wiring diagram of intelligent substation |
CN111026826A (en) * | 2019-12-05 | 2020-04-17 | 中国南方电网有限责任公司 | Power grid map updating method and device, computer equipment and storage medium |
CN111290957A (en) * | 2020-02-19 | 2020-06-16 | 北京航天测控技术有限公司 | Signal-oriented test path planning method, device, equipment and storage medium |
CN111444587A (en) * | 2020-02-27 | 2020-07-24 | 国网信通亿力科技有限责任公司 | Electric power graph drawing method based on automatic drawing technology |
CN112202245A (en) * | 2020-09-29 | 2021-01-08 | 国网北京市电力公司 | Automatic mapping system for low-voltage transformer area wiring diagram |
CN112560206A (en) * | 2020-11-23 | 2021-03-26 | 国网山东省电力公司青岛供电公司 | Method and system for automatically drawing power transmission line edge layout by CAD |
Non-Patent Citations (1)
Title |
---|
"广东省地区电网外网等值自动生成***设计";温柏坚、张海波等;《电力***自动化》;第28卷(第20期);第77-83页 * |
Also Published As
Publication number | Publication date |
---|---|
CN113505558A (en) | 2021-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113723810A (en) | Graph database-based power grid modeling method | |
JP2020527925A (en) | Power distribution methods and electronic devices used in multi-machine parallel power electronic transformers | |
CN113868810B (en) | Electrical drawing method, device, computer equipment and storage medium | |
CN111177839A (en) | Automatic convergence machine room equipment layout system and generation method | |
CN113868809A (en) | Electric drawing method and device, computer equipment and storage medium | |
JP5466798B1 (en) | Method and apparatus for extracting skeleton topology structure of power grid | |
CN113505558B (en) | Automatic connection method for power grid monitoring system equipment elements based on graph algorithm technology | |
CN115935457A (en) | Building ventilation system design method and device, computer equipment and storage medium | |
CN109739719B (en) | Communication machine room infrastructure management method and device | |
CN115051912B (en) | Power failure user positioning method, device, equipment and medium | |
CN111026826A (en) | Power grid map updating method and device, computer equipment and storage medium | |
CN113378069B (en) | Main and distribution network automatic drawing method based on intelligent recommendation algorithm | |
JPH08237247A (en) | Network management system | |
CN114243914B (en) | Power monitoring system | |
CN109743252A (en) | Generation method, device, computer equipment and the storage medium in grid switching operation path | |
CN110162880B (en) | Optical cable laying method, device, equipment and medium | |
CN114137360A (en) | Power distribution network fault positioning method and device and storage medium | |
CN112258149A (en) | Method, device, equipment and storage medium for determining circuit switchable power supply rate | |
Yehia et al. | A heuristic algorithm for electric distribution networks optimal feeder configuration using geographic information system | |
CN113325267A (en) | Power distribution network fault diagnosis system and method and computer program product | |
CN112016833B (en) | Line loss acquisition method and device for power network, computer equipment and medium | |
CN112613626A (en) | Method and device for monitoring running state of standby system and computer equipment | |
CN116521951B (en) | Method, device, equipment and medium for identifying bus wiring pattern of 500kV transformer substation | |
CN115001031B (en) | Transformer substation access method and system of power system | |
CN117149750A (en) | Data processing method, apparatus, device, storage medium and computer program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |