CN118350160A - Electrical contact diagram drawing method, device, equipment and storage medium - Google Patents

Electrical contact diagram drawing method, device, equipment and storage medium Download PDF

Info

Publication number
CN118350160A
CN118350160A CN202410398770.XA CN202410398770A CN118350160A CN 118350160 A CN118350160 A CN 118350160A CN 202410398770 A CN202410398770 A CN 202410398770A CN 118350160 A CN118350160 A CN 118350160A
Authority
CN
China
Prior art keywords
medium
substations
line
lines
voltage
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.)
Pending
Application number
CN202410398770.XA
Other languages
Chinese (zh)
Inventor
韦园清
李柯睿
曾丽丽
尹仕豪
卢山峰
罗云梅
谢伟东
林丽红
黄秉开
郑岳
杨静琪
沈鑫皓
马龙义
陈耀廷
许迪宇
林夙姗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Power Grid Co Ltd
Huizhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Huizhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Filing date
Publication date
Application filed by Guangdong Power Grid Co Ltd, Huizhou Power Supply Bureau of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Publication of CN118350160A publication Critical patent/CN118350160A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method, a device, equipment and a storage medium for drawing an electrical connection diagram, and relates to the technical field of electrical engineering. The electrical connection diagram drawing method comprises the following steps: analyzing a common information model CIM file of the medium-voltage line geographic edge layout to obtain a topological structure of the medium-voltage line; the topological structure comprises the contact relation of medium voltage lines between substations and the segmentation information of the medium voltage lines; and drawing an electrical connection diagram of the medium-voltage circuit based on the topological structure through a geographic information system GIS. According to the technical scheme provided by the embodiment of the invention, the electrical connection diagram can be efficiently and accurately drawn.

Description

