Substation five-prevention simulation system and method based on dynamic topology analysis

The substation five-prevention simulation system based on dynamic topology analysis realizes unified management and real-time simulation of substation equipment, solves the problem of insufficient simulation support for complex operation scenarios in existing five-prevention systems, and improves simulation accuracy and user experience.

CN120896347AActive Publication Date: 2025-11-04STATE GRID JIANGSU ELECTRIC POWER CO LTD CHANGZHOU BRANCH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202511378002.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-25
Publication Date
2025-11-04
Estimated Expiration
2045-09-25

AI Technical Summary

Technical Problem

Existing substation five-prevention systems struggle to provide comprehensive simulation support in complex operating scenarios. They lack a unified simulation platform that integrates five-prevention logic, equipment simulation, and visual operation, making it difficult to balance simulation accuracy with ease of operation. Furthermore, they lack a flexible configuration mechanism to adapt to the specific needs of different substations.

Method used

A substation five-prevention simulation system based on dynamic topology analysis is adopted. Through the integration of user interaction layer, simulation control layer and data processing layer, it realizes equipment status management, five-prevention logic verification and power flow simulation. The dynamic topology analysis algorithm is used to calculate the network topology and current path in real time, and the five-prevention logic verification module is combined to make safety judgment. The simulation results are displayed through visualization rendering module.

Benefits of technology

It significantly improves the system's scalability and simulation accuracy, enables the synchronous execution of the five-proof logic and simulation calculation, and enhances simulation performance and user experience, especially the accuracy of security judgment in complex combined operation scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120896347A_ABST
    Figure CN120896347A_ABST
Patent Text Reader

Abstract

The invention provides a substation five-prevention simulation system and method based on dynamic topology analysis, and relates to the technical field of power system simulation. An equipment state management module, a five-prevention logic verification module and a topology analysis module are integrated in the system simulation control layer; the equipment state management module is used for constructing a unified electrical equipment model; the topology analysis module is used for calculating a network topology structure and a current path in real time; the simulation module is used for simulating a power flow state and outputting a final power flow analysis result; the five-prevention logic verification module is used for carrying out safety judgment on the user operation instruction based on the user operation instruction by adopting a five-prevention logic verification mechanism in combination with a network topology structure and an electric power flow analysis result; the equipment state management module updates the state attribute of the corresponding equipment based on the judgment result; and the dynamic topology analysis unit recalculates the topological structure of the electrical network based on the updated equipment state. And a reliable simulation platform is provided for substation operation training and scheme verification.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of power system simulation, in particular to a substation five-prevention simulation system and method based on dynamic topology analysis. BACKGROUND

[0002] The substation five-prevention system is an important technical means to ensure the safe operation of equipment in the power system, and its core concept is to prevent misoperation accidents of electrical equipment. The traditional five-prevention system mainly includes: preventing misoperation of circuit breakers; preventing misoperation of disconnectors; preventing misoperation of grounding lines or grounding switches; preventing misoperation of grounding lines; and preventing misoperation of entering live compartments. These protection measures are realized through mechanical interlocking, electrical interlocking and other methods. However, in complex substation operations, it is difficult to cover all possible misoperation scenarios relying only on physical interlocking.

[0003] With the development of computer technology and simulation technology, power system simulation has become an important research direction in the field of electric power engineering. Traditional power system simulation is mainly based on mathematical models and algorithms, and the dynamic behavior of the system is simulated by solving differential equations. However, such simulation systems often focus on the steady-state and transient analysis of power systems, and have limited support for the simulation of the operation process of specific substation equipment and five-prevention logic.

[0004] Currently, the related technologies of substation simulation and five-prevention system mainly reflect in the following aspects: Existing substation simulation systems mainly adopt a SCADA (Supervisory Control And Data Acquisition) based architecture, which monitors the status of substation equipment through real-time data acquisition and processing. The typical system structure includes a data acquisition layer, a communication transmission layer, a data processing layer, and a human-computer interaction layer. The data acquisition layer is responsible for obtaining operating parameters from field devices; the communication transmission layer uses industrial Ethernet or serial communication protocols to transmit data; the data processing layer analyzes and stores the collected data; and the human-computer interaction layer provides operation interface and alarm display functions. The main limitation of this type of system is the dependence on feedback signals from real devices, which cannot be used for operation training and scheme verification without actual devices.

[0005] The five-prevention logic implementation scheme traditionally mainly relies on the combination of hardware interlocking and software logic. Hardware interlocking ensures the physical constraints of certain key operations through mechanical devices, such as the mechanical interlocking between disconnectors and circuit breakers. Software logic determines the legality of the operation through a pre-set rule knowledge base. Existing software five-prevention systems usually use rule engine technology to store five-prevention rules in the form of if-then in the rule knowledge base, and when an operation command is issued, the system queries the relevant rules and determines whether the operation is allowed. The disadvantage of this scheme is the static nature of the rules and the limited scene coverage, making it difficult to cope with complex combination operation scenarios.

[0006] In the field of power system visualization technology, existing solutions mostly use GIS (Geographic Information System) or CAD (Computer Aided Design) based graphical display technology. The system draws the primary wiring diagram of the substation through a pre-defined graphical symbol library, and displays the device state through color changes, flashing, etc. User interaction is mainly through mouse clicks on graphical elements to execute operation commands. However, such visualization solutions often lack realistic simulation of device physical characteristics, and the correlation between graphical display and actual operation logic is not high, resulting in a large difference between user experience and real operation environment.

[0007] Simulation training systems currently fall into two categories: one is a hardware-in-the-loop simulation system based on physical models, which simulates the real environment by constructing physical models of substation devices, but the cost is high and the maintenance is complex; the other is a pure software simulation system, which calculates the device state through mathematical models, but often lacks an intuitive operation interface and real-time state feedback.

[0008] Therefore, the main deficiencies of existing technical solutions include: lack of a unified simulation platform to integrate five-prevention logic, device simulation, and visual operation; difficulty in balancing simulation accuracy and operation convenience; limited support for complex operation scenarios; lack of flexible configuration mechanisms to adapt to the specific needs of different substations. Therefore, a new technical solution is needed to solve the above problems and provide a more complete and practical substation five-prevention simulation solution.

[0009] The above problems are urgent to be solved. SUMMARY

[0010] The purpose of the present application is to provide a substation five-prevention simulation system and method based on dynamic topology analysis, aiming to solve at least one technical problem in the prior art.

[0011] In one aspect, the application provides a transformer substation five-prevention simulation system based on dynamic topology analysis, which comprises a user interaction layer, a simulation control layer and a data processing layer; the user interaction layer is used for receiving user operation instructions and displaying simulation results in real time through a visual interface; the simulation control layer integrates a device state management module, a five-prevention logic verification module and a topology analysis module; the device state management module is used for defining the general attributes of all devices through an abstract base class based on object-oriented design, and constructing a unified electrical device model; the topology analysis module integrates a dynamic topology analysis unit and a power flow simulation unit; the dynamic topology analysis unit is used for calculating the network topology structure and current path in real time based on the loaded electrical device model and its connection relationship by using a dynamic topology analysis algorithm of graph theory; the power flow simulation unit is used for simulating the power flow state based on the network topology structure and current path by using a real-time power flow simulation algorithm of state propagation, and outputting the final power flow analysis result; the five-prevention logic verification module is used for judging the safety of user operation instructions based on the five-prevention logic verification mechanism in combination with the network topology structure and power flow analysis result; the device state management module is also used for updating the state attributes of corresponding devices in response to the execution of user operation instructions; the dynamic topology analysis unit is also used for recalculating the topology structure of the electrical network based on the updated device state of the device state management module in response to the execution of user operation instructions; the data processing layer is used for providing data storage and management functions.

