CN-115269505-B - Konva-based power system main wiring diagram reading method and Konva-based power system main wiring diagram reading system
Abstract
The embodiment of the invention discloses a power system main wiring diagram reading method and system based on Konva. The method comprises the steps of collecting information of a transformer substation, forming a main wiring diagram file and storing the main wiring diagram file, searching the corresponding main wiring diagram file according to the name of the transformer substation, and analyzing the content of the main wiring diagram file to obtain a drawing graph. The system comprises a file integrating module, a reading module and a graph drawing module, wherein the file integrating module is used for acquiring information of a transformer substation to form a main wiring graph file and storing the main wiring graph file, the reading module is used for searching the corresponding main wiring graph file according to the name of the transformer substation, and the graph drawing module is used for analyzing the content of the main wiring graph file to obtain a drawing graph. The invention can realize the reading and sharing of the main wiring diagram and improve the operation and maintenance efficiency.
Inventors
- GAO YUBAO
- WANG SHIQI
- YIN HAIFA
- YANG MINGWEI
- CHEN PENG
- MA MENGDONG
- ZHANG YI
- WANG HONGHU
- WANG ZHIXUAN
- LIU XING
- WANG YONGGANG
- LI GUOBIN
- WU JUNJUN
- ZHAO DEJI
- HUANG ZHIFANG
- HUANG BAOLI
- LI JIAN
Assignees
- 上海许继电气有限公司
- 许继集团有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20220513
Claims (4)
- 1. A Konva-based power system main wiring diagram reading method, which is characterized by comprising the following steps: collecting information of a transformer substation, forming a main wiring diagram file and storing the main wiring diagram file; Searching a corresponding main wiring diagram file according to the name of the transformer substation; analyzing the file content of the main wiring diagram to obtain a drawing diagram; The collecting the information of the transformer substation, forming a main wiring diagram file and storing the main wiring diagram file comprises the following steps: Collecting node information and corresponding relation of all primary equipment of a transformer substation and secondary equipment protection devices associated with the primary equipment, and forming a corresponding graphical element information file in an xml form; storing the primitive information file in a primitive database; The searching the corresponding main wiring diagram file according to the transformer substation name comprises the following steps: transmitting the name of the transformer substation to a remote server; The remote server background program finds an xml file corresponding to the transformer substation and an associated primitive information file according to the name of the substation and the storage path of the main wiring diagram, reads the xml file and the associated primitive information file, and acquires file contents; the parsing of the primary wiring diagram file contents, obtaining the drawing graph comprises the following steps: transmitting the searched main wiring diagram file content to a front-end interface; and the front end analyzes the content by utilizing Konva according to the returned file content, renders the analysis result into a graph and displays the graph.
- 2. A Konva-based power system main wiring diagram reading system, comprising: the file integration module is used for collecting information of the transformer substation, forming a main wiring diagram file and storing the main wiring diagram file; the reading module is used for searching the corresponding main wiring diagram file according to the name of the transformer substation; the graph drawing module is used for analyzing the file content of the main wiring graph to obtain a drawing graph; Wherein, the file integration module includes: The acquisition unit is used for acquiring node information of all primary equipment of the transformer substation and secondary equipment protection devices associated with the primary equipment and corresponding relations of the node information to form corresponding graphical element information files in an xml form; The storage unit is used for storing the primitive information file in the primitive library; the reading module includes: The transformer substation name sending unit is used for sending the transformer substation name to the remote server; The file content acquisition unit is used for finding an xml file corresponding to the transformer substation and an associated primitive information file according to the name of the substation and the storage path of the main wiring diagram by a background program of the remote server to read the xml file and the associated primitive information file, so as to acquire file content; The graphics rendering module includes: The file transmission unit is used for transmitting the searched file content of the main wiring diagram to the front-end interface; And the analysis unit is used for analyzing the content by utilizing Konva according to the returned file content at the front end, rendering the analysis result into a graph and displaying the graph.
- 3. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the Konva-based power system main wiring diagram reading method of claim 1 when the computer program is executed.
- 4. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements the Konva-based power system main wiring diagram reading method of claim 1.
Description
Konva-based power system main wiring diagram reading method and Konva-based power system main wiring diagram reading system Technical Field The invention relates to the technical field of power systems, in particular to a Konva-based power system main wiring diagram reading method and system. Background In the field of power systems, a main wiring diagram of a transformer substation refers to a circuit with a function of receiving and distributing electric energy, which is connected in a certain order by various electrical devices such as a switching apparatus, a power transformer, a circuit breaker, an isolating switch, a lightning arrester, a transformer, a bus, a power cable, a phase-shifting capacitor and the like. The main wiring diagram of the transformer substation is generally represented in the form of a single line diagram, and intuitively displays the network topology structure and equipment distribution information of the whole transformer substation. In the electric power security system, the effect of the main wiring diagram is widely applied, and on-site engineering staff can comprehensively check the whole structure of the transformer substation equipment and the running state (generally on and off) of the equipment through the main wiring diagram of the security system transformer substation, so that the engineering staff can conveniently know the real-time information of the equipment in time, position the faulty equipment in a short time and timely eliminate defects, more faults are avoided, and the operation and maintenance efficiency is improved. The prior art for checking the main wiring diagram of the power system reads the locally stored file through a graphic configuration client tool, and does not support reading the remote main wiring diagram file. This means that the same substation master wiring diagram is stored at different stations, and different station systems only view the local master wiring diagram and need to install the graphic configuration client tool locally. The structure and information of the substation equipment is changed, such as equipment rectification, equipment replacement and related information change, and the change of the factors tends to cause synchronous update of the main wiring diagram. Because of the limitation of the technology, the main wiring diagram cannot realize shared reading, so that all station-side systems need to resynchronize the main wiring diagram, and the main wiring diagram is manually synchronized, thereby increasing the workload of operation and maintenance to a certain extent. Disclosure of Invention Therefore, an objective of the embodiments of the present invention is to provide a method and a system for reading a main wiring diagram of an electric power system based on Konva, which can realize the reading and sharing of the main wiring diagram and improve the operation and maintenance efficiency. In a first aspect, an embodiment of the present invention provides a method for reading a main wiring diagram of an electric power system based on Konva, where the method includes: collecting information of a transformer substation, forming a main wiring diagram file and storing the main wiring diagram file; Searching a corresponding main wiring diagram file according to the name of the transformer substation; and analyzing the file content of the main wiring diagram to obtain a drawing diagram. With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the collecting information of the substation, forming a main wiring diagram file, and storing the main wiring diagram file includes: Collecting node information and corresponding relation of all primary equipment of a transformer substation and secondary equipment protection devices associated with the primary equipment, and forming a corresponding graphical element information file in an xml form; the primitive information file is stored in a primitive repository. With reference to the first aspect, the embodiment of the present invention provides a second possible implementation manner of the first aspect, where the searching the corresponding primary wiring diagram file according to the substation name includes: transmitting the name of the transformer substation to a remote server; And the remote server background program finds an xml file corresponding to the transformer substation and an associated primitive information file according to the name of the substation and the storage path of the main wiring diagram, reads the xml file and the associated primitive information file, and acquires file contents. With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the parsing the content of the main wiring diagram file to obtain a drawing graph includes: transmitting the searched main wiring diagram fil