A line branch adjustment method and storage device for a single-line diagram of a power system

By determining adjustable line branches and reference points in the single-line diagram of the power system and calling the adjustment algorithm, the problem of power engineers adjusting line branches during construction and operation is solved, and rapid and personalized single-line diagram adjustment is achieved, which improves the The operational convenience of the power system.

CN114359438BActive Publication Date: 2024-11-26SHANDONG LUNENG SOFTWARE TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111500020.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-09
Publication Date
2024-11-26
Estimated Expiration
2041-12-09

AI Technical Summary

Technical Problem

The existing single-line diagram automatic diagramming technology of power system is difficult to meet the needs of individual users, especially when power engineering workers need to adjust line branches for easy construction and operation, there is a lack of effective adjustment methods.

Method used

By generating a single-line diagram of the power system, adjustable line branches and reference points are determined according to the topological structure and drawing standards, and the rotation, horizontal or vertical adjustment algorithm is called to adjust the equipment in the line branch from the initial position to the specified position to realize line branching automatic adjustment.

Benefits of technology

It realizes the rapid adjustment of line branches in the single-line diagram according to the needs of engineers, and forms an individualized single-line diagram of the power system, simplifying the construction and operation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114359438B_ABST
    Figure CN114359438B_ABST
Patent Text Reader

Abstract

The present invention discloses a line branch adjustment method and storage medium of a power system single-line diagram, the method comprising: generating a power system single-line diagram according to the topological structure and mapping standard of the power system; determining, in the generated power system single-line diagram, a plurality of devices contained in the line branch that are required and can be adjusted and a reference point for adjusting the line branch according to an input line branch adjustment instruction; obtaining the initial position coordinates of the plurality of devices contained in the line branch that are required and can be adjusted and the position coordinates of the reference point from the power system single-line diagram; taking the position coordinates of the reference point as the adjustment point, calling the adjustment algorithm in sequence to adjust the plurality of devices contained in the line branch from the initial position coordinates to the specified position coordinates.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of automatically generating a single-line diagram of an electric power system, and in particular to a line branch adjustment method and a storage device of a single-line diagram of an electric power system. Background Art

[0002] With the continuous development of high-voltage, ultra-high-voltage power transmission, microgrids and distributed power, the structure of the power network is constantly updated, and its topology becomes more and more complex. The single-line diagram drawing is updated with the development of power, from the initial manual drawing to the currently popular single-line diagram automatic drawing.

[0003] But the single-line diagram automatically becomes Figure 1 It is generally produced according to the corresponding drawing standards. When it comes to some personalized user needs, the single-line diagram automatic drawing technology cannot solve this problem well at present.

[0004] For example, the one-line diagram of the power system is usually a one-line diagram of the power grid equipment, including a large number of equipment. Such a one-line diagram of power equipment is not suitable for use by power engineering operators, because power engineering operators often only focus on the part of the one-line diagram required by their business. Therefore, they need to adjust the line branches of the one-line diagram in order to adjust the part of the one-line diagram that they focus on to a position that is convenient for construction and operation.

[0005] It can be seen that the power system requires a technology that can adjust the line branches in the single-line diagram. Summary of the invention

[0006] The object of the present invention is to provide a method and storage device for adjusting line branches of a single-line diagram of an electric power system, so as to automatically adjust the line branches of the single-line diagram of the electric power system according to the business needs of electric power engineering personnel.

[0007] According to a first aspect of the present invention, a line branch adjustment method of a power system single-line diagram of the present invention comprises:

[0008] Generate a single-line diagram of the power system according to the topological structure and drawing standards of the power system;

[0009] According to the input line branch adjustment instruction, determine in the generated power system single-line diagram a plurality of devices contained in the line branch that needs to be and can be adjusted and a reference point for adjusting the line branch;

[0010] Obtaining, from the power system single-line diagram, the initial position coordinates of a plurality of devices contained in the line branch that are required and can be adjusted and the position coordinates of the reference point;

[0011] Taking the position coordinates of the reference point as the adjustment point, the adjustment algorithm is called in sequence to adjust the multiple devices included in the line branch from the initial position coordinates to the specified position coordinates.

[0012] Preferably, the adjustment algorithm includes at least one of a rotation adjustment algorithm for rotating the line branch, a horizontal adjustment algorithm for horizontally adjusting the line branch, or a vertical adjustment algorithm for vertically adjusting the line branch.

[0013] Preferably, the rotation adjustment algorithm for rotating the line branch includes: calculating the offset between the initial position of each device in the line branch and the reference point position according to the initial position coordinates and the reference point position coordinates of each device in the line branch; calculating the displacement of each device in the line branch according to the offset between the initial position of each device in the line branch and the reference point position and the rotation angle of the line branch; calculating the position coordinates of each device in the line branch after rotation according to the displacement of each device in the line branch and the reference point position coordinates, and using them as the designated position coordinates.

[0014] Preferably, respectively calculating the offset between the initial position of each device in the line branch and the reference point position includes: taking the difference between the horizontal coordinate of the initial position of each device in the line branch and the horizontal coordinate of the reference point position as the horizontal coordinate offset; taking the difference between the vertical coordinate of the initial position of each device in the line branch and the vertical coordinate of the reference point position as the vertical coordinate offset.

[0015] Preferably, respectively calculating the displacement of each device offset in the line branch includes: taking (the product of the horizontal coordinate offset and the cosine rotation angle)-(the product of the vertical coordinate offset and the sine rotation angle) as the horizontal coordinate displacement of the line branch rotation offset; taking (the product of the vertical coordinate offset and the cosine rotation angle)-(the product of the horizontal coordinate offset and the sine rotation angle) as the vertical coordinate displacement of the line branch rotation offset.

[0016] Preferably, the method of taking the position of the reference point as the adjustment reference point and sequentially calling the adjustment algorithm to adjust the multiple devices contained in the line branch from the initial position coordinates to the specified position index includes: sequentially adjusting each device in the line branch from the initial position coordinates to the rotated position coordinates of each device calculated according to the rotation algorithm.

[0017] Preferably, the vertical adjustment algorithm for vertically adjusting the line branch includes: calculating the vertical coordinate of the position of each device in the line branch in the vertical coordinate direction after horizontal adjustment according to the initial vertical coordinate of the position of each device in the line branch and the vertical coordinate of the reference point; setting the initial horizontal coordinate of the position of each device in the line branch equal to the horizontal coordinate of the position of each device in the line branch in the horizontal coordinate direction after horizontal adjustment; and using the calculated horizontal coordinate of the position of each device in the line branch in the horizontal coordinate direction and the vertical coordinate of the position in the vertical coordinate direction as the designated position coordinates of each device.

[0018] Preferably, based on the initial position ordinate of each device in the line branch and the reference point position ordinate, the position ordinate of each device in the line branch in the ordinate direction after horizontal adjustment is calculated respectively. Specifically, the difference between the initial position ordinate of each device in the line branch and the reference point position ordinate is multiplied by 2, and the result is taken as the position ordinate of each device in the line branch in the ordinate direction after horizontal adjustment.

[0019] Preferably, the method of taking the position of the reference point as the adjustment reference point and sequentially calling the adjustment algorithm to adjust the multiple devices contained in the line branch from the initial position coordinates to the specified position indicators includes: sequentially vertically adjusting each device in the line branch from the initial position to the specified position coordinates of each device calculated according to the vertical adjustment algorithm.

[0020] Preferably, the horizontal adjustment algorithm for horizontally adjusting the line branch includes: calculating the horizontal coordinate of the position of each device in the line branch in the horizontal coordinate direction after the horizontal adjustment according to the horizontal coordinate of the initial position of each device in the line branch and the horizontal coordinate of the reference point position; setting the initial vertical coordinate of each device in the line branch equal to the vertical coordinate of the position of each device in the line branch in the vertical coordinate direction after the horizontal adjustment; and using the calculated horizontal coordinate of the position of each device in the line branch in the horizontal coordinate direction and the vertical coordinate of the position in the vertical coordinate direction as the designated position coordinates of each device.

[0021] Preferably, based on the initial position horizontal coordinate of each device in the line branch and the horizontal coordinate of the reference point position, the horizontal coordinate of the position of each device in the line branch in the horizontal coordinate direction after horizontal adjustment is calculated respectively. Specifically, the difference between the initial position horizontal coordinate of each device in the line branch and the horizontal coordinate of the reference point position is multiplied by 2, and the result is used as the horizontal coordinate of the position of each device in the line branch in the horizontal coordinate direction after horizontal adjustment.

[0022] Preferably, the method of taking the position of the reference point as the adjustment reference point and sequentially calling the adjustment algorithm to adjust the multiple devices contained in the line branch from the initial position coordinates to the specified position indicators includes: sequentially adjusting each device in the line branch horizontally from the initial position to the specified position coordinates of each device calculated according to the horizontal adjustment algorithm.

[0023] According to a second aspect of the present invention, the present invention provides a storage device for storing a program executable by a computing device for implementing the above-mentioned line branch adjustment method of a single-line diagram of a power system.

[0024] The above technical solution of the present invention has the following technical effects:

[0025] 1. Ability to adjust the line branches in the single-line diagram according to the information such as line rotation and folding reference points and line adjustment directions specified by the engineering personnel;

[0026] 2. The entire branch line can be quickly rotated and folded to form an individualized single-line diagram of the power system required by engineering operators.

[0027] The present invention is described in detail below with reference to the accompanying drawings. Figure 2 The electric power system single-line diagram shown is a simplified electric power system single-line diagram for the convenience of describing and explaining the present invention. The actual electric power system single-line diagram has a vast number of devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 A schematic diagram of a line branch adjustment method of a power system single-line diagram of the present invention;

[0029] Figure 2 is an unadjusted simplified power system single-line diagram of the present invention;

[0030] Figure 3 is a simplified single-line diagram of the power system after the rotation adjustment of the present invention;

[0031] Figure 4 is a simplified single-line diagram of the power system after vertical adjustment of the present invention;

[0032] Figure 5 It is a simplified single-line diagram of the power system after the level adjustment of the present invention. DETAILED DESCRIPTION

[0033] Figure 1 The line branch adjustment method of the power system single-line diagram of the present invention is shown as follows: Figure 1 As shown, including:

[0034] Generate a single-line diagram of the power system according to the topological structure and drawing standards of the power system; the current single-line diagram of the power system is automatically drawn by software according to the topological structure and drawing standards of the power system, and the present invention adjusts the position of the equipment graphics of the line branches in the single-line diagram of the power system.

[0035] According to the actual needs of the project, the equipment contained in the line branch that is required and can be adjusted and the reference points for adjusting the line branch are determined in the generated power system single-line diagram; the equipment contained in the line branch that is required and can be adjusted and the reference points for adjusting the line branch can be determined according to the adjustment instructions input by the power engineering personnel. The adjustment instructions input by the power engineering personnel include the equipment contained in the line branch that can be adjusted and the equipment that cannot be adjusted. By filtering out the equipment contained in the line branch that cannot be adjusted, the equipment contained in the line branch that is required and can be adjusted is obtained. Generally speaking, all equipment in the site is equipment that cannot be adjusted.

[0036] For example, for Figure 2 The single-line diagram of the power system shown receives the reference point P and the equipment set s (A, B, X, Y, Z, etc.) that need to be adjusted input by the power engineering personnel; according to the filtering rules, the equipment X, Y, Z in the station house S is filtered out, and the station house F is regarded as an integral device that is required and can be adjusted, thereby determining the equipment set s1 (A, B) and the station house F that are required and can be adjusted.

[0037] Specifically, after receiving the reference point P input by the power engineering personnel and the equipment set s (A, B, X, Y, Z, etc.) that needs to be adjusted, it is determined that there are devices X, Y, Z belonging to the station S in the equipment set, and then according to the filtering rules, the devices X, Y, Z are filtered out, and it is determined that the equipment that needs and can be adjusted includes devices A, B and the station F containing devices X, Y, Z.

[0038] After determining the equipment contained in the line branch that is required and can be adjusted and the reference point used to adjust the line branch, the initial position coordinates of multiple equipment contained in the line branch that is required and can be adjusted and the position coordinates of the reference point are obtained from the power system one-line diagram; the initial position coordinates of multiple equipment and the position coordinates of the reference point can be obtained by clicking on the equipment and reference points in the power system one-line diagram.

[0039] Then, taking the position coordinates of the reference point as the adjustment point, the adjustment algorithm is called in sequence to adjust the multiple devices included in the line branch from the initial position coordinates to the specified position coordinates.

[0040] In the present invention, a station building is a polygonal area, which generally contains multiple devices (such as busbars, primitive devices, etc.); a busbar is a bold horizontal line segment inside the station building; a connecting line is a line segment used to show the connection relationship between devices; a device is a primitive device that references a primitive symbol. Float is a coordinate point data model that supports floating-point types, describing the coordinates of a point, and the coordinate value is a floating-point type. Array is an array; Points is a coordinate point.

[0041] The adjustment algorithm of the present invention comprises at least one of a rotation adjustment algorithm for rotating the line branch, a horizontal adjustment algorithm for horizontally adjusting the line branch, or a vertical adjustment algorithm for vertically adjusting the line branch.

[0042] The present invention can adjust the multiple devices contained in the line branch from the initial position coordinates to the specified position coordinates by calling one or all of the above three algorithms.

[0043] The following describes the processes of rotating and adjusting the line branches of the power system single-line diagram, horizontally adjusting the line branches of the rotating power system single-line diagram, and vertically adjusting the line branches of the rotating power system single-line diagram through specific examples.

[0044] 1. Rotate and adjust the line branches of the power system single-line diagram:

[0045] See also Figure 2 According to the rotation adjustment instruction input by the power engineering personnel, "taking point P as the reference point, adjust the branch [A, B, X, Y, Z, L] on the right side of the reference point P clockwise (rotate 90 degrees), the rotation adjustment parameters are determined, including:

[0046] a) Coordinates of the reference point P;

[0047] b) According to the filtering rules, the equipment (X, Y, Z, L) in the station room F is filtered out, so that the equipment that needs and can be rotated and adjusted is determined to be (X, Y); the equipment that needs to be translated with the center point is the station room F, that is, the equipment (X, Y, Z, L) in the station room F that needs to be translated with the station room;

[0048] c) The rotation adjustment angle is 90 degrees; the equipment (X, Y, Z, L) in the station room is translated with reference to the coordinates of the upper left corner of F after translation, which is equivalent to the equipment in the station moving to a new position along with the equipment in the station room.

[0049] The calculation device X and Y are adjusted to the new position around the reference point P, and then the devices in the set are adjusted to the position rotated 90 degrees clockwise with point P as the reference point, and the station room F is adjusted to obtain Figure 3 The single-line diagram of the power system after rotation adjustment is shown.

[0050] Data structure:

[0051]

[0052]

[0053] 2) Overall steps of the algorithm:

[0054] A. Record the position of the reference point P; (e.g., the position where the right-click menu event of the mouse is triggered);

[0055] B. Get the set of branch devices (A, B) that need to be rotated and adjusted (e.g., devices selected in batches);

[0056] C. Iterate the devices in the device set s1 and call the rotation adjustment algorithm of the specified reference point in turn to adjust the device to the specified position.

[0057] Algorithm for rotation adjustment with a specified reference point:

[0058] Graphics devices:

[0059] A. Take point P(x0,y0) as the reference point, rotate the position point(x,y) (of the primitive device X and Y) by 90 degrees, and get the position after the rotation and offset by 90 degrees;

[0060] B. Update the device's position to the adjusted new position, and rotate it 90 degrees based on the original angle, because the first rotation offset of 90 degrees is only the rotation of the device's position, and the second 90-degree rotation is the rotation of the device itself;

[0061] C. The connecting line rotates and adjusts;

[0062] Connection line:

[0063] A. Take point P(x0,y0) as the reference point, rotate and offset each point(x,y) in the connecting line points by 90 degrees in turn, and get the new position after rotation and offset by 90 degrees;

[0064] B. Update the position of the connecting line to the adjusted position.

[0065] Rotation adjustment algorithm:

[0066] Javascript algorithm implementation:

[0067]

[0068]

[0069] Method Description:

[0070] parameter:

[0071] angle, the angle of rotation offset;

[0072] x0, the horizontal coordinate of the reference point;

[0073] y0, the ordinate of the reference point;

[0074] point, initial position description, format {x: horizontal coordinate, y: vertical coordinate};

[0075] Return value:

[0076] Description of the adjusted position, in the format of {x: horizontal coordinate, y: vertical coordinate};

[0077] (1) Input the rotation angle, the reference point coordinates, and the initial position of the device to be rotated and deflected;

[0078] (2) Convert the rotation angle into radians according to the above formula (1);

[0079] (3) calculating the offset between the coordinate position of the reference point and the initial position of the device according to the above formulas (2) and (3), that is, calculating the offset between the initial position of each device in the line branch and the reference point position coordinates according to the initial position coordinates of each device in the line branch and the reference point position coordinates respectively;

[0080] (4) calculating the displacement of the device offset according to the above formulas (4) and (5), that is, calculating the displacement of each device offset in the line branch according to the offset between the initial position of each device in the line branch and the reference point position and the rotation angle of the line branch;

[0081] (5) Calculate the position coordinates of the device after deflection according to formulas (6) and (7), that is, calculate the position coordinates of each device in the line branch after rotation according to the displacement of each device in the line branch and the position coordinates of the reference point, and use them as the designated position coordinates.

[0082] Specifically, respectively calculating the offset between the initial position of each device in the line branch and the reference point position includes: taking the difference between the horizontal coordinate of the initial position of each device in the line branch and the horizontal coordinate of the reference point position as the horizontal coordinate offset; taking the difference between the vertical coordinate of the initial position of each device in the line branch and the vertical coordinate of the reference point position as the vertical coordinate offset.

[0083] Specifically, respectively calculating the displacement of each device offset in the line branch includes: taking (the product of the horizontal coordinate offset and the cosine rotation angle)-(the product of the vertical coordinate offset and the sine rotation angle) as the horizontal coordinate displacement of the line branch rotation offset; taking (the product of the vertical coordinate offset and the cosine rotation angle)-(the product of the horizontal coordinate offset and the sine rotation angle) as the vertical coordinate displacement of the line branch rotation offset.

[0084] Specifically, taking the position of the reference point as the adjustment reference point, calling the adjustment algorithm in sequence to adjust the multiple devices contained in the line branch from the initial position coordinates to the specified position index includes: adjusting each device in the line branch from the initial position coordinates to the rotated position coordinates of each device calculated according to the rotation algorithm in sequence.

[0085] 2. Vertically adjust the line branches of the power system single-line diagram:

[0086] See also Figure 2 According to the vertical adjustment instruction of "taking point P as the reference point, vertically deflect and adjust the branch [CD] above the reference point P" input by the power engineering personnel, the vertical adjustment parameters are determined, including:

[0087] a) reference point P;

[0088] b) A collection of devices (C, D) that require vertical deflection adjustment.

[0089] The device set (C, D) is adjusted to a new position by folding it vertically from the reference point P. That is, with y=y0 as a horizontal reference line, the devices in the set are adjusted to the position after the horizontal reference line is folded, so as to obtain Figure 4 The vertically adjusted single-line diagram of the power system is shown.

[0090] Data structure:

[0091]

[0092]

[0093] The overall steps of the algorithm are:

[0094] A. Get and record the position of the reference point P; (e.g. the position triggered by the right-click menu event of the mouse)

[0095] B. Obtain the branch device set s (C, D) that needs vertical deflection adjustment

[0096] C. Iterate the devices in the device set s and call the vertical adjustment algorithm of the specified reference point in turn to adjust the device to the specified position.

[0097] Vertical adjustment algorithm for a specified reference point:

[0098] Graphics devices:

[0099] A. Take y=y0 as the reference line, fold the position point (x, y) (of the graphic element device) in half vertically to obtain the position after folding in half vertically;

[0100] B. Update the device's position to the new position, and rotate it 180 degrees based on the original angle;

[0101] C. Vertical follow-up adjustment of connecting line;

[0102] Connection line:

[0103] A. Take y=y0 as the reference line, and fold each point (x, y) in the connecting line points in the vertical direction to get the position after the vertical fold;

[0104] B. Update the position of the connecting line to the new position;

[0105] Station Building:

[0106] A. Calculate the center point of the station building;

[0107] B. Take y=y0 as the reference line, fold the center point of the station building (point (x, y)) in half vertically to obtain the position after folding in half vertically;

[0108] C. Calculate the vertical offset dy based on the initial position of the center point and the position after folding in the vertical direction; (the horizontal offset dx=0).

[0109] Vertical adjustment algorithm:

[0110]

[0111]

[0112] Method Description:

[0113] parameter:

[0114] x0, the horizontal coordinate of the reference point;

[0115] y0, the ordinate of the reference point;

[0116] point, initial position description, format {x: horizontal coordinate, y: vertical coordinate};

[0117] Return value:

[0118] Description of the adjusted position, in the format of {x: horizontal coordinate, y: vertical coordinate};

[0119] (1) Input the position coordinates of the reference point and the initial position coordinates of the equipment set;

[0120] (2) the x-coordinate of the device after adjustment is equal to the x-coordinate of the initial position of the device, that is, the initial position abscissa of each device in the line branch is equal to the abscissa of the position of each device in the line branch after horizontal adjustment in the abscissa direction;

[0121] (3) The coordinates in the y direction after adjustment can be calculated according to formula (1), that is, according to the initial position ordinate of each device in the line branch and the reference point position ordinate, the position ordinate of each device in the line branch in the ordinate direction after horizontal adjustment is calculated respectively.

[0122] (4) The calculated horizontal coordinate of the position of each device in the line branch after vertical adjustment in the horizontal coordinate direction and the vertical coordinate of the position in the vertical coordinate direction are used as the designated position coordinates of each device.

[0123] 3. Horizontal adjustment of line branches of the power system single line diagram:

[0124] like Figure 2 As shown, according to the horizontal adjustment instruction of "taking point P as the reference point, horizontally deflect and adjust the branch [ABF] on the right side of the reference point P" input by the power engineering personnel, the horizontal adjustment parameters are determined, including:

[0125] a) reference point P;

[0126] b) Equipment set s (A, B, X, Y, Z, F, L) that requires horizontal deflection adjustment.

[0127] Fold the device set s horizontally to the new position with reference to point P. That is, with x=x0 as a vertical reference line, adjust the devices in the set to the position after the vertical reference line is folded, so as to obtain Figure 5 The single-line diagram of the power system after horizontal adjustment is shown.

[0128] Data structure:

[0129]

[0130]

[0131] The overall steps of the algorithm are:

[0132] A. Get and record the position of the reference point P (x0, y0); (e.g. the position where the right-click menu event is triggered)

[0133] B. Get the branch device set s (A, B, X, Y, Z, F, L) that needs horizontal deflection adjustment

[0134] C. Call the filtering method to optimize the branch device set s1 (A, B, F) that needs to be adjusted in the end

[0135] D. Iterate the devices in the device set s1 and call the horizontal adjustment algorithm of the specified reference point in turn to adjust the device to the specified position.

[0136] Algorithm for horizontal adjustment with specified reference point:

[0137] Graphics devices:

[0138] A. Take x=x0 as the reference line, fold the position point (x, y) (of the graphic element device) in half horizontally to obtain the position after folding in half horizontally;

[0139] B. Update the device's position to the new position, and rotate it 180 degrees based on the original angle;

[0140] C. The connecting line is adjusted horizontally;

[0141] Connection line:

[0142] A. Take x=x0 as the reference line, fold each point (x, y) in the connecting line points horizontally in turn to obtain the position after folding in the horizontal direction; update the position of the connecting line to the new position;