[0012] Further, the user interaction layer integrates a visual rendering module, an operation instruction processing module and a state display module; the operation instruction processing module is used for capturing user operation instructions and delivering the operation instructions to the simulation control layer for processing; the visual rendering module is used for presenting the device state and simulation process of the transformer substation in a graphical manner; the state display module is used for feeding back operation results and system state to the user.

[0013] Further, the general attributes of the device include device identification, state attributes, connection point information and rule interface; the device identification is the number and type information for uniquely identifying the device; the state attributes record the current operation state and electrical state of the device; the connection point information defines the electrical connection relationship between the device and other devices; and the rule interface provides a five-prevention rule verification interface specific to the device.

[0014] Further, the dynamic topology analysis unit is integrated with a device state change acquisition unit, an adjacency matrix construction unit, a connected component calculation unit, a current path marking unit and a topology state updating unit; the device state change acquisition unit is configured to listen to device state change events and acquire changed device information; the adjacency matrix construction unit is configured to construct an adjacency matrix representation of the network topology according to device connection relationships and current states of the devices; the connected component calculation unit is configured to traverse network nodes in the network topology using a depth-first search algorithm, identify strongly connected components in the network and determine electrical isolation regions; the current path marking unit is configured to calculate current flow paths based on the connected components and according to power supply locations and load distributions; and the topology state updating unit is configured to update the network topology and the current paths to a system state database.

[0015] Further, the power flow simulation unit is integrated with a power supply node initialization unit, a state propagation queue unit, a node state updating unit, a propagation condition checking unit, a state conflict detection unit, an exception handling unit, a convergence judgment unit and a result output unit; the power supply node initialization unit is configured to mark all power supply nodes as live states and add them to a propagation queue based on the network topology; the state propagation queue unit is configured to maintain a queue of nodes to be processed and implement breadth-first state propagation; the node state updating unit is configured to update an electrical state of a node according to a preset propagation rule after the node is taken out of the queue; the propagation condition checking unit is configured to check whether a current node meets a condition for propagating to adjacent nodes; the state conflict detection unit is configured to traverse all adjacent nodes of the current node and detect whether the adjacent nodes have a conflict between a grounded state and a live state; the exception handling unit is configured to trigger a handling mechanism when a state conflict or an exception is detected; the convergence judgment unit is configured to judge whether the state propagation reaches a stable state; and the result output unit is configured to output a final power flow analysis result in response to the state propagation reaching the stable state.

[0016] Further, the five-prevention logic verification module integrates an operation instruction receiving unit, a target device state detection unit, a topology connectivity analysis unit, a current path verification unit, a five-prevention rule matching unit, a safety judgment unit, and an operation permission output unit; the operation instruction receiving unit is configured to receive a device operation instruction of a user; the target device state detection unit is configured to verify whether a current state of a target device allows the operation to be performed; the topology connectivity analysis unit is configured to analyze an influence of the user operation on a network topology structure by calling a network topology structure calculated in real time by a dynamic topology analysis unit; the current path verification unit is configured to check whether the user operation will generate a dangerous current path in combination with a real-time power flow simulation result generated by the power flow simulation unit; the five-prevention rule matching unit is configured to match a user operation scenario with five-prevention rules pre-stored in a rule knowledge base; the safety judgment unit is configured to comprehensively judge the safety of the operation based on results of the device state detection unit, the topology connectivity analysis unit, the current path verification unit, and the five-prevention rule matching unit; and the operation permission output unit is configured to determine whether to allow the user operation instruction to be performed according to a result output by the safety judgment unit.

[0017] Further, the five-prevention logic verification module further integrates an error information generation unit and a rule conflict detection unit; the error information generation unit is configured to generate a detailed error description when the user operation is prohibited; and the rule conflict detection unit is configured to detect whether there is a potential conflict between a plurality of five-prevention rules.

[0018] Further, the five-prevention logic verification module adopts an integrated verification framework to deeply integrate device state checking, topology connectivity analysis, and rule matching.

[0019] Further, the data processing layer integrates a device model library, a rule knowledge base, and a state database; the device model library is configured to store unified electrical device models; the rule knowledge base is configured to store five-prevention rules; and the state database is configured to store real-time state data of a device, a network topology structure, and an operation history.

[0020] In a second aspect, the embodiments of the present application provide a substation five-prevention simulation method based on dynamic topology analysis. The method is applied to the substation five-prevention simulation system based on dynamic topology analysis. The method comprises the following steps: S1, loading models of various electrical devices from a device model library; S2, using a dynamic topology analysis algorithm based on graph theory to calculate a network topology structure and a current path based on the loaded electrical device models and their connection relationships, to construct an initial electrical network topology structure, and to lay an initial foundation for dynamic topology analysis; S3, using a real-time power flow simulation algorithm based on state propagation to simulate a power flow state based on the network topology structure and the current path, and to output a final power flow analysis result; S4, continuously monitoring user operation instructions; S5, when receiving a user operation instruction, using a five-prevention logic verification mechanism to combine the initial electrical network topology structure and the power flow analysis result to perform safety judgment on the user operation instruction; S6, determining whether to allow execution of the user operation instruction according to a result of the five-prevention logic verification; S7, in response to allowing execution of the user operation instruction, updating a state attribute of a corresponding device; S8, using the dynamic topology analysis algorithm to recalculate a topology structure of the electrical network based on the updated device state; S9, visualizing and displaying results of the device state update and the topology network recalculation through a user interaction layer; and S10, in response to not allowing the user operation instruction, generating an error description, and returning to step S4.

[0021] In another aspect, the present application further provides a computer readable storage medium, wherein one or more instructions are stored in the computer readable storage medium, and the computer instructions are used to make the computer execute the substation five-prevention simulation method based on dynamic topology analysis.

[0022] In still another aspect, the present application provides an electronic device, comprising a memory and a processor, wherein at least one program instruction is stored in the memory, and the processor loads and executes the at least one program instruction to implement the substation five-prevention simulation method based on dynamic topology analysis.

[0023] The application has the beneficial effects that: the application realizes the unified management of different types of electrical equipment by constructing a unified electrical equipment model, and significantly improves the scalability of the system. The dynamic topology analysis algorithm can quickly recalculate the network topology structure and current path when the device state changes, avoiding the performance bottleneck of the traditional method of rebuilding the entire network model, and meeting the real-time requirements. The integrated five-prevention logic verification mechanism deeply integrates device state checking, topology analysis and rule matching, realizes the synchronous execution of five-prevention logic and simulation calculation, improves the accuracy and real-time performance of the verification results, and performs well especially in complex combination operation scenarios. The real-time power flow simulation method uses a state propagation mechanism to simulate power flow, solves the problem of high computational complexity of traditional numerical calculation methods, and can accurately simulate the flow direction and distribution of current, providing accurate safety judgment in abnormal states such as grounding and short circuit. The application effectively solves the key technical defects existing in the existing substation five-prevention simulation system, and realizes significant technical effect improvement in simulation performance, verification accuracy, system scalability, user experience and other dimensions, providing an important technical breakthrough for the development of substation five-prevention simulation technology. BRIEF DESCRIPTION OF DRAWINGS

