CN112398224B - Method and system for overall layout of ring network model in distribution ring network diagram - Google Patents

Method and system for overall layout of ring network model in distribution ring network diagram Download PDF

Info

Publication number
CN112398224B
CN112398224B CN202011260153.1A CN202011260153A CN112398224B CN 112398224 B CN112398224 B CN 112398224B CN 202011260153 A CN202011260153 A CN 202011260153A CN 112398224 B CN112398224 B CN 112398224B
Authority
CN
China
Prior art keywords
branch
layout
equipment
ring network
branches
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
CN202011260153.1A
Other languages
Chinese (zh)
Other versions
CN112398224A (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.)
Shandong Luruan Digital Technology Co Ltd
Original Assignee
Shandong Luruan Digital 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 Shandong Luruan Digital Technology Co Ltd filed Critical Shandong Luruan Digital Technology Co Ltd
Priority to CN202011260153.1A priority Critical patent/CN112398224B/en
Publication of CN112398224A publication Critical patent/CN112398224A/en
Application granted granted Critical
Publication of CN112398224B publication Critical patent/CN112398224B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00001Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by the display of information or by user interaction, e.g. supervisory control and data acquisition systems [SCADA] or graphical user interfaces [GUI]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/20Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]
    • 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
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/40Display of information, e.g. of data or controls

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Power Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and a system for overall layout of a ring network model in a distribution ring network diagram, which belong to the field of distribution automation.A coordinate position of equipment in each line model is automatically calculated according to a set service rule by analyzing the topology of the equipment contained in a line model of the ring network diagram, and the layout among lines is adjusted, so that the drawing efficiency is greatly improved, the formed image meets the service specification, the equipment layout is reasonable and attractive, and the logical relationship is clear and accurate; the method comprises the steps that a layout branch object with a hierarchical structure is established through deep traversal of topological structures of a station house and external equipment, and equipment calculation of a line model can be achieved through self-defining parameters such as distances among branches of different levels, distances among branches of the station house and the branches, and distances among internal equipment of the branches; and the layout of a plurality of line models is realized through the integral translation of the line models, so that the integral layout of the ring network models is completed.

Description

Overall layout method and system for ring network model in distribution ring network diagram
Technical Field
The disclosure relates to the field of distribution automation, and in particular relates to an overall layout method and system for a ring network model in a distribution ring network diagram.
Background
The statements in this section merely provide background information related to the present disclosure and may not constitute prior art.
Distribution automation is an important component of intelligent distribution network development, is an important means for improving power supply reliability, improving high-quality service level and improving lean management level of a distribution network, and is a necessary trend of modernization and intelligent development of the distribution network. In order to assist post workers such as operation inspection and scheduling to design, operate, analyze, overhaul, schedule electric energy and the like on a distribution network and improve the working efficiency, the topology of a distribution network line needs to be graphically displayed, and the used service type diagrams include a single line diagram, a ring network diagram, an in-station wiring diagram and the like.
The ring network diagram is a distribution network service diagram frequently used by distribution network service personnel, and focuses attention on the contact relationship among the interior of a station house, the station house and electric equipment parts among lines. Through the analysis of the power supply structure of the ring network diagram, the operation efficiency and the power supply reliability of the ring network of the power distribution network can be improved, the power quality level of the power distribution network is improved, and the like.
The inventor of the present disclosure finds that, in view of the characteristics of complexity of the ring network line model, a large number of devices, and the like, the traditional manual drawing of the service graph has huge workload and is easy to make mistakes, and the timeliness and the accuracy of the service graph are seriously reduced.
Disclosure of Invention
In order to solve the defects of the prior art, the invention provides a method and a system for overall layout of a ring network model in a distribution ring network diagram.
In order to achieve the purpose, the following technical scheme is adopted in the disclosure:
the disclosure provides, in a first aspect, an overall layout method for a ring network model in a distribution ring network diagram.
A method for integrally arranging a ring network model in a distribution ring network diagram comprises the following steps:
the method comprises the steps that each looped network diagram branch is laid out, and a plurality of layout branches are generated for the off-site equipment according to the obtained connection relation and business knowledge;
obtaining the hierarchy of each layout branch for determining the vertical coordinate of the branch according to the connection relation and the service meaning of each layout branch;
starting with the first equipment of each ring network diagram branch, sequentially distributing the equipment according to the sequence of the equipment in the ring network diagram branch, and determining the abscissa and the ordinate of each equipment of the branch;
and determining the relative position of each device according to the sequence of each branch in the looped network diagram branch and the size of the externally-wrapped rectangle and the longitudinal distance parameter between the branches.
Further, whether each branch can move transversely is judged, if the branch can move transversely, the transverse offset distance of the head equipment is determined according to the connection condition of the head equipment, the displacement movement is carried out on all equipment objects of the branch, and the absolute abscissa of each equipment of the branch is determined.
As some possible implementation manners, each layout branch generation method includes:
traversing the equipment objects in the ring network diagram branches in sequence;
acquiring non-station room equipment connected with current station room equipment, and generating a connected station-outside same-branch equipment set;
sequencing the connected device set;
establishing a layout branch set by taking each device in the connection device set as a first device of a corresponding layout branch;
traversing each layout branch in the layout branch set from the first layout branch, performing deep search, and adding single equipment outside other same branch stations which are connected with the traversed layout branch subsequently;
generating a same-branch equipment set connected with nodes detected by the current layout branch, and sequencing the equipment in the set according to the name hierarchy and the business relation;
adding a first device node in the set into the current layout branch, continuing the current branch, taking the rest devices as first devices of the layout branch, and establishing a layout branch set;
detecting single switch equipment which is not distributed with branch layout in the branch, sequencing the single switch equipment sets which are not distributed with branch layout, and sequencing the single switch equipment sets according to the sequence of the equipment in the sets in the branch of the ring network diagram;
and selecting the first equipment in the single switch equipment set in the last step to generate a layout branch, and turning to the step of generating the same branch equipment set connected with the node detected by the current layout branch to continue deep exploration.
As a further limitation, the external connection terminal of the station room equipment is used for traversing the connection relation deeply according to the acquired connection relation, and generating a connected external same branch equipment set.
By way of further limitation, the parent device of each layout branch in the layout branch set established by connecting each device in the device set as the first device of the corresponding layout branch is taken as the station room device object.
By way of further limitation, the parent device of the device in the layout branch set established by the rest devices as the first device of the layout branch is the current detection node.
As some possible implementations, the hierarchical obtaining method of the layout branch includes:
acquiring all layout branch objects and caching the layout branch objects into a layout branch set;
grouping the layout branches in the layout branch set, wherein the grouping principle is the equidirectional layout branch of the same father device;
judging whether grouping is finished, if so, entering the next step, and if not, continuously grouping the layout branches in the layout branch set;
on the basis of grouping results, circulating each group of layout branch combination, and calculating the hierarchy of the layout branches contained in each group;
selecting each layout reference branch in the current layout branch group to obtain a reference layout branch set, wherein in the reference layout branch set, equipment comprising a non-branch switch is selected as a main reference layout branch, and if the equipment in the layout branch set is all branch switches, the main reference layout branch is selected according to a business relation;
calculating the hierarchy of the layout main branches;
calculating the levels of the layout main branch and the deep layout subbranch thereof, and calculating the levels of the subbranch thereof by taking the main reference layout branch as a central point; if the level of the main reference layout branch is zero, if the main reference layout branch is above the station house, the level of the branch above the main reference layout branch is gradually reduced, and the level of the branch below the main reference layout branch is gradually increased;
after the main reference layout calculation is finished, the levels of all the reference branches and the sub-branches thereof are calculated step by step towards two sides by taking the main reference layout branch as a center;
and judging whether a layout branch group with an uncomputed hierarchy exists, if so, continuing to calculate the hierarchy of the layout branch, and if not, ending.
As some possible implementations, a layout method of a device includes:
initializing parameters such as position information of equipment in a branch, equipment layout direction information, a reference branch base line, a branch starting point and the like;
executing the internal layout of the station room equipment in the branch, and calculating the vertical coordinate of the reference branch according to the size of each station room and the hierarchy information of the branch;
traversing equipment in a ring network branch, and executing equipment layout position calculation;
judging whether the equipment is station room equipment, if the equipment is the station room equipment, calculating the position of the station room, if the equipment is the first equipment, the position is a branch starting point, otherwise, calculating the position of the current station room according to the equipment space parameter information of the station room and the layout information of the previous station room and the effective off-station equipment;
if the station building equipment is not the station building equipment, determining a vertical coordinate according to the level of the layout branch where the equipment is located, and determining a reference position according to the connection relation of the left side of the current equipment by using a horizontal coordinate;
and judging whether the devices which are not laid out exist, if so, directly jumping to the step of judging whether the devices are station room devices to continue laying out, and if not, finishing the layout of the devices.
A second aspect of the present disclosure provides an overall layout system of a ring network model in a distribution ring network diagram.
An overall layout system of a ring network model in a distribution ring network diagram, comprising:
a layout branch acquisition module configured to: the method comprises the steps that each looped network diagram branch is laid out, and a plurality of layout branches are generated for the off-site equipment according to the obtained connection relation and business knowledge;
a layout branch hierarchy acquisition module configured to: obtaining the hierarchy of each layout branch for determining the vertical coordinate of the branch according to the connection relation and the service meaning of each layout branch;
a device coordinate acquisition module configured to: starting with the first equipment of each ring network diagram branch, sequentially distributing the equipment according to the sequence of the equipment in the ring network diagram branch, and determining the abscissa and the ordinate of each equipment of the branch;
a device relative position acquisition module configured to: and determining the relative position of each device according to the sequence of each branch in the ring network diagram branches and the size of the outer-wrapping rectangle through the longitudinal distance parameters between the branches.
Further, the device absolute coordinate acquisition module is further included and configured to: judging whether each branch can move transversely, if so, determining the transverse offset distance of the head equipment according to the connection condition of the head equipment, executing displacement movement on all equipment objects of the branch, and determining the absolute abscissa of each equipment of the branch.
A third aspect of the present disclosure provides a computer-readable storage medium, on which a program is stored, wherein the program, when executed by a processor, implements the steps in the overall layout method of the ring network model in the distribution ring network diagram according to the first aspect of the present disclosure.
A fourth aspect of the present disclosure provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor, where the processor executes the program to implement the steps in the overall layout method of the ring network model in the power distribution ring network diagram according to the first aspect of the present disclosure.
Compared with the prior art, the beneficial effect of this disclosure is:
1. according to the method, the system, the medium or the electronic equipment, the coordinate position of the equipment in each line model is calculated automatically according to the established business rule through the topological analysis of the equipment contained in the ring network graph line model, and the layout among lines is adjusted, so that the drawing efficiency is greatly improved, the formed image meets the business specification, the equipment layout is reasonable and attractive, and the logic relationship is clear and accurate.
2. According to the method, the system, the medium or the electronic equipment, the layout branch object with the hierarchical structure is established through the depth traversal of the topological structures of the station house and the equipment outside the station house, and the equipment calculation of a line model can be realized through self-defining parameters such as the distance between branches in different levels, the distance between branches of the station house and the equipment inside the branches and the like; and the layout of a plurality of line models is realized through the integral translation of the line models, so that the integral layout of the ring network models is completed.
3. The method, the system, the medium or the electronic equipment automatically analyze the topology of the equipment according to the acquired connection relation, accurately reflect the connection relation between the equipment and do not need manual participation; the station rooms in the branches provide multiple alignment modes, so that the service personnel can read the images conveniently; the single-class switch equipment outside the station is arranged in a layered mode, the connection relation is clear and easy to read, and the business rules of 'one main line and one line' and the like are followed; and flexible layout parameter setting, such as equipment room (station room spacing, switch spacing and the like), layout branch adjacent layer spacing, branch spacing and other parameters can be flexibly configured.
Advantages of additional aspects of the disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the disclosure.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a schematic flow chart of an overall layout method of a ring network model in a distribution ring network diagram according to embodiment 1 of the present disclosure.
Fig. 2 is a schematic flow chart of a layout branch generation method provided in embodiment 1 of the present disclosure.
Fig. 3 is a schematic flow chart of a method for calculating a hierarchy of layout branches according to embodiment 1 of the present disclosure.
Fig. 4 is a schematic structural diagram of a layout branch grouping provided in embodiment 1 of the present disclosure.
Fig. 5 is a schematic flowchart of a device layout method provided in embodiment 1 of the present disclosure.
Detailed Description
The present disclosure is further illustrated by the following examples in conjunction with the accompanying drawings.
It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the disclosure. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments according to the present disclosure. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, and it should be understood that when the terms "comprises" and/or "comprising" are used in this specification, they specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof, unless the context clearly indicates otherwise.
The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
Example 1:
the embodiment 1 of the present disclosure provides an overall layout method for a ring network model in a distribution ring network diagram, which autonomously calculates coordinate positions of devices in each line model and adjusts layout among lines by performing topology analysis on the devices included in a line model of the ring network diagram and according to a predetermined service rule, such as "one main line", hierarchical layout of ring network devices, and the like. The drawing efficiency is greatly improved, and the drawn image meets the requirements of service specification, reasonable and attractive equipment layout, clear and accurate logic relationship and the like;
the layout branch object with a hierarchical structure is established by traversing the topological structures of the station house and the equipment outside the station house deeply, and the equipment calculation of a line model can be realized by self-defining parameters such as the distance between branches of different levels, the distance between the branches of the branch and the station house, the distance between equipment inside the branch and the like. And the layout of a plurality of line models is realized through the integral translation of the line models, so that the integral layout of the ring network models is completed.
The term used in this embodiment is explained as follows:
branching a ring network diagram: and the ring network graph model files have the same equipment object set with the branch attribute. The device nodes in the same ring network diagram branch belong to the same line physically (in the implementation of the algorithm, no wire-type device is added to the ring network diagram branch object).
A single device: compared with the station house type equipment, the single equipment is non-container type equipment, such as a switch, a fault indicator, a lead wire type equipment and the like.
An interconnection switch: refers to a switching device that connects two branches. The switches are connected to the other branches directly through wire-like devices, rather than indirectly through other non-wire-like devices.
Ring network layout branching: when the devices in the same layout branch are arranged in a graph, the device terminals directly connected have the same vertical coordinate. For example, { S1, S2, S3, S4, … } is a layout branch, in which S1 is directly connected to S2, S2 is directly connected to S3, and so on.
The algorithm constraints involved in this embodiment are as follows:
before the layout of the station houses and the equipment outside the station houses is carried out, the branch objects and the equipment inside the station houses need to be preprocessed through business analysis:
1) according to the branch of the equipment model, the equipment objects in the model are split and combined and stored in HWJTBarch branch objects (no wire equipment is included, such as overhead wires, cable wires and the like);
2) according to the connection relation between the inner part and the outer part of the station room equipment in the branch, the equipment in the station room is already distributed, and the coordinates in the station room are relative coordinates taking the upper left corner of the station room as an origin;
3) sequencing the devices in the branches according to the acquired connection relation and the business hierarchical relation;
4) according to the obtained connection relation, in order to reduce the length, the intersection and the like of the connection lines among the branches, the sequence among the branches is optimized and sequenced;
5) the wire segment equipment needs to calculate a path according to the position of the connected equipment, and a complex path planning algorithm, a multipath optimization weight design and the like are needed. The algorithm only carries out positioning layout on the non-line segment type equipment.
The overall design scheme of the method is shown in figure 1, and the specific steps comprise the following flows:
s1: each looped network branch model object in the looped network diagram branch combination object Barchgroup is distributed aiming at each looped network diagram branch object;
s2: aiming at the off-site equipment, generating a plurality of layout branch objects according to the acquired connection relation and the acquired business knowledge, wherein each off-site equipment must have the layout branch object to which the off-site equipment belongs;
s3: calculating the Level of each layout branch according to the connection relation and the business meaning of each layout branch, wherein the Level determines the longitudinal coordinate of each branch;
s4: starting with the head equipment of each looped network simplified diagram branch HWJTBarch, sequentially laying out the equipment from left to right according to the sequence of the equipment in the HWJTBarch, determining the horizontal coordinate and the vertical coordinate of each equipment of the branch according to a layout strategy (such as the alignment of the central vertical coordinates of a station house, one line of a main line and the like), and positioning the relative position of the equipment;
s5: determining the relative position of each device through the self-defined longitudinal distance parameter between the branches according to the sequence of each branch in the HWJTBarch and the size of the outer wrapping rectangle;
s6: and judging whether each branch can move transversely according to the service requirement, determining the transverse offset distance of the head equipment according to the connection condition of the head equipment which can move transversely, and executing displacement movement on all equipment objects of the branch so as to determine the absolute abscissa of each equipment of the branch.
After the 6 steps of processing, each non-wire type device has absolute coordinates, namely the layout is finished.
The following three sub-algorithms are important to the above algorithm: and describing three algorithms of layout branch generation, layout branch Level calculation and equipment layout respectively.
The flow of the layout branch generation algorithm is shown in fig. 2, and includes the following steps:
s2.1: device objects in the hwjtbar are traversed in order, since the layout of the station house is more fixed: the station rooms with the same branch are unfolded from left to right according to the connection relationship; but the single switch equipment outside the station house needs to be arranged in multiple layers according to the acquired connection relation; in order to reasonably arrange a single device outside a station, firstly, an arrangement branch with a station room device as a parent device is established;
s2.2: acquiring non-station room equipment connected with current station room equipment: through an external connection terminal of the station room equipment, according to the acquired connection relation, deeply traversing the connection relation, and generating a connected station external common branch equipment set;
s2.3: connecting device set ordering: when a plurality of devices are connected to a station building, the plurality of devices in the set need to be sequenced according to the service relationship and the connection relationship; currently ordering devices according to name hierarchy, ordering of the same name hierarchy according to their order in HWJTBarch;
s2.4: generating a layout branch set: establishing a layout branch set by taking each device in the connection device set as a first device of a corresponding layout branch; the father device of each layout branch in the set is a station room device object in [ S2.2 ];
s2.5: starting from the first layout branch, each layout branch in the set of layout branches is traversed: depth search, adding other single devices outside the same branch station which are connected with the traversed layout branch subsequently;
s2.6: generating a same-branch equipment set connected with nodes detected by the current layout branch, and sequencing the equipment in the set according to the name hierarchy and the business relation;
s2.7: since only one device is included in the set, this device is added to the current layout branch;
s2.8: adding a first device node in the set into the current layout branch, and continuing the current branch; and the other devices are used as the first devices of the layout branches, a layout branch set is established, and the father device of the devices in the set is the current detection node in the [ S2.6 ]. And continuing [ S2.5] to perform deep exploration;
s2.9: since there may be devices in hwjtj barkh that do not have a connection to the premises, it is necessary to detect a single switch class device in the branch that has not yet been assigned a branch topology;
s2.10: ordering the single switch class equipment set without distributed layout branches: ordering by the order of the devices in the set in HWJTBarch;
s2.11: and selecting the first device in the [ S2.10] set to generate a layout branch, and turning to [ S2.6] to continue the deep exploration.
The hierarchical calculation algorithm of the layout branch is used for calculating the hierarchy of the layout branch, and whether the layout of a single type of switch equipment outside a station is reasonable or not has a great influence on the mapping effect. The good layout of the equipment outside the station can clearly see the contact relation between the stations and is beneficial to reading pictures by business personnel, thereby improving the working efficiency, reducing the path calculation time of a path planning algorithm and improving the mapping efficiency. The flow of the layout branch level calculation algorithm is shown in fig. 3, and includes the following steps:
s3.1: acquiring all layout branch HWJTLayouutBarch objects, and caching the objects into a layout branch set TMPLAyoutBarches;
s3.2: the layout branches in tmplayout barkies are grouped, the grouping principle is the same-direction layout branch of the same father device, as shown in fig. 4, a plurality of branches are located above the station house:
{ S1, S2, S3} \ { S2-1} \ { S2-2} \ { S2-3} \ { S1-2} \ { S4-1} \ { S5-1}, the parent devices of these branches (or the parent device of the layout branch where the parent device is located, and so on) are BDZs and all over the site;
{ B1, B2} \ { B1-1} \ { B2-1} is a group because its parent devices are all traceable to the BDZ and are all below the site room;
s3.3: judging whether the grouping is finished, if so, directly performing S3.4, and if not, continuously grouping the layout branches in the TMPLAyoutBarches;
s3.4: based on the grouping of [ S3.2], circulating each group of layout branch combination, and calculating the Level of the layout branches contained in each group;
s3.5: picking up each layout reference branch in the current layout branch group, wherein the parent device is the reference branch of the layout branch of the station house, such as { S1, S2, S3} \ { S1-2} \ { S4-1} \ { S5-1} in FIG. 4; in the reference layout branch set, non-branch switching devices are selected as main reference layout branches according to the business rules, such as { S1, S2, S3 }; if all the equipment in the layout branch set are branch switches, selecting a main reference layout branch according to the business relationship;
s3.6: calculating the Level of the layout main branch, namely the Level of the main reference layout branch, and setting the default to 0; since the main reference layout branch is possibly above or below the layout branches of other calculated hierarchies, the hierarchy of the current layout main branch needs to be determined according to the coverage range between the branch head device and the parent device;
s3.7: calculating the Level of the layout main branch and the deep layout subbranch thereof, and calculating the Level of the subbranch by taking the main reference layout branch as a central point; if the level of the main reference layout branch is 0, if the main reference layout branch is above the station room, the level of the branch above the main reference layout branch is gradually reduced, and the level of the branch below the main reference layout branch is gradually increased;
s3.8: after the main reference layout calculation is finished, the levels of all the reference branches and the sub-branches thereof are calculated step by step towards two sides by taking the main reference layout branch as a center, and the calculation method is the same as [ S3.7 ];
s3.9: and judging whether a layout branch group with an uncomputed hierarchy exists, if so, continuing to jump to S3.5 to continue to calculate the hierarchy of the layout branch, and if not, ending the algorithm program.
After the generation of the layout branch and the calculation of the hierarchy, the equipment in the ring network branch can be laid out. And (4) laying out the whole ring network model on the basis of the equipment layout algorithm.
The specific flow of the device layout algorithm is shown in fig. 5, and includes the following steps:
s4.1: initializing parameters such as position information of equipment in a branch, equipment layout direction information, a reference branch base line, a branch starting point and the like;
s4.2: executing the internal layout of the station room equipment in the branch, and calculating the vertical coordinate of the reference branch according to the size of each station room, the hierarchy Level of the branch and other information;
s4.3: traversing equipment in a ring network branch, and executing equipment layout position calculation;
s4.4: judging whether the equipment is station room equipment, if the equipment is the station room equipment, executing S4.5, and if the equipment is not the station room equipment, executing S4.6;
s4.5: calculating the position of the station house, wherein if the position is the first equipment, the position is the branch starting point, otherwise, the position of the current station house is calculated according to the layout information of the previous station house and the effective off-station equipment and the distance parameter information of the station house equipment;
s4.6: determining a vertical coordinate according to the Level of the layout branch where the equipment is located, and determining a reference position according to the connection relation of the left side of the current equipment by using an abscissa;
s4.7: and judging whether devices which are not laid out exist or not, if so, directly jumping to S4.4 to continue laying out, and if not, directly ending the algorithm program and finishing the device laying out.
Example 2:
the embodiment 2 of the present disclosure provides an overall layout system of a ring network model in a distribution ring network diagram, including:
a layout branch acquisition module configured to: the method comprises the steps that layout is conducted on each ring network diagram branch, and a plurality of layout branches are generated for the equipment outside the station according to the obtained connection relation and the service knowledge;
a layout branch hierarchy acquisition module configured to: obtaining the hierarchy of each layout branch for determining the vertical coordinate of the branch according to the connection relation and the service meaning of each layout branch;
a device coordinate acquisition module configured to: starting with the first equipment of each ring network diagram branch, sequentially distributing the equipment according to the sequence of the equipment in the ring network diagram branch, and determining the abscissa and the ordinate of each equipment of the branch;
a device relative position acquisition module configured to: determining the relative position of each device according to the sequence of each branch in the looped network diagram branch and the size of the externally-wrapped rectangle through the longitudinal distance parameter between the branches;
a device absolute coordinate acquisition module configured to: judging whether each branch can move transversely, if so, determining the transverse offset distance of the head equipment according to the connection condition of the head equipment, executing displacement movement on all equipment objects of the branch, and determining the absolute abscissa of each equipment of the branch.
The working method of the system is the same as the overall layout method of the ring network model in the distribution ring network diagram provided in embodiment 1, and details are not repeated here.
Example 3:
the embodiment 3 of the present disclosure provides a computer-readable storage medium, on which a program is stored, and when the program is executed by a processor, the program implements the steps in the overall layout method of the ring network model in the distribution ring network diagram according to the embodiment 1 of the present disclosure, where the steps include:
the method comprises the steps that layout is conducted on each ring network diagram branch, and a plurality of layout branches are generated for the equipment outside the station according to the obtained connection relation and the service knowledge;
obtaining the hierarchy of each layout branch for determining the vertical coordinate of the branch according to the connection relation and the service meaning of each layout branch;
starting with the first equipment of each ring network diagram branch, sequentially distributing the equipment according to the sequence of the equipment in the ring network diagram branch, and determining the abscissa and the ordinate of each piece of equipment;
determining the relative position of each device according to the sequence of each branch in the looped network diagram branch and the size of the externally-wrapped rectangle through the longitudinal distance parameter between the branches;
judging whether each branch can move transversely, if so, determining the transverse offset distance of the head equipment according to the connection condition of the head equipment, executing displacement movement on all equipment objects of the branch, and determining the absolute abscissa of each equipment of the branch.
The detailed steps are the same as the overall layout method of the ring network model in the distribution ring network diagram provided in embodiment 1, and are not described herein again.
Example 4:
an embodiment 4 of the present disclosure provides an electronic device, including a memory, a processor, and a program stored in the memory and capable of running on the processor, where the processor executes the program to implement steps in the overall layout method of the ring network model in the power distribution ring network diagram according to embodiment 1 of the present disclosure, where the steps include:
the method comprises the steps that each looped network diagram branch is laid out, and a plurality of layout branches are generated for the off-site equipment according to the obtained connection relation and business knowledge;
obtaining the hierarchy of each layout branch for determining the vertical coordinate of the branch according to the connection relation and the service meaning of each layout branch;
starting with the first equipment of each ring network diagram branch, sequentially distributing the equipment according to the sequence of the equipment in the ring network diagram branch, and determining the abscissa and the ordinate of each equipment of the branch;
determining the relative position of each device according to the sequence of each branch in the looped network diagram branch and the size of the externally-wrapped rectangle through the longitudinal distance parameter between the branches;
judging whether each branch can move transversely, if so, determining the transverse offset distance of the head equipment according to the connection condition of the head equipment, executing displacement movement on all equipment objects of the branch, and determining the absolute abscissa of each equipment of the branch.
The detailed steps are the same as the overall layout method of the ring network model in the distribution ring network diagram provided in embodiment 1, and are not described herein again.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure, and various modifications and changes may be made to the present disclosure by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present disclosure should be included in the protection scope of the present disclosure.