Electrical contact diagram drawing method, device, equipment and storage medium
Technical Field
The present invention relates to the field of electrical engineering technologies, and in particular, to a method, an apparatus, a device, and a storage medium for drawing an electrical connection diagram.
Background
With the rapid development of the power grid, the equipment scale of the power distribution network is larger and larger, and the grid structure is also more and more complex. In order to clearly analyze the current grid structure of the power distribution network and the configuration conditions of various electrical equipment in the power distribution network, a medium-voltage circuit electrical connection diagram needs to be drawn.
In the manual drawing process based on the electrical connection diagram drawing template, the amount of drawn and counted data is large, the drawing efficiency is low, and the integrity and accuracy of the line connection relation and the data are difficult to ensure. Therefore, a technician pays attention to how to accurately and efficiently draw an electric connection diagram of a medium-voltage circuit of the power distribution network.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for drawing an electrical connection diagram, which can be used for drawing the electrical connection diagram efficiently and accurately.
According to an aspect of the present invention, there is provided an electrical connection diagram drawing method including:
Analyzing a common information model CIM file of the medium-voltage line geographic edge layout to obtain a topological structure of the medium-voltage line; the topological structure comprises the contact relation of medium voltage lines between substations and the segmentation information of the medium voltage lines;
and drawing an electrical connection diagram of the medium-voltage circuit based on the topological structure through a geographic information system GIS.
According to another aspect of the present invention, there is provided an electrical connection drawing apparatus comprising:
The file analysis module is used for analyzing the common information model CIM file of the medium-voltage line geographic edge layout to obtain the topological structure of the medium-voltage line; the topological structure comprises the contact relation of medium voltage lines between substations and the segmentation information of the medium voltage lines;
and the contact diagram drawing module is used for drawing an electric contact diagram of the medium-voltage circuit based on the topological structure through the geographic information system GIS.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the electrical contact diagram drawing method according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute the electrical contact drawing method according to any one of the embodiments of the present invention.
According to the technical scheme, the topological structure of the medium voltage line is obtained by analyzing the common information model CIM file of the medium voltage line geographic map, wherein the topological structure comprises the connection relation of the medium voltage lines between substations and the segmentation information of the medium voltage lines, and further, the electric connection diagram of the medium voltage lines is drawn based on the topological structure through a geographic information system GIS, so that the electric connection diagram can be drawn efficiently and accurately.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for electrical contact drawing according to a first embodiment of the present invention;
Fig. 2a is a flowchart of an electrical connection diagram drawing method according to a second embodiment of the present invention;
FIG. 2b is a schematic diagram of an electrical connection diagram according to a second embodiment of the present invention;
fig. 3 is a schematic structural view of an electrical connection drawing apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device implementing the electrical connection diagram drawing method according to the embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of an electrical connection diagram drawing method according to an embodiment of the present invention, where the method may be performed by an electrical connection diagram drawing apparatus, which may be implemented in hardware and/or software, and the electrical connection diagram drawing apparatus may be configured in various general-purpose computing devices, where the electrical connection diagram drawing apparatus is applicable to drawing an electrical connection diagram of a medium voltage line based on GIS. As shown in fig. 1, the method includes:
S110, analyzing a common information model CIM file of a medium-voltage line geographic edge layout to obtain a topological structure of the medium-voltage line; the topological structure comprises the contact relation of medium voltage lines between substations and the segmentation information of the medium voltage lines.
The CIM file is used for describing main objects of the power system, and comprises a plurality of logic packages, including a Core package (Core), a Topology package (Topology), an electric wire package (Wires), a shutdown package (Outage), a Protection package (Protection), a measurement package (Meas), a load model package (LoadMode 1), a Generation package (Generation), a Domain package (Domain) and the like.
In the embodiment of the invention, a common information model (Common Information Model, abbreviated as CIM) file of a medium-voltage line geographic map is firstly obtained, and the CIM file of the medium-voltage line geographic map is analyzed to obtain a topological structure of the medium-voltage line. The topology includes a connection relationship of medium voltage lines between substations, for example, the number of medium voltage lines between substations. Specifically, the CIM file of the geographical edge layout of the medium voltage line comprises a plurality of logic packages, and the logic packages mainly comprise core packages, topology packages and measurement packages, wherein the logic packages are related to the topological structure of the medium voltage line. And analyzing the logic package to obtain the topological structure of the medium-voltage circuit.
In addition, the logic package in the CIM file is analyzed, and main transformer information, main line diameter, safety current value, medium-voltage user number and low-voltage user number of each section, section switch, distribution automation equipment and communication equipment configuration of the section switch and the like of the line can be obtained.
And S120, drawing an electrical connection diagram of the medium-voltage circuit based on the topological structure through a Geographic Information System (GIS).
The geographic information system (Geographic Information System, abbreviated GIS) is a spatial information system. The technical system can collect, store, manage, calculate, analyze, display and describe the related geographic distribution data in the whole or part of the earth surface space under the support of computer hardware and software systems.
In the embodiment of the invention, in order to realize efficient drawing of the electrical connection diagram, GIS is adopted, and the electrical connection diagram of the medium-voltage circuit is drawn based on the topological structure of the medium-voltage circuit obtained through analysis. Specifically, the position of the transformer substation in the canvas can be determined based on the contact relation of the medium voltage lines among the transformer substations in the topological structure. For example, according to the density degree of the medium-voltage lines, the position of the transformer substation is determined, and the denser the medium-voltage lines associated with the transformer substation are, the earlier the transformer substation is drawn in a canvas center; the sparser the medium voltage lines associated with the substation, the later the substation is drawn at the canvas edge.
The method can also be based on longitude and latitude data of the transformer substations, combined with GIS intelligent distribution, the relative position relation among the transformer substations is determined, based on the relative position relation, the nine-grid layout is carried out on the transformer substations in the canvas, and the transformer substations are drawn at corresponding positions in the canvas based on layout results.
Further, after the drawing of the transformer substations is completed, the contact switches of outgoing lines of the transformer substations are read, based on the contact relation of medium-voltage lines among the transformer substations, an intelligent outgoing line mode of the transformer substations is adopted, the contact switches of the transformer substations with the connection relation are attracted, and then vibration wiring is carried out on the lines. In the vibration wire arrangement process, the GIS system performs wire smoothing, and performs wire connection according to a wire shortest principle, for example, when the substations A and B are connected by wires, a contact switch nearest to the other party is selected in the substations A and B to perform wire outgoing. The line connection is carried out by the line shortest principle, so that the cross overlapping of the lines can be avoided to the greatest extent.
In addition, in the process of drawing the electrical connection diagram, the transformer substation, the circuits and the components are mutually exclusive and occupy the positions of the transformer substation, the circuits are ensured not to overlap, pass through the transformer substation and the components, and the occurrence of the circuit crossing is reduced as much as possible. The connecting lines are all straight lines and right angles turn, if the unavoidable lines are crossed, arc marking is adopted at the crossing points, and the output electric connection diagram is ensured to be concise and visual, and the lines are clear and attractive.
According to the technical scheme, the topological structure of the medium voltage line is obtained by analyzing the common information model CIM file of the medium voltage line geographic map, wherein the topological structure comprises the connection relation of the medium voltage lines between substations and the segmentation information of the medium voltage lines, and further, the electric connection diagram of the medium voltage lines is drawn based on the topological structure through a geographic information system GIS, so that the electric connection diagram can be drawn efficiently and accurately.
Example two
Fig. 2a is a flowchart of an electrical connection diagram drawing method provided in a second embodiment of the present invention, where the embodiment is further refined based on the foregoing embodiment, and provides a specific step of analyzing a common information model CIM file of a layout of a geographical edge of a medium voltage line to obtain a topology structure of the medium voltage line, and a specific step of drawing, by a geographic information system GIS, an electrical connection diagram of the medium voltage line based on the topology structure. As shown in fig. 2a, the method comprises:
S210, a CIM file of the medium-voltage line geographical layout is exported from the equipment center, and at least one logic package is extracted from the CIM file.
In the embodiment of the invention, a CIM file is obtained by deriving a medium-voltage line geographical layout from a device center, and at least one logic package is extracted from the CIM file. Specifically, a plurality of logical packages, such as a Core package (Core), a Topology package (Topology), a wire package (Wires), a shutdown package (Outage), a Protection package (Protection), a measurement package (Meas), a load model package (LoadMode 1), a Generation package (Generation), and a Domain package (Domain), included in the CIM file are extracted.
S220, analyzing at least one logic packet to obtain the topological structure of the medium voltage circuit.
In the embodiment of the invention, after at least one logic in the CIM file is extracted, at least one logic packet is analyzed to obtain the topological structure of the medium-voltage circuit. The topological structure comprises the contact relation of medium voltage lines between substations and the segmentation information of the medium voltage lines.
Specifically, the logic package is analyzed to obtain the position of the transformer substation, the medium voltage line and the interconnection relation, the main line diameter of the medium voltage line to be identified on the medium voltage line, the safe current value, the sectional switch on the main line, the medium voltage user number and the low voltage user number of each section, whether the sectional switch is an automatic switch, the communication mode adopted by each automatic switch and the like.
S230, determining the position of the transformer substation in the canvas and drawing the transformer substation based on the contact relation of medium voltage lines among the transformer substations in the topological structure through the GIS.
In the embodiment of the invention, through the GIS, the position of the transformer substation in the canvas is determined and the transformer substation is drawn based on the contact relation of medium voltage lines among the transformer substations in the topological structure. Specifically, the number of medium voltage lines between every two substations can be obtained according to the contact relation of the medium voltage lines between the substations, and one of the substations with the largest number of medium voltage lines between other substations is used as a central station to be deployed at the central position of the canvas.
Further, the number of medium-voltage lines of other substations and the central station is determined, sorting is carried out according to the number from large to small, and grid layout is carried out on the other substations in sequence according to the sorting result. Further, for the transformer substation which has no direct connection relation with the central station, according to the principle, the transformer substations with more medium-voltage circuits of other transformer substations are laid out more first, and the transformer substations are closer to the central station; the fewer medium voltage lines with other substations, the more later the substation is laid out, the farther from the central station.
In one specific example, substations A, B, C, D and E are included. Wherein, there are 10 lines between A and B, there are 5 lines between A and C, there are 4 lines between A and D, there are no lines between A and E, there are 4 lines between C and E. Firstly, confirming that the substation A with the most connecting lines with other substations is used as a central station, and sorting the substations with direct connection relation with the central station from more to less according to the number of the connecting lines with the central station, namely, the substations B (10 connecting lines with A), C (5 connecting lines with A) and D (4 connecting lines with A). And performing grid layout on the substations B, C and D according to the sequencing result, and drawing the substations. Further, the substation E which has no direct connection relation with the central station a is laid out and drawn. It is noted that if there are multiple substations that have no direct connection relationship with the central station, it is necessary to sort the substations according to the number of connection lines between the substations and other substations, and layout the substations according to the sorting result.
Optionally, determining the position of the substation in the canvas and drawing the substation based on the contact relation of the medium voltage lines between the substations in the topology structure includes:
in the topological structure of a medium-voltage line, a transformer substation pair with a contact relation is obtained; at least one medium voltage line is arranged between two transformer substations in the transformer substation pair;
Based on the number of medium voltage lines between two substations in a substation pair, the position of the substation in the canvas is determined and the substation is drawn.
In this optional embodiment, a specific manner of determining the position of the substation in the canvas and drawing the substation based on the contact relationship of the medium voltage lines between the substations in the topology is provided: in the topological structure of a medium-voltage line, a transformer substation pair with a contact relation is obtained; at least one medium voltage line is arranged between two substations in the pair of substations. And further, based on the number of medium voltage lines between two substations in the pair, determining the position of the substation in the canvas and drawing the substation.
In one specific example, substations A, B, C, D and E are included. According to the connection relation of medium voltage lines among substations in a topological structure, the following substation pairs are determined: there are 10 lines between A and B, 5 lines between A and C, 4 lines between A and D, no line between A and E, and 4 lines between C and E. Firstly, confirming that the substation A with the most connecting lines with other substations is used as a central station, and sorting the substations with direct connection relation with the central station from more to less according to the number of the connecting lines with the central station, namely, the substations B (10 connecting lines with A), C (5 connecting lines with A) and D (4 connecting lines with A). And performing grid layout on the substations B, C and D according to the sequencing result, and drawing the substations. Further, the substation E which has no direct connection relation with the central station a is laid out and drawn. If a plurality of substations are not in direct connection with the central station, the substations are ordered according to the connection line data of the substations and other substations, and the substations are laid out according to the ordering result.
And S240, drawing the medium voltage lines between the substations based on the contact relation of the medium voltage lines between the substations and the positions of the substations in the canvas.
In the embodiment of the invention, after the transformer stations are laid out in the canvas, the medium voltage lines between the transformer stations are drawn further based on the contact relation of the medium voltage lines between the transformer stations and the positions of the transformer stations in the canvas. Specifically, the substations may be ordered according to the number of direct connections between each substation and other substations. Based on the sequencing result, sequentially extracting one current transformer substation, starting from the current transformer substation, sequentially connecting a plurality of transformer substations in series based on the contact relation until the next series transformer substation does not exist, and further repeatedly executing the operation of sequentially extracting one current transformer substation until the traversal of all transformer substations is completed. After the connection relationship between the substations is completed, the connection relationship between different lines in the same substation needs to be established. Specifically, one transformer substation is sequentially extracted as a current transformer substation, and according to the contact relation, the line information of another line which starts from the current transformer substation and is connected to the current transformer substation is queried, and in-station line connection is performed.
It is noted that, as shown in fig. 2b, when a line connection is made between substations, the outlet point is determined according to the positions of the two substations to be connected in the canvas. The determination principle is the line shortest principle, namely, an outlet point which can enable the line to be shortest is selected from the spare outlet points, and a right-angle corner is used at the corner of the line.
In a specific example, the substations are ranked from large to small according to the number of medium voltage lines with other substations, and the ranking result is substations A, B, C, D, E and F. One transformer is extracted in turn as the current transformer station, e.g. a is first extracted as the current transformer station. According to the connection relation, the line 1 from the transformer substation A is connected with the line 3 of the transformer substation B, then is connected with the line 2 of the transformer substation C from the line 3 of the transformer substation B, further is connected with the line 5 of the transformer substation D from the line 2 of the transformer substation C, and the line 5 of the transformer substation D is not connected with other lines except the line 2 of the transformer substation C, so that the line connection from the line 1 of the transformer substation A is completed. At this time, the connection operation may be repeatedly performed by continuing to return from the line No. 2 of the substation a, and connection of all the connection lines from the substation a is completed.
Further, the transformer substation B is extracted as a current transformer substation, and continues to be connected with the No. 3 wire of the transformer substation E from the No. 1 wire of the transformer substation B, and connected with the No. 5 wire of the transformer substation F from the No. 3 wire of the transformer substation E. And repeatedly executing the operation until the line connection taking all the substations as the current substations is completed.
It is noted that during the line connection, there are also situations where one line of the same substation starts and is connected to another line of the substation. For example, from line 1 of substation a, it is connected to line 28 of substation a.
In addition, when the line connection is performed, the outlet point of the line needs to be selected according to the positions of the two substations to be connected in the canvas. For example, when the line 1 of the substation a is connected to the line 3 of the substation B, the target outlet point of the line 1 needs to be selected in the substation a, and the target outlet point of the line 3 needs to be selected in the substation B. Specifically, among the remaining outlet points of the substations a and B, an outlet point that makes the above-described connection shortest is selected as a target outlet point.
Optionally, drawing the medium voltage lines between the substations based on the contact relation of the medium voltage lines between the substations and the position of the substations in the canvas includes:
determining the number of medium-voltage lines between every two substations based on the connection relation of the medium-voltage lines between the substations, and sequencing the substations based on the number of the lines;
Sequentially extracting a transformer substation as an outbound station based on the sequencing result;
taking an outgoing station as a starting point, sequentially connecting the substations with a contact relationship in series, and then returning to execute the operation of sequentially extracting one substation as the outgoing station;
The outlet of the transformer substation in the connection process is determined according to the position relation of the two transformer substations to be connected in the canvas.
In this optional embodiment, a specific way of drawing the medium voltage lines between the substations based on the contact relation of the medium voltage lines between the substations and the position of the substations in the canvas is provided: first, the number of medium voltage lines between the substations is determined based on the connection relation of the medium voltage lines between the substations, and the substations are ordered based on the number of lines, for example, the order is from large to small according to the number of medium voltage lines between each substation and other substations. Based on the sequencing result, sequentially extracting one transformer substation to serve as an outgoing station, sequentially connecting the transformer substations with a contact relationship in series by taking the outgoing station as a starting point, and then returning to execute the operation of sequentially extracting one transformer substation to serve as the outgoing station. The outlet of the transformer substation in the connection process is determined according to the position relation of the two transformer substations to be connected in the canvas.
Optionally, starting from a start station, sequentially connecting the substations with the contact relationship in series, including:
sequentially extracting a line from a departure station as a current line;
Starting from the current line, determining a target line of a target station with a contact relation with the current line based on the contact relation of medium-voltage lines between substations, and connecting the current line with the target line;
And taking the target station as a new starting station, taking the target line as a new current line, repeatedly executing starting from the current line, determining the target line of the target station with the contact relation with the current line based on the contact relation of the medium-voltage lines between the substations, connecting the current line with the target line until the next target station does not exist, and returning to execute the operation of sequentially extracting one line starting from the starting station as the current line.
In this optional embodiment, a specific way is provided that, with the outbound station as a starting point, the substations with the contact relationship are serially connected in sequence: and sequentially extracting one line from the starting station as a current line, starting from the current line, determining a target line of a target station with a contact relation with the current line based on the contact relation of medium-voltage lines between substations, and connecting the current line and the target line. Further, the target station is taken as a new departure station, the target line is taken as a new current line, the departure from the current line is repeatedly executed, the target line of the target station with the contact relation with the current line is determined based on the contact relation of the medium voltage lines between the substations, the current line and the target line are connected until no next target station exists, and the operation of sequentially extracting one line from the departure station as the current line is returned to be executed.
In a specific example, the current outgoing station is a substation a, a line No. 1 from the substation a is extracted as a current line, a line No. 3 of a substation B having a connection relationship with the current line is determined as a target line from the line No. 1, and the line No. 1 of the substation a and the line No. 3 of the substation B are connected. Then taking the transformer substation B as a new starting station, taking the line 3 of the transformer substation B as a new current line, and continuing to search a target line (for example, the line 2 of the transformer substation C) of a target station with a connection relation with the line 3 of the transformer substation B until the line 2 of the transformer substation C is not connected with other lines except the line 3 of the transformer substation B. At this time, the operation of sequentially extracting one line from the departure station as the current line, for example, the line No. 2 from the substation a as the current line is returned to be performed, and the above-described series operation is repeatedly performed until the traversal of all the lines in the substation a is completed.
Optionally, the electrical connection diagram satisfies at least one of the following drawing conditions in the drawing process:
the transformer substations with shortest connecting lines and contact relation attract each other, different components and devices and different lines repel each other, the connecting lines are straight lines, the connecting lines turn right angles, the connecting lines cross point arc transition is performed, and the connecting lines do not pass through the components and devices.
S250, based on the segmentation information of the medium-voltage circuit in the topological structure, carrying out segmentation marking on the drawn medium-voltage circuit.
The segmentation information comprises the segmentation position of the medium voltage line, the number of medium voltage users, the number of low voltage users and the like contained in each section of line.
In the embodiment of the invention, the topological structure also comprises the segmentation information of the medium-voltage lines, after the medium-voltage lines between the substations are drawn, the segmentation information is further read, segmentation points are drawn in the medium-voltage lines according to the segmentation information, and the information such as the number of medium-voltage users, the number of low-voltage users and the like is marked in each section of medium-voltage line.
According to the technical scheme, a CIM file of a medium voltage line geographic edge layout is exported from a device center, at least one logic package is extracted from the CIM file, the topology structure of the medium voltage line is obtained by analyzing the at least one logic package, the position of the transformer substation in a canvas is determined and the transformer substation is drawn based on the contact relation of the medium voltage lines in the topology structure through a GIS, finally, the medium voltage lines among the transformer substations are drawn based on the contact relation of the medium voltage lines among the transformer substations and the position of the transformer substation in the canvas, and the electric contact diagram of the medium voltage lines among the transformer substations can be drawn according to the CIM file.
Example III
Fig. 3 is a schematic structural diagram of an electrical connection drawing device according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes:
The file analysis module 310 is configured to analyze a common information model CIM file of the medium voltage line geographic edge layout to obtain a topology structure of the medium voltage line; the topological structure comprises the contact relation of medium voltage lines between substations and the segmentation information of the medium voltage lines;
and the contact diagram drawing module 320 is configured to draw an electrical contact diagram of the medium voltage line based on the topology structure through the geographic information system GIS.
According to the technical scheme, the topological structure of the medium voltage line is obtained by analyzing the common information model CIM file of the medium voltage line geographic map, wherein the topological structure comprises the connection relation of the medium voltage lines between substations and the segmentation information of the medium voltage lines, and further, the electric connection diagram of the medium voltage lines is drawn based on the topological structure through a geographic information system GIS, so that the electric connection diagram can be drawn efficiently and accurately.
Optionally, the contact diagram drawing module 320 includes:
The substation drawing unit is used for determining the position of the substation in the canvas and drawing the substation based on the contact relation of medium voltage lines among the substations in the topological structure through the GIS;
the transformer substation connecting unit is used for drawing the medium voltage lines between the transformer substations based on the contact relation of the medium voltage lines between the transformer substations and the positions of the transformer substations in the canvas;
And the segment marking unit is used for marking segments in the drawn medium-voltage line based on the segment information of the medium-voltage line in the topological structure.
Optionally, the substation drawing unit is specifically configured to:
in the topological structure of a medium-voltage line, a transformer substation pair with a contact relation is obtained; at least one medium voltage line is arranged between two transformer substations in the transformer substation pair;
and determining the position of the transformer substation in the canvas and drawing the transformer substation based on the number of medium voltage lines between two transformer substations in the transformer substation pair.
Optionally, the substation connection unit includes:
The substation sequencing subunit is used for determining the line number of medium-voltage lines between every two substations based on the contact relation of the medium-voltage lines between the substations and sequencing the substations based on the line number;
the departure station determining subunit is used for sequentially extracting one transformer substation as a departure station based on the sequencing result;
The substation connection subunit is used for sequentially connecting the substations with the contact relationship in series by taking the outbound as a starting point, and then returning to execute the operation of sequentially extracting one substation as the outbound;
The outlet of the transformer substation in the connection process is determined according to the position relation of the two transformer substations to be connected in the canvas.
Optionally, the substation connection subunit is specifically configured to:
sequentially extracting a line from a departure station as a current line;
Starting from the current line, determining a target line of a target station with a contact relation with the current line based on the contact relation of medium-voltage lines between substations, and connecting the current line with the target line;
And taking the target station as a new starting station, taking the target line as a new current line, repeatedly executing starting from the current line, determining the target line of the target station with the contact relation with the current line based on the contact relation of the medium-voltage lines between the substations, connecting the current line with the target line until the next target station does not exist, and returning to execute the operation of sequentially extracting one line starting from the starting station as the current line.
Optionally, the file parsing module 310 is specifically configured to:
A CIM file of a medium-voltage line geographical edge layout is derived from a device center, and at least one logic packet is extracted from the CIM file;
And analyzing the at least one logic packet to obtain the topological structure of the medium voltage circuit.
Optionally, the electrical connection diagram satisfies at least one of the following drawing conditions in the drawing process:
the transformer substations with shortest connecting lines and contact relation attract each other, different components and devices and different lines repel each other, the connecting lines are straight lines, the connecting lines turn right angles, the connecting lines cross point arc transition is performed, and the connecting lines do not pass through the components and devices.
The electrical connection diagram drawing device provided by the embodiment of the invention can execute the electrical connection diagram drawing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 4 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the electrical contact diagram drawing method.
In some embodiments, the electrical contact diagram drawing method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the electrical contact drawing method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the electrical contact diagram drawing method in any other suitable way (e.g., by means of firmware).
Various implementations of the systems and techniques described here above can be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. An electrical interconnection diagram drawing method, characterized by comprising:
Analyzing a common information model CIM file of the medium-voltage line geographic edge layout to obtain a topological structure of the medium-voltage line; the topological structure comprises the contact relation of medium voltage lines between substations and the segmentation information of the medium voltage lines;
and drawing an electrical connection diagram of the medium-voltage circuit based on the topological structure through a geographic information system GIS.
2. The method according to claim 1, wherein drawing an electrical connection diagram of the medium voltage line based on the topology by means of a geographic information system GIS comprises:
Determining the position of the transformer substation in a canvas and drawing the transformer substation based on the contact relation of medium voltage lines among the transformer substations in the topological structure through a GIS;
Drawing medium voltage lines between substations based on the contact relation of the medium voltage lines between the substations and the positions of the substations in canvas;
and based on the segmentation information of the medium-voltage circuit in the topological structure, carrying out segmentation marking on the drawn medium-voltage circuit.
3. The method of claim 2, wherein determining the location of the substation in the canvas and mapping the substation based on the contact relationship of the medium voltage lines between substations in the topology comprises:
in the topological structure of a medium-voltage line, a transformer substation pair with a contact relation is obtained; at least one medium voltage line is arranged between two transformer substations in the transformer substation pair;
and determining the position of the transformer substation in the canvas and drawing the transformer substation based on the number of medium voltage lines between two transformer substations in the transformer substation pair.
4. The method of claim 2, wherein drawing the medium voltage lines between the substations based on the contact relationship of the medium voltage lines between the substations and the position of the substations in the canvas comprises:
Determining the line number of medium-voltage lines between every two substations based on the connection relation of the medium-voltage lines between the substations, and sequencing the substations based on the line number;
Sequentially extracting a transformer substation as an outbound station based on the sequencing result;
taking an outgoing station as a starting point, sequentially connecting the substations with a contact relationship in series, and then returning to execute the operation of sequentially extracting one substation as the outgoing station;
The outlet of the transformer substation in the connection process is determined according to the position relation of the two transformer substations to be connected in the canvas.
5. The method of claim 4, wherein the series connection of the substations with the contact relationship is performed sequentially starting from the outbound, comprising:
sequentially extracting a line from a departure station as a current line;
Starting from the current line, determining a target line of a target station with a contact relation with the current line based on the contact relation of medium-voltage lines between substations, and connecting the current line with the target line;
And taking the target station as a new starting station, taking the target line as a new current line, repeatedly executing starting from the current line, determining the target line of the target station with the contact relation with the current line based on the contact relation of the medium-voltage lines between the substations, connecting the current line with the target line until the next target station does not exist, and returning to execute the operation of sequentially extracting one line starting from the starting station as the current line.
6. The method of claim 1, wherein resolving the common information model CIM file of the medium voltage line geographical map to obtain the topology of the medium voltage line comprises:
A CIM file of a medium-voltage line geographical edge layout is derived from a device center, and at least one logic packet is extracted from the CIM file;
And analyzing the at least one logic packet to obtain the topological structure of the medium voltage circuit.
7. The method according to any one of claims 1 to 6, wherein the electrical connection diagram satisfies at least one of the following drawing conditions during the drawing:
the transformer substations with shortest connecting lines and contact relation attract each other, different components and devices and different lines repel each other, the connecting lines are straight lines, the connecting lines turn right angles, the connecting lines cross point arc transition is performed, and the connecting lines do not pass through the components and devices.
8. An electrical connection diagram drawing apparatus, comprising:
The file analysis module is used for analyzing the common information model CIM file of the medium-voltage line geographic edge layout to obtain the topological structure of the medium-voltage line; the topological structure comprises the contact relation of medium voltage lines between substations and the segmentation information of the medium voltage lines;
and the contact diagram drawing module is used for drawing an electric contact diagram of the medium-voltage circuit based on the topological structure through the geographic information system GIS.
9. An electronic device, the electronic device comprising:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the electrical contact diagram drawing method of any one of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to implement the electrical contact diagram drawing method of any one of claims 1-7 when executed.
CN202410398770.XA 2024-04-03 Electrical contact diagram drawing method, device, equipment and storage medium Pending CN118350160A (en)

Publications (1)

Publication Number Publication Date
CN118350160A true CN118350160A (en) 2024-07-16

Family

ID=

Similar Documents

Publication Publication Date Title
CN111931318B (en) Power supply path analysis method and system based on graph calculation
CN117112630A (en) Topological structure generation method, device and equipment of power grid data and storage medium
CN118350160A (en) Electrical contact diagram drawing method, device, equipment and storage medium
CN116799953A (en) Equipment abnormality identification method, device and equipment based on power grid dispatching monitoring
CN115051912B (en) Power failure user positioning method, device, equipment and medium
CN114722547A (en) Photovoltaic module serial line arrangement determining method and device, electronic equipment and storage medium
CN114936612A (en) Short circuit type identification method and device, electronic equipment and storage medium
CN115113000A (en) Fault positioning method and device for low-voltage distribution line
CN112527673A (en) Site testing method and device, electronic equipment and readable storage medium
CN109522596B (en) Electric diagram generation method and electronic device
CN117131928A (en) Topology map construction method and device for core resource asset data of surface distribution network
CN116109024A (en) Automatic planning method, device, equipment and storage medium for power distribution network line
CN113792117B (en) Method and device for determining data update context, electronic equipment and storage medium
CN115453271A (en) Power distribution network problem diagnosis method, device, equipment and storage medium
CN117272613A (en) Electrical cabinet schematic diagram generation method, device, equipment and storage medium
CN116150157A (en) Method, device, equipment and medium for processing equipment account data
CN118003099A (en) Busbar processing table generation method, device, equipment and medium
CN117290688A (en) Virtual loop verification method and device, electronic equipment and storage medium
CN118054563A (en) Dynamic setting method, device and equipment for protection device in power distribution network and storage medium
CN116231666A (en) Power grid electrical switch cluster control method and device, electronic equipment and storage medium
CN115422692A (en) Global cable path generation method, device, equipment and storage medium
CN118336912A (en) Method, device, equipment and medium for generating distribution network ring network diagram
CN116683642A (en) Public transformer area management method, device, equipment and storage medium
CN116228042A (en) Circuit architecture determining method and device, electronic equipment and storage medium
CN117494653A (en) Busbar generation method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication