Method for drawing electrical wiring diagram of distribution network equipment in urban control planning diagram
By automatically positioning and connecting substations and switch stations in urban control planning diagrams, the problem of time-consuming and error-prone drawing of electrical wiring diagrams is solved, and efficient and accurate distribution network planning and design is achieved, which significantly shortens the design cycle and improves Quality.
Patent Information
- Application Number
- CN202310173782.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2043-02-28
AI Technical Summary
In the prior art, the electrical wiring diagrams for the distribution network planning and design on the urban control detailed planning diagram usually need to be drawn manually, which takes a long time and is prone to errors, affecting the planning and design cycle and quality.
By positioning the substation and switch stations in the urban control planning diagram, dividing the quadrant areas according to coordinate points and angles, the electrical wiring between the substations and between the switch stations is automatically drawn, and the programming method is used to realize automatic drawing in computer drawing software.
It significantly improves the drawing efficiency of electrical wiring diagrams, shortens the design cycle, reduces the intensity of manual labor, and improves the accuracy and quality of design results.
Smart Images

Figure CN116309932B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a method for drawing an electrical wiring diagram of equipment for power distribution network planning and design on a produced urban control detailed planning map, and belongs to the general field of image data processing technology. Background Art
[0002] The detailed control planning of the city has requirements for the planning and design of the distribution network. The equipment for the planning and design of the distribution network includes substations, switch stations and their site layout. The electrical wiring diagram of these equipment (substations and switch stations) needs to be drawn on the planning and design drawings. The electrical wiring diagram is an important part of the planning and design of the distribution network, and it is also a very important basic technical work. In the past, electrical wiring diagrams were drawn manually by designers, which usually took more than 10 working days, with large manpower investment, time-consuming and labor-intensive, and prone to errors; incorrect electrical wiring diagrams will affect the entire distribution network planning and design and the subsequent construction cycle and quality. Summary of the invention
[0003] The technical problem to be solved by the present invention is: how to improve the efficiency of drawing electrical wiring diagrams for equipment for distribution network planning and design on a city control detailed planning map.
[0004] The technical solution proposed by the present invention to solve the above technical problems is: a method for drawing an electrical wiring diagram of distribution network equipment in a city control planning diagram, comprising the following steps:
[0005] 1) Positioning of substations and drawing of electrical connections between substations
[0006] 1.1) Pick up the coordinate points (X, Y) of all substations in the urban control planning map, take the substation corresponding to the coordinate point with the smallest coordinate value X as the first substation, find the substation with the closest straight-line distance to the coordinate point of the first substation as the second substation, connect the coordinate points of the first substation and the second substation with a straight line to obtain the first electrical connection, and obtain the first angle ɑ1 between the first electrical connection and the horizontal line;
[0007] 1.2) The coordinate point of the first substation is used as the origin to divide the quadrants. The first quadrant includes 315°~45°, the second quadrant includes 45°~135°, the third quadrant includes 135°~225°, and the fourth quadrant includes 225°~315°;
[0008] 1.3) If 45°≤ɑ1<315°, the second substation is placed in the first quadrant of the first substation;
[0009] If 45°<ɑ1≤135°, the second substation is placed in the second quadrant of the first substation;
[0010] If 135°<ɑ1≤225°, the second substation is placed in the third quadrant of the first substation;
[0011] If 225°<ɑ1≤315°, the second substation is placed in the fourth quadrant of the first substation;
[0012] 1.4) Similar to steps 1.1)-1.3) but excluding the first substation, find the substation closest to the coordinate point of the second substation as the third substation, connect the coordinate points of the second substation and the third substation with a straight line to obtain the second electrical connection, and obtain the second angle ɑ2 between the second electrical connection and the horizontal line; divide the four quadrants that are the same as the first substation with the coordinate point of the second substation as the origin; place the third substation in a quadrant of the coordinate point of the second substation according to the second angle ɑ2; repeat steps 1.1)-1.3) to position all substations relatively one by one;
[0013] 2) Positioning of the switch station relative to the substation and drawing of the electrical connections between them
[0014] Pick up the coordinate points of each substation in the city control plan, and pick up the coordinate points of the switch station to which each substation belongs.
[0015] If the angle β between the coordinate point of the switch station and the horizontal line is within the first quadrant of the substation, the switch station is arranged vertically on the right side of the substation and connected to the right side of the substation to form a right electrical connection;
[0016] If the angle β between the coordinate point of the switch station and the horizontal line is within the second quadrant of the substation, the switch station is horizontally arranged on the upper side of the substation and connected to the upper side of the substation to form an upper electrical connection.
[0017] If the angle β between the coordinate point of the switch station and the horizontal line is within the third quadrant of the substation, the switch station is arranged vertically on the left side of the substation and connected to the left side of the substation to form a left electrical connection.
[0018] If the angle β between the coordinate point of the switch station and the horizontal line is within the fourth quadrant of the substation, the switch station is horizontally arranged at the lower side of the substation and connected to the lower side of the substation to form a lower electrical connection.
[0019] The connecting line is a straight line or a curved line with a right angle bend;
[0020] 3) Drawing of electrical connections between switch stations
[0021] 3.1) When adjacent switch stations are in the same horizontal straight line direction or vertical straight line direction and there is no other switch station in between, the adjacent switch stations are directly connected to obtain a straight electrical connection;
[0022] 3.2) When the adjacent switch stations are not in the same horizontal straight line direction or vertical straight line direction and there is no other switch station in between, the adjacent switch stations are connected by a bend line with a reverse right angle bend to obtain a reverse bend electrical connection;
[0023] 3.3) Non-adjacent switch stations are connected by bending lines with right angle bends in the same direction to obtain the same-direction bending electrical wiring;
[0024] 4) Program the above steps, input the compiled program into the computer, and automatically draw the electrical wiring diagram in the city control planning map in the computer's drawing software according to the above steps.
[0025] The beneficial effect of the present invention is that, since all substations and switch stations in the city control planning map are relatively positioned in the region, the connection rules between substations and substations, substations and switch stations, and switch stations and switch stations are formulated according to the positioning and connected according to the rules, the positioning and connection rules are programmed and input into the computer, and the entire electrical wiring diagram can be drawn. According to the method provided by the present invention, compared with the drawing of the electrical wiring diagram in the regional distribution network planning and design in the existing city control planning map, the drawing efficiency can be greatly improved, and the drawing time and the cycle of the distribution network planning and design can be significantly shortened.
[0026] Furthermore, the connection line is a straight line or a bending line with a right-angle bend; the number of the right-angle bends is one or two.
[0027] Furthermore, when drawing electrical connections, priority is given to connecting to the switchyard that is closest. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The method for drawing the electrical wiring diagram of the distribution network equipment in the city control planning diagram of the present invention is further described below in conjunction with the accompanying drawings.
[0029] Figure 1 It is to determine the substation location map.
[0030] Figure 2 It is a quadrant distribution diagram that divides the substation.
[0031] Figure 3 It is to establish the connection (electrical wiring) diagram between the switch station and the substation.
[0032] Figure 4 It is a connection (electrical wiring) diagram between switch stations when adjacent substations are on a horizontal straight line.
[0033] Figure 5 It is a connection (electrical wiring) diagram between switch stations when adjacent substations are not on a horizontal straight line. Implementation Example
[0034] A method for drawing an electrical wiring diagram of distribution network equipment in a city control planning diagram of this embodiment includes the following steps:
[0035] 1) Positioning of substations and drawing of electrical connections between substations
[0036] 1.1) Pick up the coordinate points (X, Y) of all substations in the urban control planning map, take the substation corresponding to the coordinate point with the smallest coordinate value X as the first substation 1, find the substation closest to the coordinate point of the first substation 1 as the second substation 2, connect the coordinate points of the first substation 1 and the second substation 2 with a straight line to obtain the first electrical connection between the first substation 1 and the second substation 2, and obtain the first angle ɑ1 between the first electrical connection and the horizontal line; Figure 1 shown.
[0037] 1.2) If Figure 2 As shown, the coordinate point of the first substation 1 is used as the origin to divide the quadrants. The first quadrant ( Figure 2 The middle zone includes 315°~45°, the second quadrant ( Figure 2 The middle zone includes 45°~135°, the third quadrant ( Figure 2 The middle three zones include 135°~225°, the fourth quadrant ( Figure 2 Middle 4th zone) includes 225°~315°;
[0038] 1.3) If 45°≤ɑ1<315°, the second substation 2 is placed in the first quadrant of the first substation;
[0039] If 45°<ɑ1≤135°, the second substation 2 is placed in the second quadrant of the first substation;
[0040] If 135°<ɑ1≤225°, the second substation 2 is placed in the third quadrant of the first substation;
[0041] If 225°<ɑ1≤315°, the second substation 2 is placed in the fourth quadrant of the first substation; Figure 2 shown.
[0042] 1.4) Similar to steps 1.1)-1.3) but excluding the first substation 1, find the substation closest to the coordinate point of the second substation 2 as the third substation, connect the coordinate points of the second substation 2 and the third substation with a straight line to obtain the second electrical connection between the second substation 2 and the third substation, and obtain the second angle ɑ2 between the second electrical connection and the horizontal line; divide the four quadrants that are the same as the first substation 1 with the coordinate point of the second substation 2 as the origin; place the third substation in a quadrant of the coordinate point of the second substation 2 according to the second angle ɑ2; repeat steps 1.1)-1.3) to relatively locate all substations one by one and connect them with straight lines to obtain the electrical connection between all substations.
[0043] 2) Positioning of the switch station relative to the substation and drawing of the electrical connections between them
[0044] Pick up the coordinate points of each substation in the city control plan, and pick up the coordinate points of the switch station to which each substation belongs.
[0045] If the angle β between the coordinate point of the switch station and the horizontal line is in the substation (such as Figure 2 , 3 The first quadrant of the first substation 1) Figure 2 If the switch station is in the middle area, the switch station is arranged vertically on the right side of the substation and connected to the right side of the substation to form the right electrical connection. Figure 3 K5 and K8.
[0046] If the angle β between the coordinate point of the switch station and the horizontal line is in the substation (such as Figure 2 , 3 The second quadrant of the first substation 1) Figure 2 If the switch station is in the middle zone, the switch station is arranged horizontally on the upper side of the substation and connected with the upper side of the substation to form the upper electrical connection. Figure 3 K1, K2, and K3 in it.
[0047] If the angle β between the coordinate point of the switch station and the horizontal line is in the substation (such as Figure 2 , 3 The third quadrant of the first substation 1) Figure 2 If the switch station is in the middle third area, the switch station is arranged vertically on the left side of the substation and connected to the left side of the substation to form the left electrical connection. Figure 3 K4 in.
[0048] If the angle β between the coordinate point of the switch station and the horizontal line is in the substation (such as Figure 2 , 3 The fourth quadrant of the first substation 1) Figure 2If the switch station is in the middle four zones, the switch station is arranged horizontally on the lower side of the substation and connected to the lower side of the substation to form the lower electrical connection. Figure 3 K6 and K7 in it.
[0049] The connection line can be a straight line, such as Figure 3 The connection lines of K2, K4, K5, and K7 with the substation 1 are respectively; or the connection lines can be bent lines with right angles, such as Figure 3 K1, K3, K6, and K8 are connected to substation 1 respectively; these connections constitute the electrical connection between the switch station and the substation.
[0050] 3) Drawing of electrical connections between switch stations
[0051] 3.1) When adjacent switch stations are in the same horizontal straight line direction or vertical straight line direction and there is no other switch station in between, the adjacent switch stations are directly connected to obtain a straight electrical connection; Figure 4 The connection between K8 and K16, or Figure 5 The connection between K18 and K21.
[0052] 3.2) When the adjacent switch stations are not in the same horizontal straight line direction or vertical straight line direction and there is no other switch station in between, the adjacent switch stations are connected by a bend line with a reverse right angle bend to obtain a reverse bend electrical connection; Figure 4 The connection between K3 and K14.
[0053] 3.3) Non-adjacent switch stations are connected by bending lines with right angle bends in the same direction to obtain the same-direction bending electrical wiring; Figure 4 The connection between K10 and K17, or Figure 5 The connection line between K7 and K19, and the connection line between K4 and K22.
[0054] The straight electrical connections, reverse bending electrical connections and same-direction bending electrical connections are all electrical connections between different switch stations; when drawing the electrical connections, the switch station closest to the switch station is preferentially connected.
[0055] 4) Program the above steps, input the compiled program into the computer, and automatically draw the electrical wiring diagram in the city control planning map in the computer's drawing software according to the above steps.
[0056] In this embodiment, there are one or two right-angle bends.
[0057] According to this embodiment, the drawing of all electrical wiring diagrams can be completed within one working day, manual repetitive labor can be greatly reduced, the distribution network planning and design cycle can be significantly shortened, the distribution planning and design plan can be completed more accurately, reasonably and efficiently, the quality of design results is significantly improved, and the distribution network planning and design capabilities are effectively enhanced.
[0058] The above description is only a preferred embodiment of the present invention, but the present invention is not limited thereto. All equivalent replacements or equivalent changes of the concepts and technical solutions according to the present invention should be included in the protection scope of the present invention.
Claims
1. A method for drawing an electrical wiring diagram of a distribution network equipment in a city control planning diagram, characterized by comprising the following steps: 1) Positioning of substations and drawing of electrical connections between substations 1.1) Pick up the coordinate points (X, Y) of all substations in the urban control planning map, take the substation corresponding to the coordinate point with the smallest coordinate value X as the first substation, find the substation with the closest straight-line distance to the coordinate point of the first substation as the second substation, connect the coordinate points of the first substation and the second substation with a straight line to obtain the first electrical connection, and obtain the first angle ɑ1 between the first electrical connection and the horizontal line; 1.2) The coordinate point of the first substation is used as the origin to divide the quadrants. The first quadrant includes -45° to 45°, the second quadrant includes 45° to 135°, the third quadrant includes 135° to 225°, and the fourth quadrant includes 225° to 315°; 1.3) If -45°<ɑ1≤45°, the second substation is placed in the first quadrant of the first substation; If 45°<ɑ1≤135°, the second substation is placed in the second quadrant of the first substation; If 135°<ɑ1≤225°, the second substation is placed in the third quadrant of the first substation; If 225°<ɑ1≤315°, the second substation is placed in the fourth quadrant of the first substation; 1.4) Similar to steps 1.1)-1.3) but excluding the first substation, find the substation closest to the coordinate point of the second substation as the third substation, connect the coordinate points of the second substation and the third substation with a straight line to obtain the second electrical connection, and obtain the second angle ɑ2 between the second electrical connection and the horizontal line; divide the four quadrants that are the same as the first substation with the coordinate point of the second substation as the origin; place the third substation in a quadrant of the coordinate point of the second substation according to the second angle ɑ2; repeat steps 1.1)-1.3) to relatively locate all substations one by one and connect them with straight lines to obtain the electrical connection between all substations; 2) Positioning of the switch station relative to the substation and drawing of the electrical connections between them Pick up the coordinate points of each substation in the city control plan, and pick up the coordinate points of the switch station to which each substation belongs. If the angle β between the coordinate point of the switch station and the horizontal line is within the first quadrant of the substation, the switch station is arranged vertically on the right side of the substation and connected to the right side of the substation to form a right electrical connection; If the angle β between the coordinate point of the switch station and the horizontal line is within the second quadrant of the substation, the switch station is horizontally arranged on the upper side of the substation and connected to the upper side of the substation to form an upper electrical connection. If the angle β between the coordinate point of the switch station and the horizontal line is within the third quadrant of the substation, the switch station is arranged vertically on the left side of the substation and connected to the left side of the substation to form a left electrical connection. If the angle β between the coordinate point of the switch station and the horizontal line is within the fourth quadrant of the substation, the switch station is horizontally arranged at the lower side of the substation and connected to the lower side of the substation to form a lower electrical connection. 3) Drawing of electrical connections between switch stations 3.1) When adjacent switch stations are in the same horizontal straight line direction or vertical straight line direction and there is no other switch station in between, the adjacent switch stations are directly connected to obtain a straight electrical connection; 3.2) When the adjacent switch stations are not in the same horizontal straight line direction or vertical straight line direction and there is no other switch station in between, the adjacent switch stations are connected by a bend line with a reverse right angle bend to obtain a reverse bend electrical connection; 3.3) Non-adjacent switch stations are connected by bending lines with right angle bends in the same direction to obtain the same-direction bending electrical wiring; 4) Program the above steps, input the compiled program into the computer, and automatically draw the electrical wiring diagram in the city control planning map in the computer's drawing software according to the above steps.
2. According to the method for drawing the electrical wiring diagram of the distribution network equipment in the urban control planning diagram of claim 1, Features: The connecting line is a straight line or a bending line with a right-angle bend; the right-angle bend is one or two.
3. According to the method for drawing the electrical wiring diagram of the distribution network equipment in the urban control planning diagram of claim 1, Features: When drawing electrical connections, give priority to connecting the closest switch stations.
