CN108563898B - Man-machine interactive single-line digital modeling method for power grid - Google Patents

Man-machine interactive single-line digital modeling method for power grid Download PDF

Info

Publication number
CN108563898B
CN108563898B CN201810387022.6A CN201810387022A CN108563898B CN 108563898 B CN108563898 B CN 108563898B CN 201810387022 A CN201810387022 A CN 201810387022A CN 108563898 B CN108563898 B CN 108563898B
Authority
CN
China
Prior art keywords
line
data
power grid
pole
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
Application number
CN201810387022.6A
Other languages
Chinese (zh)
Other versions
CN108563898A (en
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.)
Fujian Yongfu Information Technology Co Ltd
Original Assignee
Fujian Yongfu Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Fujian Yongfu Information Technology Co Ltd filed Critical Fujian Yongfu Information Technology Co Ltd
Priority to CN201810387022.6A priority Critical patent/CN108563898B/en
Publication of CN108563898A publication Critical patent/CN108563898A/en
Application granted granted Critical
Publication of CN108563898B publication Critical patent/CN108563898B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Supply And Distribution Of Alternating Current (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a man-machine interactive single-line digital modeling method for a power grid, which comprises the following steps: step S1, analyzing and preprocessing the power grid data; the power grid data comprises pole point data, pole line data and equipment data, and a data structure is reconstructed on the pole line data of the power grid data; step S2, checking continuity, repeatability and integrity of the power grid data; step S3, carrying out single-line diagram digital modeling on the verified power grid data by using a diagram depth-first search algorithm; step S4, when the operator analyzes the reliable performance of the power supply of the power grid line or the single line diagram itself draws a problem, the operator can edit and modify the single line diagram; step S5, the modified grid data can be stored in the grid data table again. The invention adopts a man-machine interaction power grid single line diagram for drawing, thereby being convenient for operators to use and designers to carry out power grid power supply reliability analysis.

Description

Man-machine interactive single-line digital modeling method for power grid
Technical Field
The invention relates to the field of power supply of a power grid, in particular to the technical fields of computer graphics, electric power engineering and the like, and particularly relates to a man-machine interactive single-line digital modeling method for the power grid.
Background
The existing power grid data are stored separately by excel table data and dwg drawings, and have no relevance. The reliability analysis of the line power supply by using Excel table data is not visual, and the reliability of the analysis result is poor; a dwg drawing obtained by modeling in a traditional mode lacks parametric data, and power supply reliability analysis cannot be carried out. Meanwhile, with the development of the power system, the power system becomes a more and more complex and huge system, and the application of the visual graphic technology is helpful for the research and operation management of the power system. Because the grid structure of the power distribution network is complex, a large amount of calculation data needs to be input, modified and maintained before each calculation, and in order to reduce the workload of related technicians and improve the efficiency and reliability of acquiring, converting and processing the data of the power distribution network by the analysis software of the power system, the most concise language in the project of graphics is needed to describe the network structure of the power system.
The existing power grid data are stored separately by excel table data and dwg drawings, and have no relevance, so that the following defects exist:
1. for a power grid line topological structure, the method is only suitable for drawing a simple radial feeder system for reliability evaluation and is not suitable for analyzing a mesh topological structure; new electric power market policies such as change of a competitive management system, separation of a plant network and a power transmission and distribution system, new forms are added to the primitives of the electric power system, and the drawing forms of the primitives and the method and the device for generating the single line diagram must be adjusted accordingly;
2. in the aspects of visual drawing and man-machine interaction, the drawing function of the graphic drawing module needs to be further improved;
3. and the modification of a new primitive and the storage of adding new form of power grid data cannot be realized without a data verification function. The single line diagram model of the power distribution network and the data are separated, the model is lack of element information, the data need to be imported again when power supply reliability analysis is carried out, the analysis result is only output of a simple analysis result, a middle key process is not visual, and the problem that a data source generates a large error abnormally is difficult to find by engineering designers, so that a large error is easy to cause.
The prior art discloses: an automatic conversion method from a distribution network diagram to a single line diagram based on AutoCAD is disclosed as follows: CN102289548A, application number: 201110228417.X, which is an automatic conversion method from a distribution network diagram to a single line diagram based on AutoCAD, particularly in a large and medium-sized distribution network automation system, adopts a method of hierarchical conversion and hierarchical display to automatically convert an AutoCAD graph when a distribution network designer designs into a dispatching single line diagram and a system diagram used by a dispatcher in a distribution automation system, and selects and converts and displays different information of a background layer, an equipment layer and an equipment labeling layer according to dispatching and operation maintenance requirements, and simultaneously automatically generates a graph topology connection relation. By adopting the method, the efficiency of the distribution automation system in engineering implementation and secondary system maintenance can be greatly improved, the workload of maintenance personnel of the single line diagram is greatly reduced, and powerful technical support is provided for distribution network engineering implementation and scheduling operation maintenance. Although the patent also adopts the automatic CAD graph to be automatically converted into a dispatching single line diagram and a system diagram used by a dispatcher in the power distribution automation system, the method adopts the method of layered conversion and layered display in the large and medium distribution network automation system, selects and converts and displays different information of a background layer, an equipment layer and an equipment marking layer, and automatically generates a line topology relationship; that is, the technical scheme adopted is not the same as the patent.
For another example: method and device for generating a single line diagram, such as Tan hongwu, etc.: a single line diagram generation method and device are provided; the method for generating the single line diagram comprises the following steps: establishing a topological relation according to the spatial data of the power system; reconstructing a combined mode of the topological structure after the topological relation is established; and adopting a heuristic algorithm to perform trend arrangement on the reconstructed topological relation so as to generate a single line diagram. This solution is not the same as the patent.
Wuyue et al ` A graphic object-oriented single-line vector drawing tool for distribution network `: the utility model provides a distribution network single line vector drawing instrument towards graphic object, its system contains: the application scene module is used for selecting a corresponding scene according to application requirements; and the icon making module is used for completing the icon making. The method adopts the design idea of object-oriented object (GOO), utilizes the GDI + technology to realize the establishment of the power system object model, provides a multi-level icon combination technology, and intelligently distinguishes different application scenes in the power system analysis process. The technical scheme is different from the technical scheme of the patent.
Interpretation of terms:
an electric power system: the unified system is composed of equipment and technologies such as power generation, power transformation, power transmission, power supply, power distribution and power utilization, and is used for converting primary energy equipment into electric energy and transmitting the electric energy to end users.
Power distribution network: the power distribution system is composed of a power transmission line, a primary distribution line, a substation, a distribution transformer, a secondary distribution line and the like, and an electric facility for connecting different users. It is an important link that connects the power system or source to the customer's facility.
Topological structure: the connection relationship between the primitives in the power distribution network.
Secondary development of CAD: according to the special use of the client, customization and secondary development of Autodesk software are carried out based on development modes such as AutoLISP, ADS, VBA, ARX, ObjectARX, VisualLISP, ObjectARX.
Grid single line diagram: the system electrical wiring diagram is represented by a single line equivalent to the actual connection mode of various elements in the three-phase AC power system by using a predetermined pattern or symbol.
Disclosure of Invention
In order to overcome the problems, the invention aims to provide a human-computer interaction type power grid single-line digital modeling method, which adopts a human-computer interaction power grid single-line diagram for drawing, combines dwg drawing with user exchange data and information, and carries out digital modeling, thereby facilitating the use of operators and the analysis of power supply reliability of a power grid by designers.
The invention is realized by adopting the following scheme: a man-machine interactive single-line digital modeling method for a power grid comprises the following steps:
step S1, analyzing and preprocessing the power grid data; the power grid data comprises pole point data, pole line data, equipment data, user number data, line length data and capacity data, and a data structure is reconstructed on the pole line data of the power grid data;
step S2, checking continuity, repeatability and integrity of the power grid data;
and step S3, carrying out single-line diagram digital modeling on the verified power grid data by using a diagram depth-first search algorithm.
Further, the method further comprises:
step S4, when the operator analyzes the reliable performance of the power supply of the power grid line or the single line diagram itself draws a problem, the operator can edit and modify the single line diagram;
step S5, the modified grid data can be stored in the grid data table again.
Further, the step S1 is further specifically: analyzing the power grid data in the power grid table collected by an operator by using Basicexcel, analyzing and obtaining the pole point data of the pole line in the power grid data, and performing data matching on the pole line in a ring of fields around a central point by using any pole point as the central point on the basis of the linearly stored pole line data to reconstruct a mesh data structure.
Further, when the power grid data are not verified, abnormal information is marked in a power grid table collected by an operator, and the operator is indicated to modify the data.
Further, the step S3 is further specifically: when the single line diagram digital modeling is carried out, a drawing command is executed in a CAD graph, the rod line data is firstly analyzed, and drawing is carried out after the analysis is finished; during drawing, a mouse picks up coordinate points for drawing; during drawing, the reconstructed data is traversed by adopting a graph depth-first search algorithm, and the single line graph of the power distribution network is drawn, wherein the graph depth-first search algorithm is as follows:
Figure BDA0001642484030000041
f (P) -a set of rod points and rod line drawings in a ring field direction of the current iteration rod point P;
p-is a rod point;
P->Nexti-the ith direction bar point in a ring field of bar points P;
DrawPole (P) -represents the current iteration rod point is plotted;
F(P->Nexti) -the set of the ith direction bar point, bar line drawing in a ring field of the current iteration bar point P;
DrawLine(P,P→Nexti) -representing the drawing of a bar line;
K1and K2Is a coefficient, K1Taking 0 or 1, K2Taking 0 or 1;
when K is1When 1, P → NextiContinuing the iteration in the direction of a ring field of P when K1When the value is equal to 0, ending the iteration of the ring field direction of the P; when K is2Draw the pole line DrawLine (P, P → Next) 1i) And writing the staff line information into a staff line object dictionary text when K is2When the line is not drawn, the line object dictionary text is used for recording the line starting point name and attribute information, the line ending point name and attribute information, the line starting end equipment information, the line ending end equipment information, the line length information, the number of users, the capacity information and the information of whether the line is reserved or not;
when the pole points are drawn and the pole points are the switching station or the ring main unit, automatic terminal equipment can be installed on the pole points, and the dictionary text of the pole line object does not need to be written in after the drawing is finished;
when drawing the rod line, drawing equipment on the rod line at the same time; and recording the bar line ID and the equipment ID after drawing is finished, and writing the starting point number, the starting point attribute, the end point number, the end point attribute, the starting equipment, the end equipment and the equipment handle information of the bar line into the bar line object dictionary text.
Furthermore, equipment needs to be added and removed when single-line diagram digital modeling is carried out in the CAD graph; the adding process of the equipment is as follows: executing an equipment adding command, picking up a pole line by a mouse, selecting an equipment action position, selecting equipment to be added, drawing the equipment on the pole line after selection, and updating information of a dictionary text of the pole line object and data information in an entity object memory of the AutoCAD drawing after drawing is finished; the removal process of the device is as follows: executing a device removing command, picking up the pole line by a mouse, selecting the position of the removing device, removing the device to be added, deleting the device on the pole line after removing, and updating the text information of the pole line object dictionary and the data information in the entity object memory of the AutoCAD drawing after removing.
The invention has the beneficial effects that: 1. for the topological structure of the power grid line, the method is not only suitable for drawing a simple radial feeder system, but also suitable for analyzing the mesh topological structure; aiming at power market policies such as change of a competitive management system, separation of a plant network and a power transmission and distribution network, a new primitive form is added to primitives of a power system;
2. in the aspect of visual drawing, the drawing function of the graphic drawing module is further improved, the CAD drawing function is added, namely, the editing and modifying command is added, and an AutoCAD toolbox, a menu, an operation panel and command operation are provided;
3. the method adopts a human-computer interaction power grid single line diagram drawing mode, realizes the basic editing function of the graphic elements, the automatic generation of the network topology structure and the data verification function, after the data verification is passed, the single line diagram digital modeling is carried out by using an iteration method in a command driving mode, and the modified data can be stored in a power grid data table again.
Drawings
FIG. 1 is a schematic flow diagram of the process of the present invention.
FIG. 2 is a basic flow diagram of the human-computer interactive drawing of the present invention.
FIG. 3 is a data topology relationship diagram in an embodiment of the invention.
FIG. 4 is a flowchart illustrating an interactive drawing in accordance with an embodiment of the present invention.
Fig. 5 is a single line diagram rendering flow diagram in an embodiment of the invention.
FIG. 6 is a schematic diagram of a waypoint attribute table in accordance with the present invention.
Fig. 7 is a schematic diagram of a pole line equipment table of the present invention.
Fig. 8 is a schematic diagram of a single line diagram example one of the present invention.
Fig. 9 is a schematic diagram of a second single-line diagram of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings.
The invention combines dwg drawing with User exchange data and information by a visualization (Graphical User Interface) technology to carry out digital modeling. The power grid single line diagram is automatically generated through digital modeling, the characteristics of man-machine interaction function, data verification, dynamic parametric data editing, capability of storing edited drawing data into form data and the like are achieved, and power supply reliability calculation analysis can be performed after drawing is completed. And the distribution network single line diagram stored in the graph paper can be exported to generate a data table stored in Excel.
Referring to fig. 1 to 9, a man-machine interactive single-line digital modeling method for a power grid according to the present invention includes the following steps:
step S1, analyzing and preprocessing the power grid data; the power grid data comprises pole point data, pole line data, equipment data, user number data, line length data and capacity data, and a data structure is reconstructed on the pole line data of the power grid data; wherein, the step S1 further includes: analyzing the power grid data in the power grid table collected by an operator by using Basicexcel, analyzing and obtaining the pole point data of the pole line in the power grid data, and performing data matching on the pole line in a ring of fields around a central point by using any pole point as the central point on the basis of the linearly stored pole line data to reconstruct a mesh data structure.
Step S2, checking continuity, repeatability and integrity of the power grid data; and marking abnormal information in the power grid table collected by the operator when the power grid data is not verified, and indicating the operator to modify the data.
Step S3, carrying out single-line diagram digital modeling on the verified power grid data by using a diagram depth-first search algorithm;
step S4, when the operator analyzes the reliable performance of the power supply of the power grid line or the single line diagram itself draws a problem, the operator can edit and modify the single line diagram;
step S5, the modified grid data can be stored in the grid data table again.
Wherein, the step S3 further includes: when the single line diagram digital modeling is carried out, a drawing command is executed in a CAD graph, the rod line data is firstly analyzed, and drawing is carried out after the analysis is finished; during drawing, a mouse picks up coordinate points for drawing; during drawing, the reconstructed data is traversed by adopting a graph depth-first search algorithm, and the single line graph of the power distribution network is drawn, wherein the graph depth-first search algorithm is as follows:
Figure BDA0001642484030000061
f (P) -the set of rod points, rod lines (including the equipment on the rod line) drawings (not including the drawn ones) in the one-ring domain direction of the current iteration rod point P;
p-is a rod point;
P->Nexti-the ith direction bar point in a ring field of bar points P;
DrawPole (P) -represents the current iteration rod point is plotted;
F(P->Nexti) The set of the i-th direction bar point in the circle of the current iteration bar point P, the bar line (containing the on-bar device) drawing (not containing the already drawn one);
DrawLine(P,P→Nexti) -representing the drawing of a bar line;
K1and K2Is a coefficient, K1Taking 0 or 1, K2Taking 0 or 1;
when K is1When 1, P → NextiContinuing the iteration in the direction of a ring field of P when K1When the value is equal to 0, ending the iteration of the ring field direction of the P; when K is2Draw the pole line DrawLine (P, P → Next) 1i) And writing the staff line information into a staff line object dictionary text when K is2When the line is not drawn, the line object dictionary text is used for recording the line starting point name and attribute information, the line ending point name and attribute information, the line starting end equipment information, the line ending end equipment information, the line length information, the number of users, the capacity information and the information of whether the line is reserved or not;
when the pole points are drawn and the pole points are the switching station or the ring main unit, automatic terminal equipment can be installed on the pole points, and the dictionary text of the pole line object does not need to be written in after the drawing is finished;
when drawing the rod line, drawing equipment on the rod line at the same time; and recording the bar line ID and the equipment ID after drawing is finished, and writing the starting point number, the starting point attribute, the end point number, the end point attribute, the starting equipment, the end equipment and the equipment handle information of the bar line into the bar line object dictionary text.
In addition, equipment is required to be added and removed when the single line diagram digital modeling is carried out in the CAD graph; the adding process of the equipment is as follows: executing an equipment adding command, picking up a pole line by a mouse, selecting an equipment action position, selecting equipment to be added, drawing the equipment on the pole line after selection, and updating information of a dictionary text of the pole line object and data information in an entity object memory of the AutoCAD drawing after drawing is finished; the removal process of the device is as follows: executing a device removing command, picking up the pole line by a mouse, selecting the position of the removing device, removing the device to be added, deleting the device on the pole line after removing, and updating the text information of the pole line object dictionary and the data information in the entity object memory of the AutoCAD drawing after removing.
The method of the invention also provides an AutoCAD tool box, a menu, an operation panel and command operation.
The invention is further illustrated below with reference to a specific embodiment:
FIG. 2 shows a basic flow of man-machine interactive drawing, before modeling of a single line diagram of a power grid, power grid data in a table are analyzed into an entity object memory of an AutoCAD drawing by using Basiciexcel; reconstructing the data after data analysis, and establishing a data topological relation as shown in fig. 3; in order to ensure the accuracy of the data, the continuity, the repeatability and the integrity of the data need to be checked; marking abnormal information in the form when the verification fails and indicating designers to modify the data; after the data verification is passed, carrying out single-line view digital modeling in a command-driven manner by using a view depth-first search algorithm (see the specific implementation manner of the step 3); and when the line power supply reliability performance is analyzed subsequently or the single line diagram is drawn with problems, a designer can edit and modify the single line, and the result can be updated and stored in the Excel after the modification is completed.
The specific process is as follows:
step one, analyzing data: before drawing, traversing Basicexcel data to analyze grid table information to an entity object memory of an AutoCAD drawing to obtain the rod point information of a rod line.
Step two, reconstructing a data structure: because the power grid line diagram data is encrypted and only has read-only authority, but the pole line attribute table data is incomplete, the pole line attribute table data needs to be changed before digital modeling is carried out, and the equipment information in the power grid line diagram is added into the table data shown in the table 1.
Number of starting point Properties Number of end point Properties Length of Whether to close a loop Starting point device Terminal device Number of users Capacity of
0 Common pole 1 Ring cabinet net 152 Circuit breaker 1
1 Common pole 2 Special transformer 42.9 Circuit breaker with protection 2 100
1 Ring cabinet net 6 Public transformer 50.8 50
2 Ring cabinet net 3 Special transformer 67.9 DTU 60
3 Ring cabinet net 4 Special transformer 80.7 Fuse protector 50
3 Common pole 10 Special transformer 93.6 1 2
4 Contact point 5 Common pole 73.6
6 Common pole 7 Common pole 51 FTU + protective circuit breaker
6 Common pole 8 Common pole 38.4
8 Common pole 9 Special transformer 28.8 2 125
9 Common pole 10 Special transformer 84.2 150
10 Common pole 11 Power distribution room 64.7 FTU + circuit breaker 2
TABLE 1 staff achievement table
The table in table 1 is used to match the data of the rod line in a ring of area around the center point based on the rod line data stored linearly, and any rod point is used as the center point, and the data structure in table 1 is reconstructed from the rod point data stored linearly, and the data structure shown in fig. 3 is obtained after data is reconstructed. Taking the number 10 rod point as an example, the number 3, 9, 11 rod points of one ring field can be accessed through the number 10 rod point, and Line (3,10), Line (9,10), Line (10,11) rod lines of one ring field constructed correspondingly. The pole Line has no directivity, and Line (3,10) ═ Line (10, 3).
Step three, data verification: in order to ensure the accuracy of the data, the continuity, the repeatability and the integrity of the data need to be checked; and marking abnormal information in the table when the verification fails and indicating that the designer modifies the data.
Step four, modeling the single line diagram in a digital mode: and after the data verification is completed by generating the power grid pole line result table data reconstruction, traversing the data in a recursion mode, and performing drawing operation.
Wherein the drawing operation:
(1) man-machine intersection type drawing
As shown in fig. 4, after the drawing command is executed, the user input information is acquired: when a user picks up coordinates, drawing a bar line and a bar line according to conditions; when a plotter finds that the current drawing bar line is missing, N new bar lines can be input; inputting P to draw a plurality of lines; the input U cancels the previous step; input ESC end-of-drafting
The specific drawing operations in the CAD graph are as follows: when a drawing command is executed, the pole line data table is firstly analyzed, and drawing is carried out after the analysis is finished; during drawing, a mouse picks up coordinate points for drawing; when the data analysis is finished, the drawing is interrupted due to some factors, and the drawing can be continuously carried out from the interrupted drawing position after the drawing is continuously carried out; when a user inputs P, multi-segment line drawing operation is executed, the user selects multi-segment line coordinate points in sequence, and after the multi-segment line coordinate points are selected, the Enter is finished, and next bar line drawing is carried out; when the drawing is interrupted, a user can input N and appoint a rod point connection interruption position to continue drawing; when the ESC is input, ending the drawing; and when the U is input, the previous step is cancelled.
(2) Drawing in an iterative manner
During drawing, the reconstructed data is traversed by adopting a graph depth-first search algorithm, and the single line graph of the power distribution network is drawn, wherein the graph depth-first search algorithm is as follows:
Figure BDA0001642484030000091
f (P) -the set of rod points, rod lines (including the equipment on the rod line) drawings (not including the drawn ones) in the one-ring domain direction of the current iteration rod point P;
p-is a rod point;
P->Nexti-the ith direction bar point in a ring field of bar points P;
DrawPole (P) -represents the current iteration rod point is plotted;
F(P->Nexti) The set of the i-th direction bar point in the circle of the current iteration bar point P, the bar line (containing the on-bar device) drawing (not containing the already drawn one);
DrawLine(P,P→Nexti) -representing the drawing of a bar line;
K1and K2Is a coefficient, K1Taking 0 or 1, K2Taking 0 or 1;
as shown in FIG. 5, when K is1When 1, P → NextiContinuing the iteration in the direction of a ring field of P when K1When the value is equal to 0, ending the iteration of the ring field direction of the P; when in useK2Draw the pole line DrawLine (P, P → Next) 1i) And writing the staff line information into a staff line object dictionary text when K is2Not drawing the bar line, wherein the bar line object dictionary text is used for recording bar line information; k1And K2The specific values are shown in Table 2.
Figure BDA0001642484030000101
TABLE 2 iterative Process Table
(3) Drawing bar points
When the pole point is an opening and closing station or a ring main unit, an automatic terminal device can be installed on the pole point, the class and detailed information of the pole point are shown in fig. 6, the pole point is an attribute block, and dictionary information does not need to be written after drawing is completed.
(4) Drawing pole line
When the bar line is drawn, the devices on the bar line are drawn at the same time, and the bar line device information is shown in fig. 7. And recording the bar line ID and the equipment ID after drawing is finished, and writing the starting point number, the starting point attribute, the end point number, the end point attribute, the starting equipment, the end equipment and the equipment handle information of the bar line into the dictionary text of the bar line object.
Step five, editing and modifying: due to the fact that the data source possibly has an abnormal condition, the single line diagram drawing result is abnormal, or when the power grid power supply reliability performance is analyzed subsequently, when the power grid power supply reliability performance does not meet the requirement, the power grid needs to be modified.
The flow of the adding equipment is as follows: (1) executing an add device command; (2) a mouse pick-up bar line; (3) selecting a device action position; (4) selecting equipment to be added; (5) automatically drawing equipment on the rod line after selection; (6) and after the drawing is finished, updating the text information of the staff object dictionary and the data information in the entity object memory of the AutoCAD drawing.
The equipment removal process is as follows: (1) executing a remove device command; (2) a mouse pick-up bar line; (3) selecting the position of the removing equipment; (4) removing the equipment to be added (the equipment cannot be removed when the equipment does not exist), and automatically deleting the equipment on the pole line after the equipment is removed; (5) and after the removal is finished, updating the text information of the staff object dictionary and the data information in the entity object memory of the AutoCAD drawing.
Step six, file storage: and when the operation is executed and the drawing is finished, clicking to store, and updating and storing the rod piece and the rod point information into the Excel table.
In addition, fig. 8 is a schematic diagram of a single line diagram example one of the present invention. Fig. 9 is a schematic diagram of a second single-line diagram of the present invention. Fig. 8 and 9 are single-line diagrams drawn in a CAD graph by using the human-computer interactive power grid single-line digital modeling method of the present invention.
In a word, the invention adopts a man-machine interaction power grid single line diagram drawing mode to realize the basic editing function of the primitive and the automatic generation and data verification functions of the network topology structure; and writing the point number information and the equipment information of the pole line into a pole line object dictionary text to realize that the single line diagram of the power grid is digital modeling. In subsequent operation, a pole line equipment adding and removing command is provided, so that a designer can conveniently analyze the power supply reliability of the power grid; in order to ensure the accuracy of the data, the continuity, the repeatability and the integrity of the data need to be checked; marking abnormal information in the form when the verification fails and indicating designers to modify the data; after the data passes the verification, carrying out single-line diagram digital modeling in a command-driven manner by using an iteration method, and storing the modified data in a power grid data table again; when line power supply reliability performance analysis is carried out subsequently or a single line diagram is drawn with problems, designers can edit and modify the single line; the invention provides an AutoCAD tool box, a menu, an operation panel and a command operation.
The above description is only a preferred embodiment of the present invention, and all equivalent changes and modifications made in accordance with the claims of the present invention should be covered by the present invention.

Claims (5)

1. A man-machine interactive single-line digital modeling method for a power grid is characterized by comprising the following steps: the method comprises the following steps:
step S1, analyzing and preprocessing the power grid data; the power grid data comprises pole point data, pole line data, equipment data, user number data, line length data and capacity data, and a data structure is reconstructed on the pole line data of the power grid data;
step S2, checking continuity, repeatability and integrity of the power grid data;
step S3, carrying out single-line diagram digital modeling on the verified power grid data by using a diagram depth-first search algorithm;
the step S3 further includes: when the single line diagram digital modeling is carried out, a drawing command is executed in a CAD graph, the rod line data is firstly analyzed, and drawing is carried out after the analysis is finished; during drawing, a mouse picks up coordinate points for drawing; during drawing, the reconstructed data is traversed by adopting a graph depth-first search algorithm, and the single line graph of the power distribution network is drawn, wherein the graph depth-first search algorithm is as follows:
Figure FDA0003220891450000011
f (P) -a set of rod points and rod line drawings in a ring field direction of the current iteration rod point P;
p-is a rod point;
P->Nexti-the ith direction bar point in a ring field of bar points P;
DrawPole (P) -represents the current iteration rod point is plotted;
F(P->Nexti) -the set of the ith direction bar point, bar line drawing in a ring field of the current iteration bar point P;
DrawLine(P,P→Nexti) -representing the drawing of a bar line;
K1and K2Is a coefficient, K1Taking 0 or 1, K2Taking 0 or 1;
when K is1When 1, P → NextiContinuing the iteration in the direction of a ring field of P when K1When the value is equal to 0, ending the iteration of the ring field direction of the P; when K is2Draw the pole line DrawLine (P, P → Next) 1i) And then line the pole letterWriting the information into a one-bar line object dictionary text when K is2When the line is not drawn, the line object dictionary text is used for recording the line starting point name and attribute information, the line ending point name and attribute information, the line starting end equipment information, the line ending end equipment information, the line length information, the number of users, the capacity information and the information of whether the line is reserved or not;
when the pole points are drawn and the pole points are the switching station or the ring main unit, automatic terminal equipment can be installed on the pole points, and the dictionary text of the pole line object does not need to be written in after the drawing is finished;
when drawing the rod line, drawing equipment on the rod line at the same time; and recording the bar line ID and the equipment ID after drawing is finished, and writing the starting point number, the starting point attribute, the end point number, the end point attribute, the starting equipment, the end equipment and the equipment handle information of the bar line into the bar line object dictionary text.
2. The human-computer interaction type power grid single-line digital modeling method according to claim 1, characterized in that: the method further comprises the following steps:
step S4, when the operator analyzes the reliable performance of the power supply of the power grid line or the single line diagram itself draws a problem, the operator can edit and modify the single line diagram;
step S5, the modified grid data can be stored in the grid data table again.
3. The human-computer interaction type power grid single-line digital modeling method according to claim 1, characterized in that: the step S1 further includes: analyzing the power grid data in the power grid table collected by an operator by using Basicexcel, analyzing and obtaining the pole point data of the pole line in the power grid data, and performing data matching on the pole line in a ring of fields around a central point by using any pole point as the central point on the basis of the linearly stored pole line data to reconstruct a mesh data structure.
4. The human-computer interaction type power grid single-line digital modeling method according to claim 1, characterized in that: and marking abnormal information in the power grid table collected by the operator when the power grid data is not verified, and indicating the operator to modify the data.
5. The human-computer interaction type power grid single-line digital modeling method according to claim 1, characterized in that: equipment is added and removed when the single line diagram digital modeling is carried out in the CAD graph; the adding process of the equipment is as follows: executing an equipment adding command, picking up a pole line by a mouse, selecting an equipment action position, selecting equipment to be added, drawing the equipment on the pole line after selection, and updating information of a dictionary text of the pole line object and data information in an entity object memory of the AutoCAD drawing after drawing is finished; the removal process of the device is as follows: executing a device removing command, picking up the pole line by a mouse, selecting the position of the removing device, removing the device to be added, deleting the device on the pole line after removing, and updating the text information of the pole line object dictionary and the data information in the entity object memory of the AutoCAD drawing after removing.
CN201810387022.6A 2018-04-26 2018-04-26 Man-machine interactive single-line digital modeling method for power grid Active CN108563898B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810387022.6A CN108563898B (en) 2018-04-26 2018-04-26 Man-machine interactive single-line digital modeling method for power grid

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810387022.6A CN108563898B (en) 2018-04-26 2018-04-26 Man-machine interactive single-line digital modeling method for power grid

