CN113515268B - Automatic mapping system of substation connection relation diagram based on python - Google Patents

Automatic mapping system of substation connection relation diagram based on python Download PDF

Info

Publication number
CN113515268B
CN113515268B CN202110817794.0A CN202110817794A CN113515268B CN 113515268 B CN113515268 B CN 113515268B CN 202110817794 A CN202110817794 A CN 202110817794A CN 113515268 B CN113515268 B CN 113515268B
Authority
CN
China
Prior art keywords
module
code
data
main control
python
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
CN202110817794.0A
Other languages
Chinese (zh)
Other versions
CN113515268A (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.)
Beijing Tianfang Hengrui Technology Co ltd
Original Assignee
Beijing Tianfang Hengrui 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 Beijing Tianfang Hengrui Technology Co ltd filed Critical Beijing Tianfang Hengrui Technology Co ltd
Priority to CN202110817794.0A priority Critical patent/CN113515268B/en
Publication of CN113515268A publication Critical patent/CN113515268A/en
Application granted granted Critical
Publication of CN113515268B publication Critical patent/CN113515268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • 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/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention discloses a python-based automatic mapping system for a transformer substation connection relation graph, which comprises a python man-machine interaction terminal, an automatic mapping system, a server and a transformer substation information database.

Description

Automatic mapping system of substation connection relation diagram based on python
Technical Field
The invention relates to the technical field of image software, in particular to a python-based automatic mapping system for a transformer substation connection relation graph.
Background
The substation wiring diagram is an engineering diagram for showing the circuit layout of the substation, and as the intelligent power grid enters the comprehensive construction stage, the requirements on the drawing efficiency and drawing quality of the substation wiring diagram are higher and higher, but most of the existing substation wiring diagrams are drawn manually, and the manual drawing of the substation wiring diagram is time-consuming and labor-consuming, has large workload and low updating frequency, and often causes inconsistent field and graph of the substation.
Disclosure of Invention
The invention aims to provide a python-based automatic mapping system for a transformer substation connection relation graph, which aims to solve the problems in the background technology.
In order to achieve the above purpose, the present invention provides the following technical solutions: the utility model provides an automatic mapping system of transformer substation connection relation diagram based on python, includes python man-machine interaction terminal, automatic drawing system, server and transformer substation information database, the inside automatic drawing system that is provided with of python man-machine interaction terminal, automatic drawing system includes the code subsystem, drawing subsystem, data receiving module, data processing module, coordinate storage module, power management module, display module and main control module, automatic drawing system is inside to be provided with the main control module, one side data of main control module is connected with the code subsystem, the code subsystem includes python code base, the coordinate calling module, the code inserts the module, the code editing module, the code inspection module, code execution module and code storage module, one side data of main control module is connected with the code editing module, one side data of code editing module is connected with the code insertion module, one side data of code insertion module is connected with the code calling module, one side data of code calling module is connected with python code base.
Preferably, the one side data of the code editing module is connected with the coordinate calling module, the one side data of the code editing module is connected with the code checking module, the one side data of the code checking module is connected with the code storage module, the one side data of the code storage module is connected with the code executing module, and the code executing module is connected with the main control module in a data mode.
Preferably, the main control module is connected with a drawing subsystem on one side, the drawing subsystem comprises a resolution acquisition module, a drawing source library, a layout optimization module and a graphic storage module, the resolution acquisition module is connected with one side of the main control module, the drawing module is connected with one side of the resolution acquisition module, the drawing module is connected with the drawing source library, the layout optimization module is connected with one side of the drawing module, the graphic storage module is connected with one side of the layout optimization module, and the graphic storage module is connected with the main control module.
Preferably, the drawing module comprises a line drawing module and an inflection point drawing module.
Preferably, the layout optimization module comprises an array configuration module and a line optimization module.
Preferably, a power management module is connected to a signal line on one side of the main control module, a display module is connected to a signal line on one side of the main control module, a data processing module is connected to a data processing module on one side of the main control module, a data receiving module is connected to a data processing module on one side of the data processing module, and a coordinate storage module is connected to a data on one side of the main control module.
Preferably, a server is arranged on one side of the python man-machine interaction terminal, the server is connected with the data receiving module in a data mode, and a transformer substation information database is arranged in the server.
Compared with the prior art, the invention has the beneficial effects that: according to the invention, the automatic and rapid extension of the transformer substation can be performed according to the transformer substation and wiring relation data, the position coordinates, the line outlet coordinates and the wiring inflection point coordinates of the transformer substation in a plan view can be automatically calculated, a python algorithm model is provided for the visual display of a foreground, the problems that the artificial extension drawing workload of the transformer substation is large, the line drawing is easy to cross, the new throwing and returning operation of the transformer substation cannot be issued in real time are effectively solved, the automatic imaging speed of the system designed by the invention is high, the medium-sized cities and the cities below are not more than 0.5 seconds, the large-sized cities are not more than 1 second, the extra-sized cities and the extra-sized cities are not more than 2 seconds, the self-adaption of different resolutions can be realized, the input and output model files adopt the standard json format, the readability is strong, the cross-platform support is supported, and the deployment environment is not limited.
Drawings
FIG. 1 is a schematic diagram of a system frame structure according to the present invention;
FIG. 2 is a block flow diagram of the present invention;
in the figure: 1. python man-machine interaction terminal; 2. an automatic drafting system; 3. a server; 4. a substation information database; 21. a code subsystem; 22. a drawing subsystem; 23. a data receiving module; 24. a data processing module; 25. a coordinate storage module; 26. a power management module; 27. a display module; 28. a main control module; 211. a python code library; 212. a coordinate calling module; 213. a code calling module; 214. a code insertion module; 215. a code editing module; 216. a code checking module; 217. a code execution module; 218. a code storage module; 221. a resolution acquisition module; 222. a drawing module; 223. a graph source library; 224. a layout optimization module; 225. a graphic storage module; 2221. a line drawing module; 2222. an inflection point drawing module; 2241. an array configuration module; 2242. and the line optimization module.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1-2, an embodiment of the present invention is provided: the automatic mapping system of the substation connection relation diagram based on python comprises a python man-machine interaction terminal 1, an automatic mapping system 2, a server 3 and a substation information database 4, wherein the automatic mapping system 2 is arranged in the python man-machine interaction terminal 1, the automatic mapping system 2 comprises a code subsystem 21, a mapping subsystem 22, a data receiving module 23, a data processing module 24, a coordinate storage module 25, a power management module 26, a display module 27 and a main control module 28, the main control module 28 is arranged in the automatic mapping system 2, one side data of the main control module 28 is connected with the code subsystem 21, the code subsystem 21 comprises a python code library 211, a coordinate calling module 212, a code calling module 213, a code inserting module 214, a code editing module 215, a code checking module 216, a code executing module 217 and a code storage module 218, one side data of the main control module 28 is connected with the code editing module 215, one side data of the code editing module 215 is connected with the code inserting module 214, one side data of the code inserting module 214 is connected with a code calling module 213, and one side data of the code calling module 213 is connected with the python code library 211; one side of the code editing module 215 is connected with the coordinate calling module 212 in data, one side of the code editing module 215 is connected with the code checking module 216 in data, one side of the code checking module 216 is connected with the code storage module 218 in data, one side of the code storage module 218 is connected with the code executing module 217, the code executing module 217 is in data connection with the main control module 28, the coordinate calling module 212 is used for calling coordinate data, the code checking module 216 is used for checking whether codes are correct, and the code executing module 217 is used for executing codes; the main control module 28 has one side connected to the drawing subsystem 22, the drawing subsystem 22 includes a resolution obtaining module 221, a drawing module 222, a source library 223, a layout optimizing module 224 and a graphic storage module 225, the main control module 28 has one side connected to the resolution obtaining module 221, the resolution obtaining module 221 has one side connected to the drawing module 222, the drawing module 222 has one side connected to the source library 223, the drawing module 222 has one side connected to the layout optimizing module 224, the layout optimizing module 224 has one side connected to the graphic storage module 225, and the graphic storage module 225 establishes data connection with the main control module 28, the drawing subsystem 22 is used for drawing according to the program set by the code subsystem 21; the drawing module 222 includes a line drawing module 2221 and an inflection point drawing module 2222, where the line drawing module 2221 is used to draw connecting lines, and the inflection point drawing module 2222 is used to draw inflection points, so as to avoid line bonding overlapping; the layout optimization module 224 comprises an array configuration module 2241 and a line optimization module 2242, wherein the array configuration module 2241 is used for dynamically configuring the number of transformer substation seats in each row, and the line optimization module 2242 automatically adjusts the tension of the wiring diagram according to the number of tie lines; the signal line on one side of the main control module 28 is connected with the power management module 26, the signal line on one side of the main control module 28 is connected with the display module 27, one side of the main control module 28 is connected with the data processing module 24, one side of the data processing module 24 is connected with the data receiving module 23, one side of the main control module 28 is connected with the coordinate storage module 25, the power management module 26 is used for managing power, the display module 27 is used for displaying the running state of equipment, the data receiving module 23 is used for receiving data sent by the server 3, the data processing module 24 is used for processing the data received by the data receiving module 23, and the coordinate storage module 25 is used for storing wiring coordinates of a transformer substation and corresponding ID addresses; one side of the python man-machine interaction terminal 1 is provided with a server 3, the server 3 is connected with a data receiving module 23 in a data mode, a transformer substation information database 4 is arranged in the server 3, the server 3 is used for data receiving and transmitting, and the transformer substation information database 4 is used for storing position information, equipment information and wiring information of a transformer substation.
Working principle: when the invention is used for automatically mapping a transformer substation connection relation diagram, firstly, the position information, the equipment information and the wiring information of a transformer substation are manually acquired and then uploaded to a server 3, the transformer substation information database 4 is used for storing, a python man-machine interaction terminal 1 is started, an automatic mapping system 2 is initialized, transformer substation information data is received by a data receiving module 23 and processed by a data processing module 24, converted into an ID address and wiring coordinates, and transmitted to a coordinate storage module 25 for storage by a main control module 28, meanwhile, the main control module 28 controls a code subsystem 21 to initialize, code editing is carried out by a code editing module 215, a code fragment of a python code library 211 is called by a code calling module 213 and inserted by a code inserting module 214, the ID address and wiring coordinate data are called by a coordinate calling module 212, the code editing module 215 is used for editing codes, the codes are verified by the code verification module 216, the code storage module 218 is used for storing the codes, the code execution module 217 is used for executing programs, the main control module 28 controls the drawing subsystem 22 to initialize, the resolution acquisition module 221 is used for collecting resolution data of the display device, the drawing module 222 is used for calling the drawing source library 223 to draw the drawings according to the resolution data, the layout optimization module 224 is used for carrying out layout optimization to obtain a substation connection relation diagram, the graphic storage module 225 is used for storing the substation connection relation diagram, the power management module 26 is used for managing power, the display module 27 is used for displaying the running state of the device, the line drawing module 2221 is used for drawing connecting lines, the inflection point drawing module 2222 is used for drawing inflection points, line bonding overlapping is avoided, the array configuration module 2241 is used for dynamically configuring the number of substation seats of each row, the line optimization module 2242 automatically adjusts the tension of the wiring diagram according to the number of tie lines.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.

Claims (5)

1. The utility model provides an automatic mapping system of transformer substation connection relation diagram based on python, includes python man-machine interaction terminal (1), automatic drawing system (2), server (3) and transformer substation information database (4), its characterized in that: an automatic drawing system (2) is arranged in the python man-machine interaction terminal (1), the automatic drawing system (2) comprises a code subsystem (21), a drawing subsystem (22), a data receiving module (23), a data processing module (24), a coordinate storage module (25), a power management module (26), a display module (27) and a main control module (28), the main control module (28) is arranged in the automatic drawing system (2), one side data of the main control module (28) is connected with the code subsystem (21), the code subsystem (21) comprises a python code library (211), a coordinate calling module (212), a code calling module (213), a code inserting module (214), a code editing module (215), a code checking module (216), a code executing module (217) and a code storage module (218), one side data of the main control module (28) is connected with the code editing module (215), one side data of the code inserting module (214) is connected with the code calling module (213), and one side data of the code calling module (213) is connected with the python code library (211).
One side data of the code editing module (215) is connected with a coordinate calling module (212), one side data of the code editing module (215) is connected with a code checking module (216), one side data of the code checking module (216) is connected with a code storage module (218), one side data of the code storage module (218) is connected with a code executing module (217), and the code executing module (217) is in data connection with a main control module (28);
one side data of main control module (28) is connected with drawing subsystem (22), drawing subsystem (22) are including resolution acquisition module (221), drawing module (222), map source storehouse (223), overall arrangement optimization module (224) and figure storage module (225), one side data of main control module (28) are connected with resolution acquisition module (221), one side data of resolution acquisition module (221) are connected with drawing module (222), one side data of drawing module (222) are connected with map source storehouse (223), one side data of drawing module (222) are connected with overall arrangement optimization module (224), one side data of overall arrangement optimization module (224) are connected with figure storage module (225), and figure storage module (225) establish data connection with main control module (28).
2. The python-based substation connection relation diagram automatic mapping system according to claim 1, wherein: the drawing module (222) includes a line drawing module (2221) and an inflection point drawing module (2222).
3. The python-based substation connection relation diagram automatic mapping system according to claim 1, wherein: the layout optimization module (224) includes an array configuration module (2241) and a line optimization module (2242).
4. The python-based substation connection relation diagram automatic mapping system according to claim 1, wherein: one side signal line of main control module (28) is connected with power management module (26), and one side signal line of main control module (28) is connected with display module (27), and one side data of main control module (28) is connected with data processing module (24), and one side data of data processing module (24) is connected with data receiving module (23), and one side data of main control module (28) is connected with coordinate storage module (25).
5. The python-based substation connection relation diagram automatic mapping system according to claim 1, wherein: one side of the python man-machine interaction terminal (1) is provided with a server (3), the server (3) is connected with the data receiving module (23) in a data mode, and a transformer substation information database (4) is arranged in the server (3).
CN202110817794.0A 2021-07-20 2021-07-20 Automatic mapping system of substation connection relation diagram based on python Active CN113515268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110817794.0A CN113515268B (en) 2021-07-20 2021-07-20 Automatic mapping system of substation connection relation diagram based on python

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110817794.0A CN113515268B (en) 2021-07-20 2021-07-20 Automatic mapping system of substation connection relation diagram based on python

Publications (2)

Publication Number Publication Date
CN113515268A CN113515268A (en) 2021-10-19
CN113515268B true CN113515268B (en) 2023-09-05

Family

ID=78068015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110817794.0A Active CN113515268B (en) 2021-07-20 2021-07-20 Automatic mapping system of substation connection relation diagram based on python

Country Status (1)

Country Link
CN (1) CN113515268B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116309932A (en) * 2023-02-28 2023-06-23 国网江苏省电力有限公司南京供电分公司 Method for drawing electrical wiring diagram of power distribution network equipment in urban control planning diagram

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090032395A (en) * 2007-09-27 2009-04-01 한국전력공사 System and method for intelligent distribution automation
CN101794455A (en) * 2009-01-21 2010-08-04 施昊 Drawable network editor and network information input editing system
CN104361184A (en) * 2014-11-21 2015-02-18 贵州电网公司电力调度控制中心 Automatic layout and wiring system and method of power grid
CN105488269A (en) * 2015-11-29 2016-04-13 国家电网公司 CIM based automatic graph-forming system for power transmission and distribution network
CN105631080A (en) * 2014-11-27 2016-06-01 国网内蒙古东部电力有限公司 Automatic generation device and method of vector power grid wiring diagram
CN106452887A (en) * 2016-10-24 2017-02-22 国网河南省电力公司信息通信公司 Electric power communication system visual display system based on diagram-model-data integration
CN106960103A (en) * 2017-03-30 2017-07-18 国网福建省电力有限公司 The automatic generation method and device of a kind of grid graph
CN109165781A (en) * 2018-08-15 2019-01-08 山东鲁能软件技术有限公司 Calculate the method, apparatus and terminal device in electric system line chart connecting line path
CN109814859A (en) * 2019-01-11 2019-05-28 中广核工程有限公司 A kind of nuclear power plant system flow chart DDA automatic creation system and method
CN111444587A (en) * 2020-02-27 2020-07-24 国网信通亿力科技有限责任公司 Electric power graph drawing method based on automatic drawing technology
CN112202245A (en) * 2020-09-29 2021-01-08 国网北京市电力公司 Automatic mapping system for low-voltage transformer area wiring diagram

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090032395A (en) * 2007-09-27 2009-04-01 한국전력공사 System and method for intelligent distribution automation
CN101794455A (en) * 2009-01-21 2010-08-04 施昊 Drawable network editor and network information input editing system
CN104361184A (en) * 2014-11-21 2015-02-18 贵州电网公司电力调度控制中心 Automatic layout and wiring system and method of power grid
CN105631080A (en) * 2014-11-27 2016-06-01 国网内蒙古东部电力有限公司 Automatic generation device and method of vector power grid wiring diagram
CN105488269A (en) * 2015-11-29 2016-04-13 国家电网公司 CIM based automatic graph-forming system for power transmission and distribution network
CN106452887A (en) * 2016-10-24 2017-02-22 国网河南省电力公司信息通信公司 Electric power communication system visual display system based on diagram-model-data integration
CN106960103A (en) * 2017-03-30 2017-07-18 国网福建省电力有限公司 The automatic generation method and device of a kind of grid graph
CN109165781A (en) * 2018-08-15 2019-01-08 山东鲁能软件技术有限公司 Calculate the method, apparatus and terminal device in electric system line chart connecting line path
CN109814859A (en) * 2019-01-11 2019-05-28 中广核工程有限公司 A kind of nuclear power plant system flow chart DDA automatic creation system and method
CN111444587A (en) * 2020-02-27 2020-07-24 国网信通亿力科技有限责任公司 Electric power graph drawing method based on automatic drawing technology
CN112202245A (en) * 2020-09-29 2021-01-08 国网北京市电力公司 Automatic mapping system for low-voltage transformer area wiring diagram

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
图示化智能供配电网设计系统;周媛等;《电力自动化设备》;第25卷(第7期);53-56 *

Also Published As

Publication number Publication date
CN113515268A (en) 2021-10-19

Similar Documents

Publication Publication Date Title
CN105956719B (en) Photovoltaic resource assessment optimization method and system based on historical meteorological data
CN113515268B (en) Automatic mapping system of substation connection relation diagram based on python
CN111625735B (en) Method for visually displaying active operation and inspection by using secondary equipment of intelligent substation
CN102779356B (en) Curved surface meshing system and method
CN114138674A (en) Automatic testing method and device and computer equipment
CN111857711A (en) SVG (scalable vector graphics) and RPC (remote procedure call) communication-based SCADA (supervisory control and data acquisition) system real-time display method
CN108427823A (en) A kind of low-voltage platform area Auto based on pattern layout and Topology service
CN114356761A (en) Test case document generation method and device, storage medium and computer equipment
CN112215211B (en) Method for extracting chamber branch link topological relation based on CAD drawing data
CN108133457B (en) Large-scale complicated pencil auxiliary wiring projection system of shielding more
CN111914376B (en) Automatic construction method and device for power grid bus mode diagram and storage medium
CN117170727A (en) Inspection method and device
CN115544622B (en) Urban and rural participated three-dimensional planning design platform, method, equipment and storage medium
CN116595941A (en) Automatic generation system and method for terminal wiring diagram between electrical cabinets
CN112560206A (en) Method and system for automatically drawing power transmission line edge layout by CAD
WO2021115314A1 (en) Method, apparatus, and device for implementing logic simulation of nuclear power plant onsite control objects
CN114996886A (en) Multi-metadata-fused complete automatic drawing system and method for distribution network single line diagram
CN114882519A (en) Method and device for extracting layer based on primitive features
CN111209359B (en) Graphic symbol self-adaptive system method for accessing EMS substation graphic model into GIS platform
CN110929308B (en) DXT file reading and storing algorithm based on PSD-BPA application software
CN111931017A (en) Intelligent configuration method and system suitable for coal preparation plant
CN108629131B (en) Intelligent generation method and device of cross-connection structure diagram
CN211860168U (en) Data protocol conversion device of LED display screen
CN113687755B (en) Device for realizing graphical GIS, man-machine interaction system and use method
CN209342888U (en) Work condition analogue battery test circuit

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
GR01 Patent grant
GR01 Patent grant