[0143] Station Building:

[0144] A. Calculate the center point of the station building;

[0145] B. Take x=x0 as the reference line, fold the center point of the station building (point (x, y)) in half horizontally to obtain the position after folding in half horizontally;

[0146] C. Calculate the horizontal offset dy based on the initial position of the center point and the position after folding in the horizontal direction, and then adjust the station building F horizontally as a whole.

[0147] Horizontal adjustment method of graphic element devices:

[0148]

[0149] Method Description:

[0150] parameter:

[0151] x0, the horizontal coordinate of the reference point;

[0152] y0, the ordinate of the reference point;

[0153] point, initial position description, format {x: horizontal coordinate, y: vertical coordinate};

[0154] Return value:

[0155] Description of the adjusted position, in the format of {x: horizontal coordinate, y: vertical coordinate};

[0156] (1) Input the position coordinates of the reference point and the initial position coordinates of the equipment set;

[0157] (2) calculating the position coordinates of the device in the x direction after adjustment according to formula (1), that is, calculating the position coordinates of each device in the line branch in the ordinate direction after horizontal adjustment according to the initial position coordinates of each device in the line branch and the reference point position coordinates;

[0158] (3) The position coordinate of the device in the y direction is equal to the y direction coordinate of the initial position of the device;

[0159] (4) The calculated horizontal coordinate of the position of each device in the line branch after vertical adjustment in the horizontal coordinate direction and the vertical coordinate of the position in the vertical coordinate direction are used as the designated position coordinates of each device.

[0160] In addition, the present invention also discloses a storage device for storing a program that can be executed by a computing device and is used to implement the above-mentioned line branch adjustment method of the single-line diagram of the power system.

[0161] The present invention can adjust the devices on the branch quickly and in batches, thus reducing the workload of users in adjusting the branch lines.

[0162] Although the present invention is described in detail above, the present invention is not limited thereto, and those skilled in the art can make various modifications based on the principles of the present invention. Therefore, all modifications made based on the principles of the present invention should be understood to fall within the protection scope of the present invention.

Claims

1. A method for adjusting line branches of a single-line diagram of a power system, characterized in that: include: Generate a single-line diagram of the power system according to the topological structure and drawing standards of the power system; According to the input line branch adjustment instruction, determine in the generated power system single-line diagram a plurality of devices contained in the line branch that needs to be and can be adjusted and a reference point for adjusting the line branch; Obtaining, from the power system single-line diagram, the initial position coordinates of a plurality of devices contained in the line branch that are required and can be adjusted and the position coordinates of the reference point; Taking the position coordinates of the reference point as the adjustment point, calling a rotation adjustment algorithm for rotating the line branch to adjust the multiple devices included in the line branch from the initial position coordinates to the specified position coordinates; The rotation adjustment algorithm for rotating the line branch includes: Calculate the offset between the initial position of each device in the line branch and the reference point position coordinates according to the initial position coordinates of each device in the line branch and the reference point position coordinates; Calculate the displacement of each device in the line branch according to the offset between the initial position of each device in the line branch and the reference point position and the rotation angle of the line branch; According to the displacement of each device in the line branch and the position coordinates of the reference point, the position coordinates of each device in the line branch after rotation are calculated and used as the designated position coordinates.

2. The line branch adjustment method according to claim 1, characterized in that: Calculating the offset between the initial position of each device in the line branch and the reference point position includes: The difference between the initial position abscissa of each device in the line branch and the abscissa of the reference point position is used as the abscissa offset; The difference between the initial position ordinate of each device in the line branch and the reference point position ordinate is used as the ordinate offset.

3. The line branch adjustment method according to claim 2, characterized in that: Calculating the displacement of each device in the line branch separately includes: The product of the horizontal coordinate offset and the cosine rotation angle minus the product of the vertical coordinate offset and the sine rotation angle is used as the horizontal coordinate displacement of the line branch rotation offset; The product of the ordinate offset and the cosine rotation angle minus the product of the abscissa offset and the sine rotation angle is used as the ordinate displacement of the line branch rotation offset.

4. The line branch adjustment method according to claim 2 or 3, characterized in that: The method of using the position of the reference point as the adjustment reference point and sequentially calling the adjustment algorithm to adjust the multiple devices contained in the line branch from the initial position coordinates to the specified position index includes: Each device in the line branch is adjusted in sequence from the initial position coordinates to the position coordinates of each device after rotation calculated according to the rotation adjustment algorithm.

5. A method for adjusting line branches of a single-line diagram of a power system, characterized in that: include: Generate a single-line diagram of the power system according to the topological structure and drawing standards of the power system; According to the input line branch adjustment instruction, determine in the generated power system single-line diagram a plurality of devices contained in the line branch that needs to be and can be adjusted and a reference point for adjusting the line branch; Obtaining, from the power system single-line diagram, the initial position coordinates of a plurality of devices contained in the line branch that are required and can be adjusted and the position coordinates of the reference point; Taking the position coordinates of the reference point as the adjustment point, calling a vertical adjustment algorithm for vertically adjusting the line branch to adjust the multiple devices included in the line branch from the initial position coordinates to the specified position coordinates; The vertical adjustment algorithm for vertically adjusting the line branch includes: According to the initial position ordinate of each device in the line branch and the reference point position ordinate, respectively calculate the position ordinate of each device in the line branch in the ordinate direction after horizontal adjustment; The initial position abscissa of each device in the line branch is equal to the position abscissa of each device in the line branch after horizontal adjustment in the abscissa direction; The calculated horizontal coordinate of the position of each device in the line branch in the horizontal coordinate direction and the vertical coordinate of the position in the vertical coordinate direction are used as the designated position coordinates of each device.

6. The line branch adjustment method according to claim 5, characterized in that: The method of using the position of the reference point as the adjustment reference point and sequentially calling the adjustment algorithm to adjust the multiple devices contained in the line branch from the initial position coordinates to the specified position index includes: Each device in the line branch is sequentially vertically adjusted from an initial position to a designated position coordinate of each device calculated according to the vertical adjustment algorithm.

7. A method for adjusting line branches of a single-line diagram of a power system, characterized in that: include: Generate a single-line diagram of the power system according to the topological structure and drawing standards of the power system; According to the input line branch adjustment instruction, determine in the generated power system single-line diagram a plurality of devices contained in the line branch that needs to be and can be adjusted and a reference point for adjusting the line branch; Obtaining, from the power system single-line diagram, the initial position coordinates of a plurality of devices contained in the line branch that are required and can be adjusted and the position coordinates of the reference point; Taking the position coordinates of the reference point as the adjustment point, calling the horizontal adjustment algorithm for horizontally adjusting the line branch to adjust the multiple devices included in the line branch from the initial position coordinates to the specified position coordinates; The horizontal adjustment algorithm for horizontally adjusting the line branch includes: According to the initial position abscissa of each device in the line branch and the reference point position abscissa, respectively calculating the position abscissa of each device in the line branch in the abscissa direction after horizontal adjustment; The initial position ordinate of each device in the line branch is equal to the position ordinate of each device in the line branch in the ordinate direction after horizontal adjustment; The calculated horizontally adjusted position abscissa of each device in the line branch in the abscissa direction and the position ordinate of each device in the ordinate direction are used as the designated position coordinates of each device.

8. The line branch adjustment method according to claim 7, characterized in that: The method of using the position of the reference point as the adjustment reference point and sequentially calling the adjustment algorithm to adjust the multiple devices contained in the line branch from the initial position coordinates to the specified position index includes: Each device in the line branch is adjusted horizontally from the initial position to the designated position coordinates of each device calculated according to the horizontal adjustment algorithm in sequence.

9. A storage device for storing a program executable by a computing device for implementing the line branch adjustment method of the power system single-line diagram as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Automatic layout method of distribution single line diagram in grid geographic information system

    CN102402634A

  • Power distribution network single line diagram generation method and device and storage medium

    CN112685868A

  • System and process for automated circuiting and branch circuit wiring

    US20120221986A1