[0024] The application will be further described below in combination with the drawings and examples.

[0025] Figure 1 is a substation five-prevention simulation system structure schematic diagram provided by the embodiment 1 of the application based on dynamic topology analysis.

[0026] Figure 2 is an electrical equipment unified modeling structure diagram provided by the embodiment 1 of the application.

[0027] Figure 3 is a dynamic topology analysis unit structure schematic diagram provided by the embodiment 1 of the application.

[0028] Figure 4 is a power flow simulation unit structure schematic diagram provided by the embodiment 1 of the application.

[0029] Figure 5 is a five-prevention logic verification module structure schematic diagram provided by the embodiment 1 of the application.

[0030] Figure 6 is a substation five-prevention simulation method flow chart provided by the embodiment 2 of the application based on dynamic topology analysis.

[0031] Figure 7 is a part of block diagram of electronic device provided by the embodiment 4 of the application. DETAILED DESCRIPTION

[0032] Before any examples embodiments are described in further detail, it should be noted that some example embodiments are described as processes depicted as flow diagrams. Although the processes are described in a particular sequential order, many of the processes can be performed concurrently, in parallel, or simultaneously. In addition, the order of the processes can be re-arranged. The processes can be terminated when their functions are completed, but the processes can also have additional steps not included in the figure. The processes can correspond to methods, functions, procedures, subroutines, subprograms, etc.

[0033] It should be understood that, although the terms "first," "second," etc. can be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element without departing from the scope of the example embodiments. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0034] The application will now be described in detail by reference to the drawings. The drawings are schematic representations of the application, and as such, they show only the essential structures of the application, and they are not to scale. Thus, for purposes of clarity, not every component is shown. In general, similar reference characters have been used to designate corresponding elements throughout the figures.

[0035] Embodiment 1

[0036] For the sake of subsequent understanding, the overall inventive concept of the present application is described here. The present application provides a dynamic topology analysis-based substation five-prevention simulation system. The system architecture takes "hierarchical cooperation" as the core, and is divided into three main levels from top to bottom. Each level realizes data interaction through a standardized interface, which not only ensures the independence of the functional modules, but also ensures the coherence of the overall logic. The specific functions of each level are as follows: The core function of the user interaction layer: as the direct interaction interface between the user and the system, it is responsible for receiving operation instructions and visually presenting simulation results. Specific implementation: provide a graphical operation interface, support users to perform virtual operations on substation equipment (such as circuit breakers, disconnectors) through clicking, dragging, etc. Real-time display of device status (such as color change to represent live / de-energized, animation effect to simulate operation process), power flow path (such as arrow to mark current direction) and alarm information (such as flashing to indicate abnormal state). Support operation history query, simulation scene saving and loading, etc. auxiliary functions to improve user operation convenience.

[0037] The core function of the simulation control layer is to bear the core simulation logic processing of the system, serve as the hub connecting user interaction and data management, and realize operation instruction analysis, dynamic simulation calculation, and five-prevention rule verification. Key modules and functions: Topology analysis module: Real-time calculation of the topology structure of the electrical network according to the device state changes, determination of the connected area and the possible propagation path of the current, and provision of the topology basis for five-prevention verification. Five-prevention logic verification module: Integration of the preset five-prevention rule knowledge base for legality judgment of user operations, including device state checking, topology connectivity analysis, and other multi-dimensional verification. Device state management module: Based on a unified device model, simulation of the operation process of circuit breaker switching, isolation switch switching, and the like, and synchronous updating of the electrical state of the device (such as on / off, live / grounded).

[0038] The core function of the data processing layer is to be responsible for the storage, management, and scheduling of the data of the whole system, provide data support for the simulation control layer, and ensure the consistency and traceability of the data. Main data modules: Device model library: Storage of the parameter information (such as model, rated current) of various devices (circuit breaker, isolation switch, grounding switch, etc.) in the substation, state transition rules (such as operation steps, state switching conditions), and connection relationships (such as electrical connection points with other devices). Five-prevention rule knowledge base: Storage of the five-prevention rules (such as the specific judgment logic of “preventing live load isolation switch”) in a structured form, supporting dynamic updating and extension of the rules. State database: Real-time recording of the current state of all devices (such as circuit breaker position, isolation switch switching state) in the simulation process, power flow data (such as live area, current path), and operation history (such as operation time, operator, operation result), providing the basis for state backtracking and fault analysis.

[0039] The three levels form a closed-loop cooperation through data flow: When the user initiates an operation (such as “close a certain isolation switch”) in the interaction layer, the instruction is first transmitted to the simulation control layer. The control layer calls the topology analysis module to calculate the influence of the operation on the network topology, combines the parameters of the device model library and the current data of the state database, and performs five-prevention rule verification. After verification, the state management module updates the device state and synchronizes the new state to the state database of the data processing layer for storage. Finally, the data processing layer feeds back the updated device state and power flow results to the user interaction layer for visualization, completing the whole process response of an operation.

[0040] The advantage of this layered architecture is that the functions of each level are clear, facilitating independent development and maintenance of modules; through standardized interfaces, the coupling between modules is reduced, and the scalability of the system is improved (such as when adding a new device type, only the device model library of the data processing layer needs to be updated, without modifying the core logic of the interaction layer or the control layer).

[0041] The specific implementation is as follows: For example,Figure 1 Fig. 1 shows a structure diagram of a substation five-prevention simulation system based on dynamic topology analysis according to the present application.

[0042] As an example, the simulation system comprises a user interaction layer 1, a simulation control layer 2 and a data processing layer 3; the user interaction layer 1 is configured to receive user operation instructions and display simulation results in real time through a visual interface; the simulation control layer 2 is integrated with a device state management module 21, a five-prevention logic verification module 22 and a topology analysis module 23; the device state management module 21 is configured to define the general attributes of all devices through an abstract base class based on object-oriented design, and construct a unified electrical device model; the topology analysis module 23 is integrated with a dynamic topology analysis unit 231 and a power flow simulation unit 232; the dynamic topology analysis unit 231 is configured to calculate the network topology structure and current path in real time based on the loaded electrical device model and its connection relationship by using a dynamic topology analysis algorithm of graph theory; the power flow simulation unit 232 is configured to simulate the power flow state based on the network topology structure and current path by using a real-time power flow simulation algorithm of state propagation, and output the final power flow analysis result; the five-prevention logic verification module 22 is configured to perform safety judgment on the user operation instructions in combination with the network topology structure and power flow analysis result by using a five-prevention logic verification mechanism based on the user operation instructions; the device state management module 21 is further configured to update the state attributes of the corresponding devices in response to the execution of the user's operation instructions; the dynamic topology analysis unit 231 is further configured to recalculate the topology structure of the electrical network based on the updated device state of the device state management module 21 in response to the execution of the user's operation instructions; the data processing layer 3 is configured to provide data storage and management functions.

[0043] Preferably, the user interaction layer 1 is integrated with a visual rendering module 11, an operation instruction processing module 12 and a state display module 13; the operation instruction processing module 12 is configured to capture the user's operation instructions and pass the operation instructions to the simulation control layer for processing; the visual rendering module 11 is configured to present the device state and simulation process of the substation in a graphical manner; the state display module 13 is configured to feed back the operation results and system state to the user.

