CN115457168A - Transformer substation monitoring picture drawing method and device, storage medium and equipment - Google Patents

Transformer substation monitoring picture drawing method and device, storage medium and equipment Download PDF

Info

Publication number
CN115457168A
CN115457168A CN202210984884.3A CN202210984884A CN115457168A CN 115457168 A CN115457168 A CN 115457168A CN 202210984884 A CN202210984884 A CN 202210984884A CN 115457168 A CN115457168 A CN 115457168A
Authority
CN
China
Prior art keywords
row
substation
image grid
monitored
transformer substation
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.)
Pending
Application number
CN202210984884.3A
Other languages
Chinese (zh)
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 Resource Power Technology Research Institute
Original Assignee
China Resource Power Technology Research Institute
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 Resource Power Technology Research Institute filed Critical China Resource Power Technology Research Institute
Priority to CN202210984884.3A priority Critical patent/CN115457168A/en
Publication of CN115457168A publication Critical patent/CN115457168A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • G06F40/143Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00001Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by the display of information or by user interaction, e.g. supervisory control and data acquisition systems [SCADA] or graphical user interfaces [GUI]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00002Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by monitoring
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00032Systems characterised by the controlled or operated power network elements or equipment, the power network elements or equipment not otherwise provided for
    • H02J13/00034Systems characterised by the controlled or operated power network elements or equipment, the power network elements or equipment not otherwise provided for the elements or equipment being or involving an electric power substation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Power Engineering (AREA)
  • Business, Economics & Management (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The application relates to a transformer substation monitoring picture drawing method, which comprises the following steps: acquiring electrical diagram information of a to-be-monitored transformer substation, and establishing an xml template library of the to-be-monitored transformer substation; according to an xml template library of the transformer substation to be monitored, carrying out image grid division on a monitoring picture of the transformer substation to be monitored to obtain an image grid matrix; determining the position of each row of initial primitive in the image grid matrix and the position change logic of each row of primitive; and identifying the component ID with the monitoring attribute in the xml template library, generating an electrical diagram according to the image grid matrix, the position of each row of initial primitives in the image grid matrix, the position change logic of each row of primitives and the component ID, and obtaining a monitoring picture of the transformer substation to be monitored. Compared with the prior art, the method can draw the main picture and the sub-picture of the transformer substation monitoring, can embed the drawing file into the digital monitoring system, realizes the real-time display of closing, opening, alarming and networking data, and meets the actual application requirements.

Description

Transformer substation monitoring picture drawing method and device, storage medium and equipment
Technical Field
The application relates to the technical field of monitoring of power plants and power systems, in particular to a method and a device for drawing a monitoring picture of a transformer substation, a storage medium and power equipment.
Background
With the large increase of the installed scale of electric power, it is a necessary and fundamental condition to construct a digital monitoring system that meets the daily operation and maintenance requirements of a station. The transformer substation refers to a place for converting voltage and current, receiving electric energy and distributing electric energy in an electric power system, and the construction of a transformer substation monitoring system is very important for the safety management of the place and the improvement of operation and maintenance work efficiency.
However, the monitoring of the substation facing the regional centralized control involves drawing a large number of electrical pictures, one region usually includes a plurality of power stations, the number of electrical monitoring main pictures and various sub-pictures of a single station is up to dozens, and each picture includes numerous electrical devices and lines. Traditional professional drawing software such as CAD and the like has certain requirements on industrial drawing capability, and if large drawings or complex logic configurations are processed, a high-performance computer is required to be equipped and sufficient labor input is ensured.
Therefore, the traditional industrial mapping method is difficult to solve the problems of numerous monitoring pictures and complex logic configuration of the transformer substation, not only needs a large amount of drawing manpower input, but also is difficult to realize real-time state monitoring on equipment such as a transformer, a high-voltage circuit breaker, an isolating switch, a grounding disconnecting link, a bus and the like.
Disclosure of Invention
Therefore, in order to solve the technical problems, a transformer substation monitoring picture drawing method, a transformer substation monitoring picture drawing device, a storage medium and power equipment are needed to be provided, wherein the transformer substation monitoring picture and a sub-picture can be drawn, and a drawing file can be embedded into a digital monitoring system to realize real-time display of closing, opening, alarming and networking data.
The embodiment of the invention provides a method for drawing a monitoring picture of a transformer substation, which comprises the following steps:
acquiring substation information of a substation to be monitored, and establishing an xml template library of the substation to be monitored according to the substation information; the xml template library comprises an equipment template library and a component template library;
performing image grid division on a monitoring picture of the transformer substation to be monitored according to the xml template library of the transformer substation to be monitored to obtain an image grid matrix;
determining the position of each row of initial primitives and the position change logic of each row of primitives in the image grid matrix;
and identifying a component ID with monitoring attributes in the xml template library, generating an electrical diagram according to the image grid matrix, the position of each row of initial primitives in the image grid matrix, the position change logic of each row of primitives and the component ID, and obtaining a monitoring picture of the transformer substation to be monitored according to the electrical diagram.
Furthermore, the equipment template library comprises one or more of an outgoing line, a high-voltage bus, a low-voltage bus, a bus PT, a main transformer, a current collection circuit, a grounding transformer, a station transformer and a reactive power compensation device;
the component template library comprises one or more of a circuit breaker, an isolating switch and a grounding disconnecting link.
Further, according to the xml template library of the substation to be monitored, performing image grid division on the monitoring picture of the substation to be monitored to obtain an image grid matrix, which specifically comprises:
determining a monitoring picture of the transformer substation to be monitored according to a transformer substation design file, a design drawing or a manufacturer supply drawing of the transformer substation to be monitored;
dividing the monitoring picture according to image grids according to the xml template library of the transformer substation to be monitored to obtain an image grid matrix, and defining the image grid matrix as R (m, n); where m is the number of rows of the image grid and n is the maximum of the number of picture elements of each row of the image grid.
Further, determining a position of each row of initial primitives and a position change logic of each row of primitives in the image grid matrix specifically includes:
determining the position of each row of initial primitive in the image grid matrix through the primitive position matrix, defining the primitive position matrix as S (m, 2), and recording the transverse position and the longitudinal position of the first element of each row in xml in the image grid matrix;
and determining the position change logic of each row of primitives in the image grid matrix through the primitive position logic matrix, and if the equipment of the primitives in the same row follows the same position change rule, defining the primitive position logic matrix as M (M, 2) to represent the transverse change step length and the longitudinal change step length of each row of positions.
Further, according to the image grid matrix, the position of each row of initial primitives in the image grid matrix, the position change logic of each row of primitives, and the component ID, an electrical diagram is generated, which specifically comprises:
setting the attributes of all equipment and/or components in the monitoring picture of the transformer substation to be monitored through loop iteration;
and combining the xml templates of the independent devices and/or components to perform picture layout to form the electrical diagram.
Further, the electrical diagram includes a main electrical diagram and a sub-electrical diagram, and a monitoring picture of the substation to be monitored is obtained according to the electrical diagram, specifically including:
embedding the svg files of the main electrical diagram and the sub electrical diagrams into a transformer substation monitoring system of the transformer substation to be monitored, and checking monitoring picture contents;
and if the positions of the equipment and/or the components are not suitable, returning to the step of determining the position of each row of initial primitive and the position change logic of each row of primitive in the image grid matrix for fine adjustment until the picture layout meets the requirements.
Further, the method further comprises:
and when a measuring point ID information subscription instruction of monitoring equipment is received, displaying the measuring point information and the control information of the monitoring equipment to a monitoring picture of the transformer substation to be monitored in real time.
Another embodiment of the present invention provides a substation monitoring picture drawing device, including:
the template library creating module is used for acquiring substation information of a to-be-monitored substation and creating an xml template library of the to-be-monitored substation according to the substation information; the xml template library comprises an equipment template library and a component template library;
the image grid division module is used for carrying out image grid division on the monitoring picture of the transformer substation to be monitored according to the xml template library of the transformer substation to be monitored to obtain an image grid matrix;
the position logic determining module is used for determining the position of each row of initial primitive in the image grid matrix and the position change logic of each row of primitive;
and the monitoring picture generation module is used for identifying the component ID with the monitoring attribute in the xml template library, generating an electrical diagram according to the image grid matrix, the position of each row of initial primitives in the image grid matrix, the position change logic of each row of primitives and the component ID, and obtaining the monitoring picture of the transformer substation to be monitored according to the electrical diagram.
Another embodiment of the present invention is also directed to a computer readable storage medium including a stored computer program; wherein the computer program, when running, controls the device where the computer readable storage medium is located to execute the substation monitoring picture drawing method as described above.
Another embodiment of the present invention also provides an electric power device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the substation monitoring screen drawing method as described above when executing the computer program.
According to the transformer substation monitoring picture drawing method, firstly, transformer substation information of a transformer substation to be monitored is obtained, and an xml template library of the transformer substation to be monitored is established according to the transformer substation information; the xml template library comprises an equipment template library and a component template library; performing image grid division on a monitoring picture of the transformer substation to be monitored according to the xml template library of the transformer substation to be monitored to obtain an image grid matrix; determining the position of each row of initial primitives and the position change logic of each row of primitives in the image grid matrix; and identifying a component ID with monitoring attributes in the xml template library, generating an electrical diagram according to the image grid matrix, the position of each row of initial primitives in the image grid matrix, the position change logic of each row of primitives and the component ID, and obtaining a monitoring picture of the transformer substation to be monitored according to the electrical diagram. Compared with the prior art, the method and the device can draw the main monitoring picture and the sub-monitoring picture of the transformer substation, can embed the drawing file into a digital monitoring system, realize real-time display of closing, opening, alarming and networking data, and meet the actual application requirements.
Drawings
Fig. 1 is a schematic flow chart of a method for drawing a monitoring picture of a substation according to an embodiment of the present invention;
fig. 2 is an exemplary effect diagram of drawing a monitoring picture of a substation according to an embodiment of the present invention;
fig. 3 is another exemplary effect diagram of drawing a substation monitoring picture according to the embodiment of the present invention;
fig. 4 is a block diagram of a transformer substation monitoring picture drawing device according to an embodiment of the present invention;
fig. 5 is a structural diagram of an electrical device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments 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 any inventive step, are within the scope of the present invention.
It should be noted that, the step numbers in the text are only for convenience of explanation of the specific embodiments, and do not serve to limit the execution order of the steps. The method provided by the embodiment can be executed by the relevant server, and the server is taken as an example for explanation below.
As shown in fig. 1 to 3, a method for drawing a substation monitoring screen according to an embodiment of the present invention includes steps S11 to S14:
and S11, obtaining transformer substation information of the transformer substation to be monitored, and establishing an xml template library of the transformer substation to be monitored according to the transformer substation information. The xml template library comprises an equipment template library and a component template library.
It should be noted that, in order to solve the problem that the conventional professional drawing software such as CAD has a certain requirement on the industrial drawing capability, if a large drawing or a complex logical configuration is to be processed, a high-performance computer needs to be equipped and sufficient human input is ensured; other image identification methods aiming at design drawings or manufacturer drawings adopt computer vision technologies such as feature extraction and image identification, apply various machine learning algorithms to carry out image matching based on features, and have the problems of complex steps and poor scene adaptivity. The method comprises the steps of forming an electrical diagram svg file based on an xml template and a position adjusting strategy of basic equipment and components, constructing a substation monitoring user interface by adopting a front-end technology, identifying the ID attribute of the components led in the electrical diagram file, monitoring the change of real-time subscription data, and realizing the real-time display of closing, opening, alarming and networking data.
Specifically, taking the main wiring diagram as an example, the equipment template library may include one or more of an outgoing line, a high-voltage bus, a low-voltage bus, a bus PT, a main transformer, a current collection circuit, a grounding transformer, a station transformer and a reactive power compensation device; the component template library can comprise one or more of a breaker, a disconnecting switch, a grounding disconnecting switch and the like. The device template library and the component template library can independently form an electrical diagram svg file, and the file can be opened and viewed through a code editor, a browser or professional drawing software. It can be understood that, in other embodiments, the types of the devices or the components included in the device template library and the component template library respectively are further adjusted according to actual requirements.
And S12, performing image grid division on the monitoring picture of the transformer substation to be monitored according to the xml template library of the transformer substation to be monitored to obtain an image grid matrix.
Specifically, a monitoring picture of the transformer substation to be monitored is determined according to a transformer substation design file, a design drawing or a manufacturer supply drawing of the transformer substation to be monitored; dividing the monitoring picture according to image grids according to the xml template library of the transformer substation to be monitored to obtain an image grid matrix, and defining the image grid matrix as R (m, n); where m is the number of rows of the image grid and n is the maximum of the number of primitives of each row of the image grid. In addition, in this embodiment, the elements in the matrix may represent different devices by specific numbers, each row is filled from one element to the back according to the device, and the following elements are replaced by 0 when the maximum number of primitives is less than.
And S13, determining the position of each row of initial primitives and the position change logic of each row of primitives in the image grid matrix.
Specifically, the position of an initial primitive of each row in the image grid matrix is determined through a primitive position matrix, the primitive position matrix is defined as S (m, 2), and the transverse position and the longitudinal position of a first element of each row in the image grid matrix in xml are recorded. And determining the position change logic of each row of primitives in the image grid matrix through the primitive position logic matrix, and if the equipment of the primitives in the same row follows the same position change rule, defining the primitive position logic matrix as M (M, 2) to represent the transverse change step length and the longitudinal change step length of each row of positions. It can be understood that if the devices of the primitives in the same row do not follow the same position change rule, the rule can be further refined, and a plurality of matrices are defined to respectively describe the position change of each row.
And S14, identifying the component ID with the monitoring attribute in the xml template library, generating an electrical diagram according to the image grid matrix, the position of each row of initial primitives in the image grid matrix, the position change logic of each row of primitives and the component ID, and obtaining the monitoring picture of the transformer substation to be monitored according to the electrical diagram.
The device ID attribute is obtained by classifying monitoring attributes of devices with dynamic effect changes such as circuit breakers, disconnecting switches and grounding disconnecting switches in the template library, such as closing and opening, color changes of the devices and the like, and identifying the devices by adding prefixes or suffixes to the ID of the related measuring points.
Specifically, the attributes of all devices and/or components in the monitoring picture of the transformer substation to be monitored are set through loop iteration; and combining the xml templates of the independent devices and/or components to perform picture layout to form the electrical diagram. The electrical diagram comprises a main electrical diagram and a sub electrical diagram, the main electrical diagram can reflect the connection relation and the whole dynamic state between the equipment and the components, and the sub electrical diagram is used for reflecting the working states of the corresponding components or the equipment in real time.
Further, embedding the svg files of the main electrical diagram and the sub electrical diagram into a substation monitoring system of the substation to be monitored, and checking monitoring picture contents; and if the positions of the equipment and/or the components are not suitable, returning to the step of determining the position of each row of initial primitive and the position change logic of each row of primitive in the image grid matrix for fine adjustment until the picture layout meets the requirements.
Further, the substation monitoring picture drawing method can also display the measuring point information and the control information of the monitoring equipment to the monitoring picture of the substation to be monitored in real time when a measuring point ID information subscription instruction of the monitoring equipment is received.
For example, referring to fig. 2, the electrical diagram of the substation mainly includes a breaker (indicated by a rectangle), a bus (indicated by a horizontal line), and a general line (indicated by a vertical line). Note: this diagram is used as an example only, and the actual electrical diagram is more complex.
According to the working process:
first, assuming that the resolution of the final monitoring screen is 1920 × 1080, the breaker diagram height H and width W are set to 80 and 40, respectively, the bus length L is 800, and the line length K is generally 80, and an xml template library is created.
Further, according to the xml template library of the transformer substation to be monitored, dividing the monitoring picture according to image grids to obtain an image grid matrix, defining a matrix R (m, n), wherein m is 11, and n is 16;
the number 1 represents a circuit breaker, the number 2 represents a bus, the number 3 represents a general line, then
Figure BDA0003800264570000081
Further, determining the position of each row of initial primitive in the image grid matrix through the primitive position matrix, and defining the primitive position matrix as S 1 (m, 2) record the horizontal and vertical positions of the primitive corresponding to the first element in each row of R (i.e., all elements in the first column of R). After the position of the first element in the first row is determined, the positions of other elements can be obtained according to some symmetrical relations, and the positions need to be simply planned in advance through sketch or drawing software.
Figure BDA0003800264570000091
Similarly, for the horizontal unknown and vertical positions of the primitives corresponding to all the elements in the ith column in R, S can be used i And (4) showing.
Further, determining the position change logic of each row of primitives in the image grid matrix through the primitive position logic matrix, defining a primitive position logic matrix M (M, 2) which represents the transverse change step length and the longitudinal change step length of each row of positions,
Figure BDA0003800264570000092
can be pushed out
S i =S i-1 +M
Furthermore, the measuring point IDs of all the circuit breakers are correlated, and in the subsequent step, the interface display can acquire real-time state data of the equipment through the attribute.
Then, according to S i =S i-1 A recurrence formula of + M, S can be determined i I =2, \8230n. is the position of all components in the electrical diagram, thereby combining the basic primitives in the xml template library to form the complete electrical diagram.
Further, according to the above steps, the following electrical diagram can be obtained, and it can be found that the positions of the 9 th to 16 th elements in the last two rows need to be adjusted, at this time, the step of determining the position change logic of each row of primitives in the image grid matrix can be returned, and the primitives needing to be adjusted are completed through the following recursion cycle.
Figure BDA0003800264570000101
S i =S 1 +(i-1)*M+N
And finally, subscribing the measuring point ID information associated with all the circuit breakers, and monitoring the change of the subscribed ID data to realize the real-time display of the equipment state, wherein the received subscribed numerical value is 1 to display a red closing state and the numerical value is 0 to display a green opening state, like the circuit breaker in the embodiment.
The method solves the problems of large workload and high professional requirements of the conventional software drawing; the automatic arrangement of the components of the monitoring picture of the transformer substation and the real-time state and data display of the monitoring picture of the transformer substation are realized, and the monitoring picture of the transformer substation can be organically fused with other monitoring pictures so as to construct large-scale power application and meet the requirements of practical application.
According to the transformer substation monitoring picture drawing method, firstly, transformer substation information of a transformer substation to be monitored is obtained, and an xml template library of the transformer substation to be monitored is established according to the transformer substation information; the xml template library comprises an equipment template library and a component template library; performing image grid division on a monitoring picture of the transformer substation to be monitored according to the xml template library of the transformer substation to be monitored to obtain an image grid matrix; determining the position of each row of initial primitives and the position change logic of each row of primitives in the image grid matrix; and identifying a component ID with monitoring attributes in the xml template library, generating an electrical diagram according to the image grid matrix, the position of each row of initial primitives in the image grid matrix, the position change logic of each row of primitives and the component ID, and obtaining a monitoring picture of the transformer substation to be monitored according to the electrical diagram. Compared with the prior art, the method can draw the main monitoring picture and the sub-monitoring picture of the transformer substation, can embed the drawing file into a digital monitoring system, realizes real-time display of closing, opening, alarming and network-related data, and meets the requirements of practical application.
It should be understood that, although the steps in the above-described flowcharts are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least a part of the steps in the above flowcharts may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or the stages is not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a part of the sub-steps or the stages of other steps.
Referring to fig. 4, the present invention further provides a device for drawing a monitoring picture of a substation, where the device includes:
the template library creating module 21 is used for acquiring substation information of a to-be-monitored substation and creating an xml template library of the to-be-monitored substation according to the substation information; the xml template library comprises an equipment template library and a component template library.
It should be noted that, in order to solve the problem that the conventional professional drawing software such as CAD has a certain requirement on the industrial drawing capability, if large drawings or complex logic configurations are to be processed, a high-performance computer is required to be equipped and sufficient human input is ensured; other image recognition methods for design drawings or manufacturer drawings adopt computer vision technologies such as feature extraction and image recognition, apply various machine learning algorithms to perform image matching based on features, and have the problems of complex steps and poor scene adaptivity. The invention forms an electrical diagram svg file based on an xml template and a position adjusting strategy of basic equipment and components, adopts a front-end technology to construct a substation monitoring user interface, identifies the component id attribute of an imported electrical diagram file, monitors the change of real-time subscription data, and realizes the real-time display of closing, opening, alarming and networking data.
Specifically, taking the main wiring diagram as an example, the equipment template library may include one or more of an outgoing line, a high-voltage bus, a low-voltage bus, a bus PT, a main transformer, a current collection circuit, a grounding transformer, a station transformer and a reactive power compensation device; the component template library can comprise one or more of a breaker, a disconnecting switch, a grounding disconnecting switch and the like. The device template library and the component template library can independently form an electrical diagram svg file, and the file can be opened and viewed through a code editor, a browser or professional drawing software. It is understood that, in other embodiments, the types of the devices or components included in the device template library and the component template library correspondingly may be further adjusted according to actual requirements.
And the image grid division module 22 is used for performing image grid division on the monitoring picture of the transformer substation to be monitored according to the xml template library of the transformer substation to be monitored to obtain an image grid matrix.
Specifically, a monitoring picture of the transformer substation to be monitored is determined according to a transformer substation design file, a design drawing or a manufacturer supply drawing of the transformer substation to be monitored; dividing the monitoring picture according to image grids according to the xml template library of the transformer substation to be monitored to obtain an image grid matrix, and defining the image grid matrix as R (m, n); where m is the number of rows of the image grid and n is the maximum of the number of primitives of each row of the image grid. In addition, in this embodiment, the elements in the matrix may represent different devices by specific numbers, each row is filled from one element to the back by the device, and the subsequent elements are replaced by 0 when the maximum number of primitives is less than.
A position logic determining module 23, configured to determine a position of each row of initial primitives and a position change logic of each row of primitives in the image grid matrix.
Specifically, the position of an initial primitive of each row in the image grid matrix is determined through a primitive position matrix, the primitive position matrix is defined as S (m, 2), and the transverse position and the longitudinal position of a first element of each row in the image grid matrix in xml are recorded. And determining the position change logic of each row of primitives in the image grid matrix through the primitive position logic matrix, and if the equipment of the primitives in the same row follows the same position change rule, defining the primitive position logic matrix as M (M, 2) to represent the transverse change step length and the longitudinal change step length of each row of positions. It can be understood that if the devices of the same row of primitives do not follow the same position change rule, the rule may be further refined, and a plurality of matrices may be defined to describe the position change of each row respectively.
And the monitoring picture generation module 24 is configured to identify a component ID of the xml template library having a monitoring attribute, generate an electrical diagram according to the image grid matrix, the position of each row of initial primitives and the position change logic of each row of primitives in the image grid matrix, and the component ID, and obtain a monitoring picture of the substation to be monitored according to the electrical diagram.
The device ID attribute is obtained by classifying monitoring attributes of devices with dynamic effect changes such as circuit breakers, disconnecting switches and grounding disconnecting switches in the template library, such as closing and opening, color changes of the devices and the like, and identifying the devices by adding prefixes or suffixes to the ID of the related measuring points.
Specifically, the attributes of all devices and/or components in the monitoring picture of the transformer substation to be monitored are set through loop iteration; and combining the xml templates of the independent devices and/or components to perform picture layout to form the electrical diagram. The electrical diagram comprises a main electrical diagram and a sub electrical diagram, the main electrical diagram can reflect the connection relation and the overall dynamic between the equipment and the components, and the sub electrical diagram is used for reflecting the working state of the corresponding components or the equipment in real time.
Further, embedding the svg files of the main electrical diagram and the sub electrical diagram into a substation monitoring system of the substation to be monitored, and checking monitoring picture contents; and if the positions of the equipment and/or the components are not suitable, returning to the step of determining the position of each row of initial primitive and the position change logic of each row of primitive in the image grid matrix for fine adjustment until the picture layout meets the requirements.
Further, the substation monitoring picture drawing method can also display the measuring point information and the control information of the monitoring equipment to the monitoring picture of the substation to be monitored in real time when a measuring point ID information subscription instruction of the monitoring equipment is received.
The method solves the problems of large workload and high professional requirement of the conventional software drawing; the automatic arrangement of the components of the monitoring picture of the transformer substation and the real-time state and data display of the monitoring picture of the transformer substation are realized, and the monitoring picture of the transformer substation can be organically fused with other monitoring pictures so as to construct large-scale power application and meet the requirements of practical application.
According to the transformer substation monitoring picture drawing device provided by the embodiment of the invention, firstly, transformer substation information of a transformer substation to be monitored is obtained, and an xml template library of the transformer substation to be monitored is established according to the transformer substation information; the xml template library comprises an equipment template library and a component template library; performing image grid division on a monitoring picture of the transformer substation to be monitored according to the xml template library of the transformer substation to be monitored to obtain an image grid matrix; determining the position of each row of initial primitives and the position change logic of each row of primitives in the image grid matrix; and identifying a component ID with monitoring attributes in the xml template library, generating an electrical diagram according to the image grid matrix, the position of each row of initial primitives in the image grid matrix, the position change logic of each row of primitives and the component ID, and obtaining a monitoring picture of the transformer substation to be monitored according to the electrical diagram. Compared with the prior art, the method and the device can draw the main monitoring picture and the sub-monitoring picture of the transformer substation, can embed the drawing file into a digital monitoring system, realize real-time display of closing, opening, alarming and networking data, and meet the actual application requirements.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program; wherein the computer program, when running, controls the device where the computer readable storage medium is located to execute the substation monitoring picture drawing method as described above.
An embodiment of the present invention further provides an electrical device, which is shown in fig. 5 and is a block diagram of a preferred embodiment of the electrical device provided in the present invention, where the electrical device includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and the processor implements the transformer substation monitoring screen drawing method described above when executing the computer program.
Preferably, the computer program can be divided into one or more modules/units (e.g., computer program 1, computer program 2, · · · · · · ·), which are stored in the memory 20 and executed by the processor 10 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program in the power equipment.
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, a discrete Gate or transistor logic device, a discrete hardware component, etc., the general purpose Processor may be a microprocessor, or the Processor may be any conventional Processor, the Processor is a control center of the power device, and various interfaces and lines are used to connect various parts of the power device.
The memory mainly includes a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like, and the data storage area may store related data and the like. In addition, the memory may be a high speed random access memory, may be a non-volatile memory such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), and the like, or the memory 20 may be other volatile solid state memory devices.
It should be noted that the above-mentioned power device may include, but is not limited to, a processor and a memory, and those skilled in the art will understand that the structural block diagram of fig. 5 is only an example of the power device, and does not constitute a limitation of the power device, and may include more or less components than those shown, or combine some components, or different components.
In summary, according to the transformer substation monitoring picture drawing method, the transformer substation monitoring picture drawing device, the storage medium and the power equipment, transformer substation information of a transformer substation to be monitored is obtained firstly, and an xml template library of the transformer substation to be monitored is established according to the transformer substation information; the xml template library comprises an equipment template library and a component template library; performing image grid division on the monitoring picture of the transformer substation to be monitored according to the xml template library of the transformer substation to be monitored to obtain an image grid matrix; determining the position of each row of initial primitives and the position change logic of each row of primitives in the image grid matrix; and identifying a component ID with monitoring attributes in the xml template library, generating an electrical diagram according to the image grid matrix, the position of each row of initial primitives in the image grid matrix, the position change logic of each row of primitives and the component ID, and obtaining a monitoring picture of the transformer substation to be monitored according to the electrical diagram. Compared with the prior art, the method can draw the main monitoring picture and the sub-monitoring picture of the transformer substation, can embed the drawing file into a digital monitoring system, realizes real-time display of closing, opening, alarming and network-related data, and meets the requirements of practical application.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A transformer substation monitoring picture drawing method is characterized by comprising the following steps:
acquiring substation information of a substation to be monitored, and establishing an xml template library of the substation to be monitored according to the substation information; the xml template library comprises an equipment template library and a component template library;
performing image grid division on a monitoring picture of the transformer substation to be monitored according to the xml template library of the transformer substation to be monitored to obtain an image grid matrix;
determining the position of each row of initial primitives and the position change logic of each row of primitives in the image grid matrix;
and identifying a component ID with monitoring attributes in the xml template library, generating an electrical diagram according to the image grid matrix, the position of each row of initial primitives in the image grid matrix, the position change logic of each row of primitives and the component ID, and obtaining a monitoring picture of the transformer substation to be monitored according to the electrical diagram.
2. The substation monitoring picture drawing method according to claim 1,
the equipment template library comprises one or more of an outgoing line, a high-voltage bus, a low-voltage bus, a bus PT, a main transformer, a current collection circuit, a grounding transformer, a station transformer and a reactive power compensation device;
the component template library comprises one or more of a circuit breaker, an isolating switch and a grounding disconnecting link.
3. The transformer substation monitoring picture drawing method according to claim 1, wherein image grid division is performed on the monitoring picture of the transformer substation to be monitored according to the xml template library of the transformer substation to be monitored to obtain an image grid matrix, and the method specifically comprises the following steps:
determining a monitoring picture of the transformer substation to be monitored according to a transformer substation design file, a design drawing or a manufacturer supply drawing of the transformer substation to be monitored;
dividing the monitoring picture according to image grids according to the xml template library of the transformer substation to be monitored to obtain an image grid matrix, and defining the image grid matrix as R (m, n); where m is the number of rows of the image grid and n is the maximum of the number of picture elements of each row of the image grid.
4. The substation monitoring picture drawing method according to claim 3, wherein determining the position of the initial primitive of each row and the position change logic of the primitive of each row in the image grid matrix specifically comprises:
determining the position of each row of initial primitive in the image grid matrix through the primitive position matrix, defining the primitive position matrix as S (m, 2), and recording the transverse position and the longitudinal position of the first element of each row in xml in the image grid matrix;
and determining the position change logic of each row of primitives in the image grid matrix through the primitive position logic matrix, and if the equipment of the primitives in the same row follows the same position change rule, defining the primitive position logic matrix as M (M, 2) to represent the transverse change step length and the longitudinal change step length of each row of positions.
5. The substation monitoring picture drawing method according to claim 1, wherein an electrical diagram is generated according to the image grid matrix, the position of each row of initial primitives and the position change logic of each row of primitives in the image grid matrix, and the component ID, and specifically comprises:
setting the attributes of all equipment and/or components in the monitoring picture of the transformer substation to be monitored through loop iteration;
and combining the xml templates of the independent devices and/or components to perform picture layout to form the electrical diagram.
6. The substation monitoring picture drawing method according to claim 5, wherein the electrical diagram comprises a main electrical diagram and a sub electrical diagram, and the obtaining of the monitoring picture of the substation to be monitored according to the electrical diagram specifically comprises:
embedding the svg files of the main electrical diagram and the sub electrical diagram into a substation monitoring system of the substation to be monitored, and checking monitoring picture contents;
and if the positions of the equipment and/or the components are not proper, returning to the step of determining the position of each row of initial primitives and the position change logic of each row of primitives in the image grid matrix for fine adjustment until the picture layout meets the requirements.
7. The substation monitoring picture drawing method according to claim 5, further comprising:
and when a measuring point ID information subscription instruction of monitoring equipment is received, displaying the measuring point information and the control information of the monitoring equipment to a monitoring picture of the transformer substation to be monitored in real time.
8. A transformer substation monitoring picture drawing device is characterized in that the device comprises:
the template library creating module is used for acquiring substation information of a to-be-monitored substation and creating an xml template library of the to-be-monitored substation according to the substation information; the xml template library comprises an equipment template library and a component template library;
the image grid division module is used for carrying out image grid division on the monitoring picture of the transformer substation to be monitored according to the xml template library of the transformer substation to be monitored to obtain an image grid matrix;
the position logic determination module is used for determining the position of each row of initial primitives and the position change logic of each row of primitives in the image grid matrix;
and the monitoring picture generation module is used for identifying the component ID with the monitoring attribute of the xml template library, generating an electrical diagram according to the image grid matrix, the position of each row of initial primitives in the image grid matrix, the position change logic of each row of primitives and the component ID, and obtaining the monitoring picture of the transformer substation to be monitored according to the electrical diagram.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program; wherein the computer program, when executed, controls a device in which the computer-readable storage medium is located to perform the substation monitoring picture drawing method according to any one of claims 1 to 7.
10. An electrical device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the substation monitoring picture drawing method of any one of claims 1 to 7 when executing the computer program.
CN202210984884.3A 2022-08-16 2022-08-16 Transformer substation monitoring picture drawing method and device, storage medium and equipment Pending CN115457168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210984884.3A CN115457168A (en) 2022-08-16 2022-08-16 Transformer substation monitoring picture drawing method and device, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210984884.3A CN115457168A (en) 2022-08-16 2022-08-16 Transformer substation monitoring picture drawing method and device, storage medium and equipment

Publications (1)

Publication Number Publication Date
CN115457168A true CN115457168A (en) 2022-12-09

Family

ID=84298328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210984884.3A Pending CN115457168A (en) 2022-08-16 2022-08-16 Transformer substation monitoring picture drawing method and device, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN115457168A (en)

Similar Documents

Publication Publication Date Title
CN107402976B (en) Power grid multi-source data fusion method and system based on multi-element heterogeneous model
CN109446689A (en) DC converter station electrical secondary system drawing recognition methods and system
CN106250449A (en) A kind of electric network information superposition dynamic display method and device
CN106600457B (en) Microcomputer five-prevention main wiring diagram analysis system of transformer substation
CN105184011A (en) Automatic transformer substation WEB primary connection diagram forming method and device
CN106407072A (en) Monitoring system of big data platform
CN113947644B (en) Automatic drawing system for nuclear power plant safety level electrical cabinet hardware drawing
CN112150584B (en) Station wiring diagram editing method and device based on data analysis result
CN112397210B (en) Digital design system, method and equipment for nuclear power plant control system of database
CN105335428A (en) Data conversion method and apparatus
CN115457168A (en) Transformer substation monitoring picture drawing method and device, storage medium and equipment
CN113159517A (en) Three-dimensional visual power grid operation data analysis system
CN117057078A (en) Electrical wiring diagram generation method, device, equipment and medium
CN112149506A (en) Table generation method, apparatus and storage medium in image combining RPA and AI
CN116404751A (en) Device state monitoring method, device, storage medium and computer product
CN115576998A (en) Power distribution network data integration method and system based on multi-dimensional information fusion
CN112883481B (en) Intelligent substation modeling method and system based on BIM
CN115759025A (en) Excel data conversion method, system, medium and device based on template file
CN115238428A (en) Transformer substation secondary drawing visual editing digital configuration device, method and application
CN116070379A (en) Method and device for generating graph, storage medium and electronic device
Kong et al. The visualization technology of the UHVDC control and protection system based on deep learning
CN116562653B (en) Distributed energy station area line loss monitoring method and system
CN110955521A (en) Power distribution network wide area distributed type sinking calculation system and method based on big data
CN116385664B (en) Visual management method and device for electric power metering equipment
CN112486992B (en) Data storage method and system

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