Method for generating safety measures in work ticket
Through automated equipment wiring topology information and maintenance equipment information processing, safety measures in work tickets are generated, which solves the problems of errors and inefficiencies caused by manual input, and improves the standardization of safety measures and maintenance efficiency.
Patent Information
- Application Number
- CN202410727389.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-10-01
AI Technical Summary
The security measures in existing work tickets are filled in manually, which is prone to errors and omissions, has a low degree of standardization, and has low generation efficiency. Especially in the process of multi-department circulation, it may lead to a prolonged review cycle and reduced work efficiency.
By obtaining equipment wiring topology information and maintenance equipment information, the target set is automatically determined, including circuit breaker nodes, grounding switch nodes and isolation switch nodes, and safety measures for maintenance equipment are automatically generated, realizing the generation of safety measures without manual input.
It reduces errors and omissions in the content of safety measures, improves the standardization and generation efficiency of safety measures, optimizes the circulation process of work tickets, and ensures the safety and efficiency of maintenance work.
Smart Images

Figure CN118735494A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of electrical technology, and in particular to a method for generating safety measures in a work ticket. Background Art
[0002] The contents on the work ticket consist of maintenance work tasks and safety measures to ensure personal and equipment safety. It is the written basis for maintenance personnel to carry out corresponding maintenance work in the substation.
[0003] At present, the safety measures in the work ticket are generated by manual input and filling in, but the correctness of the safety measures in the work ticket filled in manually depends on the staff's technical level, work experience and the degree of refinement of the filling in. When the number of safety measures in the work ticket that needs to be filled in is large, the content of the safety measures in the work ticket is prone to errors and omissions and low standardization. In addition, the use of manual input and filling in will result in low efficiency in generating safety measures in the work ticket, which needs to be solved. Summary of the invention
[0004] The embodiment of the present invention provides a method for generating safety measures in a work ticket, which reduces the errors and omissions in the safety measures content in the work ticket, improves the standardization of the safety measures in the work ticket, and improves the generation efficiency of the safety measures in the work ticket.
[0005] According to one aspect of the present invention, a method for generating safety measures in a work ticket is provided, which may include:
[0006] Acquire device wiring topology information, wherein the device wiring topology information includes at least one device node;
[0007] Acquire maintenance equipment information of the maintenance equipment, and determine a maintenance node corresponding to the maintenance equipment from at least one equipment node according to the maintenance equipment information;
[0008] Determine a target set according to the equipment wiring topology information and the maintenance node, wherein the target set includes at least one of a first circuit breaker node set, a grounding switch set, and a target isolation switch node set;
[0009] Based on the target set, the safety measures in the work ticket required for the maintenance equipment are generated.
[0010] The technical solution of the embodiment of the present invention is to obtain the equipment wiring topology information to realize the automatic generation of safety measures in the work ticket according to the equipment wiring topology information, wherein the equipment wiring topology information includes at least one equipment node; obtain the maintenance equipment information of the maintenance equipment, and determine the maintenance node corresponding to the maintenance equipment from at least one equipment node according to the maintenance equipment information, so that the safety measures in the subsequently generated work ticket are generated for the maintenance equipment; determine the target set according to the equipment wiring topology information and the maintenance node, wherein the target set includes at least one of the first circuit breaker node set, the grounding switch set and the target isolation switch node set; according to the target set, automatically generate the safety measures in the work ticket required for the maintenance of the maintenance equipment. The above technical solution, through the target set, automatically generates the safety measures in the work ticket required for the maintenance of the maintenance equipment, which can realize the generation of the safety measures in the work ticket without manual input and filling, and automatically generates the safety measures in the work ticket, thereby reducing the errors and omissions of the safety measures in the work ticket, improving the standardization of the safety measures in the work ticket, and improving the generation efficiency of the safety measures in the work ticket.
[0011] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0013] Figure 1 is a flow chart of a method for generating safety measures in a work ticket provided according to an embodiment of the present invention;
[0014] Figure 2 is a flowchart of another method for generating safety measures in a work ticket provided according to an embodiment of the present invention;
[0015] Figure 3 is a flowchart of another method for generating safety measures in a work ticket provided according to an embodiment of the present invention;
[0016] Figure 4 is a flowchart of an optional example of a method for generating safety measures in a work ticket provided in an embodiment of the present invention;
[0017] Figure 5is a structural diagram of a primary equipment wiring topology diagram in another optional example of a method for generating safety measures in a work ticket provided according to an embodiment of the present invention;
[0018] Figure 6 It is a structural block diagram of a device for generating safety measures in a work ticket provided according to an embodiment of the present invention. DETAILED DESCRIPTION
[0019] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0020] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. The situations of "target", "original", etc. are similar and will not be repeated here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0021] Before introducing the embodiments of the present invention, an exemplary explanation is given of the implementation process of the current method for generating safety measures in work tickets and the problems that the contents of the safety measures in the work tickets are prone to errors and omissions and the degree of standardization is low, and the reason why the manual input and filling method leads to low efficiency in generating safety measures in the work tickets is provided to better understand why the scheme for generating safety measures in work tickets proposed in the embodiments of the present invention improves the degree of standardization of safety measures in work tickets and improves the efficiency in generating safety measures in work tickets.
[0022] For example, the primary equipment safety measures in a traditional work ticket are issued by filling in the form of manual input. However, the correctness of the primary equipment safety measures in the work ticket filled in manually depends on the staff's technical level, work experience and the degree of refinement of the filling. When the number of safety measures that need to be filled in the work ticket is large, there may be a problem of high work pressure on the staff to draft the ticket, which makes it inevitable that omissions will occur in the drafting process, and further leads to the problem that the content of the safety measures in the work ticket is prone to errors and low standardization. In addition, the use of manual input will result in low efficiency in generating safety measures in the work ticket.
[0023] In addition, work tickets involving primary equipment safety measures must be issued and delivered to the substation operation department one day before the work is carried out. If errors occur during the circulation of the work ticket among multiple departments, the work ticket must be returned to the previous processing department, and the previous department must re-modify and verify the work ticket before entering the next node process. Therefore, when errors occur, the circulation time will be lengthened and the review cycle will be extended, which will further reduce work efficiency.
[0024] Therefore, in order to improve the work ticket management efficiency in power companies and ensure the efficient operation of the entire work ticket process, it is urgent to develop and research the automatic generation technology of primary equipment safety measures in work tickets based on high intelligence and high automation levels. It will help optimize the work process of staff issuing work tickets and greatly reduce the time spent in the generation and circulation of work tickets.
[0025] In view of this, in order to solve the above technical problems, a method for generating safety measures in a work ticket according to an embodiment of the present invention is proposed, which will be described in detail below.
[0026] Figure 1 It is a flow chart of a method for generating security measures in a work ticket provided in an embodiment of the present invention. This embodiment is applicable to the case of generating security measures in a work ticket. The method can be executed by a device for generating security measures in a work ticket provided in an embodiment of the present invention, and the device can be implemented by software and / or hardware, and the device can be integrated in an electronic device, and the electronic device can be various user terminals or servers.
[0027] See also Figure 1 The method of the embodiment of the present invention specifically includes the following steps:
[0028] S110. Obtain device wiring topology information, wherein the device wiring topology information includes at least one device node.
[0029] The equipment wiring topology information is the relevant information of the topology structure corresponding to the electrical system where the maintenance equipment is located; the equipment wiring topology information includes at least one equipment node, and the equipment wiring topology information may also include the connection relationship between at least one equipment node and / or the attribute type corresponding to at least one equipment node, etc. The equipment node is the node in the topology structure corresponding to the equipment in the electrical system where the maintenance equipment is located. The maintenance equipment is the equipment to be maintained.
[0030] In the embodiment of the present invention, the maintenance equipment and / or the equipment in the electrical system where the maintenance equipment is located can be primary equipment. Primary equipment refers to high-voltage electrical equipment directly used in the production process of producing, transmitting and distributing electric energy. Primary equipment can be roughly divided into operable equipment and inoperable equipment. Operable equipment includes switches, isolating switches and grounding switches. Inoperable equipment includes main transformers, busbars, lightning arresters, voltage transformers, current transformers, capacitors and reactors, etc. The electrical circuit that can form power generation, transmission, distribution or other production by connecting primary equipment to each other is called a primary wiring system, that is, the electrical system where the maintenance equipment in the embodiment of the present invention is located can be a primary wiring system.
[0031] S120. Obtain maintenance equipment information of the maintenance equipment, and determine a maintenance node corresponding to the maintenance equipment from at least one device node according to the maintenance equipment information.
[0032] The maintenance equipment information is information related to the maintenance equipment; the maintenance equipment information may include, for example, at least one of the name, identification and attribute type of the maintenance equipment.
[0033] S130. Determine a target set according to the equipment wiring topology information and the maintenance nodes, wherein the target set includes at least one of a first circuit breaker node set, a grounding switch set, and a target isolation switch node set.
[0034] Among them, the target set is the set of nodes corresponding to the equipment in the topology structure that needs to be operated according to the safety measures in the work ticket during the maintenance of the maintenance equipment. The first circuit breaker node set is the set of nodes corresponding to the circuit breaker equipment in the topology structure that needs to be operated according to the safety measures in the work ticket during the maintenance of the maintenance equipment. The grounding switch set is the set of nodes corresponding to the grounding switch equipment in the topology structure that needs to be operated according to the safety measures in the work ticket during the maintenance of the maintenance equipment. The target isolation switch node set is the set of nodes corresponding to the isolation switch equipment in the topology structure that needs to be operated according to the safety measures in the work ticket during the maintenance of the maintenance equipment.
[0035] In the embodiment of the present invention, for example, at least one disconnected node can be determined from at least one device node based on the device wiring topology information and the maintenance node, and a target set is formed based on the at least one disconnected node, wherein the disconnected node is a node whose corresponding device demand is in a disconnected position. In the embodiment of the present invention, the method of determining the target set based on the device wiring topology information and the maintenance node is not specifically limited.
[0036] In an embodiment of the present invention, the target set includes a grounding switch set; the target set is determined according to the equipment wiring topology information and the maintenance node, including: determining the grounding switch set according to the equipment wiring topology information and the maintenance node, for example, starting from the maintenance node P, for each adjacent direction of P, searching for all the grounding switch nodes closest to P in the adjacent direction, and adding them to the grounding switch set to be closed, forming the grounding switch set to be closed ground_set. According to the equipment wiring topology information and the maintenance node, the grounding switch set is determined, including: initializing the fourth node set to be visited, the fourth node set already visited and the grounding switch set, and putting the maintenance node into the fourth node set to be visited; when the fourth node set to be visited is not empty, taking out the fourth target node from the fourth node set to be visited; when the fourth target node is determined to be a grounding switch attribute type according to the equipment wiring topology information, the fourth target node is put into the grounding switch set, and the step of taking out the fourth target node from the fourth node set to be visited is repeated when the fourth node set to be visited is not empty; when the fourth target node is determined to be a circuit breaker attribute type or an isolation switch attribute type according to the equipment wiring topology information, the fourth target node is put into the fourth visited node set, and the step of When the fourth set of nodes to be visited is not empty, the step of taking out the fourth target node from the fourth set of nodes to be visited; when it is determined that the fourth target node is an inoperable attribute type according to the device wiring topology information, the fourth target node is placed in the fourth set of visited nodes, and each fourth adjacent node of the fourth target node is determined from at least one device node according to the device wiring topology information; for each fourth adjacent node in each fourth adjacent node, if there is no fourth adjacent node in both the fourth set of nodes to be visited and the fourth set of visited nodes, the fourth adjacent node is placed in the fourth set of nodes to be visited; repeating the step of taking out the fourth target node from the fourth set of nodes to be visited when the fourth set of nodes to be visited is not empty; when the fourth set of nodes to be visited is empty, obtaining the grounding switch set.
[0037] The fourth to-be-visited node set is a set of nodes that have not been visited and for which it is not determined whether they are of the grounding switch attribute type. The fourth visited node set is a set of nodes that have been visited and for which it is determined whether they are of the non-grounding switch attribute type. The fourth target node is the currently visited node. The fourth adjacent node is a node adjacent to the fourth target node.
[0038] In the embodiment of the present invention, equipment maintenance should ensure that all adjacent directions of the maintenance equipment are grounded, and the grounding equipment is directly connected to the maintenance equipment without any circuit breaker equipment or isolation switch equipment separating them. Starting from the maintenance equipment, the grounding point closest to the maintenance equipment in each adjacent direction can be searched out, so it is necessary to determine the fourth isolation switch node set.
[0039] In an embodiment of the present invention, taking out a fourth target node from a fourth set of nodes to be visited includes: taking out a fourth target node from the head position of the fourth set of nodes to be visited; placing a fourth adjacent node into a fourth set of nodes to be visited includes: determining a priority of the fourth adjacent node based on equipment wiring topology information and maintenance nodes, and the priority may also be determined using a heuristic function; placing the fourth adjacent node into a target position of the fourth set of nodes to be visited based on the priority. In an embodiment of the present invention, the manner of placing the fourth adjacent node into the fourth set of nodes to be visited may be the same as or different from the manner of placing the first adjacent node into the first set of nodes to be visited.
[0040] Exemplarily, the fourth set of nodes to be visited open_sequence is initialized to be empty, and the fourth set of visited nodes visited_set and the grounding set ground_set of the grounding switch are initialized to be empty; the maintenance node P0 is taken as the starting node, and P0 is added to the head position of open_sequence; when open_sequence is not empty, the fourth target node at the head position is taken out from open_sequence, and the attribute value of the fourth target node is determined according to the equipment wiring topology information, and the attribute type of the fourth target node is judged according to the attribute value; when it is determined according to the attribute type that the fourth target node is a grounding switch node, the fourth target node is added to the tail position of visited_set, and the step of taking out the fourth target node at the head position from open_sequence is repeated when open_sequence is not empty; when it is determined according to the attribute type that the fourth target node is a circuit breaker node or an isolation switch node, the fourth target node is added to visited_se The tail position of t, and repeatedly execute the step of taking out the fourth target node at the head position from open_sequence when open_sequence is not empty; when the attribute type determines that the fourth target node is an inoperable node, the node x is added to the tail of visited_set, and all adjacent nodes of node x are traversed; for each fourth adjacent node y of the fourth target node, if y is not in visited_set and is not in open_sequence, the priority of y is calculated according to the f-value calculation function in the heuristic A* search algorithm, and y is added to the corresponding position in open_sequence according to the priority, otherwise the fourth adjacent node is skipped and the next fourth adjacent node of the fourth target node is selected; repeatedly execute the step of taking out the fourth target node at the head position from open_sequence when open_sequence is not empty; until open_sequence is empty, the grounding set ground_set of the grounding switch is obtained. The above scheme can ensure that the grounding equipment is directly connected to the maintenance equipment during the grounding set reasoning process of the grounding switch to be closed, without being separated by a circuit breaker or isolation switch, thereby meeting the minimum number of grounding equipment.
[0041] In the embodiment of the present invention, there are no specific limitations on the method of extracting the fourth target node from the fourth set of nodes to be visited, the method of determining the fourth adjacent nodes of the fourth target node from at least one device node based on the device wiring topology information, and the method of placing the fourth adjacent node into the fourth set of nodes to be visited.
[0042] S140. Generate safety measures in a work ticket required for maintenance of the maintenance equipment according to the target set.
[0043] Among them, the safety measures in the work ticket are written orders to allow work on electrical equipment and system software, and are also the written basis for implementing technical measures to ensure safety.
[0044] It should be noted that the set content specifically included in the target set in the embodiment of the present invention, that is, which sets the target set specifically includes, can be determined based on the operation sequence rules and the operation constraint rules. According to the target set, the determining factors for generating the safety measures in the work ticket required for the maintenance equipment may also include the operation sequence rules and the operation constraint rules. That is, the safety measures in the work ticket can be determined based on the target set, the operation sequence rules and the operation constraint rules.
[0045] It can be understood that the operation sequence rules and operation restriction rules are two major characteristics of electrical equipment. The operation sequence rules may include, for example: the conversion of electrical equipment is carried out step by step, and the operation cannot be skipped; the electrical equipment includes four states: operation, hot standby, cold standby and maintenance. From the operation state to the maintenance state, the equipment must go through the hot standby state, then the cold standby state, and finally the maintenance state. Among them, the operation state means that the circuit breaker and the isolating switches on both sides of the electrical equipment are in the closed state, the hot standby state means that the circuit breaker is in the open state and the isolating switch is in the closed state, and the circuit breaker only needs to go through a closing operation once to change to the operation state, the cold standby state means that the circuit breaker and the isolating switches on both sides of the equipment are in the disconnected position, and the maintenance state means that the circuit breaker and the isolating switches on both sides of the equipment are in the disconnected position, and the grounding switches on each side are in the closed position or, and temporary grounding wires are installed on each incoming call side. The operational constraint rule means that the state of the equipment should not violate the rules of the four states of the electrical equipment. Violation of the four states of the electrical equipment means violation of the operational constraint rule. Violation of the operational constraint rule may include the following situations: the adjacent grounding switch of the equipment is in the closed position, and its isolating switch or circuit breaker is also in the closed position. In this case, none of the four states of the electrical equipment is satisfied; the circuit breaker of the equipment is in the closed position, and the isolating switches on both sides are in the open position. In this case, none of the four states of the electrical equipment is satisfied; the circuit breaker or isolating switch of the equipment is in the closed position, and the adjacent grounding switch is in the open position. The switch is also in the closed position. In this case, none of the four states of the electrical equipment is met; the circuit breaker of the equipment is in the open position, the isolating switch on one side is in the closed position, and the isolating switch on the other side is in the open position. In this case, none of the four states of the electrical equipment is met, and the maintenance requirements of the equipment cannot be met; the circuit breaker of the equipment is in the open position, the isolating switches on each side are in the open position, the grounding switch on one side is in the closed position, and the grounding switch on the other side is in the open position, and the temporary grounding wire is not connected to the open side of the grounding switch. In this case, none of the four states of the electrical equipment is met, and the maintenance requirements of the equipment cannot be met.
[0046] In an embodiment of the present invention, the safety measures for generating the barriers and signboards that should be hung for the maintenance of the maintenance equipment can be determined based on the maintenance equipment information and the target set; the safety measures for the barriers and signboards that should be hung and the grounding switch set can be generated for the work ticket required for the maintenance of the maintenance equipment. The safety measures for generating the barriers and signboards that should be hung can be determined based on the maintenance equipment information, the target set and the grounding switch set; the safety measures for generating the work ticket required for the maintenance of the maintenance equipment can be generated based on the safety measures for the barriers and signboards that should be hung. The safety measures for generating the barriers and signboards that should be hung can be determined based on the maintenance equipment information and the target set; the safety measures for generating the work ticket required for the maintenance of the maintenance equipment can be generated based on the safety measures for the barriers and signboards that should be hung, the maintenance equipment information, the target set and the grounding switch set. In an embodiment of the present invention, the method for generating the safety measures for the work ticket required for the maintenance of the maintenance equipment based on the target set is not specifically limited.
[0047] Exemplarily, the safety measures for the parts where barriers should be set and / or signs should be hung can be generated based on the name of the maintenance equipment in the maintenance equipment information, the first circuit breaker node set, and the target isolation switch node set. For example, the switch part that should be disconnected in the safety measures of the barriers and signs that should be hung can be filled with the name of the circuit breaker device corresponding to each circuit breaker node in the first circuit breaker node set plus the switch, and the isolation switch part that should be opened in the safety measures of the barriers and signs that should be hung can be filled with the name of the isolation switch device corresponding to each isolation switch set in the target isolation switch node set. And / or, the grounding switch part that should be closed in the safety measures of the barriers and signboards that should be hung is filled with the name of the grounding switch device corresponding to each grounding switch node in the grounding switch set. The safety measures of the barriers and signboards that should be hung may include, for example, "barriers should be installed around [name of maintenance equipment], and an appropriate number of "Stop, high voltage danger" signs should be hung inward on the barriers, and "Enter and exit from here" signs should be hung at the entrance of the barriers" and "A "Do not close the switch, someone is working" sign should be hung on the control switch operating handle of [circuit breaker device corresponding to each circuit breaker node in the first circuit breaker node set] Signboards should be hung on the operating handle of [each isolating knife switch device corresponding to the target isolating knife switch node set] with a "Do not close the switch, someone is working" signboard and locked", where [] is the name of the device to be filled in. For example, the name of the maintenance equipment is 500kV simulated line 1, the first circuit breaker node set inferred is [9,19], the target isolating knife switch node set inferred is [5,13,15,23], and the name of the operable device is the sequence number plus the corresponding attribute type, then the generated safety measures for the barriers and signboards to be hung include "Should be on the 500kV simulated line 1 Install barriers all around, hang an appropriate number of “Stop, High Voltage Danger” signs on the barriers facing inward, hang “Enter and exit from here” signs at the entrance of the barriers, and “A “Do not close the switch, someone is working” sign should be hung on the operating handles of the control switches of No. 9 circuit breakers and No. 13 circuit breakers, and a “Do not close the switch, someone is working” sign should be hung on the operating handles of No. 5 isolation switch, No. 13 isolation switch, No. 15 isolation switch, and No. 23 isolation switch and locked”; generate the safety measures in the work ticket required for the maintenance of the maintenance equipment based on the safety measures of the barriers and signs that should be hung and the set of grounding switches.
[0048] The technical solution of the embodiment of the present invention is to obtain the equipment wiring topology information to realize the automatic generation of safety measures in the work ticket according to the equipment wiring topology information, wherein the equipment wiring topology information includes at least one equipment node; obtain the maintenance equipment information of the maintenance equipment, and determine the maintenance node corresponding to the maintenance equipment from at least one equipment node according to the maintenance equipment information, so that the safety measures in the subsequently generated work ticket are generated for the maintenance equipment; determine the target set according to the equipment wiring topology information and the maintenance node, wherein the target set includes at least one of the first circuit breaker node set, the grounding switch set and the target isolation switch node set; according to the target set, automatically generate the safety measures in the work ticket required for the maintenance of the maintenance equipment. The above technical solution, through the target set, automatically generates the safety measures in the work ticket required for the maintenance of the maintenance equipment, which can realize the generation of the safety measures in the work ticket without manual input and filling, and automatically generates the safety measures in the work ticket, thereby reducing the errors and omissions of the safety measures in the work ticket, improving the standardization of the safety measures in the work ticket, and improving the generation efficiency of the safety measures in the work ticket.
[0049] Figure 2 It is a flowchart of another method for generating safety measures in a work ticket provided in an embodiment of the present invention. This embodiment is optimized based on the above-mentioned technical solutions. In this embodiment, optionally, the target set includes a first circuit breaker node set; according to the equipment wiring topology information and the maintenance node, the target set is determined, including: according to the equipment wiring topology information and the maintenance node, the first isolation knife switch node set is determined; according to the first isolation knife switch node set and the equipment wiring topology information, the first circuit breaker node set is determined. Among them, the explanations of the terms that are the same or corresponding to the above-mentioned embodiments are not repeated here.
[0050] See also Figure 2 The method of this embodiment may specifically include the following steps:
[0051] S210: Acquire device wiring topology information, wherein the device wiring topology information includes at least one device node.
[0052] S220. Obtain maintenance equipment information of the maintenance equipment, and determine a maintenance node corresponding to the maintenance equipment from at least one equipment node according to the maintenance equipment information.
[0053] Exemplarily, the maintenance node corresponding to the maintenance equipment can be determined from at least one device node according to the name of the maintenance equipment in the maintenance equipment information, and the maintenance node can be started as a search to subsequently determine the first isolation switch node set.
[0054] S230. Determine a first isolation switch node set according to the equipment wiring topology information and the maintenance nodes.
[0055] Among them, the first isolation switch node set is a set of nodes corresponding to the isolation switch equipment in the topology structure that needs to be operated according to the safety measures in the work ticket during the maintenance of the maintenance equipment, which is determined according to the equipment wiring topology information and the maintenance nodes; the first isolation switch node set can be used as a target isolation switch node set, or as a part of the target isolation switch node set, and the target isolation switch node set can be used with the first circuit breaker node set to generate the safety measures in the work ticket required for the maintenance of the maintenance equipment.
[0056] Exemplarily, for each adjacent direction of the maintenance node in the topological structure, all the isolation switch nodes closest to the maintenance node in the adjacent direction can be searched according to the equipment wiring topology information; and a first isolation switch node set as an obvious disconnection point is formed according to each isolation switch node searched in each adjacent direction. In the embodiment of the present invention, the method of determining the first isolation switch node set according to the equipment wiring topology information and the maintenance node is not specifically limited.
[0057] S240. Determine a first circuit breaker node set according to the first isolation switch node set and equipment wiring topology information.
[0058] It is understandable that, according to the operation sequence rule and the operation constraint rule, there is an association relationship between the circuit breaker device and the obvious disconnection point, that is, before the obvious disconnection point is disconnected, the circuit breaker device closest to it must be disconnected first. Therefore, for example, each isolation knife switch node in the first isolation knife switch node set can be matched with a circuit breaker node closest to the isolation knife switch node to form a first circuit breaker node set associated with the first isolation knife switch node set. In the embodiment of the present invention, there is no specific limitation on the method of determining the first circuit breaker node set based on the first isolation knife switch node set and the equipment wiring topology information.
[0059] S250. Generate safety measures in a work ticket required for maintenance of maintenance equipment according to the first circuit breaker node set.
[0060] The technical solution of the embodiment of the present invention can determine the first isolation switch node set and then determine the first circuit breaker node set, so as to determine the first circuit breaker node set associated with the first isolation switch node set, and then improve the accuracy of the safety measures in the generated work ticket through the first circuit breaker node set.
[0061] An optional technical solution, according to the equipment wiring topology information and the maintenance node, determines the first isolation knife switch node set, including: initializing the first node set to be visited, the first visited node set and the first isolation knife switch node set, and putting the maintenance node into the first node set to be visited; when the first node set to be visited is not empty, taking out the first target node from the first node set to be visited; when it is determined that the first target node is an isolation knife switch attribute type according to the equipment wiring topology information, putting the first target node into the first isolation knife switch node set, and repeating the step of taking out the first target node from the first node set to be visited when the first node set to be visited is not empty; When the wiring topology information determines that the first target node is a non-isolation switch attribute type, the first target node is placed in the first visited node set, and the first adjacent nodes of the first target node are determined from at least one device node according to the device wiring topology information; for each first adjacent node in each first adjacent node, if the first adjacent node does not exist in the first node set to be visited and the first visited node set, the first adjacent node is placed in the first node set to be visited; repeat the step of taking out the first target node from the first node set to be visited when the first node set to be visited is not empty; and obtain the first isolation switch node set when the first node set to be visited is empty.
[0062] The first to-be-visited node set is a set of nodes that have not been visited and for which it is not determined whether they are of non-isolation switch attribute type. The first visited node set is a set of nodes that have been visited and for which it is determined whether they are of non-isolation switch attribute type. The first target node is the currently visited node. The first adjacent node is a node adjacent to the first target node.
[0063] Exemplarily, the first set of nodes to be visited open_sequence can be initialized to be empty, and the first set of visited nodes visited_set and the first set of isolation switch nodes as obvious disconnection points break_point_set can be initialized to be empty; the starting node P0 is added to the head of open_sequence; when open_sequence is not empty, the head node x is taken out from the head position of open_sequence as the first target node; the attribute value of the first target node is determined according to the device wiring topology information, and the attribute type of the first target node is determined according to the attribute value; when the attribute type is the isolation switch attribute type, the first target node is added to the tail of break_point_set, and the execution is repeated when open_sequence is not empty, the head node x is taken out from the head position of open_sequence as the first target node point; when the attribute type is not the isolation switch attribute type, the first target node is added to the tail of visited_set, and according to the device wiring topology information, all adjacent nodes of the first target node are traversed from at least one device node; for each first adjacent node y in each first adjacent node, if y is not in visited_set and not in open_sequence, the priority of y is calculated according to the f value calculation formula in the heuristic A* search algorithm, and the node is added to the corresponding position in open_sequence according to the priority, otherwise the node is skipped and the next adjacent node of the first target node is selected; repeatedly execute the step of taking out the head node x from the head position of open_sequence as the first target node when open_sequence is not empty; until open_sequence is empty, a first isolation switch node set as an obvious disconnection point is obtained.
[0064] In an embodiment of the present invention, for example, four different attribute types can be assigned to each node in the topological structure according to the category of each primary device in the electrical system (operable device and inoperable device), and the four attribute types are respectively an isolation switch attribute type, a circuit breaker attribute type, a grounding switch attribute type, and an inoperable device attribute type. The attribute types corresponding to each node in the topological structure can be added to the device wiring topology information, that is, at least one device node includes device nodes of four attribute types, namely, an isolation switch node, a circuit breaker node, a grounding switch node, and an inoperable node. Therefore, in an embodiment of the present invention, the attribute type of the node can be determined according to the device wiring topology information. Exemplarily, the device wiring topology information may include the following Table 1, so as to determine the attribute type of the node according to the device wiring topology information, and also find the corresponding adjacency table sequence number according to the sequence number of the first target node, and query the sequence numbers of all adjacent devices adjacent to the device corresponding to the first target node from the adjacency table according to the adjacency table sequence number, so as to traverse all adjacent nodes of the first target node, wherein the sequence number in Table 1 is the sequence number of the device corresponding to the device node, the device name is the name of the device corresponding to the device node, the attribute is the attribute type of the device node, the adjacency table sequence number is the sequence number of the sequence number of the adjacent device of the device corresponding to the device node in the adjacency table, and the adjacency table may be as shown in Table 2, for example, and the sequence number in Table 2 is the adjacency table sequence number corresponding to the device node.
[0065] Table 1 Node structure table of primary equipment wiring topology diagram
[0066] Serial number Device Name property Adjacency list number
[0067] Table 2 Primary equipment wiring topology diagram adjacency table structure table
[0068] Serial number Sequence number of the adjacent device
[0069] In the embodiments of the present invention, there are no specific limitations on the method of taking out the first target node from the first set of nodes to be visited, the method of placing the first target node into the first isolation switch node set, the method of determining the first adjacent nodes of the first target node from at least one device node based on the device wiring topology information, and the method of placing the first adjacent node into the first set of nodes to be visited.
[0070] In an embodiment of the present invention, by determining the first adjacent node to determine the first isolation knife switch node set, the first isolation knife switch node set that can serve as an obvious disconnection point can be determined, and then through the first isolation knife switch node set, the accuracy of the safety measures in the generated work ticket can be further improved.
[0071] Based on the above scheme, another optional technical scheme is to take out the first target node from the first set of nodes to be visited, including: taking out the first target node from the head position of the first set of nodes to be visited; placing the first adjacent node into the first set of nodes to be visited, including: determining the priority of the first adjacent node according to the equipment wiring topology information and the maintenance node; and placing the first adjacent node into the target position of the first set of nodes to be visited according to the priority.
[0072] The head position is the position of the first node visited in the first set of nodes to be visited, that is, the node at the head position can be taken out first. The priority is the priority of the first adjacent node to be visited and taken out. The target position is the position where the first adjacent node is placed in the first set of nodes to be visited.
[0073] In the embodiment of the present invention, there is no specific limitation on the method of determining the priority of the first adjacent node based on the equipment wiring topology information and the maintenance node, and the method of placing the first adjacent node in the target position of the first set of nodes to be visited based on the priority.
[0074] In an embodiment of the present invention, the first adjacent node can be placed in the target position of the first set of nodes to be visited according to priority, and the first target node can be taken out according to the position, so as to give priority to the removal of device nodes with high priority, thereby ensuring that the number of traversed nodes is reduced and speeding up the generation of safety measures in the work ticket.
[0075] Based on the above scheme, another optional technical scheme is to determine the priority of the first adjacent node according to the equipment wiring topology information and the maintenance node, including: determining the first node distance between the maintenance node and the first adjacent node through an heuristic function according to the equipment wiring topology information and the maintenance node; determining the priority of the first adjacent node according to the first node distance.
[0076] The first node distance is the distance between the maintenance node and the first adjacent node in the topological structure.
[0077] It should be noted that the heuristic A* search algorithm is usually used to find the shortest path from the starting point to the target point in a graph or graph-like structure. It uses both the actual path cost (the length of the path that has been traveled) and the heuristic estimate (the estimated distance from the current node to the target) to search to find the optimal path. The heuristic A* search algorithm uses a comprehensive estimate called the "f value" to sort the nodes, where the f value is defined as f(n) = g(n) + h(n), where g(n) is the actual cost from the starting node to node n, and h(n) is the heuristic estimate from node n to the target node. , h(n) is also called the heuristic function; during the operation of the heuristic A* search algorithm, the elements in the sequence of nodes to be visited are sorted from high to low according to priority (the smallest f value, the highest priority, that is, sorted from small to large according to the f value), and each time the head node (the smallest f(n) value, the highest priority) is selected from the sequence of nodes to be visited as the next node to be traversed. The heuristic A* search algorithm ensures that the shortest path is found under the appropriately selected heuristic function, and performs well in practice. Therefore, in the embodiment of the present invention, the heuristic function can be, for example, the f value calculation function in the heuristic A* search algorithm. Exemplarily, the device nodes in the first set of nodes to be visited can be sorted from high to low according to priority, that is, the smaller the f value, the higher the priority, that is, the device nodes in the first set of nodes to be visited can be sorted from small to large according to the f value, and after the f value of the first adjacent node is calculated according to the f value calculation function in the heuristic A* search algorithm, the first adjacent node is added to the corresponding position in the first set of nodes to be visited according to the rule of sorting the f value from small to large.
[0078] In the embodiment of the present invention, the priority can be determined by a heuristic function, which can further ensure that the number of traversed nodes is reduced, and further speed up the speed of generating safety measures in the work ticket.
[0079] Another optional technical solution is to determine the first circuit breaker node set according to the first isolation switch node set and the equipment wiring topology information, including: initializing the second node set to be visited, the second visited node set and the first circuit breaker node set, and copying the first isolation switch node set to obtain a copy isolation switch node set; when the copy isolation switch node set is not empty, taking out the first starting node from the copy isolation switch node set, and putting the first starting node into the second node set to be visited; when the second node set to be visited is not empty, taking out the second target node from the second node set to be visited; when it is determined that the second target node is a circuit breaker attribute type according to the equipment wiring topology information, putting the second target node into the first circuit breaker node set, setting the second node set to be visited and the second visited node set to empty, and repeating Execute the step of taking out the first starting node from the replica isolation knife switch node set when the replica isolation knife switch node set is not empty; put the second target node into the second visited node set when it is determined that the second target node is not a circuit breaker attribute type according to the device wiring topology information, and determine each second adjacent node of the second target node from at least one device node according to the device wiring topology information; for each second adjacent node in each second adjacent node, if there is no second adjacent node in the second node set to be visited and the second visited node set, put the second adjacent node into the second node set to be visited; repeat the step of taking out the second target node from the second node set to be visited when the second node set to be visited is not empty; and obtain the first circuit breaker node set when the replica isolation knife switch node set is empty.
[0080] Among them, the second set of nodes to be visited is a set of nodes that have not been visited and it is not determined whether they are of the circuit breaker attribute type. The second set of visited nodes is a set of nodes that have been visited and it has been determined whether they are of the non-circuit breaker attribute type. The copy isolation knife gate node set is a set obtained by copying the first isolation knife gate node set, and the isolation knife gate nodes in the first isolation knife gate node set are the same as the isolation knife gate nodes in the copy isolation knife gate node set. The first starting node is the isolation knife gate node that currently takes it as the starting point to determine the circuit breaker node associated with it. The second target node is the node currently visited. The second adjacent node is a node adjacent to the second target node.
[0081] In an embodiment of the present invention, according to the association relationship between the circuit breaker device and the isolating switch device as the obvious disconnection point, it can be known that before the isolating switch device as the obvious disconnection point is in the open state, the circuit breaker device directly associated with the isolating switch device must be in the open state. Because the circuit breaker device closest to the isolating switch device as the obvious disconnection point is the circuit breaker device to be disconnected, the inference result of the first circuit breaker node set corresponding to the circuit breaker device to be disconnected can be obtained by deducing and searching the first isolating switch node set as the obvious disconnection point.
[0082] In an embodiment of the present invention, taking out a second target node from a second set of nodes to be visited includes: taking out the second target node from the head position of the second set of nodes to be visited; placing a second adjacent node into the second set of nodes to be visited includes: determining a priority of the second adjacent node based on equipment wiring topology information and maintenance nodes, and the priority may also be determined using a heuristic function; placing the second adjacent node into the target position of the second set of nodes to be visited based on the priority. In an embodiment of the present invention, the manner of placing the second adjacent node into the second set of nodes to be visited may be the same as or different from the manner of placing the first adjacent node into the first set of nodes to be visited.
[0083] Exemplarily, the second set of nodes to be visited open_sequence is initialized to be empty, and the second set of visited nodes visited_set and the first set of circuit breaker nodes circuit_break_set are initialized to be empty; the copy isolation knife switch node set break_point_set_copy is initialized as a copy of the first isolation knife switch node set, and the preset distance threshold dt of the search is set to 2; when break_point_set_copy is not empty, the first isolation knife switch node d0 in break_point_set_copy is taken out as the first starting node, and the first starting node is added to the head position of open_sequence; when open_sequence is not empty, the second target node at the head position is taken out from open_sequence, and the attribute value of the second target node is determined according to the device wiring topology information, and the attribute type of the second target node is judged according to the attribute value; when it is determined that the second target node is a circuit breaker node according to the attribute type, the second target node is added to the tail position of circuit_break_set, and open_sequence and visit_set are added to the tail position of circuit_break_set, and the first starting node is ... Set ed_set to empty, and repeat the step of taking out the first isolation switch node d0 in break_point_set_copy as the first starting node when break_point_set_copy is not empty; when it is determined according to the attribute type that the second target node is not a circuit breaker node, add the second target node to the tail of visited_set, and traverse all adjacent nodes of the second target node; for each adjacent node y of the second target node, when y is not in visited_set and open_sequence, and the distance between y and the first starting node is less than or equal to dt, calculate the priority of y according to the f value calculation function in the heuristic A* search algorithm, and add y to the corresponding position in open_sequence according to the priority, otherwise skip the node and select the next adjacent node; repeat the step of taking out the second target node at the head position from open_sequence when open_sequence is not empty; until the sequence break_point_set_copy is empty, the first circuit breaker node set circuit_break_set is obtained.
[0084] In the embodiment of the present invention, there are no specific limitations on the method of extracting the second target node from the second set of nodes to be visited, the method of determining the second adjacent nodes of the second target node from at least one device node based on the device wiring topology information, and the method of placing the second adjacent node into the second set of nodes to be visited.
[0085] In an embodiment of the present invention, by determining the second adjacent node and then determining the first circuit breaker node set, it can be determined that the node set that is more closely associated with the first isolation switch node set is obtained, and then the first circuit breaker node set further improves the accuracy of the safety measures in the generated work ticket.
[0086] On the basis of the above scheme, there is also an optional technical scheme, in which, when there is no second adjacent node in both the second set of nodes to be visited and the second set of visited nodes, the second adjacent node is placed in the second set of nodes to be visited, including: when there is no second adjacent node in both the second set of nodes to be visited and the second set of visited nodes, determining the second node distance between the second adjacent node and the first starting node; when the second node distance is less than or equal to a preset distance threshold, placing the second adjacent node in the second set of nodes to be visited.
[0087] The second node distance is the distance between the second adjacent node and the first starting node in the topological structure. The preset distance threshold is the maximum value of the second node distance for placing the second adjacent node into the second set of nodes to be visited.
[0088] In an embodiment of the present invention, since there is generally a grounding switch device between the circuit breaker device and the isolation switch devices on both sides, the distance between the circuit breaker node and the isolation switch node in the primary device wiring topology is 2. If the second node distance is greater than 2, it means that the circuit breaker device is not a circuit breaker device associated with an obvious disconnection point. Therefore, in an embodiment of the present invention, the preset distance threshold can be set to 2.
[0089] In an embodiment of the present invention, a preset distance threshold can be used to control the circuit breaker nodes in the first circuit breaker node set to be circuit breaker nodes associated with the isolation switch nodes in the first isolation switch node set, thereby further improving the accuracy of the safety measures of the generated work ticket.
[0090] Figure 3 It is a flowchart of another method for generating safety measures in a work ticket provided in an embodiment of the present invention. This embodiment is optimized based on the above-mentioned technical solutions. In this embodiment, optionally, the target set includes a target isolation switch node set; according to the equipment wiring topology information and the maintenance node, the target set is determined, including: according to the equipment wiring topology information and the maintenance node, the second isolation switch node set is determined; according to the second isolation switch node set and the equipment wiring topology information, the second circuit breaker node set is determined; according to the second circuit breaker node set and the equipment wiring topology information, the third isolation switch node set is determined; according to the second isolation switch node set and the third isolation switch node set, the target isolation switch node set is determined. Among them, the explanations of the terms that are the same or corresponding to the above-mentioned embodiments are not repeated here.
[0091] See also Figure 3 The method of this embodiment may specifically include the following steps:
[0092] S310: Acquire device wiring topology information, wherein the device wiring topology information includes at least one device node.
[0093] S320, acquiring maintenance equipment information of the maintenance equipment, and determining a maintenance node corresponding to the maintenance equipment from at least one equipment node according to the maintenance equipment information.
[0094] S330. Determine a second isolation switch node set according to the equipment wiring topology information and the maintenance nodes.
[0095] Among them, the second isolation switch node set is a set of nodes corresponding to the isolation switch equipment in the topology structure that needs to be operated according to the safety measures in the work ticket during the maintenance of the maintenance equipment, which is determined according to the equipment wiring topology information and the maintenance nodes; the second isolation switch node set can be used as a target isolation switch node set, or as a component of a target isolation switch node set, and the target isolation switch node set can be used with the first circuit breaker node set to generate the safety measures in the work ticket required for the maintenance of the maintenance equipment; the first isolation switch node set and the second isolation switch node set can refer to the same set or to different sets.
[0096] In an embodiment of the present invention, a second isolation switch node set is obtained based on the equipment wiring topology information and the maintenance nodes, so that after the isolation switch devices corresponding to each isolation switch node in the second isolation switch node set are disconnected, a power island can be formed. Therefore, the second isolation switch node set is used to subsequently determine the target isolation switch node set, and then the safety measures in the work ticket are generated. Working in accordance with the safety measures in the work ticket can ensure the safety of the staff when repairing the maintenance equipment.
[0097] In an embodiment of the present invention, the manner of determining the second isolation switch node set based on the device wiring topology information and the maintenance node may be the same as or different from the manner of determining the first isolation switch node set based on the device wiring topology information and the maintenance node. In an embodiment of the present invention, the manner of determining the second isolation switch node set based on the device wiring topology information and the maintenance node is not specifically limited.
[0098] S340. Determine a second circuit breaker node set according to the second isolation switch node set and equipment wiring topology information.
[0099] Among them, the second circuit breaker node set is a set of nodes corresponding to the circuit breaker equipment in the topology structure that needs to be operated according to the safety measures in the work ticket during the maintenance of the maintenance equipment; the second circuit breaker node set and the first circuit breaker node set can refer to the same set or different sets.
[0100] In the embodiment of the present invention, the manner of determining the second circuit breaker node set according to the second isolation knife switch node set and the equipment wiring topology information may be the same as or different from the manner of determining the first circuit breaker node set according to the first isolation knife switch node set and the equipment wiring topology information. In the embodiment of the present invention, the manner of determining the second circuit breaker node set according to the second isolation knife switch node set and the equipment wiring topology information is not specifically limited.
[0101] S350. Determine a third isolation switch node set according to the second circuit breaker node set and the equipment wiring topology information.
[0102] Among them, the third isolation switch node set is a set of nodes corresponding to the isolation switch device in the topology structure that needs to be operated according to the safety measures in the work ticket during the maintenance of the maintenance equipment, which is determined based on the equipment wiring topology information and the maintenance nodes; the third isolation switch node set can be used as the target isolation switch node set, or as a part of the target isolation switch node set.
[0103] It can be understood that, according to the operation sequence rule and the operation constraint rule, there is an association relationship between the isolation switch device and the circuit breaker device, that is, after the circuit breaker device is disconnected, all the isolation switch devices in its adjacent direction must also be disconnected. Therefore, for example, for each circuit breaker node in the second circuit breaker node set, the isolation switch node closest to the circuit breaker node in all adjacent directions of the circuit breaker node is searched out to form a third isolation switch node set. In the embodiment of the present invention, the method for determining the third isolation switch node set based on the second circuit breaker node set and the equipment wiring topology information is not specifically limited.
[0104] S360. Determine a target isolation switch node set according to the second isolation switch node set and the third isolation switch node set.
[0105] In the embodiment of the present invention, for example, the second isolation knife gate node set and the third isolation knife gate node set can be added to obtain the target isolation knife gate node set. In the embodiment of the present invention, the method of determining the target isolation knife gate node set based on the second isolation knife gate node set and the third isolation knife gate node set is not specifically limited.
[0106] S370. Generate safety measures in a work ticket required for maintenance of the maintenance equipment according to the target isolation switch node set.
[0107] In an embodiment of the present invention, the target set may also include a grounding switch set, and safety measures in a work ticket required for maintenance of the maintenance equipment may be generated based on the second circuit breaker node set, the grounding switch set and the target isolation switch node set.
[0108] The technical solution of the embodiment of the present invention determines a more comprehensive target isolation switch node set associated with the second circuit breaker node set by determining the second isolation switch node set and the third isolation switch node set, so that the determined target isolation switch node set can be more in line with the requirements and the accuracy of the safety measures in the generated work ticket is improved.
[0109] An optional technical solution, according to the second circuit breaker node set and the equipment wiring topology information, determines the third isolation knife switch node set, including: initializing the third node set to be visited, the third visited node set and the third isolation knife switch node set, and copying the second circuit breaker node set to obtain a copy circuit breaker node set; when the third node set to be visited is empty and the copy circuit breaker node set is not empty, taking out the second starting node from the copy circuit breaker node set, and putting the second starting node into the third node set to be visited; when the third node set to be visited is not empty, taking out the third target node from the third node set to be visited; when it is determined that the third target node is an isolation knife switch attribute type according to the equipment wiring topology information, putting the third target node into the third isolation knife switch node set, and repeating the steps of: When the set of replica circuit breaker nodes is empty and the set of replica circuit breaker nodes is not empty, the step of taking out the second starting node from the set of replica circuit breaker nodes; when the attribute type of the third target node is determined to be a non-isolation switch according to the device wiring topology information, the third target node is placed in the third visited node set, and each third adjacent node of the third target node is determined from at least one device node according to the device wiring topology information; for each third adjacent node in each third adjacent node, if there is no third adjacent node in both the third set of nodes to be visited and the third set of visited nodes, the third adjacent node is placed in the third set of nodes to be visited; repeating the step of taking out the third target node from the third set of nodes to be visited when the third set of nodes to be visited is not empty; when the set of replica circuit breaker nodes is empty, a third isolation switch node set is obtained.
[0110] Among them, the third set of nodes to be visited is a set of nodes that have not been visited and it is not determined whether they are of the isolation switch attribute type. The third set of visited nodes is a set of nodes that have been visited and it has been determined whether they are of the non-isolation switch attribute type. The replica circuit breaker node set is a set obtained by copying the circuit breaker node set, and the circuit breaker nodes in the circuit breaker node set are the same as the circuit breaker nodes in the replica circuit breaker node set. The second starting node is the circuit breaker node that currently takes it as the starting point to determine the isolation switch node associated with it. The third target node is the currently visited node. The third adjacent node is a node adjacent to the third target node.
[0111] In an embodiment of the present invention, based on the association relationship between the isolation switch device and the circuit breaker device, it can be known that after the maintenance equipment enters the cold standby state from the hot standby state and the circuit breaker device is in the open state, the isolation switch devices on both sides of the circuit breaker device need to be in the open state, so it is necessary to determine the third isolation switch node set.
[0112] In an embodiment of the present invention, taking out a third target node from a third set of nodes to be visited includes: taking out the third target node from the head position of the third set of nodes to be visited; placing a third adjacent node into the third set of nodes to be visited includes: determining a priority of the third adjacent node based on equipment wiring topology information and maintenance nodes, and the priority may also be determined using a heuristic function; placing the third adjacent node into the target position of the third set of nodes to be visited based on the priority. In an embodiment of the present invention, the manner of placing the third adjacent node into the third set of nodes to be visited may be the same as or different from the manner of placing the first adjacent node into the first set of nodes to be visited.
[0113] Exemplarily, the third set of nodes to be visited open_sequence is initialized to be empty, and the third set of visited nodes visited_set and the third set of isolation switch nodes disconnector_set are initialized to be empty, and the copy circuit breaker node set circuit_break_set_copy is initialized as a copy of the circuit breaker node set circuit_break_set; when open_sequence is empty and circuit_break_set_copy is not empty, the first circuit breaker node c0 in circuit_break_set_copy is taken out as the second starting node, and the second starting node is added to the head position of open_sequence; when open_sequence is not empty, the third target node at the head position is taken out from open_sequence, and the attribute value of the third target node is determined according to the device wiring topology information, and the attribute type of the third target node is judged according to the attribute value; when it is determined that the third target node is an isolation switch node according to the attribute type, the distance dis between the third target node and the second starting node is calculated, and all the distances between the third target node and the second starting node in disconnector_set are calculated. The elements greater than dis are removed, and the third target node is added to the tail position of disconnector_set, and the step of taking out the first circuit breaker node c0 in circuit_break_set_copy as the second starting node is repeated when open_sequence is empty and circuit_break_set_copy is not empty; when the attribute type determines that the third target node is a non-isolation switch node, the third target node is added to the tail position of visited_set, and all third adjacent nodes of the third target node are traversed from at least one device node according to the device wiring topology information; for each third adjacent node y of the third target node, when y is not in visited_set and is not in open_sequence, the priority of y is calculated according to the f value calculation function in the heuristic A* search algorithm, and y is added to the corresponding position in open_sequence according to the priority, otherwise the third adjacent node is skipped and the next third adjacent node of the third target node is selected; the step of taking out the third target node at the head position from open_sequence is repeated when open_sequence is not empty;Until open_sequence is empty, repeat the steps of taking out the first circuit breaker node c0 in circuit_break_set_copy as the second starting node when open_sequence is empty and circuit_break_set_copy is not empty; obtain disconnector_set; add the disconnector_set at this time to the second isolation switch node set break_point_set, that is, disconnector_set=disconnector_set+break_point_set, to obtain the target isolation switch node set disconnector_set. ;
[0114] In the embodiment of the present invention, there are no specific limitations on the method of extracting the third target node from the third set of nodes to be visited, the method of determining the third adjacent nodes of the third target node from at least one device node based on the device wiring topology information, and the method of placing the third adjacent node into the third set of nodes to be visited.
[0115] In an embodiment of the present invention, by determining the third adjacent node to determine the third isolation switch node set, a third isolation switch node set associated with the second circuit breaker node set can be determined, and then by further improving the accuracy of the safety measures in the generated work ticket with the third isolation switch node set.
[0116] Based on the above scheme, another optional technical scheme is to place the third target node into the third isolation knife gate node set, including: determining the third node distance between the third target node and the second starting node; determining the set distance in the second isolation knife gate node set, wherein the set distance is the distance between the node in the second isolation knife gate node set and the second starting node; when the third node distance is less than the set distance, setting the third isolation knife gate node set to empty and placing the third target node into the third isolation knife gate node set; when the third node distance is equal to the set distance, placing the third target node into the third isolation knife gate node set.
[0117] The third node distance is the distance between the third target node and the second start node in the topological structure.
[0118] In an embodiment of the present invention, when the third node distance is less than the set distance, the third isolation knife gate node set is set to empty, and the third target node is placed in the third isolation knife gate node set; when the third node distance is equal to the set distance, the third target node is placed in the third isolation knife gate node set; when the third node distance is greater than the set distance, the third target node is not placed in the third isolation knife gate node set. It can be understood that after the third isolation knife gate node set is processed through the above process, the distance between each isolation knife gate node in the third isolation knife gate node set and the second starting node is the same, that is, each isolation knife gate node in the third isolation knife gate node set is the isolation knife gate node closest to the second starting node, therefore, the same distance between each isolation knife gate node and the second starting node can be used as the set distance.
[0119] Exemplarily, each isolation knife gate node in the third isolation knife gate node set is added with a distance attribute, and the distance attribute is represented as the distance between the isolation knife gate node and the second starting node. For each isolation knife gate node in the third isolation knife gate node set, when the attribute value of the distance attribute of the isolation knife gate node is greater than the third node distance, the isolation knife gate node is removed from the third isolation knife gate node set; when the attribute value of the distance attribute of the isolation knife gate node is equal to the third node distance, the third target node is placed in the third isolation knife gate node set.
[0120] In an embodiment of the present invention, the isolation switch nodes in the third isolation switch node set are restricted by the third node distance and the set distance, so that for each circuit breaker node in the circuit breaker node set, only the isolation switch node closest to it is retained, so that the number of switches that can be opened when working according to the safety measures in the work ticket is minimized.
[0121] In order to better understand the technical solution of the above embodiment of the present invention, an optional example is provided here. Figure 4, on the basis of the operation sequence rules and the operation constraint rules, the maintenance equipment information and the equipment wiring topology information of the maintenance equipment are obtained; according to the maintenance equipment information, the maintenance node corresponding to the maintenance equipment is determined from at least one equipment node; according to the equipment wiring topology information and the maintenance node, the second isolation knife switch node set of obvious disconnection points is inferred; according to the second isolation knife switch node set and the equipment wiring topology information, the second circuit breaker node set is inferred; according to the second circuit breaker node set and the equipment wiring topology information, the third isolation knife switch node set is inferred, and according to the second isolation knife switch node set and the third isolation knife switch node set, the target isolation knife switch node set is inferred; according to the equipment wiring topology information and the maintenance node, the grounding knife switch node set on the upper side is inferred; according to the maintenance node, the second circuit breaker node set and the target isolation knife switch node set, the safety measures of setting up barriers and hanging signs are inferred; according to the measures and the grounding knife switch set, the safety measures in the work ticket are generated.
[0122] In order to better understand the technical solution of the above embodiment of the present invention, an optional example is provided here. Figure 5 , take the following substation primary equipment wiring topology diagram as the equipment wiring topology information as an example, in which each primary equipment has been numbered, and it is assumed that the name of the operational class equipment is the serial number plus the corresponding attribute type, for example, Figure 5 The device name of device node No. 5 is isolating switch No. 5, the name of device No. 1 is 500kV#1 bus, the name of device No. 2 is 500kV#2 bus, the name of device No. 3 is 500kV analog line 1, and the name of device No. 4 is voltage transformer; when the name of the maintenance equipment in the maintenance equipment information is 500kV analog line 1, the maintenance node corresponding to the maintenance equipment can be determined from at least one device node as node No. 3.
[0123] It should be noted that the priority mentioned in the following process can be calculated by the f value. The smaller the f value, the higher the priority. The f value calculation formula is: f(n)=g(n)+h(n), where g(n) is the actual cost from the starting node to node n, and h(n) is the heuristic estimate from node n to the target node, also called the heuristic function. In an embodiment of the present invention, g(n) is defined as the distance from node n to the starting node, and the heuristic function h(n) is defined as h(n)=2*(hd-g(n)), wherein hd is a predefined constant, and hd can be 1, for example, that is, the f-value calculation formula is f(n)=g(n)+2*(1-g(n)). For example, for node No. 10 mentioned in the reasoning of the second isolation knife switch node set as an obvious disconnection point below, its distance to the starting node, i.e., node No. 3, is 1, then g(3)=1, and g(3)=1 is substituted into the f-value calculation formula to obtain f(3)=1+2*(1-1)=1. Similarly, for example, for nodes No. 9 and 11, the priority is calculated using the formula f(n)=g(n)+2*(1-g(n)) to obtain a priority of 0.
[0124] Reasoning of the second isolation knife switch node set as an obvious disconnection point. According to the reasoning method for determining the second isolation knife switch node set mentioned in the embodiment of the present invention, it is obtained that the serial number in the second isolation knife switch node set break_point_set as an obvious disconnection point is [9,11]. The reasoning analysis is as follows: Initialize the set of nodes to be visited open_sequence to be empty, and initialize the set of visited nodes visited_set and the set of second isolation knife switch nodes as obvious disconnection points break_point_set to be empty; add node 3 to the head position of open_sequence; take out the target node node 3 from open_sequence, because the attribute value of node 3 is an inoperable class, node 3 is not an isolation knife switch node, add node 3 to the tail position of visited_set, and traverse all adjacent nodes of node 3; for node 10, the adjacent node of node 3, which is not in visited_set and is not in open_sequence, the priority of node 10 is calculated, and the calculated priority is 1; because open_sequence is empty, add node 10 To the head position of open_sequence; then take out the target node 10 from open_sequence. Since the attribute value of node 10 is the grounding switch, node 10 is not an isolation switch node. Add node 10 to the tail position of visited_set and traverse all adjacent nodes of node 10. For node 9, the adjacent node of node 10, which is not in visited_set and open_sequence, the priority of node 9 is calculated, and the calculated priority is 0. Since open_sequence is empty, node 9 is added to the head position of open_sequence. For node 11, the adjacent node of node 10, which is not in visited_set and open_sequence, the priority of node 11 is calculated, and the calculated priority is 0. At this time, the sequence number in open_sequence is [9], and node 9 has the same priority as node 11, so node 11 is added to the back position of node 9 in open_sequence. At this time, the sequence number in open_set is [9,11]. The target node No. 9 is taken out from open_sequence. Since the attribute value of No. 9 is the isolation switch, No. 9 is the isolation switch node. No. 9 is added to break_point_set; the same is true for No. 1. Since open_sequence is empty, the final sequence number in break_point_set is [9,11].
[0125] Reasoning for a second set of circuit breaker nodes associated with a distinct disconnect point. According to the reasoning method for determining the second circuit breaker node set or the reasoning method for determining the first circuit breaker node set mentioned in the embodiment of the present invention, the sequence number in the second circuit breaker node set circuit_break_set associated with the obvious disconnection point is [7,13], and the reasoning analysis is as follows: initialize the node set to be visited open_sequence to be empty, and initialize the visited node set visited_set and the second circuit breaker node set circuit_break_set associated with the obvious disconnection point to be empty; initialize the set break_point_set_copy to be a copy of the second isolation knife switch node set break_point_set as the obvious disconnection point, and set the searched preset distance threshold dt to 2; the sequence number in break_point_set_copy is [9,11], take out the first element node 9 in break_point_set_copy as the starting node, and add node 9 to the head of open_sequence; take out the target node node 9 from open_sequence, because the attribute value of node 9 is the isolation knife switch, so node 9 is not a circuit breaker node, add node 9 to v The tail position of isited_set is set, and all adjacent nodes of node 9 are traversed; for node 8, the adjacent node of node 9, it is not in visited_set and open_sequence, and the node distance between it and node 9 is less than dt, then the priority of node 8 is calculated, and the priority is 1. Since open_sequence is empty, node 8 is added to the head position of open_sequence; for node 10, the adjacent node of node 9, it is not in visited_set and open_sequence, and the node distance between it and node 9 is less than dt. If the point distance is less than dt, the priority of node 10 is calculated, and the calculated priority is 1. At this time, the sequence number in open_sequence is [8], and nodes 8 and 10 have the same priority, so node 10 is added to the back of node 8 in open_sequence; at this time, the sequence number in open_set is [8,10], and the target node 8 is taken from open_sequence. Because the attribute value of node 8 is grounding switch, node 8 is not a circuit breaker node. Node 8 is added to the tail position of visited_set, and all adjacent nodes of node 8 are traversed;For node 7, the neighboring node of node 8, which is not in visited_set and open_sequence, and the node distance between node 7 and node 9 is equal to dt, the priority of node 7 is calculated, and the calculated priority is 0. At this time, the sequence number in open_sequence is
[10] , and the priority of node 7 is greater than that of node 10, so node 7 is added to the front of node 10 in open_sequence; for node 9, the neighboring node of node 8, which is already in visited_set, skip this node; at this time, the sequence number in open_sequence is [7,10], and the target node 7 is taken out from open_sequence. Since the attribute value of node 7 is circuit breaker, node 7 is a circuit breaker node, and node 7 is added to circuit_break_set; the same is true for node 13, and then open_sequence is empty, and finally the sequence number in circuit_break_set is [7,13]. ;
[0126] Reasoning of a third isolation switch node set and a target isolation switch node set associated with the second circuit breaker node set. According to the reasoning method for determining the third isolation knife switch node set and the reasoning method for determining the target isolation knife switch node set mentioned in the embodiment of the present invention, it is obtained that the serial numbers in the target isolation knife switch node set disconnector_set associated with the second circuit breaker node set are [5,9,11,15]. The reasoning analysis is as follows: initialize the node set to be visited open_sequence to be empty, and initialize the visited node set visited_set and the third isolation knife switch node set disconnector_set to be empty; initialize the set circuit_break_set_copy to be a copy of the second circuit breaker node set circuit_break_set; the serial numbers in circuit_break_set_copy are [7,13], take out the first element node 7 in circuit_break_set_copy as the starting node, and add node 7 to the head position of open_sequence; take out the target node node 7 from open_sequence. Since the attribute value of node 7 is circuit breaker, node 7 is not an isolation knife switch node, and add node 7 Node 6 is added to the tail of visited_set, and all adjacent nodes of node 7 are traversed; for node 7's adjacent node 6, it is not in visited_set and is not in open_sequence, so the priority of node 6 is calculated, and the calculated priority is 1. Since open_sequence is empty, node 6 is added to the head of open_sequence; for node 7's adjacent node 8, it is not in visited_set and is not in open_sequence , then calculate the priority of node 8, and the calculated priority is 1. At this time, the sequence number in open_sequence is [6], and node 6 has the same priority as node 8, so node 8 is added to the back of node 6 in open_sequence; at this time, the sequence number in open_set is [6,8], and the target node 6 is taken from open_sequence. Because the attribute value of node 6 is grounding switch, node 6 is not an isolation switch node. Node 6 is added to the tail position of visited_set, and all adjacent nodes of node 6 are traversed;For node 5, the neighboring node of node 6, which is not in visited_set and is not in open_sequence, the priority of node 5 is calculated, and the calculated priority is 0. At this time, the sequence number in open_sequence is [8], and the priority of node 5 is greater than that of node 8, so node 5 is added to the front of node 8 in open_sequence; for node 7, the neighboring node of node 6, which is already in visited_set, the node is skipped; at this time, the sequence number in open_sequence is [5,8], and the target is taken from open_sequence Node 5, because the attribute value of node 5 is disconnector, node 5 is an disconnector node, and disconnector_set is empty, then node 5 is added to the tail position of the disconnector set disconnector_set associated with the circuit breaker; at this time, the sequence number in open_sequence is [8], and the target node 8 is taken out from open_sequence. Because the attribute value of node 8 is grounding switch, node 8 is not an disconnector node, and node 8 is added to the tail position of visited_set, and all adjacent nodes of node 8 are traversed; for the adjacent nodes of node 8 Node 7 is already in visited_set, so it is skipped. Node 9, the adjacent node of node 8, is not in visited_set and is not in open_sequence. The priority of node 9 is calculated, and the priority is 0. Since open_sequence is empty, node 9 is added to the head of open_sequence. At this time, the sequence number in open_sequence is [9]. The target node 9 is taken out from open_sequence. Since the attribute value of node 9 is isolation switch, node 9 is the isolation switch node. And the sequence number in disconnector_set is [5], and the distance between node 5 and node 9 and the starting node 7 is the same, so node 9 is added to the tail position of disconnector_set; similarly, the isolation switches associated with circuit breaker No. 13 are isolation switches No. 11 and No. 15, and then circuit_break_set_copy is empty, and then the obtained disconnector_set is added to break_point_set, and finally the sequence number in the target isolation switch node set disconnector_set is [5,9,11,15]. ;
[0127] Reasoning about the set of grounding switch nodes that should be closed. According to the reasoning method for determining the set of grounding switch nodes mentioned in the embodiment of the present invention, it is obtained that the sequence number in the set of grounding switch nodes that should be closed, ground_set, is
[10] . The reasoning analysis is as follows: Initialize the set of nodes to be visited, open_sequence, to be empty, and initialize the set of visited nodes, visited_set, and the set of grounding switch nodes that should be closed, ground_set, to be empty; According to the name of the maintenance equipment, which is a 500kV simulated line, the maintenance node is obtained as node No. 3, and node No. 3 is added to the head position of open_sequence; Take out the target node No. 3 from open_sequence. Because the attribute value of node No. 3 is an inoperable class, node No. 3 is not a grounding switch node, and node No. 3 is added to visited_sequence. The tail position of d_set is obtained, and all adjacent nodes of node 3 are traversed; for node 10, the adjacent node of node 3, which is not in visited_set and open_sequence, the priority of node 10 is calculated, and the calculated priority is 1. Since open_sequence is empty, node 10 is added to the head position of open_sequence; then the target node 10 is taken out from open_sequence. Since the attribute value of node 10 is grounding switch, node 10 is a grounding switch node, and node 10 is added to ground_set; then open_sequence is empty, and the sequence number in ground_set is
[10] .
[0128] Reasoning about safety measures that should be set up with barriers and signs. According to the name of the maintenance equipment and the reasoned circuit_break_set associated with the obvious disconnection point and the reasoned disconnector_set associated with the second circuit breaker node set, the safety measures that should be set up with barriers and signs can be generated. The content is as follows: barriers should be installed around the 500kV simulation line, and an appropriate number of "Stop, high voltage danger" signs should be hung inward on the barriers, and "Enter and exit from here" signs should be hung at the entrance of the barriers; "Do not close the switch, someone is working" signs should be hung on the control switch operating handles of switch No. 7 and switch No. 13; "Do not close the switch, someone is working" signs should be hung on the operating handles of disconnector No. 5, disconnector No. 9, disconnector No. 11, and disconnector No. 15 and locked.
[0129] Generation of safety measures in the work order: Based on the above reasoning, the safety measures in the work order represented by the primary equipment safety measures generated by the 500kV simulated first-line maintenance are shown in Table 3 below.
[0130] Table 3 Primary equipment safety measures table generated by 500kV simulated first-line maintenance
[0131]
[0132]
[0133] The above technical scheme of the embodiment of the present invention can automatically generate the primary equipment safety measures in the work ticket based on the primary equipment wiring topology diagram and combined with the heuristic A* search algorithm. The generation process of the safety measures should first meet the requirement that there are obvious disconnection points on each side of the maintenance equipment, while taking into account the operation sequence rules and operation constraint rules, including obvious disconnection point reasoning, circuit breaker reasoning associated with obvious disconnection point, isolation switch reasoning associated with circuit breaker, grounding switch reasoning that should be closed, barrier reasoning and sign reasoning that should be hung, and intelligently generate the primary equipment safety measures in the work ticket. An island is an independent part of the power grid and is completely isolated from other parts of the power grid. Therefore, deriving an electric island with the maintenance equipment as the center can fully ensure the safety of the maintenance work. That is, the reasoning process is mainly to deduce an electric island based on the maintenance equipment, that is, to find all the isolation switches closest to the maintenance equipment in each adjacent direction, and then use them as obvious disconnection points. Finally, these disconnected isolation switches as obvious disconnection points constitute an electric island. There must be a grounding point on the inside of the obvious disconnection point on each branch in the electric island, and the principle of minimizing the number of opened switches and grounded equipment must be met.
[0134] It should be noted that an island is a piece of land surrounded by water and not connected to other lands. This part of land is completely isolated from other lands. Correspondingly, an electric island in a power system is a part of the power grid, which is completely isolated from the rest of the power grid. The operation of the island is independent of the rest of the power grid. The primary equipment wiring topology diagram refers to the main wiring diagram of the primary equipment of any substation. It can be expressed as a topology diagram based on the wiring diagram recognition and the use of graph theory. Finally, it can be understood as the binary connection relationship between the equipment and the wire.
[0135] The above technical solution of the embodiment of the present invention can automatically and correctly generate the primary equipment safety measures in the work ticket, ensure the accuracy, completeness and standardization of the safety measures in the work ticket, improve the work efficiency of the operation and maintenance personnel in the process of handling the work ticket, improve the efficiency and quality of the work ticket, fully guarantee the safety of the maintenance work, effectively protect the safety of personnel and equipment, and prevent the occurrence of safety accidents during maintenance work. In practical applications, the technical solution of the embodiment of the present invention has comprehensive application and wide versatility, and can meet the application requirements of different types of substations. In addition, the above technical solution of the embodiment of the present invention designs a reasoning method based on heuristic A* search. For the target isolation switch isolation switch set as an obvious disconnection point, based on the primary equipment wiring topology diagram, the heuristic A* search is used to define the search threshold, and the circuit breaker node closest to the isolation switch is searched. Compared with the complex method, the generation speed is faster and the accuracy is higher than the traditional method, so that it can ensure that the number of graph nodes required to traverse when searching for the circuit breaker node is less, and it can have better performance.
[0136] Figure 6 This is a structural block diagram of a device for generating safety measures in a work ticket provided in an embodiment of the present invention. The device is used to execute the method for generating safety measures in a work ticket provided in any of the above embodiments. The device and the method for generating safety measures in a work ticket in the above embodiments belong to the same inventive concept. For details not fully described in the embodiment of the device for generating safety measures in a work ticket, please refer to the embodiment of the method for generating safety measures in a work ticket. Figure 6 The device may specifically include: an equipment wiring topology information acquisition module 410, a maintenance node determination module 420, a target set determination module 430 and a safety measure generation module 440.
[0137] The device wiring topology information acquisition module 410 is used to acquire device wiring topology information, wherein the device wiring topology information includes at least one device node;
[0138] A maintenance node determination module 420 is used to obtain maintenance equipment information of the maintenance equipment, and determine a maintenance node corresponding to the maintenance equipment from at least one equipment node according to the maintenance equipment information;
[0139] The target set determination module 430 is used to determine the target set according to the equipment wiring topology information and the maintenance node, wherein the target set includes at least one of the first circuit breaker node set, the grounding switch set and the target isolation switch node set;
[0140] The safety measures generating module 440 is used to generate safety measures in a work ticket required for maintenance of maintenance equipment according to a target set.
[0141] Optionally, the target set includes a first circuit breaker node set;
[0142] The target set determination module 430 includes:
[0143] A first isolation switch node set determination submodule, used to determine a first isolation switch node set according to equipment wiring topology information and maintenance nodes;
[0144] The first circuit breaker node set determination submodule is used to determine the first circuit breaker node set according to the first isolation switch node set and the equipment wiring topology information.
[0145] Optionally, based on the above device, the first isolation switch node set determination submodule includes:
[0146] A maintenance node placement unit is used to initialize the first set of nodes to be visited, the first set of visited nodes, and the first set of isolation switch nodes, and place the maintenance node into the first set of nodes to be visited;
[0147] A first target node extracting unit, configured to extract a first target node from the first set of nodes to be visited when the first set of nodes to be visited is not empty;
[0148] A first repeating execution unit is used for placing the first target node into a first isolation switch node set when the first target node is determined to be an isolation switch attribute type according to the device wiring topology information, and repeatedly executing the step of taking out the first target node from the first to-be-visited node set when the first to-be-visited node set is not empty;
[0149] A first adjacent node determination unit is used to place the first target node into a first visited node set when the non-isolation switch attribute type of the first target node is determined according to the device wiring topology information, and to determine each first adjacent node of the first target node from at least one device node according to the device wiring topology information;
[0150] The second repeating execution unit is used for, for each first adjacent node in each first adjacent node, if the first adjacent node does not exist in both the first set of nodes to be visited and the first set of nodes already visited, placing the first adjacent node into the first set of nodes to be visited; and repeatedly executing the step of taking out the first target node from the first set of nodes to be visited if the first set of nodes to be visited is not empty;
[0151] The first isolation knife switch node set obtaining unit is used to obtain the first isolation knife switch node set when the first to-be-visited node set is empty.
[0152] Optionally, based on the above device, the first target node extraction unit includes:
[0153] A first target node extraction subunit is used to extract the first target node from the head position of the first to-be-visited node set;
[0154] The second repetitive execution unit comprises:
[0155] A priority determination subunit, used to determine the priority of the first adjacent node according to the equipment wiring topology information and the maintenance node;
[0156] The first adjacent node is placed in a subunit, which is used to place the first adjacent node in a target position of the first set of nodes to be visited according to the priority.
[0157] Optionally, based on the above device, a priority determination subunit is specifically used for:
[0158] Determine a first node distance between the maintenance node and the first adjacent node through a heuristic function according to the equipment wiring topology information and the maintenance node;
[0159] The priority of the first adjacent node is determined according to the first node distance.
[0160] Optionally, based on the above device, the first circuit breaker node set determination submodule includes:
[0161] A replica isolation knife switch node set obtaining unit is used to initialize the second to-be-visited node set, the second visited node set and the first circuit breaker node set, and to copy the first isolation knife switch node set to obtain a replica isolation knife switch node set;
[0162] A first starting node placing unit is used to take out the first starting node from the replica isolation knife gate node set and place the first starting node into the second to-be-visited node set when the replica isolation knife gate node set is not empty;
[0163] A second target node extracting unit, configured to extract a second target node from the second set of nodes to be visited when the second set of nodes to be visited is not empty;
[0164] Repeat the third unit, which is used to place the second target node into the first circuit breaker node set when the second target node is determined to be a circuit breaker attribute type according to the device wiring topology information, set the second to-be-visited node set and the second visited node set to empty, and repeatedly execute the step of taking out the first starting node from the replica isolation knife switch node set when the replica isolation knife switch node set is not empty;
[0165] A second adjacent node determination unit is used to place the second target node into a second visited node set when the non-circuit breaker attribute type of the second target node is determined according to the device wiring topology information, and determine each second adjacent node of the second target node from at least one device node according to the device wiring topology information;
[0166] A fourth repetitive execution unit is used for, for each second adjacent node in each second adjacent node, if the second adjacent node does not exist in both the second set of nodes to be visited and the second set of visited nodes, placing the second adjacent node into the second set of nodes to be visited; and repeatedly executing the step of taking out the second target node from the second set of nodes to be visited if the second set of nodes to be visited is not empty;
[0167] The first circuit breaker node set obtaining unit is used to obtain the first circuit breaker node set when the copy isolation switch node set is empty.
[0168] Optionally, based on the above device, the fourth repetitive execution unit includes:
[0169] A second node distance determination subunit is used to determine a second node distance between the second adjacent node and the first starting node when there is no second adjacent node in the second to-be-visited node set and the second visited node set;
[0170] The second adjacent node is placed in a subunit, which is used to place the second adjacent node in a second set of nodes to be visited when the distance between the second node and the second node is less than or equal to a preset distance threshold.
[0171] Optionally, the target set includes a target isolation switch node set;
[0172] The target set determination module 430 includes:
[0173] A second isolation switch node set determination submodule, used to determine a second isolation switch node set according to the equipment wiring topology information and the maintenance node;
[0174] A second circuit breaker node set determination submodule, used to determine a second circuit breaker node set according to a second isolation switch node set and equipment wiring topology information;
[0175] A third isolation switch node set determination submodule, used to determine a third isolation switch node set according to the second circuit breaker node set and equipment wiring topology information;
[0176] The target isolation knife switch node set determination submodule is used to determine the target isolation knife switch node set according to the second isolation knife switch node set and the third isolation knife switch node set.
[0177] Optionally, based on the above device, the third isolation switch node set determination submodule includes:
[0178] A replica circuit breaker node set obtaining unit is used to initialize a third to-be-visited node set, a third visited node set, and a third isolation switch node set, and to copy the second circuit breaker node set to obtain a replica circuit breaker node set;
[0179] A second starting node placing unit, used for taking out a second starting node from the replica circuit breaker node set and placing the second starting node into the third set of nodes to be visited when the third set of nodes to be visited is empty and the set of replica circuit breaker nodes is not empty;
[0180] A third target node extracting unit, configured to extract a third target node from the third set of nodes to be visited when the third set of nodes to be visited is not empty;
[0181] a fifth repeating execution unit, configured to place the third target node into a third isolation switch node set when the third target node is determined to be an isolation switch attribute type according to the device wiring topology information, and repeatedly execute the step of taking out a second starting node from the replica circuit breaker node set when the third to-be-visited node set is empty and the replica circuit breaker node set is not empty;
[0182] A third adjacent node determination unit is used to place the third target node into a third visited node set when the non-isolation switch attribute type of the third target node is determined according to the device wiring topology information, and to determine third adjacent nodes of the third target node from at least one device node according to the device wiring topology information;
[0183] a sixth repeating execution unit, configured to, for each third adjacent node in each third adjacent node, place the third adjacent node into the third set of nodes to be visited if the third set of nodes to be visited and the third set of nodes already visited do not contain the third adjacent node; and repeatedly execute the step of taking out the third target node from the third set of nodes to be visited if the third set of nodes to be visited is not empty;
[0184] The third isolation switch node set obtaining unit is used to obtain the third isolation switch node set when the replica circuit breaker node set is empty.
[0185] Optionally, based on the above device, the fifth repetitive execution unit includes:
[0186] A third node distance determination subunit, used to determine a third node distance between a third target node and a second starting node;
[0187] A set distance determination subunit, used to determine the set distance in the second isolation knife gate node set, wherein the set distance is the distance between the node in the second isolation knife gate node set and the second starting node;
[0188] The first third target node is placed in a subunit, which is used to set the third isolation knife switch node set to empty and place the third target node in the third isolation knife switch node set when the third node distance is less than the set distance;
[0189] The second and third target nodes are placed in a subunit, which is used to place the third target node into the third isolation switch node set when the third node distance is equal to the set distance.
[0190] The device for generating safety measures in a work ticket provided by an embodiment of the present invention obtains equipment wiring topology information through an equipment wiring topology information acquisition module, so as to realize automatic generation of safety measures in the work ticket according to the equipment wiring topology information, wherein the equipment wiring topology information includes at least one equipment node; obtains maintenance equipment information of the maintenance equipment through a maintenance node determination module, and determines the maintenance node corresponding to the maintenance equipment from at least one equipment node according to the maintenance equipment information, so that the safety measures in the subsequently generated work ticket are generated for the maintenance equipment; determines a target set according to the equipment wiring topology information and the maintenance node through a target set determination module, wherein the target set includes at least one of a first circuit breaker node set, a grounding switch set and a target isolation switch node set; and automatically generates safety measures in the work ticket required for maintenance of the maintenance equipment according to the target set through a safety measures generation module. The above technical scheme, through the target set, automatically generates the safety measures in the work ticket required for the maintenance of the maintenance equipment. It can realize the generation of safety measures in the work ticket without manual input and filling, and automatically generates safety measures in the work ticket, thereby reducing errors and omissions in the content of the safety measures in the work ticket, improving the standardization of the safety measures in the work ticket, and improving the efficiency of generating safety measures in the work ticket.
[0191] The device for generating safety measures in a work ticket provided in an embodiment of the present invention can execute the method for generating safety measures in a work ticket provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
[0192] It is worth noting that in the embodiment of the safety measures generating device in the above-mentioned work ticket, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
Claims
1. A method for generating safety measures in a work ticket, characterized in that: include: Acquire device wiring topology information, wherein the device wiring topology information includes at least one device node; Acquire maintenance equipment information of the maintenance equipment, and determine a maintenance node corresponding to the maintenance equipment from the at least one equipment node according to the maintenance equipment information; Determine a target set according to the equipment wiring topology information and the maintenance node, wherein the target set includes at least one of a first circuit breaker node set, a grounding switch set, and a target isolation switch node set; Based on the target set, safety measures in a work ticket required for maintenance of the maintenance equipment are generated.
2. The method according to claim 1, characterized in that The target set includes the first circuit breaker node set; The determining of a target set according to the equipment wiring topology information and the maintenance node includes: Determine a first isolation switch node set according to the equipment wiring topology information and the maintenance node; The first circuit breaker node set is determined according to the first isolation switch node set and the equipment wiring topology information.
3. The method according to claim 2, characterized in that The step of determining a first isolation switch node set according to the equipment wiring topology information and the maintenance node comprises: Initialize a first set of nodes to be visited, a first set of visited nodes, and a first set of isolation switch nodes, and put the maintenance node into the first set of nodes to be visited; When the first set of nodes to be visited is not empty, taking out a first target node from the first set of nodes to be visited; In the case where it is determined that the first target node is of the isolation switch attribute type according to the device wiring topology information, the first target node is placed in the first isolation switch node set, and the step of taking out the first target node from the first to-be-visited node set is repeated when the first to-be-visited node set is not empty; In the case where the non-isolation switch attribute type of the first target node is determined according to the device wiring topology information, the first target node is placed in the first visited node set, and each first adjacent node of the first target node is determined from the at least one device node according to the device wiring topology information; For each first adjacent node among the first adjacent nodes, if the first adjacent node does not exist in both the first set of nodes to be visited and the first set of visited nodes, put the first adjacent node into the first set of nodes to be visited; repeat the step of taking out the first target node from the first set of nodes to be visited if the first set of nodes to be visited is not empty; When the first to-be-visited node set is empty, the first isolation switch node set is obtained.
4. The method according to claim 3, characterized in that The extracting the first target node from the first set of nodes to be visited includes: Taking out a first target node from the head position of the first set of nodes to be visited; The step of placing the first adjacent node into the first set of nodes to be visited includes: Determining the priority of the first adjacent node according to the equipment wiring topology information and the maintenance node; According to the priority, the first adjacent node is placed in a target position of the first set of nodes to be visited.
5. The method according to claim 4, characterized in that The determining the priority of the first adjacent node according to the device wiring topology information and the maintenance node includes: Determine, according to the equipment wiring topology information and the maintenance node, a first node distance between the maintenance node and the first adjacent node through a heuristic function; The priority of the first adjacent node is determined according to the first node distance.
6. The method according to claim 2, characterized in that The determining the first circuit breaker node set according to the first isolation switch node set and the equipment wiring topology information includes: Initialize the second to-be-visited node set, the second visited node set and the first circuit breaker node set, and copy the first isolation switch node set to obtain a copy isolation switch node set; When the replica isolation knife gate node set is not empty, taking out a first starting node from the replica isolation knife gate node set, and putting the first starting node into the second to-be-visited node set; When the second set of nodes to be visited is not empty, taking out a second target node from the second set of nodes to be visited; In the case where it is determined that the second target node is a circuit breaker attribute type according to the device wiring topology information, the second target node is placed in the first circuit breaker node set, the second to-be-visited node set and the second visited node set are both set to empty, and the step of taking out the first starting node from the replica isolation knife switch node set when the replica isolation knife switch node set is not empty is repeated; In a case where the attribute type of the second target node is determined to be a non-circuit breaker according to the device wiring topology information, the second target node is placed in the second visited node set, and second adjacent nodes of the second target node are determined from the at least one device node according to the device wiring topology information; For each second adjacent node among the second adjacent nodes, if the second adjacent node does not exist in both the second set of nodes to be visited and the second set of visited nodes, put the second adjacent node into the second set of nodes to be visited; repeat the step of taking out the second target node from the second set of nodes to be visited if the second set of nodes to be visited is not empty; When the replica isolation switch node set is empty, the first circuit breaker node set is obtained.
7. The method according to claim 6, characterized in that The step of placing the second adjacent node into the second set of nodes to be visited, when the second set of nodes to be visited and the second set of nodes already visited do not contain the second adjacent node, comprises: In a case where the second adjacent node does not exist in the second to-be-visited node set and the second visited node set, determining a second node distance between the second adjacent node and the first starting node; When the second node distance is less than or equal to a preset distance threshold, the second adjacent node is placed in the second set of nodes to be visited.
8. The method according to claim 1, characterized in that The target set includes the target isolation switch node set; The determining of a target set according to the equipment wiring topology information and the maintenance node includes: Determine a second isolation switch node set according to the equipment wiring topology information and the maintenance node; Determine a second circuit breaker node set according to the second isolation switch node set and the equipment wiring topology information; Determine a third isolation switch node set according to the second circuit breaker node set and the device wiring topology information; The target isolation knife gate node set is determined according to the second isolation knife gate node set and the third isolation knife gate node set.
9. The method according to claim 8, characterized in that The step of determining a third isolation switch node set according to the second circuit breaker node set and the device wiring topology information includes: Initialize a third to-be-visited node set, a third visited node set, and a third isolation switch node set, and copy the second circuit breaker node set to obtain a copy circuit breaker node set; When the third set of nodes to be visited is empty and the set of replica circuit breaker nodes is not empty, taking out a second starting node from the set of replica circuit breaker nodes, and putting the second starting node into the third set of nodes to be visited; When the third set of nodes to be visited is not empty, taking out a third target node from the third set of nodes to be visited; In the case where it is determined according to the device wiring topology information that the third target node is of the isolation switch attribute type, the third target node is placed in the third isolation switch node set, and the step of taking out a second starting node from the replica circuit breaker node set is repeated when the third set of nodes to be visited is empty and the replica circuit breaker node set is not empty; In the case where the non-isolation switch attribute type of the third target node is determined according to the device wiring topology information, the third target node is placed in the third visited node set, and each third adjacent node of the third target node is determined from the at least one device node according to the device wiring topology information; For each third adjacent node in the third adjacent nodes, if the third adjacent node does not exist in both the third set of nodes to be visited and the third set of visited nodes, put the third adjacent node into the third set of nodes to be visited; repeat the step of taking out the third target node from the third set of nodes to be visited when the third set of nodes to be visited is not empty; When the replica circuit breaker node set is empty, the third isolation switch node set is obtained.
10. The method according to claim 9, characterized in that The step of placing the third target node into the third isolation switch node set comprises: Determine a third node distance between the third target node and the second starting node; Determine a set distance in the second isolation knife gate node set, wherein the set distance is a distance between a node in the second isolation knife gate node set and the second starting node; In the case where the third node distance is less than the set distance, the third isolation knife gate node set is set to empty, and the third target node is placed in the third isolation knife gate node set; When the third node distance is equal to the set distance, the third target node is placed in the third isolation knife switch node set.