[0044] Preferably, the data processing layer 3 is integrated with a device model library 31, a rule knowledge base 32 and a state database 33; the device model library 31 is configured to store the unified electrical device model; the rule knowledge base 32 is configured to store the five-prevention rules; the state database 33 is configured to store the real-time state data of the devices, the network topology structure and the operation history.

[0045] Preferably, in combination with Figure 2As shown, the general attributes of the device include: device identification, state attribute, connection point information and rule interface; the device identification is the number and type information for uniquely identifying the device; the state attribute records the current operating state and electrical state of the device; the connection point information defines the electrical connection relationship between the device and other devices; the rule interface provides a specific five-prevention rule verification interface of the device. Specifically, the device identification includes circuit breakers / disconnectors and the like; the state attribute includes the operating state "open / close" + the electrical state "live / grounded"; the connection point information includes the list of adjacent devices; the rule interface includes "preventing open with load". By constructing a unified electrical device model, unified management of multiple types of devices is realized, and when a new device is added, only the base class needs to be extended and the interface needs to be implemented, without the need to modify the existing modules, greatly improving the system scalability.

[0046] More specifically, the device state management module 21 is based on object-oriented design, and abstracts a BaseDevice base class containing four general attributes of device identification, state attribute, connection point information and rule interface. The device identification is the number and type information for uniquely identifying the device, such as "DL1-circuit breaker"; the state attribute records the current operating state (such as open, close) and electrical state (such as live, not live) of the device; the connection point information defines the electrical connection relationship between the device and other devices, such as the input end of the circuit breaker DL1 being connected with the disconnector GL2, and the output end being connected with the disconnector GL1; the rule interface provides a specific five-prevention rule verification interface of the device, such as the "open the disconnector after the circuit breaker" rule interface. For different types of electrical devices such as circuit breakers, disconnectors, grounding switches and hand carts, the BaseDevice base class is inherited and specific functions are implemented, such as the circuit breaker class implementing the open-close control function, the disconnector class implementing the open-close control function, and the like.

[0047] Preferably, in combination with Figure 3 As shown, the dynamic topology analysis unit 231 integrates a device state change acquisition unit 2310, an adjacency matrix construction unit 2311, a connected component calculation unit 2312, a current path marking unit 2313 and a topology state updating unit 2314; the device state change acquisition unit 2310 is used to listen to device state change events and acquire changed device information; the adjacency matrix construction unit 2311 is used to construct the adjacency matrix representation of the network topology according to the device connection relationship and the current state of the device; the connected component calculation unit 2312 is used to traverse the network nodes in the network topology using a depth-first search algorithm, identify the strongly connected components in the network, and determine the electrical isolation area; the current path marking unit 2313 is used to calculate the current flow path based on the connected components and according to the power supply position and load distribution; the topology state updating unit 2314 is used to update the network topology and the current path to the system state database.

[0048] Specifically, the device state change acquisition unit 2310 is used to monitor device state change events in real time, such as when circuit breaker DL1 changes from closed to open, and promptly acquires the change information. The adjacency matrix construction unit 2311 is used to construct an adjacency matrix representation of the network topology based on device connection relationships and current states, where the elements in the adjacency matrix represent the connectivity state between devices. For example, after DL1 is opened, its connectivity with GL1 and GL2 becomes disconnected. The connectivity component calculation unit 2312 is used to traverse network nodes using a depth-first search algorithm, starting from the power supply node and sequentially traversing the device nodes connected to it. It identifies strongly connected components in the network and determines electrical isolation areas. For example, after DL1 is opened, the bus side and the line side form two different connected components. The current path marking unit 2313 is used to calculate possible current flow paths based on power supply location and load distribution. For example, after DL1 is opened, the current path is interrupted, the bus side is energized, and the line side is de-energized. The topology state update unit 2314 is used to update the calculation results to the system state database, providing data support for subsequent five-prevention logic verification and power flow simulation.

[0049] To clearly demonstrate the technical effects of this embodiment, a set of experimental data comparisons were generated. The test environment included a large substation model with 500 electrical devices. Traditional method: average topology reconstruction time 850ms; Method of this embodiment: average topology reconstruction time 45ms; Performance improvement: response speed improved by approximately 18.9 times. Therefore, the dynamic topology analysis unit 231, through an incremental graph algorithm, updates the topology only for devices with changing states, avoiding full reconstruction and achieving millisecond-level response. Compared to the traditional method, which requires rebuilding the entire network topology model when device states change, resulting in a computational complexity of O(n²), where n is the number of devices, this embodiment uses an incremental dynamic topology reconstruction algorithm, reducing the computational complexity to O(k), where k is the number of devices with changing states (usually k < k). <n)。

[0050] Preferred, combined Figure 4As shown, the power flow simulation unit 232 is integrated with a power node initialization unit 2320, a state propagation queue unit 2321, a node state updating unit 2322, a propagation condition checking unit 2323, a state conflict detection unit 2324, an exception handling unit 2325, a convergence judgment unit 2326, and a result output unit 2327; the power node initialization unit 2320 is configured to mark all power nodes as live and add them to the propagation queue based on the network topology; the state propagation queue unit 2321 is configured to maintain a queue of nodes to be processed, and implement breadth-first state propagation; the node state updating unit 2322 is configured to update the electrical state of a node according to a preset propagation rule after taking the node out of the queue; the propagation condition checking unit 2323 is configured to check whether the current node meets the condition for propagating to adjacent nodes; the state conflict detection unit 2324 is configured to traverse all adjacent nodes of the current node, and detect whether there is a conflict between the adjacent nodes in the live and grounded states; the exception handling unit 2325 is configured to trigger a processing mechanism when a state conflict or an exception is detected; the convergence judgment unit 2326 is configured to judge whether the state propagation reaches a stable state; and the result output unit 2327 is configured to output a final power flow analysis result in response to the state propagation reaching the stable state.

[0051] In particular, the power node initialization unit 2320 includes: the system first identifies all power nodes (such as generators, incoming power sources, etc.) in the substation network, and marks these nodes as the initial live state. At the same time, these power nodes are added to the state propagation queue as the starting point of the power flow analysis. The state propagation queue unit 2321 includes: the queue manages the nodes to be processed in a first-in, first-out manner, ensuring that the power state propagates in the network in a breadth-first order (i.e., processing nodes close to the power source first, and then gradually spreading to distant nodes). This queue mechanism can efficiently control the propagation order, avoid confusion in state updating, and ensure the orderliness of the analysis. The node state updating unit 2322 includes: after taking the node out of the queue, the electrical state of the node (such as live, not live, ground, etc.) is updated according to the preset propagation rules (such as device on-state, voltage level matching, etc.). For example, if a disconnecting switch is in a closed state, the downstream nodes connected to it will be updated to a live state. The propagation condition checking unit 2323 includes: checking whether the current node meets the conditions for propagating the power state to adjacent nodes, including whether the device is in an on-state (such as whether the circuit breaker is closed), whether there is insulation isolation, etc. Only nodes that meet the conditions can propagate their state to adjacent nodes, ensuring that the propagation logic conforms to the actual operation rules of the power system. The state conflict detection unit 2324 includes: traversing all adjacent nodes of the current node (i.e., devices directly associated through electrical connections, such as adjacent disconnecting switches, buses, etc.), which ensures that all devices that may be affected by the state of the current node are included in the analysis range; detecting whether there is a state conflict in the adjacent nodes, the most typical being "grounding and live conflict" (such as a node being marked as live and also connected to a grounding switch). It also checks whether there is a short circuit risk (such as two live nodes of different potentials being directly connected). The exception handling unit 2325 includes: when a state conflict or exception is detected, the system immediately triggers the handling mechanism, such as generating an alarm message (clearly indicating the location, type, and possible impact range of the exception). For example, if a grounding and live conflict is found, it will prompt "there is a live grounding risk in a certain area, do not operate". The convergence judgment unit 2326 includes: judging whether the state propagation has reached a stable state, i.e., all nodes in the queue have been processed and there is no new state change to be propagated. If the stable state is reached, the propagation process is ended; if there are still unprocessed nodes or new states, the queue is returned to continue processing. The result output unit 2327 includes: outputting the final power flow analysis results, including the live state of each node, the current path distribution, the location and type of abnormal points, etc. These results are synchronized to the visualization interface to be displayed in a graphical manner (such as different color markings for live areas), making it easy for users to intuitively understand the power flow situation.The algorithm replaces the traditional complex numerical calculation by simulating the "propagation" process of electricity in the network, and can quickly and accurately analyze the current path and device state, especially in handling complex networks or abnormal scenarios, and has significant advantages, providing accurate power flow data support for five-prevention logic verification.

[0052] In order to more effectively illustrate the advantages of the embodiment, corresponding experiments are carried out, and the experimental data comparison includes: complex operation scene (involving 15 device linkage): traditional method: calculation time 1200-2800ms (fluctuating due to poor convergence); the method of the embodiment: the calculation time is stable within 120ms; simple operation scene (single device operation): traditional method: calculation time 200-400ms; the method of the embodiment: the calculation time is stable within 15ms. It can be seen that the state propagation algorithm of the embodiment avoids the convergence problem of the traditional numerical iteration method, and realizes the deterministic calculation time.

[0053] Preferably, in combination Figure 5 As shown, the five-prevention logic verification module 22 is integrated with an operation instruction receiving unit 220, a target device state detection unit 221, a topology connectivity analysis unit 222, a current path verification unit 223, a five-prevention rule matching unit 224, a safety judgment unit 225 and an operation permission output unit 226; the operation instruction receiving unit 220 is used to receive the device operation instruction of the user; the target device state detection unit 221 is used to verify whether the current state of the target device allows the operation to be performed; the topology connectivity analysis unit 222 is used to analyze the influence of the user operation on the network topology structure by calling the network topology structure calculated in real time by the dynamic topology analysis unit; the current path verification unit 223 is used to check whether the user operation will produce a dangerous current path in combination with the real-time power flow simulation result generated by the power flow simulation unit; the five-prevention rule matching unit 224 is used to match the user operation scene with the five-prevention rules pre-stored in the rule knowledge base; the safety judgment unit 225 is used to comprehensively judge the safety of the operation according to the results of the device state detection unit 221, the topology connectivity analysis unit 222, the current path verification unit 223 and the five-prevention rule matching unit 224; the operation permission output unit 226 is used to decide whether to allow the execution of the operation instruction of the user according to the result output by the safety judgment unit.

[0054] Specifically, the operation instruction receiving unit 220 includes: receiving the device operation instruction issued by the user, such as "disconnecting a certain circuit breaker", "closing a certain isolating switch", etc. At the same time, the relevant information of the instruction is recorded, including the operation object, the operation type, the operation time, etc., to provide the basis for subsequent verification and tracing. The target device state detection unit 221 includes: verifying whether the current state of the target device allows the execution of the operation. For example, if the isolating switch is to be closed, it is necessary to check whether it is currently in the open state, and whether there are mechanical interlocks and other conditions. If the current state of the device does not meet the operation condition, it is directly determined that the operation is not allowed, and the error information generation link is entered. The topology connectivity analysis unit 222 includes: analyzing how the operation will affect the topology structure of the entire electrical network, i.e. what changes will occur to the connectivity of the network after the change of the device state. For example, after a certain circuit breaker is disconnected, the connectivity of the line connected by it will be interrupted, and it is necessary to re-determine the range of live areas and no-live areas. The current path verification unit 223 includes: based on the result of the topology connectivity analysis, checking whether the operation will form a dangerous current path. For example, whether a short circuit situation will occur after the operation, in which the current directly forms a loop without passing through the load, or whether it will cause the area that should not be live to be live. The five-prevention rule matching unit 224 includes: matching the current operation scene with the pre-defined five-prevention rule library. The five-prevention rules include preventing misconnection and misdisconnection of circuit breakers, preventing live load disconnection and isolation of isolating switches, etc. The system will query the relevant rules to judge whether the operation violates any of the rules. The safety judgment unit 225 includes: comprehensively judging the safety of the operation based on the results of the device state check, the topology connectivity analysis, the current path verification and the five-prevention rule matching. If all the checks pass, it is determined that the operation is safe; if any of the checks fails, it is determined that the operation is not safe. The operation permission output unit 226 includes: outputting the operation permission or prohibition information according to the result of the safety judgment. If the operation is allowed, the system will execute the corresponding operation instruction and update the device state; if the operation is prohibited, the error information generation link is entered.

[0055] Preferably, in combination with Figure 5As shown, the five-prevention logic verification module 22 further integrates an error information generation unit 227 and a rule conflict detection unit 228; the error information generation unit 227 is configured to generate detailed error descriptions when user operations are prohibited; the rule conflict detection unit 228 is configured to detect potential conflicts between multiple five-prevention rules. Specifically, the error information generation unit 227 includes: when the operation is prohibited, generate detailed error descriptions, including the reason for the operation being prohibited (such as which five-prevention rule is violated, what kind of security risks exist, etc.), and possible solutions, to help users understand the problem and take the correct operation. The rule conflict detection unit 228 includes: detecting whether there is a potential conflict between multiple five-prevention rules. For example, a certain operation may simultaneously meet the allowed conditions of one rule and the prohibited conditions of another rule, at which time conflict processing is required to ensure the accuracy of rule application.

[0056] Preferably, the five-prevention logic verification module 22 adopts an integrated verification framework to deeply integrate device state checking, topology connectivity analysis, and rule matching.

[0057] Specifically, through experimental verification, the five-prevention logic verification accuracy of the scheme described in the embodiment is greatly improved, including: 1. Complex scene coverage rate is improved: the traditional static rule matching method has a rule omission problem in complex combined operation scenarios. The integrated verification framework of the embodiment realizes the deep integration of dynamic state and rule logic. Test results comparison: standard five-prevention test case set (contains 1200 test scenarios): traditional method: correct recognition rate 87.3%, 152 misjudgment cases exist; the method of the embodiment: correct recognition rate 99.2%, only 10 boundary case misjudgments exist; complex combined operation scenarios (involving more than 3 devices linkage): traditional method: correct recognition rate 74.6%; the method of the embodiment: correct recognition rate 96.8%.

[0058] 2. Abnormal state detection capability is enhanced: the state conflict detection mechanism of the embodiment can identify potential security risks that cannot be found by traditional methods. Detection capability comparison: grounding and live conflict detection: traditional method: can only detect direct connection conflicts, detection rate 65%; the method of the embodiment: can detect indirect conflicts of multiple levels of propagation, detection rate 98%; short circuit path identification: traditional method: cannot accurately identify complex short circuit paths; the method of the embodiment: can accurately track and identify all possible short circuit paths.

[0059] Preferably, the device state management module is further configured to update the state attribute of the corresponding device in response to the operation instruction of the user being allowed to be executed; and the dynamic topology analysis unit is further configured to recompute the topology of the electrical network based on the updated device state by using the dynamic topology analysis algorithm in response to the operation instruction of the user being allowed to be executed. That is, when the operation is allowed to be executed, the state attribute of the corresponding device is updated, such as the operation state changing from closing to opening. Based on the updated device state, the topology of the electrical network, including the connected component and the current path, is recomputed by using the dynamic topology analysis algorithm, and is updated to the system state database.

[0060] For the convenience of understanding, the above embodiments are described here with specific examples. Taking "simulation of disconnector operation in 110kV substation switching operation" as an example, the running process of the system is shown in detail: The scene background is that a 110kV substation needs to perform line maintenance switching operation, and the specific steps are: opening the line circuit breaker, pulling open the line side disconnector, pulling open the bus side disconnector, and closing the grounding switch. The system needs to simulate the operation process, verify the operation safety in real time, and feed back the power flow state.

[0061] The system running process includes: 1. Initial state preparation (unified device modeling and initial topology construction): Device modeling: the system loads the related device models through the unified modeling system: circuit breaker (DL1), including the "opening / closing" state attribute, the connection point information of the two side disconnectors, and the rule interface that "the disconnector can be operated only after the circuit breaker is opened". Line side disconnector (GL1) and bus side disconnector (GL2), including the "opening / closing" state attribute, the connection point information of the circuit breaker / grounding switch, and the rule interface that "the disconnector can be operated only after the circuit breaker is opened". Grounding switch (JD1), including the "opening / closing" state attribute, the connection point information of the line side, and the rule interface that "the disconnector can be operated only after the two side disconnectors are opened". Power node (bus M), load node (line L), and connected cable, etc. Initial topology: when the system starts, the dynamic topology analysis module constructs the initial adjacency matrix and marks the connected state of each device (at this time, DL1 is closed, GL1 / GL2 is closed, and JD1 is opened, the bus M is connected to the line L through DL1→GL1→GL2, and the current path is M→GL2→DL1→GL1→L).

[0062] 2. Operation 1: opening the line circuit breaker (DL1): Instruction input: the user clicks "DL1 opening" on the interactive interface, and the instruction is transmitted to the simulation control layer.

[0063] Five-protection verification: Equipment state check: The system confirms through the rule interface that DL1 is currently in the "closed" state, allowing the opening operation. Topology impact analysis: The dynamic topology module predicts that after the opening, DL1 will be disconnected on both sides. Power flow verification: The state propagation algorithm simulates the interruption of the current path after the opening (M and L are no longer connected), with no short circuit / grounding risk. Rule matching: The five-protection rule of "isolators can be independently opened" is met, judging that the operation is safe. State update: The state of DL1 is updated to "open", and the dynamic topology module recalculates the adjacency matrix (GL2 and GL1 are disconnected through DL1), and the power flow simulation shows that line L is de-energized, and the interactive interface synchronously updates the DL1 icon to the open state (such as red to green), and the current path animation is interrupted.

[0064] 3. Operation 2: Pulling open the line side isolator (GL1): Instruction input: The user clicks "GL1 disconnect". Five-protection verification: Equipment state check: The rule interface detects that DL1 has been opened (satisfying the condition of "the circuit breaker must be opened before the isolator operation"). Topology impact analysis: The dynamic topology module predicts that after GL1 is disconnected, line L and DL1 are completely isolated. Power flow verification: The state propagation algorithm confirms that there is no live wire on both sides of GL1 (DL1 side is de-energized due to opening, and L side is already de-energized), with no risk of live wire pulling. State update: The state of GL1 is updated to "open", and the connectivity between GL1 and DL1 in the topology matrix is marked as "open", and the interactive interface displays the GL1 icon as open, with no current path between line L and DL1.

[0065] 4. Misoperation attempt: Closing the grounding switch (JD1) without opening GL2: Instruction input: The user mistakenly clicks "JD1 close" (GL2 is still closed at this time, and the bus M is live). Five-protection verification: Equipment state check: The rule interface detects that GL2 is still "closed", not meeting the condition of "disconnecting both sides of the isolator before operating the grounding switch". Topology impact analysis: The dynamic topology module calculates that after JD1 is closed, it will be connected through GL2→DL1 (not conductive due to opening)→GL1 (open) and line L, but the other end of GL2 is directly connected to the live bus M (since GL2 is not open). Power flow verification: The state propagation algorithm simulates that after JD1 is closed, the current will form a grounding short circuit path from bus M→GL2→JD1, triggering the state conflict detection (live wire and grounding conflict). Rule matching: The prohibition rule of "live wire grounding" is matched, judging that the operation is dangerous. Feedback result: The system outputs the error information "GL2 is not open, closing JD1 will cause bus grounding short circuit", and highlights the short circuit path (M→GL2→JD1) on the interactive interface, prohibiting operation execution.

[0066] 5. Corrective operation: Pulling open GL2 and closing JD1: Operation flow: User first executes "GL1 open" -> "GL2 open" (verification passed, state updated to open), and then executes "JD1 close". Verification and result: At this time, the topology analysis shows that there is no live wire on both sides of JD1 (GL1 and GL2 are both open), the power flow simulation has no conflict, the five-prevention rule matching passes, JD1 is successfully closed, the interface displays the grounding state (such as yellow flashing), and the safe grounding is completed.

[0067] In the above embodiments, the system described in the present embodiment has the following technical advantages compared with the traditional method: I. The system scalability and maintainability are significantly improved, including: 1. New device type integration efficiency: The traditional system needs to modify the code of multiple modules when adding a new device type, which has a long development cycle and is easy to introduce errors. The unified modeling system of the present embodiment realizes the plug-in management of device types. Development efficiency comparison: Development workload for adding a new device type: traditional method: needs to modify 6-8 core modules, development cycle 5-7 days; the method of the present embodiment: only needs to implement the device class interface, development cycle 1-2 days. Code modification risk: traditional method: on average, each new device causes 2-3 existing functions to be abnormal; the method of the present embodiment: through interface isolation, the existing functions are not affected.

[0068] 2. System configuration flexibility is improved: The present embodiment supports dynamic configuration of device parameters and five-prevention rules at runtime without restarting the system. Specifically, configuration management comparison: Rule modification effective time: traditional method: needs to restart the system, downtime 5-10 minutes; the method of the present embodiment: hot update mechanism, rules are modified immediately effective. Device parameter adjustment: traditional method: needs to modify the configuration file and recompile; the method of the present embodiment: supports real-time adjustment through a graphical interface.

[0069] II. Simulation accuracy and reliability are improved, including: 1. State consistency is guaranteed: The state inconsistency problem caused by the separation of five-prevention logic and device simulation in the traditional system is fundamentally solved. Specifically, consistency test results: long-time running stability test (continuous running for 72 hours, 10000 times of operation are executed): traditional method: state inconsistency error occurs 23 times; the method of the present embodiment: the state always remains consistent, zero error. Concurrent operation processing capacity: traditional method: state confusion occurs when the concurrency degree exceeds 5; the method of the present embodiment: supports up to 50 concurrent operations without affecting the state consistency.

[0070] 2. Enhanced traceability of simulation results: This embodiment implements complete operation history recording and state rollback functions. Specifically, traceability function comparison: Operation history recording completeness: Traditional method: Only operation instructions are recorded, lacking state change details; This embodiment method: Records complete state transition process and impact analysis. State rollback accuracy: Traditional method: Cannot accurately restore historical state; This embodiment method: Supports precise state recovery at any time point.

[0071] Three, improved user experience and training effectiveness, including: 1. Real-time operation feedback: The real-time simulation capability of this embodiment provides users with an operation experience close to that of real equipment. Specifically, user experience test results: Operation response delay: Traditional method: Average response delay 800ms, user perception is obvious; This embodiment method: Average response delay 50ms, user perception is smooth. Training effectiveness evaluation (based on training test of 50 power operators): Skill mastery rate using traditional simulation system training: 72%; Skill mastery rate using this embodiment system training: 91%.

[0072] 2. Error diagnosis capability: This embodiment provides detailed error cause analysis and operation suggestions, significantly improving training and fault diagnosis effectiveness. Specifically, diagnosis capability comparison: Error cause positioning accuracy: Traditional method: Can only provide simple "operation prohibited" information; This embodiment method: Provides detailed error path analysis and specific safety risk explanation. Operation suggestion practicality: Traditional method: No operation suggestion function; This embodiment method: Automatically generates correct operation sequence suggestions based on current state.

[0073] Four, resource consumption optimization effect, including: 1. Memory usage efficiency: This embodiment significantly reduces system memory usage through optimized data structure design. Specifically, resource consumption comparison: Large-scale substation model (1000 devices) memory usage: Traditional method: Peak memory usage 2.8GB; This embodiment method: Peak memory usage 1.2GB, saving 57%. CPU usage rate (high-frequency operation scenario): Traditional method: Average CPU usage rate 85%; This embodiment method: Average CPU usage rate 35%.

[0074] 2. Network communication efficiency: This embodiment uses incremental state synchronization mechanism, reducing unnecessary data transmission. Specifically, communication efficiency comparison: State synchronization data volume: Traditional method: Transmits complete state data each time, average 150KB; This embodiment method: Only transmits changes, average 8KB, reducing 94.7%.

[0075] To sum up, the embodiment realizes significant technical effect improvement in simulation performance, verification accuracy, system scalability, user experience and other dimensions through the innovative technical scheme, and provides an important technical breakthrough for the development of substation five-prevention simulation technology.

[0076] It is worth mentioning that each module involved in the embodiment is a logical unit. In actual application, one logical unit can be one physical unit, or a part of one physical unit, or realized by combination of multiple physical units. In addition, in order to highlight the innovative part of the application, units not closely related to solving the technical problems proposed by the application are not introduced in the embodiment, but this does not mean that there are no other units in the embodiment.

[0077] Embodiment 2

[0078] Please refer to Figure 6 The embodiment provides a substation five-prevention simulation method flowchart based on dynamic topology analysis.

[0079] As an example, the method is applied to the substation five-prevention simulation system based on dynamic topology analysis described in embodiment 1, and the method comprises: Step S1, loading models of various electrical equipment from an equipment model library.

[0080] Step S2, using a dynamic topology analysis algorithm based on graph theory to calculate the network topology structure and current path based on the loaded electrical equipment models and their connection relationships, and constructing an initial electrical network topology structure, laying an initial foundation for dynamic topology analysis.

[0081] Step S3, using a real-time power flow simulation algorithm based on state propagation to simulate power flow state based on the network topology structure and current path, and outputting final power flow analysis results.

[0082] Step S4, continuously monitoring user operation instructions.

[0083] Step S5, when receiving a user operation instruction, using a five-prevention logic verification mechanism to combine the initial electrical network topology structure and power flow analysis results to perform safety judgment on the user operation instruction.

[0084] Step S6, determining whether to allow execution of the user's operation instruction according to the result of the five-prevention logic verification.

[0085] Step S7, in response to allowing execution of the user's operation instruction, updating the state attribute of the corresponding equipment.

[0086] Step S8, based on the updated equipment state, using a dynamic topology analysis algorithm to recalculate the topology structure of the electrical network.

[0087] Step S9, the device state update and the result of the topology network recalculation are visualized through the user interaction layer.

[0088] Step S10, in response to the operation instruction of the user not being allowed, an error message is generated, and the process goes to step S4.

[0089] It can be found that the present embodiment is a method embodiment corresponding to the first embodiment, and the present embodiment can be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in the present embodiment. In order to reduce repetition, they will not be described here. Correspondingly, the related technical details mentioned in the present embodiment can also be applied in the first embodiment.

[0090] Embodiment 3

[0091] The present embodiment also proposes a storage medium, and the storage medium stores the substation five-prevention simulation method based on dynamic topology analysis. The substation five-prevention simulation program based on dynamic topology analysis is executed by the processor to realize the steps of the substation five-prevention simulation method based on dynamic topology analysis as described above. Since the present storage medium adopts all the technical solutions of all the embodiments described above, it at least has all the beneficial effects brought by the technical solutions of the above embodiments, which will not be described here one by one.

[0092] Embodiment 4

[0093] Please refer to Figure 7 The present embodiment also provides an electronic device, which includes a memory and a processor. The memory stores at least one program instruction. The processor loads and executes the at least one program instruction to realize the substation five-prevention simulation method based on dynamic topology analysis provided in embodiment 2.

[0094] The memory 702 and the processor 701 are connected in a bus manner. The bus can include any number of interconnected buses and bridges. The bus connects one or more processors 701 and various circuits of the memory 702 together. The bus can also connect various other circuits such as peripheral devices, voltage stabilizers, and power management circuits together, which are well known in the art, and thus will not be further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements such as multiple receivers and transmitters, which provide a unit for communicating with various other devices on a transmission medium. The data processed by the processor 701 is transmitted on a wireless medium through the antenna, and further, the antenna also receives data and transmits the data to the processor 701.

[0095] The processor 701 is responsible for managing the bus and general processing, and can also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory 702 can be used to store data used by the processor 701 in performing operations.

[0096] The above is only an embodiment of the present application, and the common knowledge of the specific structure and characteristics in the scheme is not described in detail. The ordinary skilled person in the art knows all the ordinary technical knowledge in the field of the present application before the application date or the priority date, can know all the prior art in the field, and has the ability to apply conventional experimental means before that date. The ordinary skilled person in the art can perfect and implement the present scheme based on the disclosure given in the present application, and the ability of the ordinary skilled person in the art should not be an obstacle to the implementation of the present application. It should be pointed out that for those skilled in the art, without departing from the structure of the present application, a number of modifications and improvements can be made, which should be considered as the protection scope of the present application, and these will not affect the effect and practicality of the patent. The protection scope of the present application should be subject to the content of its claims, and the specific implementation mode and the like in the specification can be used to explain the content of the claims.

Claims

1. A substation five-prevention simulation system based on dynamic topology analysis, characterized in that, The simulation system includes: a user interaction layer, a simulation control layer, and a data processing layer; The user interaction layer is used to receive user operation commands and display simulation results in real time through a visual interface; The simulation control layer integrates a device status management module, a five-prevention logic verification module, and a topology analysis module. The device status management module is used to construct a unified electrical equipment model by defining common attributes of all devices through an abstract base class based on object-oriented design. The topology analysis module integrates a dynamic topology analysis unit and a power flow simulation unit. The dynamic topology analysis unit is used to calculate the network topology and current path in real time based on the loaded electrical equipment model and its connection relationship using a graph theory-based dynamic topology analysis algorithm. The power flow simulation unit is used to simulate the power flow state based on the network topology and current path using a state propagation real-time power flow simulation algorithm, and output the final power flow analysis results. The five-proof logic verification module is used to judge the security of user operation commands based on the five-proof logic verification mechanism combined with network topology and power flow analysis results. The device status management module is also used to update the status attributes of the corresponding device in response to user operation commands that allow execution; The dynamic topology analysis unit is also used to respond to user operation commands that allow execution, and to recalculate the topology of the electrical network based on the updated device status by the device status management module using a dynamic topology analysis algorithm. The data processing layer is used to provide data storage and management functions.

2. The substation five-prevention simulation system based on dynamic topology analysis according to claim 1, characterized in that, The user interaction layer integrates a visualization rendering module, an operation command processing module, and a status display module. The operation instruction processing module is used to capture the user's operation instructions and transmit the operation instructions to the simulation control layer for processing; The visualization rendering module is used to present the equipment status and simulation process of the substation in a graphical manner; The status display module is used to provide feedback to the user on the operation results and system status.

3. The substation five-prevention simulation system based on dynamic topology analysis according to claim 1, characterized in that, The general attributes of the device include: device identifier, status attribute, connection point information, and rule interface; the device identifier is a unique identifier for the device's number and type information; the status attribute records the device's current operating status and electrical status; the connection point information defines the electrical connection relationship between the device and other devices; the rule interface provides a device-specific five-proof rule verification interface.

4. The substation five-prevention simulation system based on dynamic topology analysis according to claim 1, characterized in that, The dynamic topology analysis unit integrates a device state change acquisition unit, an adjacency matrix construction unit, a connected component calculation unit, a current path marking unit, and a topology state update unit. The device status change acquisition unit is used to listen for device status change events and acquire changed device information. The adjacency matrix construction unit is used to construct an adjacency matrix representation of the network topology based on the device connection relationships and the current state of the devices; The connectivity component calculation unit is used to traverse network nodes in the network topology using a depth-first search algorithm, identify strongly connected components in the network, and determine electrically isolated regions. The current path marking unit is used to calculate the current flow path based on the connected components, according to the power source location and load distribution; The topology state update unit is used to update the network topology and current path to the system state database.

5. The substation five-prevention simulation system based on dynamic topology analysis according to claim 1, characterized in that, The power flow simulation unit integrates a power node initialization unit, a state propagation queue unit, a node state update unit, a propagation condition check unit, a state conflict detection unit, an anomaly handling unit, a convergence judgment unit, and a result output unit. The power node initialization unit is used to mark all power nodes as charged and add them to the propagation queue based on the network topology. The state propagation queue unit is used to maintain a queue of nodes to be processed, thereby achieving breadth-first state propagation. The node state update unit is used to update the electrical state of a node according to a preset propagation rule after the node is taken out of the queue. The propagation condition checking unit is used to check whether the current node meets the conditions for propagation to neighboring nodes; The state conflict detection unit is used to traverse all adjacent nodes of the current node and detect whether there is a conflict between the grounded and energized states of the adjacent nodes. The exception handling unit is used to trigger a processing mechanism when a state conflict or exception is detected. The convergence determination unit is used to determine whether the state propagation has reached a stable state; The result output unit is used to output the final power flow analysis result in response to the state propagation reaching a steady state.

6. The substation five-prevention simulation system based on dynamic topology analysis according to claim 1, characterized in that, The five-prevention logic verification module integrates an operation instruction receiving unit, a target device status detection unit, a topology connectivity analysis unit, a current path verification unit, a five-prevention rule matching unit, a security judgment unit, and an operation permission output unit. The operation instruction receiving unit is used to receive the user's device operation instructions; The target device status detection unit is used to verify whether the current status of the target device allows the operation to be performed; The topology connectivity analysis unit is used to analyze the impact of user operations on the network topology by calling the network topology structure calculated in real time by the dynamic topology analysis unit. The current path verification unit is used to check whether user operations will produce dangerous current paths by combining the real-time power flow simulation results generated by the power flow simulation unit. The five-prevention rule matching unit is used to match user operation scenarios with five-prevention rules pre-stored in the rule knowledge base; The safety judgment unit is used to make a final judgment on the safety of operation by integrating the results of the equipment status detection unit, topology connectivity analysis unit, current path verification unit and five-prevention rule matching unit. The operation permission output unit is used to determine whether to allow the execution of the user's operation instructions based on the result output by the security judgment unit.

7. The substation five-prevention simulation system based on dynamic topology analysis according to claim 6, characterized in that, The five-defense logic verification module also integrates an error information generation unit and a rule conflict detection unit; The error message generation unit is used to generate detailed error descriptions when user operation is prohibited; The rule conflict detection unit is used to detect whether there are potential conflicts between multiple five-prevention rules.

8. The substation five-prevention simulation system based on dynamic topology analysis according to claim 6, characterized in that, The five-defense logic verification module adopts an integrated verification framework that deeply integrates device status checks, topology connectivity analysis, and rule matching.

9. The substation five-prevention simulation system based on dynamic topology analysis according to claim 1, characterized in that, The data processing layer integrates a device model library, a rule knowledge base, and a status database. The equipment model library is used to store standardized electrical equipment models; The rule knowledge base is used to store the five-prevention rules; The status database is used to store real-time device status data, network topology, and operation history.

10. A substation five-prevention simulation method based on dynamic topology analysis, wherein the method is applied to the substation five-prevention simulation system based on dynamic topology analysis as described in any one of claims 1-9, characterized in that, The method includes: Step S1: Load models of various electrical equipment from the equipment model library; Step S2: Using a graph theory-based dynamic topology analysis algorithm, the network topology and current paths are calculated in real time based on the loaded electrical equipment model and its connection relationships to construct the initial electrical network topology, laying the initial foundation for dynamic topology analysis. Step S3: Using the real-time power flow simulation algorithm based on state propagation, simulate the power flow state based on the network topology and current path, and output the final power flow analysis results. Step S4: Continuously monitor the user's operation commands; Step S5: Upon receiving a user operation command, a five-prevention logic verification mechanism is used to assess the security of the user operation command in conjunction with the initial electrical network topology and power flow analysis results. Step S6: Based on the results of the five-proof logic verification, decide whether to allow the execution of the user's operation command; Step S7: In response to allowing the execution of the user's operation command, update the status attributes of the corresponding device; Step S8: Based on the updated device status, recalculate the topology of the electrical network using a dynamic topology analysis algorithm; Step S9: Visualize the results of device status update and topology recalculation through the user interaction layer; Step S10: In response to the instruction to disallow the user's operation, generate an error description and proceed to step S4.

Citation Information

Patent Citations

  • Transformer substation anti-misoperation system and method based on topology analysis

    CN112421607A

  • Power distribution management method and system based on power flow and stability analysis

    CN117559445A

  • Power distribution network fault intelligent positioning and response system

    CN119199388A