Publications (2)

Publication Number Publication Date
CN108563898A CN108563898A (en) 2018-09-21
CN108563898B true CN108563898B (en) 2021-10-26

Family

ID=63536918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810387022.6A Active CN108563898B (en) 2018-04-26 2018-04-26 Man-machine interactive single-line digital modeling method for power grid

Country Status (1)

Country Link
CN (1) CN108563898B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188150B (en) * 2019-04-16 2021-10-08 厦门亿力吉奥信息科技有限公司 Modeling method of distribution network line diagram and computer readable storage medium
CN113360686B (en) * 2021-06-22 2022-06-14 南京南瑞信息通信科技有限公司 Power distribution network single line diagram storage method, retrieval system and server

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661516A (en) * 2008-08-29 2010-03-03 北京数码大方科技有限公司 Method for processing part sequence number and list of CAD
CN104143161A (en) * 2014-08-04 2014-11-12 中国南方电网有限责任公司 BFS-based searching method for distribution network loops
CN104331562A (en) * 2014-11-06 2015-02-04 国家电网公司 Geographical wiring diagram dispatching method and device in power grid information system
CN104332992A (en) * 2014-10-29 2015-02-04 国家电网公司 Power distribution network looped network diagram safety verification method
CN105046032A (en) * 2015-09-11 2015-11-11 国网山东庆云县供电公司 Method and system for drawing power distribution network based on CAD
CN105427356A (en) * 2015-11-12 2016-03-23 江苏省电力公司扬州供电公司 Method for quickly generating single line diagram and network diagram based on dispatching figure
US9529942B1 (en) * 2013-08-19 2016-12-27 Geometric Ltd. Auto-optimizing out-of-core method and system for rendering of large engineering 3D CAD assemblies on handheld devices
CN106650161A (en) * 2017-01-03 2017-05-10 厦门亿力吉奥信息科技有限公司 Power grid GIS-based electrical single line diagram forming method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661516A (en) * 2008-08-29 2010-03-03 北京数码大方科技有限公司 Method for processing part sequence number and list of CAD
US9529942B1 (en) * 2013-08-19 2016-12-27 Geometric Ltd. Auto-optimizing out-of-core method and system for rendering of large engineering 3D CAD assemblies on handheld devices
CN104143161A (en) * 2014-08-04 2014-11-12 中国南方电网有限责任公司 BFS-based searching method for distribution network loops
CN104332992A (en) * 2014-10-29 2015-02-04 国家电网公司 Power distribution network looped network diagram safety verification method
CN104331562A (en) * 2014-11-06 2015-02-04 国家电网公司 Geographical wiring diagram dispatching method and device in power grid information system
CN105046032A (en) * 2015-09-11 2015-11-11 国网山东庆云县供电公司 Method and system for drawing power distribution network based on CAD
CN105427356A (en) * 2015-11-12 2016-03-23 江苏省电力公司扬州供电公司 Method for quickly generating single line diagram and network diagram based on dispatching figure
CN106650161A (en) * 2017-01-03 2017-05-10 厦门亿力吉奥信息科技有限公司 Power grid GIS-based electrical single line diagram forming method and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A new topology structure and load flow solution for radial distribution networks;Liu Li等;《IEEE Xplore》;20021210;1064-1067 *
基于GIS和SVG的低压单线图自动布局算法;吴丽贤等;《电子设计工程》;20151031;第23卷(第20期);148-151 *
基于网络简化和深度优先遍历的配电网路径搜索算法;徐成司等;《电力***自动化》;20171225;第41卷(第24期);170-176 *