Claims (10)

1. The overall layout method of the ring network model in the distribution ring network diagram is characterized by comprising the following steps of:
generating a plurality of layout branches for the external equipment according to the acquired connection relation and the service knowledge;
obtaining the hierarchy of each layout branch for determining the vertical coordinate of the branch according to the connection relation and the service meaning of each layout branch;
starting with the first equipment of each ring network diagram layout branch, sequentially laying out the equipment according to the sequence of the equipment in the ring network diagram layout branch, and determining the abscissa and the ordinate of each piece of equipment in the branch, wherein the ring network diagram layout branch is a group of single equipment sets outside a station with a direct connection relation, and when the equipment in the same layout branch is laid out, the equipment terminals directly connected have the same ordinate;
and determining the relative position of each device according to the sequence of each branch in the ring network diagram layout branches and the size of the outer-wrapping rectangle and through the longitudinal distance parameters between the branches.
2. The method of claim 1, wherein the method for generating each branch of the distribution network comprises:
traversing the equipment objects in the ring network diagram branches in sequence;
acquiring non-station room equipment connected with current station room equipment, and generating a connected station-outside same-branch equipment set;
sequencing the connected device set;
establishing a layout branch set by taking each device in the connection device set as a first device of a corresponding layout branch;
traversing each layout branch in the layout branch set from the first layout branch, performing deep search, and adding other single devices outside the same branch station, which are connected with the traversed layout branch subsequently, wherein the single devices are non-container devices relative to the station room devices and comprise switches, fault indicators and wire devices;
generating a same-branch equipment set connected with nodes detected by the current layout branch, and sequencing the equipment in the set according to the name hierarchy and the business relation;
adding a first device node in the set into the current layout branch, continuing the current branch, taking the rest devices as first devices of the layout branch, and establishing a layout branch set;
detecting single switch equipment which is not distributed with branch layout in the branch, sequencing the single switch equipment sets which are not distributed with the branch layout, and sequencing the single switch equipment sets according to the sequence of the equipment in the sets in the branches of the ring network diagram;
and selecting the first equipment in the single switch class equipment set in the last step to generate a layout branch, and turning to the step of generating the same branch equipment set connected with the node detected by the current layout branch to continue the deep exploration.
3. The overall layout method of the ring network model in the distribution ring network diagram according to claim 2, wherein the connected sets of the off-site co-branch devices are generated by the external connection terminals of the station building devices according to the obtained connection relationships and the deep traversal of the connection relationships.
4. The overall layout method for the ring network model in the electrical distribution ring network diagram as claimed in claim 2, wherein each device in the connection device set is used as a first device of a corresponding layout branch, and a layout branch set is established, and a parent device of each layout branch in the layout branch set is a station room device object.
5. The method as claimed in claim 2, wherein the rest devices are first devices of the layout branches, and the set of layout branches is established, and the parent device of the devices in the set of layout branches is the current detection node.
6. The method of claim 1, wherein the step of obtaining the hierarchy of the layout branches comprises:
acquiring all layout branch objects and caching the layout branch objects into a layout branch set;
grouping the layout branches in the layout branch set, wherein the grouping principle is the equidirectional layout branch of the same parent equipment;
judging whether grouping is finished, if so, entering the next step, and if not, continuously grouping the layout branches in the layout branch set;
on the basis of grouping results, circulating each group of layout branch combination, and calculating the hierarchy of the layout branches contained in each group;
selecting each layout reference branch in the current layout branch group to obtain a reference layout branch set, wherein in the reference layout branch set, equipment comprising a non-branch switch is selected as a main reference layout branch, and if the equipment in the layout branch set is all branch switches, the main reference layout branch is selected according to a business relation;
calculating the hierarchy of the layout main branches;
calculating the levels of the layout main branch and the deep layout subbranch thereof, and calculating the levels of the subbranch thereof by taking the main reference layout branch as a central point; if the level of the main reference layout branch is zero, if the main reference layout branch is above the station room, the level of the branch above the main reference layout branch is gradually reduced, and the level of the branch below the main reference layout branch is gradually increased;
after the main reference layout calculation is finished, the levels of all the reference branches and the sub-branches thereof are calculated step by step towards two sides by taking the main reference layout branch as a center;
and judging whether a layout branch group with an uncomputed hierarchy exists, if so, continuing to calculate the hierarchy of the layout branch, and if not, ending.
7. The method of claim 1, wherein the method of arranging the devices comprises:
initializing branch information including position information of equipment, layout direction information of the equipment, a reference branch base line and a branch starting point;
executing the internal layout of the station room equipment in the branch, and calculating the vertical coordinate of the reference branch according to the size of each station room and the hierarchy information of the branch;
traversing equipment in a ring network branch, and executing equipment layout position calculation;
judging whether the equipment is station room equipment, if the equipment is the station room equipment, calculating the position of the station room, if the equipment is the first equipment, the position is a branch starting point, and if the equipment is not the first equipment, calculating the position of the current station room according to the equipment interval parameter information of the previous station room and effective off-station equipment;
if the station building equipment is not the station building equipment, determining a vertical coordinate according to the hierarchy of the layout branch where the equipment is located, and determining a reference position according to the connection relation of the left side of the current equipment by using a horizontal coordinate;
judging whether equipment which is not laid out exists, if so, directly jumping to the step of judging whether the equipment is station room equipment to continue laying out, and if not, finishing the equipment laying out;
alternatively, the first and second electrodes may be,
judging whether each branch can move transversely, if so, determining the transverse offset distance of the head equipment according to the connection condition of the head equipment, executing displacement movement on all equipment objects of the branch, and determining the absolute abscissa of each equipment of the branch.
8. The utility model provides an overall layout system of ring network model in distribution looped netowrk diagram which characterized in that includes:
a layout branch acquisition module configured to: generating a plurality of layout branches for the external equipment according to the acquired connection relation and the service knowledge;
a layout branch hierarchy acquisition module configured to: obtaining the hierarchy of each layout branch for determining the longitudinal coordinate of the branch according to the connection relation and the service meaning of each layout branch;
a device coordinate acquisition module configured to: starting with the first equipment of each ring network diagram layout branch, wherein the ring network diagram layout branches are a group of single equipment sets outside the station with a direct connection relation, equipment terminals which are directly connected have the same vertical coordinate when the equipment with the same layout branch is in diagram layout, and determining the horizontal coordinate and the vertical coordinate of each piece of branched equipment according to the sequential layout of the equipment in the ring network diagram layout branches;
a device relative position acquisition module configured to: and determining the relative position of each device according to the sequence of each branch in the ring network diagram layout branches and the size of the outer-wrapping rectangle and through the longitudinal distance parameters between the branches.
9. A computer-readable storage medium, on which a program is stored, which program, when being executed by a processor, is adapted to carry out the steps of the method for overall layout of a ring network model in a power distribution ring network diagram according to any of the claims 1-7.
10. An electronic device comprising a memory, a processor and a program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps in the method for overall layout of a ring network model in a power distribution ring network diagram according to any of claims 1-7.
CN202011260153.1A 2020-11-12 2020-11-12 Method and system for overall layout of ring network model in distribution ring network diagram Active CN112398224B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011260153.1A CN112398224B (en) 2020-11-12 2020-11-12 Method and system for overall layout of ring network model in distribution ring network diagram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011260153.1A CN112398224B (en) 2020-11-12 2020-11-12 Method and system for overall layout of ring network model in distribution ring network diagram

Publications (2)

Publication Number Publication Date
CN112398224A CN112398224A (en) 2021-02-23
CN112398224B true CN112398224B (en) 2022-09-27

Family

ID=74600553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011260153.1A Active CN112398224B (en) 2020-11-12 2020-11-12 Method and system for overall layout of ring network model in distribution ring network diagram

Country Status (1)

Country Link
CN (1) CN112398224B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112990560B (en) * 2021-03-04 2022-02-08 南京南瑞信息通信科技有限公司 Automatic generation method and device for power grid geographical wiring diagram
CN115618542B (en) * 2022-11-23 2023-03-21 广东电网有限责任公司中山供电局 GIS single line diagram-based power distribution network ring network diagram generation method and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111614495A (en) * 2020-05-12 2020-09-01 广东电网有限责任公司 Ring network diagram automatic generation and arrangement method and system with distribution network equipment number

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0786883B2 (en) * 1988-09-09 1995-09-20 松下電器産業株式会社 Method and system for automatically generating mesh diagram or logical circuit diagram
CN102663181B (en) * 2012-03-28 2014-05-28 广东电网公司佛山供电局 Automatic drawing method of distribution network diagram
CN103762591B (en) * 2014-01-16 2016-04-20 国家电网公司 A kind of power distribution network topology layout method
CN105787811A (en) * 2016-03-15 2016-07-20 国家电网公司 Method and system for automatic layout of power grid system graph to overcome crossing defect
CN111695223B (en) * 2020-06-11 2023-03-03 Ut斯达康通讯有限公司 Network topology layout method and system
CN111783266B (en) * 2020-06-30 2023-07-18 国网湖南省电力有限公司 Distributed mapping system and method for single line diagram of power distribution network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111614495A (en) * 2020-05-12 2020-09-01 广东电网有限责任公司 Ring network diagram automatic generation and arrangement method and system with distribution network equipment number

Also Published As

Publication number Publication date
CN112398224A (en) 2021-02-23

Similar Documents

Publication Publication Date Title
CN112398224B (en) Method and system for overall layout of ring network model in distribution ring network diagram
CN110866320B (en) Automatic intelligent platform region graph generation method and system
CN107545085B (en) Automatic generation method for process level network connection diagram of intelligent substation
CN107909512B (en) A kind of equipment operating data matching of combination grid operation mode and extended method
CN104167736B (en) A kind of bulk power grid parallel network topology analyzing method
CN105046363B (en) A kind of region distribution system single-line diagram layout and optimization method
CN108228724A (en) Power grid GIS topology analyzing method and storage medium based on chart database
US20150012902A1 (en) Automatic mapping method for a distribution network based on logical layout
CN107913039A (en) Block system of selection, device and robot for clean robot
CN106202662A (en) A kind of distribution network structure figure draws mapping method automatically
CN111444205B (en) Automatic checking and updating method for GIS single line drawing module of distribution network automation master station
CN111026900A (en) Power distribution network wiring group generation and net rack topological graph generation method and device
CN109460564B (en) Power grid tidal current graph wiring method
CN104408662B (en) Power network drawing methods based on circuit orthogonal packing algorithm
CN113553486A (en) Power transmission line running state visualization method, device, equipment and storage medium
CN111274660B (en) Circuit layout method based on multi-disturbance alternate simulated annealing algorithm
CN111914376A (en) Method and device for automatically constructing power grid bus mode diagram and storage medium
CN111783264A (en) Efficient layout method for power distribution network planning
CN104901328A (en) Multi-terminal flexible DC control mode automatic identification method based on complex control network
CN115032911A (en) Multi-robot simulation system suitable for distributed optical detection
Qian et al. A survey of pipe routing design
CN114254467A (en) Power grid ring network diagram generation method
CN109726895A (en) A kind of task execution method and device for planning of multiple target point
CN116909318B (en) Unmanned aerial vehicle autonomous routing inspection route planning system based on high-precision three-dimensional point cloud
CN117456112B (en) Pump station supervision method, system, electronic equipment and medium

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

Address after: Yinhe building, 2008 Xinluo street, high tech Industrial Development Zone, Jinan City, Shandong Province

Applicant after: Shandong luruan Digital Technology Co.,Ltd.

Address before: Yinhe building, 2008 Xinluo street, high tech Industrial Development Zone, Jinan City, Shandong Province

Applicant before: SHANDONG LUNENG SOFTWARE TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant