Converter station DC secondary control and protection equipment network topological graph generation method and system

By parsing SPCD data and generating structured topology data, the problem of automatic generation of converter station equipment network topology diagrams is solved, and highly accurate and consistent topology diagram generation is achieved.

CN119362685APending Publication Date: 2025-01-24NANJING FIVE MINING WISDOM ELECTRIC POWER TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411205586.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

In the prior art, the equipment network topology diagram of the converter station is difficult to automatically generate, resulting in problems of errors and low accuracy in manual drawing.

Method used

By analyzing the SPCD data of the converter station, structured topology data is defined, and topology diagrams are automatically generated based on this data to avoid the defects of manual drawing.

Benefits of technology

The automation generation of the network topology of the streaming station equipment is realized, the accuracy and consistency of the graph are improved, and the possibility of artificial errors is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119362685A_ABST
    Figure CN119362685A_ABST
Patent Text Reader

Abstract

The invention discloses a method and system for generating a network topological graph of converter station direct current secondary control and protection equipment, and the method comprises the steps: obtaining the type of a topological graph to be generated of the converter station direct current secondary control and protection equipment, the type of the topological graph comprises a topological overview graph and topological sub-graphs, and the topological sub-graphs comprise an SCADA LAN sub-graph, an STN LAN sub-graph, an FIELD LAN sub-graph, a CONNTROL LAN sub-graph and a TDM LAN sub-graph; based on the to-be-generated topological graph type, analyzing the SPCD file of the converter station to obtain topological data of the to-be-generated topological graph type; drawing is carried out based on the topological data, and a topological graph of the converter station direct current secondary control and protection equipment is generated; according to the method, the SPCD data of the converter station can be analyzed, and the structured topological data is defined, so that the topological graph is automatically generated, and the problem of errors or low precision in manual drawing is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method and system for generating a network topology diagram of DC secondary control and protection equipment in a converter station, belonging to the technical field of power system automation. Background Art

[0002] The function of displaying equipment network topology diagrams is reflected in many industrial-grade systems. Among them, power grid substations or converter stations have the characteristics of many types of equipment, large number of equipment, and multiple types of network connections. The network topology interface is very complex. The traditional approach is to manually draw a simplified version of the topology diagram for static display. The main disadvantages are: the topology diagram drawing personnel need to understand the power business and be able to understand the manufacturer's drawings, which requires high skills; it is impossible to draw the network topology diagram in full; different drawing personnel will add subjective factors when simplifying and abstracting the network topology diagram, resulting in inconsistent abstract granularity and inconsistent graphic presentation effects; manual drawing is prone to errors and difficult to verify. Summary of the invention

[0003] The purpose of the present invention is to overcome the deficiencies in the prior art and to provide a method and system for generating a network topology diagram of DC secondary control and protection equipment in a converter station. The method can parse the SPCD data of the converter station and define structured topology data, thereby automatically generating a topology diagram and avoiding errors or low precision in manual drawing.

[0004] To achieve the above object, the present invention is implemented by adopting the following technical solutions: In a first aspect, the present invention provides a method for generating a network topology diagram of a DC secondary control and protection device in a converter station, comprising: Obtaining a topology map type to be generated for the DC secondary control and protection equipment of the converter station, wherein the topology map type includes a topology overview map and a topology sub-map, wherein the topology sub-map includes a SCADA LAN sub-map, a STN LAN sub-map, a FIELD LAN sub-map, a CONTROL LAN sub-map, and a TDM LAN sub-map; Based on the type of topology map to be generated, the SPCD file of the converter station is parsed to obtain topology data of the type of topology map to be generated; Based on the drawing performed on the topological data, a topological diagram of the DC secondary control and protection equipment of the converter station is generated.

[0005] Optionally, the parsing of the SPCD file of the converter station based on the type of topology map to be generated to obtain topology data of the type of topology map to be generated includes: Based on the SPCD file of the converter station, extract the DC secondary control and protection equipment data and related equipment data; the DC secondary control and protection equipment data includes DC protection equipment data, DC control equipment data and three-out-of-two equipment data; the related equipment data includes switch equipment data, IO equipment data, interface equipment data and measurement equipment data; According to the DC secondary control and protection equipment data, the connection relationship between the control and protection equipment, the network connection relationship of the control and protection equipment and the name code of the control and protection equipment are obtained; According to the switch device data, IO device data, interface device data and measurement device data, the connection relationship between the switch device, IO device, interface device and measurement device and the control and protection device is obtained; All control and protection devices are grouped into pole-level and valve-level devices based on the name codes of the control and protection devices to obtain control and protection device grouping information; Traverse the connection relationship between control and protection devices, the connection relationship between switch devices, IO devices, interface devices and measurement devices and control and protection devices, and parse the device information at both ends of the connection relationship between devices; Based on the network connection relationship of the control and protection equipment, the device information of both ends of the connection relationship between the equipment and the control and protection equipment grouping information, the connection relationship between the equipment groups is obtained; Based on the type of topology to be generated, the connection relationship between device groups, the connection relationship between control and protection devices, the network connection relationship between control and protection devices, and the connection relationship between switch devices, IO devices, interface devices and measurement devices and the control and protection devices respectively, the topology data of the type of topology to be generated is obtained.

[0006] Optionally, the control and protection equipment grouping information includes a pole layer equipment group and a valve layer equipment group; the pole layer equipment group includes: pole group one and pole group two; the valve layer equipment group includes: pole one high-end group, pole one low-end group, pole two high-end group and pole two low-end group; the pole group includes pole one control group, pole one protection group and pole one three-out-of-two group; the pole one high-end group includes pole one high-end valve control group, pole one high-end valve protection group and pole one high-end three-out-of-two group; the pole one low-end group includes pole one low-end valve control group, pole one low-end valve protection group and pole one low-end three-out-of-two group; the pole two group includes pole two control group, pole two protection group and pole two three-out-of-two group; the pole two high-end group includes pole two high-end valve control group, pole two high-end valve protection group and pole two high-end three-out-of-two group; the pole two low-end group includes pole two low-end valve control group, pole two low-end valve protection group and pole two low-end three-out-of-two group.

[0007] Optionally, the topology data of the topology type to be generated is obtained by combining the topology type to be generated, the connection relationship between device groups, the connection relationship between control and protection devices, the network connection relationship of the control and protection devices, and the connection relationship between the switch device, IO device, interface device and measurement device and the control and protection device respectively, including: When the type of topology diagram to be generated is a SCADA LAN sub-diagram or an STN LAN sub-diagram; the network connection relationship of the control and protection equipment is traversed to determine the control and protection equipment whose network connection relationship is SCADA or STN, and the device information of the two ends of the connection relationship between the equipment and the control and protection equipment grouping information are combined to obtain the connection relationship between the equipment groups; the connection relationship between the switch equipment and the control and protection equipment is traversed, and the connection relationship between the equipment groups and the connection relationship between the control and protection equipment are combined to obtain the topology data of the SCADA LAN sub-diagram or the STN LAN sub-diagram; When the type of topology diagram to be generated is one of FIELD LAN sub-diagram, CONTROL LAN sub-diagram and TDM LAN sub-diagram; traverse the network connection relationship of the control and protection equipment, determine the control and protection equipment whose network connection relationship is FIELD / CONTROL / TDM, and combine the device information of the two ends of the connection relationship between the equipment and the control and protection equipment grouping information to obtain the connection relationship between the equipment groups; traverse the connection relationship between the switch equipment, IO equipment, interface equipment and measurement equipment and the control and protection equipment respectively, and combine the connection relationship between the equipment groups and the connection relationship between the control and protection equipment to obtain the topology data of FIELD LAN sub-diagram / CONTROLLAN sub-diagram / TDM LAN sub-diagram; When the type of topology map to be generated is a topology overview map, the topology data of the topology overview map is generated in combination with the above contents for when the type of topology map to be generated is a SCADA LAN sub-map, an STN LAN sub-map, and when the type of topology map to be generated is a FIELD LAN sub-map, a CONTROLLAN sub-map, and a TDM LAN sub-map.

[0008] Optionally, generating a topology diagram of the DC secondary control and protection equipment of the converter station based on the drawing of the topology data includes: Create a chart container canvas and get the canvas size; Based on the connection relationship between device groups and the connection relationship between control and protection devices, the number of device groups and the corresponding number of devices in the device groups are obtained; According to the number of device groups, the size of the canvas, and the order of the grouping, the coordinate position of each device group is obtained; Arrange the device group boxes and device graphic elements based on the coordinate positions of each device group and the corresponding number of devices in each device group; the device graphic elements include device icons and device identification information boxes, the device icons include the device abbreviation and the position number of the device in the cabinet; multiple wiring ports are set at the edge of the device identification information box; Get the connection line colors and styles of different connection relationships; Based on the set connection line colors and styles of different connection relationships, line path turning rules, connection relationships between equipment groups, connection relationships between control and protection equipment, network connection relationships between control and protection equipment, and connection relationships between switch equipment, IO equipment, interface equipment and measurement equipment and control and protection equipment respectively, connections are made between equipment groups and between devices to generate a topological diagram of the DC secondary control and protection equipment of the converter station.

[0009] Optionally, the sequential attributes of the grouping include: when the type of topology diagram to be generated is a topology overview diagram, the first row arranges the pole layer equipment groups, and the second row arranges the valve layer equipment groups, wherein the valve layer equipment groups surround the corresponding pole layer equipment groups; when the type of topology diagram to be generated is one of the SCADA LAN sub-diagram, STN LAN sub-diagram, FIELD LAN sub-diagram, CONTROLLAN sub-diagram and TDM LAN sub-diagram, four display pages of pole 1 A network, pole 1 B network, pole 2 A network and pole 2 B network are set respectively according to the network connection relationship of the control and protection equipment, the first row in each display page arranges the pole layer equipment groups and the valve layer equipment groups, the second row arranges the related equipment connected to the corresponding equipment groups in the first row, wherein the first row is arranged in the order of pole layer equipment groups first and then valve layer equipment groups.

[0010] Optionally, the line path turning rule includes: for the wiring port on the upper edge of the device, the line extends a certain distance upward in the vertical direction, and the distance extended on each port increases successively from left to right; for the wiring port on the left edge of the device, the line extends a certain distance to the left in the horizontal direction, and the distance extended on each port increases successively from top to bottom; for the wiring port on the lower edge of the device, the line extends a certain distance downward in the vertical direction, and the distance extended on each port increases successively from left to right; for the wiring port on the right edge of the device, the line should extend a certain distance to the right in the horizontal direction, and the distance extended on each port increases successively from top to bottom.

[0011] In a second aspect, the present invention provides a system for generating a network topology diagram of a DC secondary control and protection device in a converter station, comprising: A topology map type acquisition module is used to acquire the topology map type to be generated by the DC secondary control and protection equipment of the converter station, wherein the topology map type includes a topology overview map and a topology sub-map, wherein the topology sub-map includes a SCADA LAN sub-map, a STN LAN sub-map, a FIELD LAN sub-map, a CONTROL LAN sub-map and a TDM LAN sub-map; A parsing module, used for parsing the SPCD file of the converter station based on the type of the topology map to be generated, to obtain topology data of the type of the topology map to be generated; A drawing module is used to generate a topological diagram of the DC secondary control and protection equipment of the converter station based on the drawing of the topological data.

[0012] Compared with the prior art, the present invention has the following beneficial effects: The method for generating a network topology diagram of a DC secondary control and protection device of a converter station proposed in the present invention can parse the SPCD data of the converter station and define structured topology data, thereby automatically generating a topology diagram and avoiding errors or low precision problems in manual drawing.

[0013] The method for generating a network topology diagram of a DC secondary control and protection device of a converter station proposed in the present invention can generate a topology overview diagram or a topology sub-diagram according to the selection, wherein the topology sub-diagram includes a SCADA LAN sub-diagram, a STN LAN sub-diagram, a FIELD LAN sub-diagram, a CONTROL LAN sub-diagram and a TDM LAN sub-diagram, which solves the problem of how to clearly and intuitively display multiple devices and multiple connection relationships in the diagram; The method for generating a network topology diagram of DC secondary control and protection equipment of a converter station proposed in the present invention sets a device grouping layout mode and a sequence attribute of the grouping, so that the device grouping layout mode has a compact structure, the arrangement sequence of each device group and the devices within the group is scientific, and the space can adapt to the situation of multiple valve group device groupings.

[0014] The present invention proposes a line path turning rule, focusing on solving the problem of how to ensure the readability of the connection between the ports and how to avoid large-scale crossing when there are many connection ports on a device with connections. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor, among which: Figure 1 The flowchart of the method for generating the network topology diagram of the DC secondary control and protection equipment of the converter station in the embodiment of the present invention is shown; Figure 2 The schematic diagram of device grouping in the embodiment of the present invention is shown; Figure 3 The schematic diagram of the device element in the embodiment of the present invention is shown; Figure 4 The schematic diagram of the SCADA LAN sub-diagram in the embodiment of the present invention is shown; Figure 5 The figure shows a schematic diagram of FIELD LAN sub-diagram in an embodiment of the present invention.

[0016] Figure 6 A schematic diagram of a topology overview diagram in an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0017] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0018] The application principle of the present invention is described in detail below in conjunction with the accompanying drawings.

[0019] Example 1 like Figure 1 As shown, an embodiment of the present invention provides a method for generating a network topology diagram of a DC secondary control and protection device in a converter station, comprising the following steps: S01: obtaining a topology map type to be generated for a DC secondary control and protection device of a converter station, wherein the topology map type includes a topology overview map and a topology sub-map, wherein the topology sub-map includes a SCADA LAN sub-map, a STN LAN sub-map, a FIELD LAN sub-map, a CONTROL LAN sub-map, and a TDM LAN sub-map; S02: based on the type of topology map to be generated, the SPCD file of the converter station is parsed to obtain topology data of the type of topology map to be generated; S03: Based on the drawing of the topology data, a topology diagram of the DC secondary control and protection equipment of the converter station is generated.

[0020] In this embodiment, the topology sub-graphs in step S01 are distinguished based on network types, including SCADA LAN sub-graphs, STN LAN sub-graphs, FIELD LAN sub-graphs, CONTROL LAN sub-graphs, and TDM LAN sub-graphs; Among them, SCADA (Supervisory Control And Data Acquisition) LAN (Local Area Network), SCADA LAN, that is, station LAN, represents supervisory control and data acquisition LAN; STN (Station Network), STN LAN represents station-level control LAN; FIELD LAN represents field LAN, which is used to collect data from field equipment and transmit it to the upper-level control system; CONTROL LAN represents control LAN, which is used for communication between control nodes in the control system; TDM (Time Division Multiplexing), TDM LAN represents time division multiplexing LAN, which is a LAN that uses TDM technology to multiplex and transmit data.

[0021] In this embodiment, in step S02, based on the type of topology map to be generated, the SPCD file of the converter station is parsed to obtain topology data of the type of topology map to be generated, which specifically includes: S011: extracting DC secondary control and protection equipment data and related equipment data based on the SPCD file of the converter station; the DC secondary control and protection equipment data includes DC protection equipment data, DC control equipment data and three-out-of-two equipment data; the related equipment data includes switch equipment data, IO equipment data, interface equipment data and measurement equipment data; S012: According to the DC secondary control and protection equipment data, the connection relationship between the control and protection equipment, the network connection relationship of the control and protection equipment and the name code of the control and protection equipment are obtained; according to the switch equipment data, the IO equipment data, the interface equipment data and the measurement equipment data, the connection relationship between the switch equipment, the IO equipment, the interface equipment and the measurement equipment and the control and protection equipment is obtained respectively; S013: grouping all control and protection devices at the pole layer and valve layer based on the name codes of the control and protection devices to obtain control and protection device grouping information; S014: traverse the connection relationship between the control and protection devices, the connection relationship between the switch device, the IO device, the interface device and the measurement device and the control and protection device, and parse the device information at both ends of the connection relationship between the devices; based on the network connection relationship of the control and protection devices, the device information at both ends of the connection relationship between the devices and the control and protection device grouping information, obtain the connection relationship between the device groups; S015: Based on the type of topology to be generated, the connection relationship between device groups, the connection relationship between control and protection devices, the network connection relationship between control and protection devices, and the connection relationship between switch devices, IO devices, interface devices and measurement devices and the control and protection devices respectively, the topology data of the type of topology to be generated is obtained.

[0022] Specifically, the DC part of the converter station is generally divided into two poles, namely pole one and pole two. The networks of pole one and pole two are grouped according to A and B, namely pole one A network, pole one B network, pole two A network, and pole two B network. After the network grouping, it is further grouped according to the subsequent pole layer and valve layer. Specifically, Figure 2As shown, in step S013, the pole layer and valve layer devices of each level are grouped according to the device name coding characteristics, and the control and protection device grouping information includes the pole layer device group and the valve layer device group; the pole layer device group includes: pole group 1 and pole group 2; the valve layer device group includes: pole 1 high-end group, pole 1 low-end group, pole 2 high-end group and pole 2 low-end group; the pole group includes pole 1 control group, pole 1 protection group and pole 1 three-out-of-two group; the pole 1 high-end group includes pole 1 high-end valve group The pole one low-end group includes the pole one low-end valve control group, the pole one low-end valve protection group and the pole one low-end three-out-of-two group; the pole two group includes the pole two control group, the pole two protection group and the pole two three-out-of-two group; the pole two high-end group includes the pole two high-end valve control group, the pole two high-end valve protection group and the pole two high-end three-out-of-two group; the pole two low-end group includes the pole two low-end valve control group, the pole two low-end valve protection group and the pole two low-end three-out-of-two group.

[0023] Judgment basis: Judgment is made according to the name code of the protection and control equipment, for example: PCPXXXA / B, PCP represents the control equipment, the first X represents pole one or pole two (enumeration 1 or 2), the second X represents the high end or low end (enumeration 1 or 2), the third X represents the group number (enumeration 1 or 2), and the last A / B represents the A set / B set of the equipment respectively. Similarly, PPR represents the protection equipment, and C2F represents the three-out-of-two equipment; thus, the control and protection equipment is grouped according to their respective affiliations, and the equipment grouping method of pole two is similar to that of pole one. Among them, A / B / respectively represents the A set / B set of the equipment. Since the converter station control system adopts a dual design: I / O units, unit control cabinets, station control cabinets, station power interfaces and auxiliary systems, field control LAN networks, station LAN networks, system servers and all related DC control devices are all dual designs, which can be set to A set / B set. The DC unit protection adopts triple redundant configuration, and the protection output adopts a two-out-of-three function mode, and any set of protection can be allowed to exit operation without affecting the power transmission of the DC system, which can be set to A set / B set / C set. Figure 2 In the figure, the second X is omitted because it is already grouped, which represents the high or low end number.

[0024] In this embodiment, in step S015, the topology data of the topology type to be generated is obtained by combining the topology type to be generated, the connection relationship between device groups, the connection relationship between control and protection devices, the network connection relationship of the control and protection devices, and the connection relationship between the switch device, IO device and measurement device and the control and protection device respectively, specifically including: Topological data is presented through a web application; When the type of topology diagram to be generated is a SCADA LAN sub-diagram or an STN LAN sub-diagram; traverse the network connection relationship of the control and protection equipment, determine the control and protection equipment whose network connection relationship is SCADA or STN, and combine the device information of the two ends connected in the connection relationship between the equipment and the control and protection equipment grouping information to obtain the connection relationship between the equipment groups; traverse the connection relationship between the switch equipment and the control and protection equipment, and combine the connection relationship between the equipment groups and the connection relationship between the control and protection equipment to obtain the topological data of the SCADALAN sub-diagram or the STN LAN sub-diagram; Specifically, the bus-type topology sub-diagram data calculation: for the sub-diagrams of the SCADA and STN bus-type topology structures, first create a corresponding special device group to accommodate the switch equipment, traverse the connection relationship of the corresponding connection type, if one end of the connection belongs to the switch, then add the switch equipment to the corresponding special device group, create a connection relationship between the equipment groups, and record the corresponding relationship between the connection relationship and the underlying connection; When the type of topology diagram to be generated is one of FIELD LAN sub-diagram, CONTROL LAN sub-diagram and TDM LAN sub-diagram; traverse the network connection relationship of the control and protection equipment, determine the control and protection equipment whose network connection relationship is FIELD / CONTROL / TDM, and combine the device information of the two ends connected in the connection relationship between the equipment and the control and protection equipment grouping information to obtain the connection relationship between the equipment groups; traverse the connection relationship between the switch equipment, IO equipment and the measurement equipment and the control and protection equipment respectively, and combine the connection relationship between the equipment groups and the connection relationship between the control and protection equipment to obtain the topological data in the FIELD LAN sub-diagram / CONTROL LAN sub-diagram / TDM LAN sub-diagram; specifically, point-to-point topological sub-diagram data calculation: for FIELD, CONTROL, and TDM, which are mainly point-to-point topological structures, if the topology contains switch equipment, this part of the topological data is calculated according to the above-mentioned switch equipment algorithm; for the connection relationship directly related to the control and protection equipment, IO equipment, interface equipment and measurement equipment, create the connection data between the equipment, and record the corresponding relationship between the connection relationship and the underlying connection; When the type of topology map to be generated is a topology overview map, the topology data of the topology overview map is generated by combining the topology data of the topology maps of SCADA LAN sub-map, STN LAN sub-map, FIELD LAN sub-map, CONTROL LAN sub-map and TDM LAN sub-map. The topology data of the topology overview map can be simplified to the connection between device groups and the specific connection relationship between devices. It does not need to be displayed through the topology overview, but can be displayed through the sub-map; Specifically, topology data mainly includes: device grouping, devices, device ports, connection relationships between device groups, and connection relationships between devices. The definitions of each category are described as follows: 1) Device port (DevicePort), the main attributes are: port ID (portId), port number (portNo), port direction (direction), slot (the slot number of the board where the port is located), device ID (deviceId), deviceCode (device number), deviceName (device name), deviceDesc (device description), deviceClazz (device type), cubicName (the name of the cabinet where the device is located).

[0025] 2) Device, the main attributes are: device ID, code (device number), name (device name), desc (device description), clazz (device type), cubicName (name of the cabinet where the device is located), and device status.

[0026] 3) Device group (DeviceGroup), the main attributes are: group type (groupType), id (group Id), groupName (group name), subordinate group list (children), group sequence number (order), and device list in the group (devices).

[0027] 4) Connection relationship between device groups (GroupLink), the main attributes are: starting group ID (source), ending group ID (target), connection relationship ID (linkId), link status (status), network type (networkType).

[0028] 5) Device-to-device connection relationship (DeviceLink), the main attributes are: starting device ID (source), ending device ID (target), link status (status), link ID (linkId), starting device port details (sourcePort), and ending device port details (targetPort).

[0029] In this embodiment, the drawing based on the topological data in step S03 generates a topological diagram of the DC secondary control and protection equipment of the converter station, including: The underlying library used for drawing is AntV-X6; Create a chart container canvas and get the canvas size; Based on the connection relationship between device groups and the connection relationship between control and protection devices, the number of device groups and the corresponding number of devices in the device groups are obtained; According to the number of device groups, the size of the canvas, and the order of the groups, the coordinates of each device group are obtained. The device group should occupy at least 90% of the screen width in the horizontal direction. Based on this principle, the spacing between groups is calculated using the following formula: canvas width * 0.9 / (number of groups * group width). The grouping order attributes include: When the type of topology map to be generated is a topology overview map, the first row arranges the pole layer device groups, and the second row arranges the valve layer device groups, wherein the valve layer device groups surround the corresponding pole layer device groups; Specifically, Figure 6 As shown, in the topology overview diagram, pole group 1 and pole group 2 are arranged in the first row, pole group 1 high-end group, pole group 1 low-end group 1, pole group 1 low-end group 2, pole group 1 low-end group 3, pole group 2 high-end group, pole group 2 low-end group 1, pole group 2 low-end group 2, pole group 2 low-end group 3 are arranged in the second row, and pole group 1 high-end group, pole group 1 low-end group 1, pole group 1 low-end group 2, pole group 1 low-end group 3 surround pole group 1, and pole group 2 high-end group, pole group 2 low-end group 1, pole group 2 low-end group 2, pole group 2 low-end group 3 surround pole group 2; in the figure, P1PCP and P2PCP on the device graphic element in pole group 1 / 2 represent pole group 1 control host and pole group 2 control host respectively, and the A / B points below represent the A set / B set of the control host. , PPR and P2F represent the pole layer protection equipment and pole layer three-out-of-two equipment respectively. The following 1A / B / C indicates that the equipment belongs to pole group A / B / C set 1, and 2A / B / C indicates that the equipment belongs to pole group A / B / C set 2; in the valve layer equipment group, that is, the equipment graphic element in the pole one / 2 high-end group and low-end group, CCP, CPR, and C2F represent pole one / 2 valve layer control equipment, protection equipment, and three-out-of-two equipment respectively. In XXA / B / C, the first X represents pole one / 2, the second X represents the valve layer group, and A / B / C represents A / B / C set; for example, 24A / B / C indicates that the equipment belongs to pole two valve layer group 4, pole two low-end group 3A / B / C set; When the type of topology diagram to be generated is one of SCADA LAN sub-diagram, STN LAN sub-diagram, FIELD LAN sub-diagram, CONTROL LAN sub-diagram and TDM LAN sub-diagram, four display pages, namely pole 1 A network, pole 1 B network, pole 2 A network and pole 2 B network, are set according to the network connection relationship of the control and protection equipment. The first row of each display page arranges the pole layer device group and the valve layer device group, and the second row arranges the related devices connected to the corresponding device group in the first row, wherein the first row is arranged in the order of pole layer device group first and then valve layer device group.

[0030] Specifically, Figure 4 As shown in the SCADA LAN sub-diagram, in the page of the extreme A network, the extreme group 1, the extreme high-end group, the extreme low-end group 1, the extreme low-end group 2, and the extreme low-end group 3 are arranged in sequence; Figure 5As shown in the FIELD LAN sub-diagram, in the page of the pole-one A network, the first row arranges pole-one group, pole-one high-end group, pole-one low-end group 1, pole-one low-end group 2, and pole-one low-end group 3; the second row arranges the related devices connected to pole-one group, pole-one high-end group, pole-one low-end group 1, pole-one low-end group 2, and pole-one low-end group 3 respectively; in the figure, P2F and C2F both represent three-out-of-two devices, COM represents switch equipment, and PSI, PMI, BSI, and CSI are all interface devices.

[0031] Based on the coordinate position of each device group and the number of devices in each device group, the device group box and the device graphic element are arranged; the device graphic element includes a device icon and a device identification information box, and the device icon includes the device abbreviation and the position number of the device in the cabinet; multiple wiring ports are set at the edge of the device identification information box; Figure 3 As shown, PPR1A in the device graphic element is the abbreviation of the device, where PPR is the device type (protection device), 1A represents pole group A, and the device graphic element also has a status indicator light to indicate the operating status of the device.

[0032] Get the connection line colors and styles of different connection relationships; Based on the set connection line colors and styles of different connection relationships, line path turning rules, connection relationships between equipment groups, connection relationships between control and protection equipment, network connection relationships between control and protection equipment, and connection relationships between switch equipment, IO equipment, interface equipment and measurement equipment and control and protection equipment respectively, connections are made between equipment groups and between devices to generate a topological diagram of the DC secondary control and protection equipment of the converter station.

[0033] Specifically, the line path turning rule includes: for the wiring port on the upper edge of the device, the line extends a distance upward in the vertical direction, and the distance extended on each port increases successively from left to right; for the wiring port on the left edge of the device, the line extends a distance to the left in the horizontal direction, and the distance extended on each port increases successively from top to bottom; for the wiring port on the lower edge of the device, the line extends a distance downward in the vertical direction, and the distance extended on each port increases successively from left to right; for the wiring port on the right edge of the device, the line should extend a distance to the right in the horizontal direction, and the distance extended on each port increases successively from top to bottom.

[0034] Specifically, when a device has multiple wiring ports that need to be connected, in order to solve the problem of how to arrange the connection endpoints on the device icon, make full use of the device icon and the device identification information box, and create connection endpoints on the edge of the rectangular frame after they are combined. Starting from the top of the rectangle, the connection endpoints are dynamically created based on factors such as the connection direction. Example

[0035] An embodiment of the present invention provides a system for generating a network topology diagram of a DC secondary control and protection device in a converter station, comprising: A topology map type acquisition module is used to acquire the topology map type to be generated by the DC secondary control and protection equipment of the converter station, wherein the topology map type includes a topology overview map and a topology sub-map, wherein the topology sub-map includes a SCADA LAN sub-map, a STN LAN sub-map, a FIELD LAN sub-map, a CONTROL LAN sub-map and a TDM LAN sub-map; A parsing module, used for parsing the SPCD file of the converter station based on the type of the topology map to be generated, to obtain topology data of the type of the topology map to be generated; A drawing module is used to generate a topological diagram of the DC secondary control and protection equipment of the converter station based on the drawing of the topological data.

[0036] Example 3 An embodiment of the present invention provides a computer-readable storage medium.

[0037] A computer-readable storage medium stores a program thereon, which, when executed by a processor, implements the steps in a method for generating a network topology diagram of a DC secondary control and protection device in a converter station as described in Example 1 of the present disclosure.

[0038] The detailed steps are the same as the method for generating a network topology diagram of DC secondary control and protection equipment in a converter station provided in Example 1, and will not be repeated here.

[0039] Example 4 A fourth embodiment of the present disclosure provides an electronic device.

[0040] An electronic device comprises a memory, a processor and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in a method for generating a network topology diagram of a DC secondary control and protection device in a converter station as described in Example 1 of the present disclosure are implemented.

[0041] The detailed steps are the same as the method for generating a network topology diagram of DC secondary control and protection equipment in a converter station provided in Example 1, and will not be repeated here.

[0042] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present invention and the claims, which all fall within the protection of the present invention.

Claims

1. A method for generating a network topology diagram of a DC secondary control and protection device in a converter station, characterized in that: include: Obtaining a topology map type to be generated for the DC secondary control and protection equipment of the converter station, wherein the topology map type includes a topology overview map and a topology sub-map, wherein the topology sub-map includes a SCADA LAN sub-map, a STN LAN sub-map, a FIELD LAN sub-map, a CONTROL LAN sub-map, and a TDM LAN sub-map; Based on the type of topology map to be generated, the SPCD file of the converter station is parsed to obtain topology data of the type of topology map to be generated; Based on the drawing performed on the topological data, a topological diagram of the DC secondary control and protection equipment of the converter station is generated.

2. The method for generating a network topology diagram of a DC secondary control and protection device in a converter station according to claim 1, characterized in that: The SPCD file of the converter station is parsed based on the type of topology map to be generated to obtain topology data of the type of topology map to be generated, including: Based on the SPCD file of the converter station, extract the DC secondary control and protection equipment data and related equipment data; the DC secondary control and protection equipment data includes DC protection equipment data, DC control equipment data and three-out-of-two equipment data; the related equipment data includes switch equipment data, IO equipment data, interface equipment data and measurement equipment data; According to the DC secondary control and protection equipment data, the connection relationship between the control and protection equipment, the network connection relationship of the control and protection equipment and the name code of the control and protection equipment are obtained; According to the switch device data, IO device data, interface device data and measurement device data, the connection relationship between the switch device, IO device, interface device and measurement device and the control and protection device is obtained; All control and protection devices are grouped into pole-level and valve-level devices based on the name codes of the control and protection devices to obtain control and protection device grouping information; Traverse the connection relationship between control and protection devices, the connection relationship between switch devices, IO devices, interface devices and measurement devices and control and protection devices, and parse the device information at both ends of the connection relationship between devices; Based on the network connection relationship of the control and protection equipment, the device information of both ends of the connection relationship between the equipment and the control and protection equipment grouping information, the connection relationship between the equipment groups is obtained; Based on the type of topology to be generated, the connection relationship between device groups, the connection relationship between control and protection devices, the network connection relationship between control and protection devices, and the connection relationship between switch devices, IO devices, interface devices and measurement devices and the control and protection devices respectively, the topology data of the type of topology to be generated is obtained.

3. The method for generating a network topology diagram of a DC secondary control and protection device in a converter station according to claim 2, characterized in that: The control and protection equipment grouping information includes a pole layer equipment group and a valve layer equipment group; The pole layer equipment group includes: pole group one and pole group two; the valve layer equipment group includes: pole one high-end group, pole one low-end group, pole two high-end group and pole two low-end group; the pole group includes pole one control group, pole one protection group and pole one three-out-of-two group; the pole one high-end group includes pole one high-end valve control group, pole one high-end valve protection group and pole one high-end three-out-of-two group; the pole one low-end group includes pole one low-end valve control group, pole one low-end valve protection group and pole one low-end three-out-of-two group; the pole two group includes pole two control group, pole two protection group and pole two three-out-of-two group; the pole two high-end group includes pole two high-end valve control group, pole two high-end valve protection group and pole two high-end three-out-of-two group; the pole two low-end group includes pole two low-end valve control group, pole two low-end valve protection group and pole two low-end three-out-of-two group.

4. The method for generating a network topology diagram of a DC secondary control and protection device in a converter station according to claim 3, characterized in that: The topology data of the topology type to be generated is obtained by combining the type of topology to be generated, the connection relationship between device groups, the connection relationship between control and protection devices, the network connection relationship of the control and protection devices, and the connection relationship between the switch device, IO device, interface device and measurement device and the control and protection device, including: When the type of topology diagram to be generated is a SCADA LAN sub-diagram or an STN LAN sub-diagram; the network connection relationship of the control and protection equipment is traversed to determine the control and protection equipment whose network connection relationship is SCADA or STN, and the device information of the two ends of the connection relationship between the equipment and the control and protection equipment grouping information are combined to obtain the connection relationship between the equipment groups; the connection relationship between the switch equipment and the control and protection equipment is traversed, and the connection relationship between the equipment groups and the connection relationship between the control and protection equipment are combined to obtain the topology data of the SCADA LAN sub-diagram or the STN LAN sub-diagram; When the type of topology diagram to be generated is one of FIELD LAN sub-diagram, CONTROL LAN sub-diagram and TDM LAN sub-diagram; traverse the network connection relationship of the control and protection equipment, determine the control and protection equipment whose network connection relationship is FIELD / CONTROL / TDM, and combine the device information of the two ends of the connection relationship between the equipment and the control and protection equipment grouping information to obtain the connection relationship between the equipment groups; traverse the connection relationship between the switch equipment, IO equipment, interface equipment and measurement equipment and the control and protection equipment respectively, and combine the connection relationship between the equipment groups and the connection relationship between the control and protection equipment to obtain the topology data of FIELD LAN sub-diagram / CONTROLLAN sub-diagram / TDM LAN sub-diagram; When the type of topology map to be generated is a topology overview map, the topology data of the topology overview map is generated in combination with the above contents when the type of topology map to be generated is a SCADA LAN sub-map, an STN LAN sub-map, and when the type of topology map to be generated is a FIELD LAN sub-map, a CONTROL LAN sub-map, and a TDM LAN sub-map.

5. The method for generating a network topology diagram of a DC secondary control and protection device in a converter station according to claim 4, characterized in that: Based on the drawing of the topological data, a topological diagram of the DC secondary control and protection equipment of the converter station is generated, including: Create a chart container canvas and get the canvas size; Based on the connection relationship between device groups and the connection relationship between control and protection devices, the number of device groups and the corresponding number of devices in the device groups are obtained; According to the number of device groups, the size of the canvas, and the order of the grouping, the coordinate position of each device group is obtained; Arrange the device group boxes and device graphic elements based on the coordinate positions of each device group and the corresponding number of devices in each device group; the device graphic elements include device icons and device identification information boxes, the device icons include the device abbreviation and the position number of the device in the cabinet; multiple wiring ports are set at the edge of the device identification information box; Get the connection line colors and styles of different connection relationships; Based on the set connection line colors and styles of different connection relationships, line path turning rules, connection relationships between equipment groups, connection relationships between control and protection equipment, network connection relationships between control and protection equipment, and connection relationships between switch equipment, IO equipment, interface equipment and measurement equipment and control and protection equipment respectively, connections are made between equipment groups and between devices to generate a topological diagram of the DC secondary control and protection equipment of the converter station.

6. The method for generating a network topology diagram of DC secondary control and protection equipment in a converter station according to claim 5, characterized in that: The sequential attributes of the grouping include: when the type of topology diagram to be generated is a topology overview diagram, the first row arranges the pole layer equipment groups, and the second row arranges the valve layer equipment groups, wherein the valve layer equipment groups surround the corresponding pole layer equipment groups; when the type of topology diagram to be generated is one of the SCADA LAN sub-diagram, STN LAN sub-diagram, FIELD LAN sub-diagram, CONTROL LAN sub-diagram and TDMLAN sub-diagram, four display pages of pole 1 A network, pole 1 B network, pole 2 A network and pole 2 B network are set respectively according to the network connection relationship of the control and protection equipment, the first row in each display page arranges the pole layer equipment groups and the valve layer equipment groups, the second row arranges the related equipment connected to the corresponding equipment groups in the first row, wherein the first row is arranged in the order of pole layer equipment groups first and then valve layer equipment groups.

7. The method for generating a network topology diagram of DC secondary control and protection equipment in a converter station according to claim 5, characterized in that: The line path turning rule includes: for the wiring port on the upper edge of the device, the line extends upward for a distance in the vertical direction, and the distance extended on each port increases in sequence from left to right; for the wiring port on the left edge of the device, the line extends leftward for a distance in the horizontal direction, and the distance extended on each port increases in sequence from top to bottom; for the wiring port on the lower edge of the device, the line extends downward for a distance in the vertical direction, and the distance extended on each port increases in sequence from left to right; for the wiring port on the right edge of the device, the line should extend rightward for a distance in the horizontal direction, and the distance extended on each port increases in sequence from top to bottom.

8. A system for generating a network topology diagram of a DC secondary control and protection device in a converter station, characterized in that: include: A topology map type acquisition module is used to acquire the topology map type to be generated by the DC secondary control and protection equipment of the converter station, wherein the topology map type includes a topology overview map and a topology sub-map, wherein the topology sub-map includes a SCADA LAN sub-map, a STN LAN sub-map, a FIELD LAN sub-map, a CONTROL LAN sub-map and a TDM LAN sub-map; A parsing module, used for parsing the SPCD file of the converter station based on the type of the topology map to be generated, to obtain topology data of the type of the topology map to be generated; A drawing module is used to generate a topological diagram of the DC secondary control and protection equipment of the converter station based on the drawing of the topological data.