Also Published As

Publication number Publication date
CN108563898A (en) 2018-09-21

Similar Documents

Publication Publication Date Title
CN103500249B (en) Visualization Relay Protection Setting Calculation System and method
US20050125204A1 (en) Utility station automated design system and method
CN104484499A (en) Dynamic simulation image rapid generation method for substation secondary circuit
CN106021203B (en) Intelligent substation anti-misoperation lockout logic graphical expression method
CN109977162A (en) A kind of urban and rural planning data transfer device, system and computer readable storage medium
CN108345739B (en) Method for identifying CIME and SVG model file information to realize protection fixed value on-line check function and obtain model
CN108521123B (en) Visual multi-contact-point power distribution network fault section association method
CN105701271B (en) Method for creating and deleting equipment in graph-model hybrid simulation modeling of power system
CN109857885B (en) Intelligent substation main wiring diagram automatic generation method based on SCD file
CN108563898B (en) Man-machine interactive single-line digital modeling method for power grid
CN109447466B (en) Overall process visual management and control system based on power distribution network communication network construction
CN107247827A (en) Empty terminal model modeling and automatic connecting method based on machine learning
CN113609556A (en) GIM format and XDB format lossless conversion method of basic C #, and base XDB format lossless conversion method
CN109830954A (en) The topological hierarchy recognition methods automatically generated suitable for power grid visualization simulation model
CN111611665A (en) Intelligent substation design method based on three-dimensional modular design
Li et al. Distribution feeder one-line diagrams automatic generation from geographic diagrams based on GIS
CN108521124B (en) Visual distribution network fault section division method
CN115577480A (en) Distribution network contact graph automatic generation method
CN114676959A (en) Distribution network graph model management method and device
CN109118909A (en) A kind of conversion method of substation's three-dimensional scene models
CN111813401B (en) Graphic assembly method and system in drawing modeling tool based on B/S architecture
CN111798564B (en) PDS three-dimensional model conversion system and implementation method thereof
CN110414172B (en) Dynamic module dynamic monitoring management method and system
CN113158392A (en) Power distribution graphical monitoring and computing system
Wu et al. Distribution network topology modelling and automatic mapping based on CIM and GIS

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
CB02 Change of applicant information

Address after: 350000 floor 5, building a, No. 3, Gaoxin Avenue, Haixi science and Technology Park, Shangjie Town, Minhou County, Fuzhou City, Fujian Province

Applicant after: Fujian Yongfu Information Technology Co., Ltd

Address before: Room 1508, 15 / F, Zhongqing scientific research center, No. 10, Keji East Road, Shangjie Town, Minhou County, Fuzhou, Fujian 350108

Applicant before: FUJIAN JIWEI TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant