CN111563305B - Mapping method, system and computer equipment for tidal current graph of T-junction station - Google Patents

Mapping method, system and computer equipment for tidal current graph of T-junction station Download PDF

Info

Publication number
CN111563305B
CN111563305B CN202010413054.6A CN202010413054A CN111563305B CN 111563305 B CN111563305 B CN 111563305B CN 202010413054 A CN202010413054 A CN 202010413054A CN 111563305 B CN111563305 B CN 111563305B
Authority
CN
China
Prior art keywords
station
node
plant
container
junction
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
CN202010413054.6A
Other languages
Chinese (zh)
Other versions
CN111563305A (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.)
China Southern Power Grid Power Technology Co Ltd
Original Assignee
China Southern Power Grid Power 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 China Southern Power Grid Power Technology Co Ltd filed Critical China Southern Power Grid Power Technology Co Ltd
Priority to CN202010413054.6A priority Critical patent/CN111563305B/en
Publication of CN111563305A publication Critical patent/CN111563305A/en
Application granted granted Critical
Publication of CN111563305B publication Critical patent/CN111563305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/12Symbolic schematics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/04Power grid distribution networks

Abstract

The embodiment of the invention relates to a method, a system and computer equipment for mapping a T-junction station tidal current diagram, wherein the method comprises the following steps: acquiring a power grid model file and station geographical information from a power system; analyzing the power grid model file by combining the SAX and the DOM to obtain data information; splitting a T-shaped node of the plant station, establishing a virtual node container, and acquiring a plant station topological relation in data information; and establishing a T-junction plant model according to the topological relation between the virtual node container and the plant, and performing layout and wiring on the T-junction plant model by adopting a repulsion tension algorithm to obtain a T-junction plant tide flow graph. The method comprises the steps of establishing a virtual node container for each T-shaped node, enabling the T-shaped nodes and common nodes to adopt unified description, establishing a T-junction station model according to a plant station topological relation and the virtual node container, adjusting the T-junction station model by adopting a repulsion tension algorithm with constraint conditions, obtaining a T-junction station tidal current diagram, and achieving high mapping efficiency and good achievement effect.

Description

Mapping method, system and computer equipment for tidal current graph of T-junction station
Technical Field
The invention relates to the technical field of power system tidal flow graphs, in particular to a method, a system and computer equipment for mapping a T-junction station tidal flow graph.
Background
The tidal current diagram is an important basis for assisting power dispatching personnel to monitor and regulate the running state of the power grid in real time. The tidal current graph mainly comprises plant stations, lines, character marking, measurement and other graphic elements, and is generally drawn manually by automation personnel according to the actual topological structure of the power grid by using a drawing tool of a dispatching automation system.
With the development of an electric power system, the number of power plant stations monitored by a dispatching automation system is more and more, the topology of a power grid is more and more complex, and the operation and maintenance requirements of dispatching automation are not met due to the defects of long time consumption, high possibility of error, poor appearance and the like in a manual drawing mode, so that an automatic mapping technology based on a power grid CIM model is gradually developed. The automatic mapping technique requires that the power grid model established in the dispatching automation system completely comply with the IEC61970 specification. However, in transmission and distribution systems of 110kV and below, several complex multi-branch T-nodes are often included. The automatic mapping process of the multi-branch T-shaped point in the power grid CIM model has two problems: firstly, the T-shaped node and the substation cannot be applied on a unified model; secondly, the T-junction substation generally comprises a large number of T-shaped nodes, and direct drawing without processing is too dense, so that the drawing effect is poor.
Disclosure of Invention
The embodiment of the invention provides a mapping method, a mapping system and computer equipment of a tidal current diagram of a T-junction station, which are used for solving the technical problems of low efficiency and poor mapping effect in the mapping process because the T-junction station is not processed by automatic mapping in the conventional power grid CIM model.
In order to achieve the above object, the embodiments of the present invention provide the following technical solutions:
a mapping method of a T-junction station tidal flow graph comprises the following steps:
s1, acquiring a power grid model file and station geographic information from a power system;
s2, analyzing the power grid model file by combining SAX and DOM to obtain data information, wherein the data information comprises power equipment, ports, voltage levels, disconnecting links, stations, and T-shaped nodes and common nodes of the stations;
s3, splitting the T-shaped node of the plant station, establishing a virtual node container, and acquiring a plant station topological relation in the data information;
and S4, establishing a T-junction plant station model according to the topological relation between the virtual node container and the plant station, performing layout and wiring on the T-junction plant station model by adopting a repulsive force tension algorithm, and drawing to obtain a T-junction plant station tidal current diagram.
Preferably, in S2, the parsing the power grid model file by combining the SAX and the DOM specifically includes: and reading the data of the power grid model file by adopting an SAX (software application) parser, converting the read data into a DOM (document object model) and forming a tree structure.
Preferably, the step of establishing the virtual node container comprises:
s31, establishing a first container relation between the plant station and the power equipment;
s32, establishing a second container relation among the plant station, the voltage grade and the power equipment based on the voltage grade and according to the first container relation, and establishing a third container relation among the nodes and the voltage grade according to the relation among the power equipment, the ports, the T-shaped nodes of the plant station and the common nodes;
s33, processing the third container relation, and if the node is a common node of the plant station, adopting a real container between the node and the voltage level; and if the node is a T-shaped node of the plant station, a virtual container is adopted between the node and the voltage class.
Preferably, establishing the third container relationship between the node and the voltage level comprises:
circularly traversing in the data information to find out all T-shaped nodes and all ports corresponding to the T-shaped nodes, and marking the ports corresponding to the T-shaped nodes as branch ports;
establishing a new hierarchical structure between the voltage level and the plant station according to each branch port, and marking the voltage level of the T-shaped node;
and after the cyclic traversal and the T-shaped node finding in the data information are finished, the container of the node in the data information points to the voltage level.
Preferably, the tidal flow graph of the T-junction station is a topological graph composed of vertices and connecting lines, and the placement and routing of the T-junction station model by using a repulsive tension algorithm includes:
s41, distributing an initial position of the factory station coordinate in the canvas according to the coordinate of the factory station geographic information;
s42, calculating tension, repulsion and resultant force between every two vertexes, and adjusting the position of each vertex according to the resultant force to obtain a station coordinate of a new position;
s43, adjusting the top points and the connecting lines in the T-junction station model according to set constraint conditions to obtain a T-junction station tidal current diagram.
Preferably, the formula for calculating the tension T is:
Figure GDA0003177670590000031
wherein T is tension, d is the distance between every two vertexes, l (n) is the length of the nth connecting line, i and j are vertexes, and k is elastic coefficient;
the formula for calculating the repulsive force R is:
Figure GDA0003177670590000032
wherein m is the mass of the vertex, g is the coefficient of repulsion, and f is a constant;
the formula for calculating the resultant force F is: f ═ T + R.
Preferably, the vertex moves along the resultant force direction by a distance to adjust the position of the vertex, and a new position station coordinate is obtained.
Preferably, a power grid model file meeting the IEC61970 standard is acquired from an EMS system of the power system, and plant site geographic information is acquired from a GIS system of the power system, where the power grid model file includes a CIM model and an XML model, and the plant site geographic information includes plant site coordinates.
The invention also provides an imaging system of the T-junction station tidal current graph, which comprises a data acquisition unit, an analysis unit, a splitting unit and an imaging unit;
the data acquisition unit is used for acquiring a power grid model file and station geographic information from the power system;
the analysis unit is used for analyzing the power grid model file according to the SAX and DOM to obtain data information, wherein the data information comprises power equipment, ports, voltage levels, switches, stations, and T-shaped nodes and common nodes of the stations;
the splitting unit is used for splitting the T-type node of the plant station, establishing a virtual node container and acquiring the plant station topological relation in the data information;
the mapping unit is used for establishing a T-junction plant model according to the topological relation between the virtual node container and the plant, performing layout and wiring on the T-junction plant model by adopting a repulsive force tension algorithm, and drawing to obtain a T-junction plant tide flow graph.
The invention also provides computer equipment, which comprises a processor and a memory;
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the mapping method of the T-junction station tidal flow graph according to instructions in the program code.
According to the technical scheme, the embodiment of the invention has the following advantages:
1. the method for forming the T-junction station tide graph comprises the steps of obtaining a power grid model file and station geographic information from an electric power system, analyzing the power grid model file to obtain data information, splitting T-shaped nodes in the data information, extracting a station topological relation in the data information, establishing a virtual node container for each T-shaped node to enable the T-shaped nodes and common nodes to adopt unified description, establishing the T-junction station model according to the station topological relation and the virtual node container, and adjusting the T-junction station model by adopting a repulsion tension algorithm with constraint conditions to obtain the T-junction station tide graph; the automatic mapping method solves the technical problems that automatic mapping in the existing power grid CIM model does not process a T wiring station, and the mapping process is low in efficiency and poor in mapping effect.
2. The mapping system of the T-junction station tidal current diagram acquires a power grid model file and station geographic information from a power system through an acquisition data unit, and analyzes the power grid model file through an analysis unit to obtain data information; the method comprises the steps of splitting T-shaped nodes in data information by adopting a splitting unit, extracting plant station topological relations in the data information, establishing a virtual node container for each T-shaped node, enabling the T-shaped nodes and common nodes to adopt unified description, establishing a T-plant-connection model in an imaging unit according to the plant station topological relations and the virtual node containers, adjusting the T-plant-connection model by adopting a repulsion tension algorithm with constraint conditions, obtaining a T-plant-connection tide-flow graph, and solving the technical problems that automatic imaging in the existing power grid CIM model does not process the T-plant-connection plant, and the efficiency is low and the imaging effect is poor in the imaging process.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a flow chart illustrating steps of a method for mapping a T-junction tidal flow graph according to an embodiment of the present invention.
FIG. 2 is a flowchart illustrating steps of creating a virtual node container in the method for mapping a T-junction station tidal flow graph according to the embodiment of the present invention.
FIG. 3 is a T-site process framework diagram of a method for mapping a T-site tidal flow graph according to an embodiment of the present invention.
FIG. 4 is a flow chart of steps of a method for mapping a T-junction station tide flow graph according to an embodiment of the present invention, wherein a repulsive force tension algorithm is adopted to lay out wiring.
FIG. 5 is a block diagram of a system for mapping a T-junction flowsheet in accordance with an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the application provides a method, a system and computer equipment for mapping a T-junction station tidal current graph, wherein according to the method, the system and the computer equipment, a power grid model file and station geographic information are obtained from a power system, the power grid model file is analyzed to obtain data information, T-shaped nodes in the data information are split, station topological relations in the data information are extracted, a virtual node container is established for each T-shaped node, the T-shaped nodes and common nodes are uniformly described, a T-junction station model is established according to the station topological relations and the virtual node containers, the T-junction station model is adjusted by a repulsion tension algorithm with constraint conditions, and the T-junction station tidal current graph is obtained and is used for solving the technical problems that automatic mapping in the existing power grid CIM model does not process a T-junction station, and the efficiency is low and the mapping effect is poor in the mapping process.
The first embodiment is as follows:
FIG. 1 is a flow chart illustrating steps of a method for mapping a T-junction tidal flow graph according to an embodiment of the present invention.
As shown in FIG. 1, an embodiment of the present invention provides a method for mapping a tidal flow graph of a T-junction station, comprising the following steps:
s1, acquiring a power grid model file and station geographic information from a power system;
s2, analyzing the power grid model file by combining SAX and DOM to obtain data information, wherein the data information comprises power equipment, ports, voltage levels, disconnecting links, stations, and T-shaped nodes and common nodes of the stations;
s3, splitting the T-shaped nodes of the plant station, establishing a virtual node container, and acquiring a plant station topological relation in the data information;
and S4, establishing a T-junction plant model according to the topological relation between the virtual node container and the plant, performing layout and wiring on the T-junction plant model by adopting a repulsion tension algorithm, and drawing to obtain a tide flow diagram of the T-junction plant.
In S1 of the embodiment of the present invention, a power grid model file conforming to IEC61970 standard is mainly acquired from an EMS system of an electric power system, and plant geographical information is acquired from a GIS system of the electric power system. And acquiring a power grid model file meeting IEC61970 standard from an EMS system of the power system and acquiring plant station geographic information from a GIS system according to the control area, the area to which the plant station belongs or the designated area.
It should be noted that the power grid model file includes a file of a CIM model and an XML model, the plant geographic information includes plant coordinates, and the plant coordinates refer to longitude and latitude.
In S2 of the embodiment of the present invention, the power grid model file is mainly parsed to obtain data information of the areas, the power devices, the ports, the voltage levels, the switches, the stations, and the T-type nodes and the common nodes of the stations in the CIM model and the XML model.
It should be noted that, in the parsing of the CIM model and the XML model, the content in the XML model file is actually read and converted into a tree structure, which is convenient for performing operations such as traversal, modification, deletion, complex query on the tree structure in step S3. Specifically, the content read from the XML model file is stored in a memory (e.g., RAM or ROM memory) and converted into a tree structure.
In S3 of the embodiment of the present invention, a CIM model and an XML model are first analyzed, where the CIM model and the XML model are responsible for reading data information of an XML document, and the data information includes information about which areas, stations, power equipment, and the like. And then splitting a plurality of T-shaped nodes contained in the plant station, and establishing a virtual node container for each split T-shaped node, so that the description of the T-shaped node and the description of the common node both adopt containers, the global hierarchical model description of the power transmission network can be established after the T-shaped node is processed, the local search and tracking of the power transmission network model can be realized, and the retrieval efficiency of the power transmission network model is greatly improved.
In S4 of the embodiment of the present invention, based on the topological relation between the virtual node container and the plant station, a repulsive force tension algorithm is used to obtain a topological graph to be laid out under constraint conditions, and a T-plant station tidal current diagram is obtained by modeling the topological graph according to a physical system.
The invention provides a method for forming a T-junction station tide graph, which obtains a power grid model file and station geographic information from an electric power system, analyzes the power grid model file to obtain data information, splits T-shaped nodes in the data information, extracts a station topological relation in the data information, establishes a virtual node container for each T-shaped node, enables the T-shaped nodes and common nodes to adopt unified description, establishes a T-junction station model according to the station topological relation and the virtual node container, and adjusts the T-junction station model by adopting a repulsion tension algorithm with constraint conditions to obtain the T-junction station tide graph; the automatic mapping method solves the technical problems that automatic mapping in the existing power grid CIM model does not process a T wiring station, and the mapping process is low in efficiency and poor in mapping effect.
In an embodiment of the present invention, in S2, the parsing the power grid model file in combination with the SAX and the DOM specifically includes: and reading the data of the power grid model file by adopting an SAX (software application) parser, converting the read data into a DOM (document object model) and forming a tree structure.
It should be noted that the analysis of the CIM model and the XML model file adopts a combined use mode of SAX and DOM, and when reading the data of the XML model file, an SAX method is adopted, and then the read data is converted into a DOM object. By adopting the mode of combining SAX and DOM, a large amount of memory resources are not occupied, the easy operability of the DOM object is fully utilized, and the analysis efficiency of the model file is greatly improved. For example, a power grid CIM model of a provincial power system generally includes a plurality of regions, one of the regions may be selected for mapping when a tidal current diagram is mapped, and a whole power grid CIM model may also be selected to generate a provincial tidal current diagram. When the SAX parser is used for parsing the XML file, a series of events can be triggered according to the read content, corresponding event processing functions are activated, and the event processing functions complete the processing of the XML file data, so that the XML file is accessed.
FIG. 2 is a flowchart illustrating steps of creating a virtual node container in the method for mapping a T-junction station tidal flow graph according to the embodiment of the present invention.
As shown in fig. 2, in an embodiment of the present invention, the step of establishing the virtual node container includes:
s31, establishing a first container relation between the plant station and the power equipment;
s32, establishing a second container relation among the plant station, the voltage grade and the power equipment based on the voltage grade and according to the first container relation, and establishing a third container relation among the nodes and the voltage grade according to the relation among the power equipment, the ports, the T-shaped nodes and the common nodes of the plant station;
s33, processing the relation of the third container, and if the node is a common node of the plant station, adopting a real container between the node and the voltage level; and if the node is a T-shaped node of the plant station, a virtual container is adopted between the node and the voltage class.
It should be noted that, according to the relationship between the power equipment and the container in the relationship library of the power system, the container relationship between the plant container and the power equipment object is established by circularly traversing the power equipment object in the data information, that is, the first container relationship between the plant and the power equipment; and according to the relation among the power equipment, the port and the node, a relation among node pointing containers is formed, namely a third container relation between the node and the voltage grade. The node objects for the node and voltage levels include a normal node and a T-type node. Wherein, the common node uses a real container; the T-type node uses a virtual container.
FIG. 3 is a T-site process framework diagram of a method for mapping a T-site tidal flow graph according to an embodiment of the present invention.
As shown in fig. 3, in the embodiment of the present invention, establishing the third container relationship between the node and the voltage level includes:
circularly traversing in the data information to find out all T-shaped nodes and all ports corresponding to the T-shaped nodes, and marking the ports corresponding to the T-shaped nodes as branch ports;
establishing a new hierarchical structure between the voltage level and the plant station according to each branch port, and marking the voltage level to which the T-shaped node belongs;
after the cyclic traversal of the data information for the T-shaped node is finished, the container of the node in the data information points to the voltage level.
It should be noted that the T-type nodes included in the data information after the analysis of the power grid model file exist in different regions and different stations, and therefore all the T-type nodes need to be found out in a circular traversal manner in the data information. In the process of circularly traversing and finding all T-shaped nodes in the data information, unbalanced assignment of the processing nodes is equal, and after circulation is finished, the container of the node object is the voltage level pointed by the container. The method provides a foundation for the built T-connection plant station model with the unified hierarchical structure, wherein the T-connection plant station model is hierarchically formed by a plant station- > voltage level- > electric power equipment- > port- > node.
FIG. 4 is a flow chart of steps of a method for mapping a T-junction station tide flow graph according to an embodiment of the present invention, wherein a repulsive force tension algorithm is adopted to lay out wiring.
As shown in fig. 4, in an embodiment of the present invention, the T-plant station tidal current diagram is a topological diagram composed of vertices and connecting lines, and the placement and routing of the T-plant station model by using the repulsive force tension algorithm includes:
s41, distributing the initial position (X) of the factory station coordinate in the canvas according to the factory station geographic information coordinate0,Y0);
S42, calculating tension, repulsion and resultant force between every two vertexes, and adjusting the position of each vertex according to the resultant force to obtain a station coordinate (X) of a new positiont,Yt);
S43, adjusting the vertex and the connecting line in the T-junction station model according to set constraint conditions to obtain a T-junction station tidal current diagram;
wherein, the vertex moves along the direction of resultant force for a distance to adjust the position of the vertex, and the station coordinate (X) of the new position is obtainedt,Yt)。
It should be noted that, for the hierarchical topology map, each vertex can be regarded as a mass point, each connection line can be regarded as a rubber band with stretching force, and if the connection line is stretched, tension is expressed; the two vertexes have repulsive force mutually. The moving distance is in direct proportion to the magnitude of the resultant force; the moving distance is obtained by dividing F by the coefficient h. The set constraints include a maximum offset radius of an actual position of each station, a relative position between the stations, a relative position between two vertices, a maximum offset radius of the station, and the like.
In the embodiment of the present invention, the formula for calculating the tension T is:
Figure GDA0003177670590000091
wherein T is tension, d is the distance between every two vertexes, l (n) is the length of the nth connecting line, i and j are vertexes, and k is elastic coefficient;
the formula for calculating the repulsive force R is:
Figure GDA0003177670590000092
wherein m is the mass of the vertex, g is the coefficient of repulsion, and f is a constant;
the formula for calculating the resultant force F is: f ═ T + R.
It should be noted that, generally, the higher the plant isobaric level is, the greater the quality of the vertex should be; the relationship between mass and vertex power may also be considered, with the higher the power of a vertex, the greater its mass. And when the power system reaches the balance state, correcting the coordinates of the station geographic information according to the constraint of the actual geographic position. The maximum offset radius of the actual location of each plant may be specified as a constraint, or the relative location between the plants may be specified as a constraint. When the peak of the balance state of the power system exceeds the maximum offset radius of the station, the peak is adjusted to be within the maximum offset radius range; when the relative position between the two vertexes exceeds the set maximum position, the two vertexes should be readjusted. And (3) fine-tuning the T-station tide flow graph according to the constraint conditions such as the maximum offset radius of the actual position of each station, the relative position between the stations, the relative position between two vertexes and the like, and then outputting the T-station tide flow graph.
Example two:
FIG. 5 is a block diagram of a system for mapping a T-junction flowsheet in accordance with an embodiment of the present invention.
As shown in fig. 5, an embodiment of the present invention further provides a mapping system for a tidal flow graph of a T-junction station, including a data obtaining unit 10, an analyzing unit 20, a splitting unit 30, and a mapping unit 40:
the data acquisition unit 10 is used for acquiring a power grid model file and station geographical information from a power system;
the analysis unit 20 is configured to analyze the power grid model file according to the combination of the SAX and the DOM to obtain data information, where the data information includes power equipment, ports, voltage levels, switches, stations, and T-type nodes and common nodes of the stations;
the splitting unit 30 is configured to split a T-type node of a plant and establish a virtual node container, and acquire a plant topology relationship in data information;
and the mapping unit 40 is used for establishing a T-junction plant model according to the topological relation between the virtual node container and the plant, performing layout and wiring on the T-junction plant model by adopting a repulsive force tension algorithm, and drawing to obtain a T-junction plant tide-flow graph.
It should be noted that the units in the system of the second embodiment correspond to the steps in the method of the first embodiment, and the steps in the method of the first embodiment are described in detail one by one, so that the contents of the units in the second embodiment are not described in detail one by one.
The invention provides an imaging system of a T-junction station tidal current diagram, which acquires a power grid model file and station geographic information from a power system through an acquisition data unit, and analyzes the power grid model file through an analysis unit to obtain data information; the method comprises the steps of splitting T-shaped nodes in data information by adopting a splitting unit, extracting plant station topological relations in the data information, establishing a virtual node container for each T-shaped node, enabling the T-shaped nodes and common nodes to adopt unified description, establishing a T-plant-connection model in an imaging unit according to the plant station topological relations and the virtual node containers, adjusting the T-plant-connection model by adopting a repulsion tension algorithm with constraint conditions, and obtaining a tidal current diagram of the T-plant-connection station.
Example three:
the embodiment of the invention provides computer equipment, which comprises a processor and a memory;
a memory for storing the program code and transmitting the program code to the processor;
and the processor is used for executing the mapping method of the T-station tidal flow graph according to the instructions in the program code.
It should be noted that the processor is configured to execute the steps of the illustrative method embodiment of a T-station tidal flow graph described above according to instructions in the program code. Alternatively, the processor, when executing the computer program, implements the functions of each module/unit in each system/apparatus embodiment described above.
Illustratively, a computer program may be partitioned into one or more modules/units, which are stored in a memory and executed by a processor to accomplish the present application. One or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of a computer program in a terminal device.
The terminal device may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor, a memory. Those skilled in the art will appreciate that the terminal device is not limited and may include more or fewer components than those shown, or some components may be combined, or different components, e.g., the terminal device may also include input output devices, network access devices, buses, etc.
The processor may be a Central Processing Unit (CPU), other general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable gate array (FPGA) or other Programmable logic device, discrete gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage may be an internal storage unit of the terminal device, such as a hard disk or a memory of the terminal device. The memory may also be an external storage device of the terminal device, such as a plug-in hard disk, a Smart Memory Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal device. Further, the memory may also include both an internal storage unit of the terminal device and an external storage device. The memory is used for storing computer programs and other programs and data required by the terminal device. The memory may also be used to temporarily store data that has been output or is to be output.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A mapping method for a tidal flow graph of a T-junction station is characterized by comprising the following steps:
s1, acquiring a power grid model file and station geographic information from a power system;
s2, analyzing the power grid model file by combining SAX and DOM to obtain data information, wherein the data information comprises power equipment, ports, voltage levels, disconnecting links, stations, and T-shaped nodes and common nodes of the stations;
s3, splitting the T-shaped node of the plant station, establishing a virtual node container, and acquiring a plant station topological relation in the data information;
s4, establishing a T-junction plant station model according to the topological relation between the virtual node container and the plant station, and performing layout and wiring on the T-junction plant station model by adopting a repulsive force tension algorithm to obtain a T-junction plant station tidal current diagram;
the step of establishing the virtual node container comprises the following steps:
s31, establishing a first container relation between the plant station and the power equipment;
s32, establishing a second container relation among the plant station, the voltage grade and the power equipment based on the voltage grade and according to the first container relation, and establishing a third container relation among the nodes and the voltage grade according to the relation among the power equipment, the ports, the T-shaped nodes of the plant station and the common nodes;
s33, processing the third container relation, and if the node is a common node of the plant station, adopting a real container between the node and the voltage level; if the node is a T-shaped node of the plant station, a virtual container is adopted between the node and the voltage class;
establishing a third container relationship between the node and the voltage level includes:
circularly traversing in the data information to find out all T-shaped nodes and all ports corresponding to the T-shaped nodes, and marking the ports corresponding to the T-shaped nodes as branch ports;
establishing a new hierarchical structure between the voltage level and the plant station according to each branch port, and marking the voltage level of the T-shaped node;
and after the cyclic traversal and the T-shaped node finding in the data information are finished, the container of the node in the data information points to the voltage level.
2. The method for mapping a tidal flow graph of a T-junction station according to claim 1, wherein in S2, parsing the power grid model file in combination with SAX and DOM specifically comprises: and reading the data of the power grid model file by adopting an SAX (software application) parser, converting the read data into a DOM (document object model) and forming a tree structure.
3. The method of mapping a T-factory-station tidal flow graph according to claim 1, wherein the T-factory-station tidal flow graph is a topological graph consisting of vertices and connecting wires, and placing and routing the T-factory-station model using a repulsive force tension algorithm comprises:
s41, distributing an initial position of the factory station coordinate in the canvas according to the coordinate of the factory station geographic information;
s42, calculating tension, repulsion and resultant force between every two vertexes, and adjusting the position of each vertex according to the resultant force to obtain a station coordinate of a new position;
s43, adjusting the top points and the connecting lines in the T-junction station model according to set constraint conditions to obtain a T-junction station tidal current diagram.
4. The method of mapping a T-station tidal flow graph of claim 3, wherein the equation for calculating tension T is:
Figure FDA0003177670580000021
wherein T is tension, d is the distance between every two vertexes, l (n) is the length of the nth connecting line, i and j are vertexes, and k is elastic coefficient;
the formula for calculating the repulsive force R is:
Figure FDA0003177670580000022
wherein m is the mass of the vertex, g is the coefficient of repulsion, and f is a constant;
the formula for calculating the resultant force F is: f ═ T + R.
5. The method of mapping a T-junction plant station tidal flow graph of claim 3, wherein the vertex is moved a distance along the resultant force direction to adjust the position of the vertex to obtain new location plant station coordinates.
6. The method for mapping the tidal flow graph of the T-junction plant station as claimed in claim 1, wherein a power grid model file conforming to IEC61970 standard is obtained from an EMS system of the power system, plant station geographic information is obtained from a GIS system of the power system, the power grid model file comprises a CIM model and an XML model, and the plant station geographic information comprises plant station coordinates.
7. A mapping system of a T-junction station tidal current diagram is characterized by comprising a data acquisition unit, an analysis unit, a splitting unit and a mapping unit;
the data acquisition unit is used for acquiring a power grid model file and station geographic information from the power system;
the analysis unit is used for analyzing the power grid model file according to the SAX and DOM to obtain data information, wherein the data information comprises power equipment, ports, voltage levels, switches, stations, and T-shaped nodes and common nodes of the stations;
the splitting unit is used for splitting the T-type node of the plant station, establishing a virtual node container and acquiring the plant station topological relation in the data information;
the mapping unit is used for establishing a T-junction plant model according to the topological relation between the virtual node container and the plant, and performing layout and wiring on the T-junction plant model by adopting a repulsive force tension algorithm to obtain a T-junction plant tide-flow graph;
the splitting unit is further used for establishing a first container relationship between the plant station and the power equipment, establishing a second container relationship between the plant station, the voltage level and the power equipment based on the voltage level and according to the first container relationship, establishing a third container relationship between the node and the voltage level according to the relationship between the power equipment, the port and the T-shaped node and the common node of the plant station, and processing the third container relationship, wherein if the node is the common node of the plant station, a real container is adopted between the node and the voltage level; if the node is a T-shaped node of the plant station, a virtual container is adopted between the node and the voltage class;
establishing a third container relationship between the node and the voltage level includes:
circularly traversing in the data information to find out all T-shaped nodes and all ports corresponding to the T-shaped nodes, and marking the ports corresponding to the T-shaped nodes as branch ports;
establishing a new hierarchical structure between the voltage level and the plant station according to each branch port, and marking the voltage level of the T-shaped node;
and after the cyclic traversal and the T-shaped node finding in the data information are finished, the container of the node in the data information points to the voltage level.
8. A computer device comprising a processor and a memory;
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor, configured to execute the method of mapping a T-plant station tidal flow graph of any of claims 1-6 according to instructions in the program code.
CN202010413054.6A 2020-05-15 2020-05-15 Mapping method, system and computer equipment for tidal current graph of T-junction station Active CN111563305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010413054.6A CN111563305B (en) 2020-05-15 2020-05-15 Mapping method, system and computer equipment for tidal current graph of T-junction station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010413054.6A CN111563305B (en) 2020-05-15 2020-05-15 Mapping method, system and computer equipment for tidal current graph of T-junction station

Publications (2)

Publication Number Publication Date
CN111563305A CN111563305A (en) 2020-08-21
CN111563305B true CN111563305B (en) 2021-08-27

Family

ID=72072142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010413054.6A Active CN111563305B (en) 2020-05-15 2020-05-15 Mapping method, system and computer equipment for tidal current graph of T-junction station

Country Status (1)

Country Link
CN (1) CN111563305B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112651136B (en) * 2020-12-31 2022-01-21 广东电网有限责任公司电力科学研究院 CIM equipment measurement model generation method, device, equipment and medium
CN113268021A (en) * 2021-04-25 2021-08-17 国家电网有限公司 Visual security control system management and configuration method and system
CN116979540B (en) * 2023-09-25 2024-02-27 南方电网数字电网研究院有限公司 Converter station tide estimation method, device, equipment and medium based on graph technology

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107392498A (en) * 2017-08-09 2017-11-24 国网山东省电力公司经济技术研究院 A kind of power network topology analysis system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013185415A (en) * 2012-03-09 2013-09-19 Nippon Solid Co Ltd Submerged dyke revetment construction method for sea route
CN102867091B (en) * 2012-09-13 2015-07-29 江苏省电力公司南京供电公司 The quantitation modification method of a kind of electric network current diagram
CN103150425B (en) * 2013-02-06 2015-12-23 上海交通大学 Based on the power distribution network line chart automatic generation method of topological hierarchy
CN108629061B (en) * 2017-03-23 2021-08-27 南京南瑞继保电气有限公司 Hybrid layout power distribution network single line diagram automatic generation method
CN107679276B (en) * 2017-08-31 2021-06-18 电力规划总院有限公司 Generation method and device of power system tide wiring diagram and electronic equipment
CN108763669B (en) * 2018-05-15 2022-03-25 中国南方电网有限责任公司 Power grid tide layered and partitioned three-dimensional visual display method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107392498A (en) * 2017-08-09 2017-11-24 国网山东省电力公司经济技术研究院 A kind of power network topology analysis system

Also Published As

Publication number Publication date
CN111563305A (en) 2020-08-21

Similar Documents

Publication Publication Date Title
CN111563305B (en) Mapping method, system and computer equipment for tidal current graph of T-junction station
CN104331545B (en) A kind of implementation method of the grid automation GIS electrical layers based on CIM/G
CN107611962B (en) Power grid system branch searching method and system and electronic equipment
CN106227846A (en) Electric network information methods of exhibiting real-time and device
CN104331562A (en) Geographical wiring diagram dispatching method and device in power grid information system
CN110532047B (en) Power grid graph standardization system for regulating and controlling cloud platform
CN108255539A (en) Weather satellite data processing system based on cloud computing and data virtualization
CN105354882A (en) Method for constructing big data architecture based three-dimensional panoramic display platform for large-spatial-range electricity transmission
CN112464320A (en) Power distribution network planning scheme visual drawing method based on standard primitives
CN112835998A (en) Generation method of power grid dynamic topological graph
CN105704184A (en) Power grid organization analysis system based on level framework and analysis method
CN116384020A (en) Digital twin substation space layout method integrating multidimensional semantic information
CN109447466B (en) Overall process visual management and control system based on power distribution network communication network construction
CN114510803A (en) Method and device for automatically generating topological graph of power distribution network, electronic equipment and storage medium
CN103488837A (en) Automatic power network wire frame map layout method based on factory geographic information
CN105243248A (en) Method and system for producing substation main wiring model used for PSD-BPA simulation
CN102565554A (en) Method for generating three-dimensional lightning positioned place flash point distribution map
CN116778285A (en) Big data fusion method and system for constructing digital twin base
He et al. Development of power grid Web3D GIS based on Cesium
CN116796489A (en) Distribution network line loss calculation and visualization method and system based on graph calculation
CN112347168A (en) Automatic data processing and converting method for CAD-GIS system
Yin et al. Research on network topology analysis method of distribution management based on gis
CN116302579B (en) Space-time big data efficient loading rendering method and system for Web end
Peng et al. Unified method of power grid spatio-temporal data based on Beidou grid code
Gan et al. Power transmission and transformation project 3D visualization system design research

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: Room 501-503, annex building, Huaye building, No.1-3 Chuimao new street, Xihua Road, Yuexiu District, Guangzhou City, Guangdong Province 510000

Applicant after: China Southern Power Grid Power Technology Co.,Ltd.

Address before: Room 501-503, annex building, Huaye building, No.1-3 Chuimao new street, Xihua Road, Yuexiu District, Guangzhou City, Guangdong Province 510000

Applicant before: GUANGDONG ELECTRIC POWER SCIENCE RESEARCH INSTITUTE ENERGY TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant