An electromagnetic transient on-demand interaction simulation method, system, terminal and storage medium
By introducing a three-layer collaborative architecture consisting of a system operation center server and a central collaborative simulation engine component, the problem of complex node management in electromagnetic transient simulation architecture is solved, enabling dynamic access and disconnection on demand, and improving the reliability and flexibility of electromagnetic transient simulation results.
Patent Information
- Application Number
- CN202610784812.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-02
- Publication Date
- 2026-08-25
AI Technical Summary
Existing electromagnetic transient simulation architectures suffer from complex node management when the number of nodes increases, leading to poor reliability of simulation results. Furthermore, network communication delays and packet loss affect the accuracy and reliability of the simulation.
An electromagnetic transient on-demand interactive simulation method is adopted, and a three-layer collaborative architecture of system operation center server, connection manager and central collaborative simulation engine component is introduced to realize on-demand dynamic access and disconnection. By centrally controlling connection requests, communication channels and simulation pause and resume, synchronous start and stop are avoided and synchronous waiting overhead is reduced.
It improves the reliability and flexibility of electromagnetic transient simulation results, reduces the synchronization waiting overhead of multi-node collaborative simulation, realizes on-demand dynamic access and disconnection, and enhances the scalability of electromagnetic transient simulation of large power grids.
Smart Images

Figure CN122634889A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electromagnetic transient simulation technology for power systems, and in particular to an on-demand interactive electromagnetic transient simulation method, system, terminal, and storage medium. Background Technology
[0002] The transformation of power system architecture has led to increasingly prominent complexity and nonlinear characteristics of electromagnetic transient processes. Electromagnetic transient analysis and simulation, as crucial tools for power system planning, operation, and control, often require high-performance computing resources and sophisticated mathematical models when dealing with large-scale and complex power grid topologies using traditional simulation methods. However, the trade-off between model accuracy and computational efficiency remains difficult to reconcile. Therefore, improving the reliability of electromagnetic transient simulations has become a pressing technical challenge in the face of ever-expanding power grids and a rapidly increasing number of nodes.
[0003] Currently, existing technologies have developed various methods for electromagnetic-electromechanical transient hybrid simulation, electromagnetic transient parallel simulation, electromagnetic transient distributed simulation, and electromagnetic transient model order reduction. These methods typically improve simulation efficiency by breaking down large power grids into several subsystems and utilizing multi-machine parallel or distributed computing architectures. However, existing distributed simulation systems consist of multiple nodes and networks, making system integration and management complex. They require consideration of node deployment, network configuration, system monitoring and maintenance, significantly increasing development and operating costs. Furthermore, network communication latency and packet loss affect data transmission and information exchange between simulation nodes, leading to simulation delays and instability. This is particularly problematic in real-time electromagnetic transient simulations, where network issues can severely impact accuracy and reliability. Moreover, as the number of computing nodes and the scale of the simulation increase, communication overhead increases significantly, potentially becoming a bottleneck limiting parallel computing efficiency. Therefore, existing electromagnetic transient simulation architectures suffer from complex node management, are unable to effectively cope with increasing node numbers, and exhibit poor reliability of electromagnetic transient simulation results. Summary of the Invention
[0004] This invention proposes an on-demand interactive electromagnetic transient simulation method, system, terminal, and storage medium. It addresses the problem of complex node management in existing electromagnetic transient simulation architectures, which struggle to cope with increasing node numbers and consequently lead to poor reliability of simulation results. This invention enables on-demand dynamic access and disconnection of subsystems, completing distributed collaborative electromagnetic transient calculations without requiring synchronous start-up and termination of simulations, thereby improving the reliability of electromagnetic transient simulation results.
[0005] To achieve the above objectives, embodiments of the present invention provide an electromagnetic transient on-demand interactive simulation method, applied to an electromagnetic transient on-demand interactive simulation architecture. The electromagnetic transient on-demand interactive simulation architecture includes a first subsystem, a system operation center server, a connection manager, a first central collaborative simulation engine component, a system operation center client, a second central collaborative simulation engine component, and a second subsystem. The method is executed by the system operation center server. The electromagnetic transient on-demand interactive simulation method includes: controlling the first subsystem to start running, causing the first subsystem to perform an initial electromagnetic transient simulation; receiving at least one connection request sent by the system operation center client; the connection request is sent by the second subsystem to the system operation center client; and pausing the execution of local electromagnetic transient simulation whenever the second subsystem issues the connection request. The transient simulation is executed independently by the second subsystem; the connection request is sent to the connection manager, which controls the connection manager to enable the corresponding first central co-simulation engine component to open the first communication channel of the first central co-simulation engine component; based on the first communication channel, the connection permission response issued by the first subsystem is obtained, so that the system operation center client opens the second communication channel of the second central co-simulation engine component, and based on the first communication channel and the second communication channel, the first subsystem and the second subsystem establish a communication connection and perform electrical data interaction to obtain several historical modal current data vectors; in response to the circuit breaker command on the first subsystem side and / or the circuit breaker command on the second subsystem side, the first subsystem and / or the second subsystem are controlled to start the target electromagnetic transient simulation according to the several historical modal current data vectors.
[0006] This invention proposes an on-demand interactive electromagnetic transient simulation method. It introduces a three-layer collaborative architecture consisting of a system operation center server, a connection manager, and a central collaborative simulation engine component. This centralized control over connection request parsing, communication channel activation, and simulation pause / resumption allows the system operation center server to maintain its independent initial electromagnetic transient simulation while responding to on-demand access requests from client subsystems. Furthermore, it allows system operation center clients to execute local electromagnetic transient simulations, pre-completing steady-state initialization and initiating connections at any time while pausing local simulations to await access. This avoids invalid calculations and communication conflicts, ensuring consistency and determinism in the connection establishment process. After the communication connection is established, electrical data is exchanged based on a preset time interval, and the target electromagnetic transient simulation is initiated. Simultaneous startup and shutdown of all subsystems are not required, significantly reducing the synchronization waiting overhead of multi-node collaborative simulations and improving the flexibility and scalability of large-scale power grid electromagnetic transient simulations. Ultimately, it enables on-demand dynamic access and disconnection of subsystems, completing distributed collaborative electromagnetic transient calculations without requiring synchronous startup and shutdown of simulations, effectively improving the reliability of electromagnetic transient simulation results.
[0007] Furthermore, in receiving a connection request sent by at least one of the system operation center clients, the connection request includes a node identifier to be connected and a target connection time window; the node identifier to be connected is used to match the first central collaborative simulation engine component, and the target connection time window is used to control the electromagnetic transient simulation cycle; both the node identifier to be connected and the target connection time window are sent by the second subsystem to the system operation center client.
[0008] In the above scheme, the connection request carries the identifier of the node to be connected and the target connection time window, enabling the system operation center client to accurately identify the electrical node that the client wants to connect to and the simulation duration for which it wants to maintain the connection. This provides a clear basis for subsequent communication channel matching and circuit breaker timing control. Therefore, by adopting a time window-based on-demand negotiation mechanism, different system operation center clients can select different access time periods according to their own research needs, realizing on-demand allocation and efficient utilization of simulation resources, which helps to improve the reliability of electromagnetic transient simulation results.
[0009] Furthermore, sending the connection request to the connection manager and controlling the connection manager to enable the corresponding first central co-simulation engine component to open the first communication channel of the first central co-simulation engine component includes: whenever the connection request is received, obtaining the identifier of the node to be connected corresponding to the connection request and sending the identifier of the node to be connected to the connection manager; controlling the connection manager to enable the corresponding first central co-simulation engine component through the identifier of the node to be connected to open the first communication channel of the first central co-simulation engine component.
[0010] In the above scheme, the responsibilities of the system operation center server and the connection manager are clearly divided. The system operation center server focuses on receiving, parsing, and responding to connection requests, while the connection manager is responsible for activating the corresponding first central co-simulation engine component and opening the first communication channel based on the node identifier. The modular design reduces the coupling between functional units, allowing the connection manager to independently handle the establishment and release of each channel when multiple system operation center clients request access simultaneously, without interfering with the operation of the main simulation on the server side. At the same time, through the one-to-one correspondence between the node identifier to be connected and the central co-simulation engine component, the automatic mapping of electrical topology location and communication channel is realized, avoiding the tediousness and errors of manual configuration, thereby effectively solving the problem of complex node management and improving the reliability of electromagnetic transient simulation results.
[0011] Furthermore, based on the first communication channel, a connection permission response issued by the first subsystem is obtained, causing the system operation center client to open the second communication channel of the second central co-simulation engine component. Based on the first and second communication channels, the first and second subsystems establish a communication connection and perform electrical data interaction to obtain several historical modal current data vectors. This includes: whenever the first communication channel is opened, controlling the first subsystem to pause the initial electromagnetic transient simulation and wait for a connection permission response, the connection permission response being generated by the first subsystem; receiving the connection permission response issued by the first subsystem and sending it to the system operation center client, causing the system operation center client to open the second communication channel of the second central co-simulation engine component; establishing a communication connection between the first and second central co-simulation engine components based on the first and second communication channels; and controlling the first and second central co-simulation engine components to perform electrical data interaction based on a preset time interval to obtain several historical modal current data vectors.
[0012] In the above scheme, after the first communication channel is opened, the system operation center server actively suspends the execution of the initial electromagnetic transient simulation and waits for the client to connect, avoiding simulation divergence caused by data asynchrony. Then, the central collaborative simulation engine component between the system operation center server and the system operation center client exchanges electrical data at preset time intervals to obtain several historical modal current data vectors, minimizing communication frequency and network load. Thus, by using the communication connection between the central collaborative simulation engine components for electrical data interaction, the coupling between subsystems is only reflected through line boundary conditions, without exposing internal circuit parameters. This protects the model privacy of each participant and achieves accurate distributed collaborative simulation, which helps improve the reliability of electromagnetic transient simulation results.
[0013] Furthermore, in response to the circuit breaker command on the first subsystem side and / or the circuit breaker command on the second subsystem side, the system controls the first subsystem and / or the second subsystem to initiate a target electromagnetic transient simulation based on several historical modal current data vectors, including: at any time after the communication connection is established, in response to the circuit breaker command on the first subsystem side, controlling the circuit breaker on the first subsystem side to close; the circuit breaker command on the first subsystem side is generated by the circuit breaker triggered on the first subsystem side; in response to the circuit breaker command on the second subsystem side, the system operation center client controls the system to control the circuit breaker on the second subsystem side to close, so that the first subsystem and the second subsystem can be electrically connected; The circuit breaker command on the second subsystem side is generated by the circuit breaker triggered on the second subsystem side; after the electrical connection is completed, the first subsystem and the second subsystem are controlled to take the joint electromagnetic transient simulation as the target electromagnetic transient simulation, and the first subsystem and the second subsystem are instructed to start the joint electromagnetic transient simulation; during the joint electromagnetic transient simulation, the first central collaborative simulation engine component and the second central collaborative simulation engine component are controlled to simultaneously execute the switching operation of the circuit breaker, and the first central collaborative simulation engine component is instructed to report the status to the connection manager, and the second central collaborative simulation engine component is instructed to report the status to the system operation center client.
[0014] In the above scheme, the circuit breaker closing command can be triggered by either party at any time after the communication connection is established, realistically simulating the scenario where the dispatch center in the actual power grid performs switching operations according to plan or on demand. After the electrical connection is completed, the first subsystem and the second subsystem continue to exchange electrical data and perform joint electromagnetic transient simulation based on a preset time interval. Each subsystem can independently maintain its internal circuit model and solver, only needing to exchange boundary electrical quantities, thereby reducing the computational pressure on the central node. Finally, the first central collaborative simulation engine component reports the status to the connection manager in real time, enabling the connection manager and the system operation center to accurately grasp the simulation progress. At the same time, the second central collaborative simulation engine component reports the status to the system operation center client, providing status basis for subsequent on-demand disconnection and sequential access of multiple system operation center clients, and realizing the core function of on-demand dynamic access and disconnection.
[0015] Furthermore, in response to the circuit breaker command on the first subsystem side and / or the circuit breaker command on the second subsystem side, the system controls the first subsystem and / or the second subsystem to initiate a target electromagnetic transient simulation based on several historical modal current data vectors, including: in response to the circuit breaker command on the first subsystem side or the circuit breaker command on the second subsystem side, or when the target connection time window expires, interrupting the electrical data interaction between the first subsystem and the second subsystem; closing the communication channel between the first central co-simulation engine component and the second central co-simulation engine component, controlling the connection manager to mark the communication status as disconnected to the system operation center server, so that the second subsystem uses the local electromagnetic transient simulation as the target electromagnetic transient simulation, and instructs the second subsystem to initiate the local electromagnetic transient simulation; controlling the first subsystem to use the initial electromagnetic transient simulation as the target electromagnetic transient simulation, and instructing the first subsystem to initiate the initial electromagnetic transient simulation, so that the system operation center server module remains in a listening state to receive connection requests from other clients.
[0016] In the above scheme, when the system operation center client actively disconnects the circuit breaker or the target connection time window expires, it automatically interrupts electrical data interaction and closes the communication channel. The connection manager feeds back the disconnection status to the system operation center server. The system operation center server then controls the first subsystem to resume independent initial electromagnetic transient simulation, while the second subsystem also resumes independent local electromagnetic transient simulation. The system operation center server continues to monitor, ready to receive connection requests from the next system operation center client. This enables continuous simulation capabilities where multiple clients sequentially connect, disconnect, and reconnect, perfectly simulating the interaction between different regional subsystems and the main grid in different time periods within a real power grid. It not only allows the system operation center server to operate long-term, but also allows system operation center clients to join or leave at any time, improving the practicality and flexibility of distributed collaborative electromagnetic transient simulation. This allows distributed collaborative electromagnetic transient calculations to be completed without the need for synchronous start-up and termination of simulations, thereby improving the reliability of electromagnetic transient simulation results.
[0017] This invention also provides an electromagnetic transient on-demand interactive simulation system, controlled by an electromagnetic transient on-demand interactive simulation architecture. The electromagnetic transient on-demand interactive simulation architecture includes a first subsystem, a system operation center server, a connection manager, a first central collaborative simulation engine component, a system operation center client, a second central collaborative simulation engine component, and a second subsystem. The method is executed by the system operation center server. The electromagnetic transient simulation on-demand interactive system includes a first subsystem control module, a connection request receiving module, a communication channel opening module, a data interaction module, and an on-demand control module. Specifically: the first subsystem control module controls the startup and operation of the first subsystem, causing it to perform an initial electromagnetic transient simulation; the connection request receiving module receives at least one connection request sent by the system operation center client; the connection request is sent from the second subsystem to the system operation center client, and execution is paused whenever the second subsystem sends a connection request. The local electromagnetic transient simulation is executed independently by the second subsystem. The communication channel opening module is used to send the connection request to the connection manager and control the connection manager to enable the corresponding first central co-simulation engine component to open the first communication channel of the first central co-simulation engine component. The data interaction module is used to obtain the connection permission response issued by the first subsystem based on the first communication channel, so that the system operation center client opens the second communication channel of the second central co-simulation engine component, and based on the first communication channel and the second communication channel, the first subsystem and the second subsystem establish a communication connection and perform electrical data interaction to obtain several historical mode current data vectors. The on-demand control module is used to respond to the circuit breaker command on the first subsystem side and / or the circuit breaker command on the second subsystem side, and control the first subsystem and / or the second subsystem to start the target electromagnetic transient simulation according to the several historical mode current data vectors.
[0018] This invention proposes an on-demand interactive electromagnetic transient simulation system. It introduces a three-layer collaborative architecture consisting of a system operation center server, a connection manager, and a central collaborative simulation engine component. This centralized control over connection request parsing, communication channel activation, and simulation pause / resumption allows the system operation center server to maintain its independent initial electromagnetic transient simulation while responding to on-demand access requests from client subsystems. Furthermore, it allows system operation center clients to execute local electromagnetic transient simulations, pre-completing steady-state initialization and initiating connections at any time while pausing local simulations to await access. This avoids invalid calculations and communication conflicts, ensuring consistency and determinism in the connection establishment process. After the communication connection is established, electrical data is exchanged at preset time intervals, and the target electromagnetic transient simulation is initiated. Simultaneous startup and shutdown of all subsystems are not required, significantly reducing the synchronization waiting overhead of multi-node collaborative simulations and improving the flexibility and scalability of large-scale power grid electromagnetic transient simulations. Ultimately, it enables on-demand dynamic access and disconnection of subsystems, completing distributed collaborative electromagnetic transient calculations without requiring synchronous startup and shutdown of simulations, effectively improving the reliability of electromagnetic transient simulation results.
[0019] Furthermore, the on-demand control module includes a circuit breaker closing control unit, an electrical connection unit, a joint electromagnetic transient simulation execution unit, and a circuit breaker opening control unit; wherein: the circuit breaker closing control unit is used to control the circuit breaker on the first subsystem side to close at any time after the communication connection is established, in response to a circuit breaker command on the first subsystem side; the circuit breaker command on the first subsystem side is generated by the circuit breaker triggered on the first subsystem side; the electrical connection unit is used to control the system operation center client to close the circuit breaker on the second subsystem side in response to a circuit breaker command on the second subsystem side, so as to establish an electrical connection between the first subsystem and the second subsystem; the circuit breaker command on the second subsystem side is generated by... The second subsystem triggers the generation of the circuit breaker; the joint electromagnetic transient simulation execution unit is used to control the first subsystem and the second subsystem to use the joint electromagnetic transient simulation as the target electromagnetic transient simulation after the electrical connection is completed, and to instruct the first subsystem and the second subsystem to start the joint electromagnetic transient simulation; the circuit breaker disconnection control unit is used to control the first central collaborative simulation engine component and the second central collaborative simulation engine component to simultaneously execute the circuit breaker switching operation during the joint electromagnetic transient simulation, and to instruct the first central collaborative simulation engine component to report the status to the connection manager, and to instruct the second central collaborative simulation engine component to report the status to the system operation center client.
[0020] An on-demand interactive terminal for electromagnetic transient simulation includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the aforementioned on-demand interactive electromagnetic transient simulation method.
[0021] An on-demand interactive storage medium for electromagnetic transient simulation is provided, the storage medium including a stored computer program, wherein the computer program controls the device where the storage medium is located to execute the electromagnetic transient on-demand interactive simulation method during runtime. Attached Figure Description
[0022] To more clearly illustrate the technical solution of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0023] Figure 1 A flowchart illustrating the steps of an on-demand interactive method for electromagnetic transient simulation provided in a certain embodiment of the present invention; Figure 2 A schematic diagram of the electromagnetic transient simulation process of an on-demand interactive method for electromagnetic transient simulation provided in a certain embodiment of the present invention; Figure 3 This is a schematic diagram of the module structure of an on-demand interactive electromagnetic transient simulation system provided in a certain embodiment of the present invention. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0025] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.
[0026] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.
[0027] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0028] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.
[0029] In the description of the embodiments of this application, the term "multiple" refers to two or more (including two), similarly, "multiple sets" refers to two or more (including two sets), and "multiple pieces" refers to two or more (including two pieces).
[0030] In the description of the embodiments of this application, unless otherwise expressly specified and limited, technical terms such as "installation," "connection," "joining," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.
[0031] To address the issue of poor reliability in electromagnetic transient simulation results due to the complexity of node management in existing electromagnetic transient simulation architectures and their inability to effectively handle an increase in the number of nodes, see [reference needed]. Figure 1 , Figure 1 An electromagnetic transient on-demand interactive simulation method is provided in one embodiment of the present invention. It is executed by a server, which integrates a system operation center server, a connection manager, and a first central collaborative simulation engine component; the server also hosts a first subsystem; as shown below. Figure 1As shown in the figure, this embodiment of the invention proposes an electromagnetic transient on-demand interactive simulation method, including steps 101 to 105, each step of which is as follows: Step 101: Control the first subsystem to start running and make the first subsystem perform initial electromagnetic transient simulation; Step 102: Receive at least one connection request sent by the system operation center client; the connection request is sent by the second subsystem to the system operation center client, and the execution of the local electromagnetic transient simulation is paused whenever the second subsystem sends the connection request, and the local electromagnetic transient simulation is executed independently by the second subsystem; Step 103: Send the connection request to the connection manager and control the connection manager to enable the corresponding first central co-simulation engine component to open the first communication channel of the first central co-simulation engine component; Step 104: Based on the first communication channel, obtain the connection permission response issued by the first subsystem, so that the system operation center client opens the second communication channel of the second central collaborative simulation engine component, and based on the first communication channel and the second communication channel, enable the first subsystem and the second subsystem to establish a communication connection and perform electrical data interaction to obtain several historical modal current data vectors; Step 105: In response to the circuit breaker command on the first subsystem side and / or the circuit breaker command on the second subsystem side, control the first subsystem and / or the second subsystem to initiate the target electromagnetic transient simulation based on a plurality of the historical modal current data vectors.
[0032] One possible implementation involves first developing a custom Hub Co-Simulation Engine (HCoE). This HCoE is modeled based on the Bergeron model of a three-phase line and can achieve the decoupling required between subsystems connected to the line terminal. Integrating each subsystem requires two such devices. In this embodiment, taking a system operation center server and a system operation center client as an example, the HCoE is defined as the first HCoE and the second HCoE.
[0033] The central co-simulation engine component is implemented through custom component modules in PSCAD and is integrated into the network solving matrix equations using a set of admittances and three single-phase current sources. These current sources are calculated using the mode transformation method, which can be achieved using existing mature methods and will not be elaborated here. The central co-simulation engine component can also control the circuit breakers connected to the line terminals, thereby realizing comprehensive management of switching operations. It mainly has two functions: one is to perform transient calculations on the connected transmission lines, and the other is to realize data interaction between computers.
[0034] The central co-simulation engine component also integrates the Winsock communication mechanism, implemented using a client-server network model. The interface of the central co-simulation engine component corresponding to the first subsystem on the system operation center server is programmed as the first central co-simulation engine component, while the interface of the central co-simulation engine component corresponding to the second subsystem on the system operation center client is programmed as the second central co-simulation engine component. Before the first and second subsystems establish a connection, the HCoE algorithm pauses the simulation process. Once the communication connection is successfully established, electrical data exchange will occur periodically based on the parameters of the connected transmission lines. In synchronous operation mode, the algorithms of the first and second subsystems of the central co-simulation engine component differ only in their data exchange functionality. In the on-demand operation mode, direct data exchange between the central collaborative simulation engine components is managed by a higher-level system operation center server and connection manager. In this embodiment, the central collaborative simulation engine components have also been modified. First, the first central collaborative simulation engine component needs to report its status to the connection manager, and the second central collaborative simulation engine component reports its status to the system operation center client. Second, the central collaborative simulation engine component with the corresponding node ID opens a communication channel through a socket, and after the communication channel is started, it can close the circuit breaker to perform the corresponding electromagnetic transient calculation. Third, when the circuit breaker is opened, the closing and resetting operations of the communication channel can be handled.
[0035] For example, the first subsystem is first started and runs, and the first subsystem performs an initial electromagnetic transient simulation. This initial electromagnetic transient simulation can be the entire process of a large power grid from power-on to entering a steady state. For example, in the IEEE-39 node system, a computer is used as the server to carry the first subsystem. In this embodiment, the first subsystem is represented as subsystem A, which independently completes steady-state initialization. At this time, the system operation center server is in a listening state. In addition, the system operation center server, connection manager and first central collaborative simulation engine components are all integrated on the server side. The server side only serves as a carrier to carry the corresponding devices or components, etc. Subsequently, a connection request is received from at least one client. Again, a computer acts as the client, carrying the second subsystem. In this embodiment, the connection request is sent from the second subsystem to the system operation center client. It is worth noting that whenever the second subsystem sends a connection request, it immediately pauses its independently executed local electromagnetic transient simulation and waits for a response from the system operation center server. The second subsystem represents different subsystems depending on the client. For example, the second subsystem of client B is represented as subsystem B, the second subsystem of client C is represented as subsystem C, and so on. The system operation center client and the second central collaborative simulation engine components are both integrated into the client. The client also serves only as a carrier, carrying the corresponding devices or components.
[0036] Then, the received connection request is parsed to extract parameters such as the identifier of the node to be connected and the connection duration that the system operation center client expects to access. After instructing the connection manager to enable the corresponding first central collaborative simulation engine component according to the identifier of the node to be connected, the first central collaborative simulation engine component opens the first communication channel through the Winsock socket.
[0037] Next, after the first communication channel is opened, the control of the first subsystem is to pause the execution of the initial electromagnetic transient simulation and wait for the return of the connection permission response. Based on the connection permission response, the system operation center client opens the second communication channel of the second central collaborative simulation engine component. Then, based on the first and second communication channels, a communication connection is established between the first and second subsystems and electrical data is exchanged to obtain several historical modal current data vectors.
[0038] Finally, in response to the circuit breaker command on the first subsystem side and / or the circuit breaker command on the second subsystem side, the first subsystem and / or the second subsystem are controlled to initiate the target electromagnetic transient simulation process based on several of the historical modal current data vectors. Initiating the target electromagnetic transient simulation process includes: performing a joint electromagnetic transient simulation after closing the circuit breaker, or resuming the independent electromagnetic transient simulation after opening the circuit breaker.
[0039] This invention proposes an on-demand interactive electromagnetic transient simulation method. It introduces a three-layer collaborative architecture consisting of a system operation center server, a connection manager, and a central collaborative simulation engine component. This centralized control over connection request parsing, communication channel activation, and simulation pause / resumption allows the system operation center server to maintain its independent initial electromagnetic transient simulation while responding to on-demand access requests from client subsystems. Furthermore, it allows system operation center clients to execute local electromagnetic transient simulations, pre-completing steady-state initialization and initiating connections at any time while pausing local simulations to await access. This avoids invalid calculations and communication conflicts, ensuring consistency and determinism in the connection establishment process. After the communication connection is established, electrical data is exchanged based on a preset time interval, and the target electromagnetic transient simulation is initiated. Simultaneous startup and shutdown of all subsystems are not required, significantly reducing the synchronization waiting overhead of multi-node collaborative simulations and improving the flexibility and scalability of large-scale power grid electromagnetic transient simulations. Ultimately, it enables on-demand dynamic access and disconnection of subsystems, completing distributed collaborative electromagnetic transient calculations without requiring synchronous startup and shutdown of simulations, effectively improving the reliability of electromagnetic transient simulation results.
[0040] In a preferred embodiment, in receiving a connection request sent by at least one of the system operation center clients, the connection request includes a node identifier to be connected and a target connection time window; the node identifier to be connected is used to match the first central collaborative simulation engine component, and the target connection time window is used to control the electromagnetic transient simulation cycle; both the node identifier to be connected and the target connection time window are sent by the second subsystem to the system operation center client.
[0041] For example, taking computer 1 as the server, carrying subsystem A (represented as the first subsystem), and computer 2 as the client, carrying subsystem B (represented as the second subsystem), as an example, when any client's second subsystem starts local electromagnetic transient simulation, if the second subsystem sends a connection request to the system operation center client, the system operation center client then sends a connection request to the system operation center server. This connection request includes at least the identifier of the node to be connected and the target connection time window. The identifier of the node to be connected is used to match the first central collaborative simulation engine component corresponding to the server, for example... The system operation center server transmits the identifier of the node to be connected to the connection manager. The connection manager searches in a pre-established mapping table based on the identifier of the node to be connected to determine the instance of the first central co-simulation engine component that should be enabled in the first subsystem. Since there is a one-to-one correspondence between each accessible electrical node and the central co-simulation engine component, the first central co-simulation engine component that needs to open the communication channel can be accurately located by the identifier of the node to be connected. In a specific interpretation, the identifier of the node to be connected is specified as Bus5, and the target connection time window is used to control the period during which the client expects to maintain the electromagnetic transient simulation, for example, the connection request lasts for 5 seconds.
[0042] For example, in a distributed simulation scenario with two subsystems, the second subsystem can initiate a connection request after the first subsystem has run the initial electromagnetic transient simulation for 10 seconds. The node identifier Bus5 and the specified target connection time window of 5 seconds are sent to the system operation center client. Finally, the system operation center server sends the node identifier Bus5 to the connection manager to match the first central co-simulation engine component, and then arranges the start and end times of the subsequent joint simulation according to the target connection time window.
[0043] In the above scheme, the connection request carries the identifier of the node to be connected and the target connection time window, enabling the system operation center client to accurately identify the electrical node that the client wants to connect to and the simulation duration for which it wants to maintain the connection. This provides a clear basis for subsequent communication channel matching and circuit breaker timing control. Therefore, by adopting a time window-based on-demand negotiation mechanism, different system operation center clients can select different access time periods according to their own research needs, realizing on-demand allocation and efficient utilization of simulation resources, which helps to improve the reliability of electromagnetic transient simulation results.
[0044] In a preferred embodiment, the connection request is sent to the connection manager, and the connection manager is controlled to enable the corresponding first central co-simulation engine component to open the first communication channel of the first central co-simulation engine component. This includes: whenever the connection request is received, obtaining the identifier of the node to be connected corresponding to the connection request, and sending the identifier of the node to be connected to the connection manager; controlling the connection manager to enable the corresponding first central co-simulation engine component through the identifier of the node to be connected to open the first communication channel of the first central co-simulation engine component.
[0045] For example, after receiving a connection request from a system operation center client, the system operation center server parses the request to obtain the identifier of the node to be connected, which includes a node ID, and sends this identifier to the connection manager. Then, based on the received identifier, the connection manager activates the first central co-simulation engine component corresponding to that node identifier on the system operation center server and opens a first communication channel between this component and a second central co-simulation engine component. This first communication channel is implemented using Winsock sockets and a client-server network model, with the first central co-simulation engine component acting as the waiting party and the second central co-simulation engine component acting as the initiating party. Alternatively, when the system operation center server receives connection requests from both client B and client C simultaneously, it parses the two requests sequentially, and the connection manager activates separate central co-simulation engine components for clients B and C respectively, opening two independent communication channels.
[0046] In the above scheme, the responsibilities of the system operation center server and the connection manager are clearly divided. The system operation center server focuses on receiving, parsing, and responding to connection requests, while the connection manager is responsible for activating the corresponding first central co-simulation engine component and opening the first communication channel based on the node identifier. The modular design reduces the coupling between functional units, allowing the connection manager to independently handle the establishment and release of each channel when multiple system operation center clients request access simultaneously, without interfering with the operation of the main simulation on the server side. At the same time, through the one-to-one correspondence between the node identifier to be connected and the central co-simulation engine component, the automatic mapping of electrical topology location and communication channel is realized, avoiding the tediousness and errors of manual configuration, thereby effectively solving the problem of complex node management and improving the reliability of electromagnetic transient simulation results.
[0047] In a preferred embodiment, based on the first communication channel, a connection permission response from the first subsystem is obtained, causing the system operation center client to open the second communication channel of the second central co-simulation engine component. Based on the first and second communication channels, the first and second subsystems establish a communication connection and perform electrical data interaction to obtain several historical modal current data vectors. This includes: whenever the first communication channel is opened, controlling the first subsystem to pause the initial electromagnetic transient simulation and wait for a connection permission response, the connection permission response being generated by the first subsystem; receiving the connection permission response from the first subsystem and sending it to the system operation center client, causing the system operation center client to open the second communication channel of the second central co-simulation engine component; establishing a communication connection between the first and second central co-simulation engine components based on the first and second communication channels; and controlling the first and second central co-simulation engine components to perform electrical data interaction based on a preset time interval to obtain several historical modal current data vectors.
[0048] For example, after the first communication channel is opened, the system operation center server waits to establish an actual communication connection with the system operation center client. During this period, the system operation center server controls the first subsystem to suspend the currently ongoing initial electromagnetic transient simulation and sends a connection permission response to the system operation center client. Subsequently, the system operation center server opens the second communication channel of the second central collaborative simulation engine component. When the first and second communication channels are connected, the first and second subsystems formally establish a communication connection, and the two sides perform electrical data interaction according to a preset time interval. In this embodiment, the preset time interval is... Based on the shortest mode propagation time of the transmission line With simulation time step The ratio is determined, that is Before the circuit breaker closes, the electrical data exchanged between the first and second subsystems is zero to simulate the initial open state of the circuit breakers at both ends of the line. In this embodiment, the electrical data can be the historical mode historical current vector.
[0049] In the above scheme, after the first communication channel is opened, the system operation center server actively suspends the execution of the initial electromagnetic transient simulation and waits for the client to connect, avoiding simulation divergence caused by data asynchrony. Then, the central collaborative simulation engine component between the system operation center server and the system operation center client exchanges electrical data at preset time intervals to obtain several historical modal current data vectors, minimizing communication frequency and network load. Thus, by using the communication connection between the central collaborative simulation engine components for electrical data interaction, the coupling between subsystems is only reflected through line boundary conditions, without exposing internal circuit parameters. This protects the model privacy of each participant and achieves accurate distributed collaborative simulation, which helps improve the reliability of electromagnetic transient simulation results.
[0050] In a preferred embodiment, in response to a circuit breaker command on the first subsystem side and / or a circuit breaker command on the second subsystem side, controlling the first subsystem and / or the second subsystem to initiate a target electromagnetic transient simulation based on a plurality of historical modal current data vectors includes: at any time after the communication connection is established, in response to a circuit breaker command on the first subsystem side, controlling the circuit breaker on the first subsystem side to close; the circuit breaker command on the first subsystem side is generated by a circuit breaker triggered on the first subsystem side; in response to a circuit breaker command on the second subsystem side, controlling the system operation center client to close the circuit breaker on the second subsystem side, so as to establish an electrical connection between the first subsystem and the second subsystem. The circuit breaker command on the second subsystem side is generated by the circuit breaker triggered on the second subsystem side. After the electrical connection is completed, the first subsystem and the second subsystem are controlled to use the joint electromagnetic transient simulation as the target electromagnetic transient simulation, and the first subsystem and the second subsystem are instructed to start the joint electromagnetic transient simulation. During the joint electromagnetic transient simulation, the first central collaborative simulation engine component and the second central collaborative simulation engine component are controlled to simultaneously execute the switching operation of the circuit breaker, and the first central collaborative simulation engine component is instructed to report the status to the connection manager, and the second central collaborative simulation engine component is instructed to report the status to the system operation center client.
[0051] For example, at any time after the communication connection is established, a circuit breaker closing command can be triggered by either the second subsystem side or the first subsystem side. For instance, in response to a circuit breaker command from the first subsystem side, the circuit breaker on the first subsystem side is controlled to close, at which point the first subsystem is ready. Then, in response to a command to close the circuit breaker on the second subsystem side, the system operation center client controls the circuit breaker on the second subsystem side to close, thereby completing the electrical connection between the first and second subsystems. After the electrical connection is completed, the first and second subsystems operate according to the aforementioned predetermined time interval. Continuous interaction of electrical data is performed, and the first and second subsystems are controlled to perform joint electromagnetic transient simulation solutions. During the joint electromagnetic transient simulation, the first and second central co-simulation engine components are simultaneously responsible for controlling the switching operation of the circuit breaker and reporting their respective statuses to the connection manager or system operation center client. For an example, see... Figure 2 , Figure 2 This is a schematic diagram of the electromagnetic transient simulation process of an on-demand interactive method for electromagnetic transient simulation provided in a certain embodiment of the present invention; as shown below. Figure 2 As shown, three computers are used for illustration, where computer 1 is subsystem A on the server side, and computers 2 and 3 are subsystems B and C on the client side, respectively. Figure 2 The text shows several specific moments. This is the start time of the electromagnetic transient calculation; This refers to the data exchange time interval. This refers to the moment when the circuit breaker of subsystem A is disconnected, i.e., the moment when subsystem A is disconnected from subsystem B. This is the end time of the simulation for subsystem B; This is the moment when another circuit breaker in subsystem A trips, i.e., the moment when subsystem A disconnects from subsystem C; This is the end time of the simulation for subsystem A; This marks the end time of the simulation for subsystem C. This demonstrates that subsystems B and C can be connected to subsystem A sequentially as needed to complete electrical data exchange, without waiting for all computers to be connected before starting the simulation.
[0052] In the above scheme, the circuit breaker closing command can be triggered by either party at any time after the communication connection is established, realistically simulating the scenario where the dispatch center in the actual power grid performs switching operations according to plan or on demand. After the electrical connection is completed, the first subsystem and the second subsystem continue to exchange electrical data and perform joint electromagnetic transient simulation based on a preset time interval. Each subsystem can independently maintain its internal circuit model and solver, only needing to exchange boundary electrical quantities, thereby reducing the computational pressure on the central node. Finally, the first central collaborative simulation engine component reports the status to the connection manager in real time, enabling the connection manager and the system operation center to accurately grasp the simulation progress. At the same time, the second central collaborative simulation engine component reports the status to the system operation center client, providing status basis for subsequent on-demand disconnection and sequential access of multiple system operation center clients, and realizing the core function of on-demand dynamic access and disconnection.
[0053] In a preferred embodiment, in response to a circuit breaker command on the first subsystem side and / or a circuit breaker command on the second subsystem side, the system controls the first subsystem and / or the second subsystem to initiate a target electromagnetic transient simulation based on a plurality of historical modal current data vectors, including: interrupting electrical data interaction between the first subsystem and the second subsystem in response to a circuit breaker command on the first subsystem side or a circuit breaker command on the second subsystem side, or when the target connection time window expires; closing the communication channel between the first central co-simulation engine component and the second central co-simulation engine component, controlling the connection manager to mark the communication status as disconnected to the system operation center server, so that the second subsystem uses the local electromagnetic transient simulation as the target electromagnetic transient simulation, and instructs the second subsystem to initiate the local electromagnetic transient simulation; controlling the first subsystem to use the initial electromagnetic transient simulation as the target electromagnetic transient simulation, and instructing the first subsystem to initiate the initial electromagnetic transient simulation, so that the system operation center server module remains in a listening state to receive connection requests from other clients.
[0054] For example, when the circuit breaker on the second subsystem side is disconnected or the target connection time window expires, the first subsystem actively interrupts the electrical data interaction with the second subsystem, and closes the first and second communication channels between the first central co-simulation engine component and the second central co-simulation engine component. Then, the connection manager marks the communication status as disconnected to the system operation center server so that the system operation center server can update the current connection record. Subsequently, the first subsystem independently starts the initial electromagnetic transient simulation with the initial electromagnetic transient simulation as the target electromagnetic transient simulation, that is, returns to the independent operation mode. At the same time, the second subsystem independently starts the local electromagnetic transient simulation with the local electromagnetic transient simulation as the target electromagnetic transient simulation. At this time, the second subsystem can resume independent simulation or end simulation. The system operation center server continues to maintain a listening state to receive new connection requests from other system operation center clients.
[0055] In the above scheme, when the system operation center client actively disconnects the circuit breaker or the target connection time window expires, it automatically interrupts electrical data interaction and closes the communication channel. The connection manager feeds back the disconnection status to the system operation center server. The system operation center server then controls the first subsystem to resume independent initial electromagnetic transient simulation, while the second subsystem also resumes independent local electromagnetic transient simulation. The system operation center server continues to monitor, ready to receive connection requests from the next system operation center client. This enables continuous simulation capabilities where multiple clients sequentially connect, disconnect, and reconnect, perfectly simulating the interaction between different regional subsystems and the main grid in different time periods within a real power grid. It not only allows the system operation center server to operate long-term, but also allows system operation center clients to join or leave at any time, improving the practicality and flexibility of distributed collaborative electromagnetic transient simulation. This allows distributed collaborative electromagnetic transient calculations to be completed without the need for synchronous start-up and termination of simulations, thereby improving the reliability of electromagnetic transient simulation results.
[0056] Based on the above method embodiments, corresponding apparatus embodiments are provided; see [link to apparatus embodiments]. Figure 3 , Figure 3 This is a schematic diagram of the module structure of an on-demand interactive electromagnetic transient simulation system provided in one embodiment of the present invention. Figure 3As shown, this embodiment of the invention also provides an electromagnetic transient on-demand interactive simulation system, controlled by an electromagnetic transient on-demand interactive simulation architecture. The electromagnetic transient on-demand interactive simulation architecture includes a first subsystem, a system operation center server, a connection manager, a first central collaborative simulation engine component, a system operation center client, a second central collaborative simulation engine component, and a second subsystem. The method is executed by the system operation center server. The electromagnetic transient simulation on-demand interactive system includes a first subsystem control module 201, a connection request receiving module 202, a communication channel opening module 203, a data interaction module 204, and an on-demand control module 205. Specifically: the first subsystem control module 201 controls the first subsystem to start and run, causing the first subsystem to perform initial electromagnetic transient simulation; the connection request receiving module 202 receives at least one connection request sent by the system operation center client; the connection request is sent by the second subsystem to the system operation center client, and each time the second subsystem issues the connection request... Upon request, the execution of the local electromagnetic transient simulation is paused, and the local electromagnetic transient simulation is executed independently by the second subsystem. The communication channel opening module 203 is used to send the connection request to the connection manager, and control the connection manager to enable the corresponding first central co-simulation engine component to open the first communication channel of the first central co-simulation engine component. The data interaction module 204 is used to obtain the connection permission response issued by the first subsystem based on the first communication channel, so that the system operation center client opens the second communication channel of the second central co-simulation engine component, and based on the first communication channel and the second communication channel, the first subsystem and the second subsystem establish a communication connection and perform electrical data interaction to obtain several historical modal current data vectors. The on-demand control module 205 is used to respond to the circuit breaker command on the first subsystem side and / or the circuit breaker command on the second subsystem side, and control the first subsystem and / or the second subsystem to start the target electromagnetic transient simulation according to several historical modal current data vectors.
[0057] This invention proposes an on-demand interactive electromagnetic transient simulation system. It introduces a three-layer collaborative architecture consisting of a system operation center server, a connection manager, and a central collaborative simulation engine component. This centralized control over connection request parsing, communication channel activation, and simulation pause / resumption allows the system operation center server to maintain its independent initial electromagnetic transient simulation while responding to on-demand access requests from client subsystems. Furthermore, it allows system operation center clients to execute local electromagnetic transient simulations, pre-completing steady-state initialization and initiating connections at any time while pausing local simulations to await access. This avoids invalid calculations and communication conflicts, ensuring consistency and determinism in the connection establishment process. After the communication connection is established, electrical data is exchanged at preset time intervals, and the target electromagnetic transient simulation is initiated. Simultaneous startup and shutdown of all subsystems are not required, significantly reducing the synchronization waiting overhead of multi-node collaborative simulations and improving the flexibility and scalability of large-scale power grid electromagnetic transient simulations. Ultimately, it enables on-demand dynamic access and disconnection of subsystems, completing distributed collaborative electromagnetic transient calculations without requiring synchronous startup and shutdown of simulations, effectively improving the reliability of electromagnetic transient simulation results.
[0058] Furthermore, the on-demand control module 205 includes a circuit breaker closing control unit 301, an electrical connection unit 302, a joint electromagnetic transient simulation execution unit 303, and a circuit breaker opening control unit 304; wherein: the circuit breaker closing control unit 301 is used to control the circuit breaker on the first subsystem side to close at any time after the communication connection is established, in response to a circuit breaker command on the first subsystem side; the circuit breaker command on the first subsystem side is generated by the circuit breaker triggered on the first subsystem side; the electrical connection unit 302 is used to control the system operation center client to close the circuit breaker on the second subsystem side in response to a circuit breaker command on the second subsystem side, so that the first subsystem and the second subsystem are electrically connected; the second subsystem The side circuit breaker command is generated by the second subsystem side trigger circuit breaker; the joint electromagnetic transient simulation execution unit 303 is used to control the first subsystem and the second subsystem to take the joint electromagnetic transient simulation as the target electromagnetic transient simulation after the electrical connection is completed, and to instruct the first subsystem and the second subsystem to start the joint electromagnetic transient simulation; the circuit breaker disconnection control unit 304 is used to control the first central collaborative simulation engine component and the second central collaborative simulation engine component to simultaneously execute the circuit breaker switching operation during the joint electromagnetic transient simulation, and to instruct the first central collaborative simulation engine component to report the status to the connection manager, and to instruct the second central collaborative simulation engine component to report the status to the system operation center client.
[0059] It is understood that the above-described device embodiments correspond to the method embodiments of the present invention, and can realize the electromagnetic transient on-demand interactive simulation method provided by any of the above-described method embodiments of the present invention.
[0060] It should be noted that the device embodiments described above are merely illustrative, and some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, in the accompanying drawings of the device embodiments provided by this invention, the connection relationships between modules indicate that they have communication connections, which can specifically be implemented as one or more communication buses or signal lines. Those skilled in the art can understand and implement this without any creative effort.
[0061] Based on the above-described embodiment of the electromagnetic transient on-demand interactive simulation method, another embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements an electromagnetic transient on-demand interactive simulation method according to any embodiment of the present invention.
[0062] For example, in this embodiment, the computer program can be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in the terminal device.
[0063] The terminal device may be a desktop computer, laptop, handheld computer, or cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.
[0064] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the terminal device, connecting all parts of the terminal device via various interfaces and lines.
[0065] Based on the above-described method embodiments, another embodiment of the present invention provides a computer-readable storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to execute an electromagnetic transient on-demand interactive simulation method as described in any of the above-described method embodiments of the present invention.
[0066] The modules / units integrated in the device / terminal equipment, if implemented as software functional units and sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0067] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for on-demand interactive simulation of electromagnetic transients, characterized in that, This is applied to an electromagnetic transient on-demand interactive simulation architecture, which includes a first subsystem, a system operation center server, a connection manager, a first central collaborative simulation engine component, a system operation center client, a second central collaborative simulation engine component, and a second subsystem. The method is executed by the system operation center server, and the electromagnetic transient on-demand interactive simulation method includes: Control the first subsystem to start running, and cause the first subsystem to perform initial electromagnetic transient simulation; The system receives at least one connection request from the system operation center client; the connection request is sent by the second subsystem to the system operation center client, and the execution of the local electromagnetic transient simulation is paused whenever the second subsystem issues the connection request. The local electromagnetic transient simulation is executed independently by the second subsystem. The connection request is sent to the connection manager, which controls the connection manager to enable the corresponding first central co-simulation engine component, thereby opening the first communication channel of the first central co-simulation engine component; Based on the first communication channel, the system obtains the connection permission response issued by the first subsystem, so that the system operation center client opens the second communication channel of the second central collaborative simulation engine component, and based on the first communication channel and the second communication channel, the first subsystem and the second subsystem establish a communication connection and perform electrical data interaction to obtain several historical modal current data vectors. In response to a circuit breaker command on the first subsystem side and / or a circuit breaker command on the second subsystem side, the first subsystem and / or the second subsystem are controlled to initiate a target electromagnetic transient simulation based on a plurality of the historical modal current data vectors.
2. The electromagnetic transient on-demand interactive simulation method as described in claim 1, characterized in that, In receiving a connection request sent by at least one of the system operation center clients, the connection request includes a node identifier to be connected and a target connection time window; the node identifier to be connected is used to match the first central collaborative simulation engine component, and the target connection time window is used to control the electromagnetic transient simulation cycle; both the node identifier to be connected and the target connection time window are sent by the second subsystem to the system operation center client.
3. The electromagnetic transient on-demand interactive simulation method as described in claim 2, characterized in that, Sending the connection request to the connection manager and controlling the connection manager to enable the corresponding first central co-simulation engine component to open the first communication channel of the first central co-simulation engine component includes: Whenever a connection request is received, the identifier of the node to be connected corresponding to the connection request is obtained, and the identifier of the node to be connected is sent to the connection manager; The connection manager is controlled to enable the corresponding first central collaborative simulation engine component through the identifier of the node to be connected, so as to open the first communication channel of the first central collaborative simulation engine component.
4. The electromagnetic transient on-demand interactive simulation method as described in claim 3, characterized in that, Based on the first communication channel, a connection permission response from the first subsystem is obtained, enabling the system operation center client to open the second communication channel of the second central collaborative simulation engine component. Based on the first and second communication channels, the first and second subsystems establish a communication connection and perform electrical data exchange to obtain several historical modal current data vectors, including: Whenever the first communication channel is opened, the first subsystem is controlled to pause the execution of the initial electromagnetic transient simulation and wait for a connection permission response to be returned. The connection permission response is generated by the first subsystem. The system receives a connection permission response from the first subsystem and sends the connection permission response to the system operation center client, so that the system operation center client opens the second communication channel of the second central collaborative simulation engine component; Based on the first communication channel and the second communication channel, a communication connection is established between the first central co-simulation engine component and the second central co-simulation engine component; Based on a preset time interval, the first central collaborative simulation engine component and the second central collaborative simulation engine component are controlled to perform electrical data interaction to obtain several historical modal current data vectors.
5. The electromagnetic transient on-demand interactive simulation method as described in claim 4, characterized in that, In response to a circuit breaker command on the first subsystem side and / or a circuit breaker command on the second subsystem side, control the first subsystem and / or the second subsystem to initiate a target electromagnetic transient simulation based on a plurality of the historical modal current data vectors, including: At any time after the communication connection is established, in response to the circuit breaker command on the first subsystem side, the circuit breaker on the first subsystem side is controlled to close; the circuit breaker command on the first subsystem side is generated by the circuit breaker on the first subsystem side. In response to a circuit breaker command on the second subsystem side, the system operation center client controls the circuit breaker on the second subsystem side to close, thereby establishing an electrical connection between the first subsystem and the second subsystem; the circuit breaker command on the second subsystem side is generated by the circuit breaker triggered on the second subsystem side. After the electrical connection is completed, the first subsystem and the second subsystem are controlled to use the joint electromagnetic transient simulation as the target electromagnetic transient simulation, and the first subsystem and the second subsystem are instructed to start the joint electromagnetic transient simulation. During the joint electromagnetic transient simulation, the first central co-simulation engine component and the second central co-simulation engine component are controlled to simultaneously perform the switching operation of the circuit breaker, and the first central co-simulation engine component is instructed to report its status to the connection manager, while the second central co-simulation engine component is instructed to report its status to the system operation center client.
6. The electromagnetic transient on-demand interactive simulation method as described in claim 4, characterized in that, In response to a circuit breaker command on the first subsystem side and / or a circuit breaker command on the second subsystem side, control the first subsystem and / or the second subsystem to initiate a target electromagnetic transient simulation based on a plurality of the historical modal current data vectors, including: In response to a first subsystem-side circuit breaker command or a second subsystem-side circuit breaker command, or when the target connection time window expires, the electrical data interaction between the first subsystem and the second subsystem is interrupted. The communication channel between the first central co-simulation engine component and the second central co-simulation engine component is closed, and the connection manager is controlled to mark the communication status as disconnected to the system operation center server, so that the second subsystem takes the local electromagnetic transient simulation as the target electromagnetic transient simulation and starts the local electromagnetic transient simulation. The first subsystem is controlled to use the initial electromagnetic transient simulation as the target electromagnetic transient simulation, and the first subsystem is instructed to start the initial electromagnetic transient simulation so that the system operation center server module keeps in a listening state to receive connection requests from other clients.
7. An on-demand interactive system for electromagnetic transient simulation, characterized in that, The system is controlled by an electromagnetic transient on-demand interactive simulation architecture, which includes a first subsystem, a system operation center server, a connection manager, a first central collaborative simulation engine component, a system operation center client, a second central collaborative simulation engine component, and a second subsystem. The method is executed by the system operation center server. The electromagnetic transient simulation on-demand interactive system includes a first subsystem control module, a connection request receiving module, a communication channel opening module, a data interaction module, and an on-demand control module. The first subsystem control module is used to control the startup and operation of the first subsystem, and to cause the first subsystem to perform initial electromagnetic transient simulation; The connection request receiving module is used to receive at least one connection request sent by the system operation center client; the connection request is sent by the second subsystem to the system operation center client, and the execution of the local electromagnetic transient simulation is paused whenever the second subsystem issues the connection request, and the local electromagnetic transient simulation is executed independently by the second subsystem; The communication channel opening module is used to send the connection request to the connection manager and control the connection manager to enable the corresponding first central co-simulation engine component, so as to open the first communication channel of the first central co-simulation engine component. The data interaction module is used to obtain the connection permission response issued by the first subsystem based on the first communication channel, so that the system operation center client opens the second communication channel of the second central collaborative simulation engine component, and based on the first communication channel and the second communication channel, the first subsystem and the second subsystem establish a communication connection and perform electrical data interaction to obtain several historical modal current data vectors. The on-demand control module is used to respond to the circuit breaker command on the first subsystem side and / or the circuit breaker command on the second subsystem side, and control the first subsystem and / or the second subsystem to start the target electromagnetic transient simulation based on a plurality of the historical modal current data vectors.
8. The electromagnetic transient simulation on-demand interactive system as described in claim 7, characterized in that, The on-demand control module includes a circuit breaker closing control unit, an electrical connection unit, a combined electromagnetic transient simulation execution unit, and a circuit breaker opening control unit; wherein: The circuit breaker closing control unit is used to control the circuit breaker on the first subsystem side to close at any time after the communication connection is established, in response to the circuit breaker command on the first subsystem side; the circuit breaker command on the first subsystem side is generated by the circuit breaker on the first subsystem side. The electrical connection unit is used to control the system operation center client to close the circuit breaker on the second subsystem side in response to the circuit breaker command on the second subsystem side, so as to establish an electrical connection between the first subsystem and the second subsystem; the circuit breaker command on the second subsystem side is generated by the circuit breaker on the second subsystem side. The joint electromagnetic transient simulation execution unit is used to control the first subsystem and the second subsystem to use the joint electromagnetic transient simulation as the target electromagnetic transient simulation after the electrical connection is completed, and to instruct the first subsystem and the second subsystem to start the joint electromagnetic transient simulation. The circuit breaker disconnection control unit is used to control the first central co-simulation engine component and the second central co-simulation engine component to simultaneously perform the circuit breaker switching operation during the joint electromagnetic transient simulation process, and to instruct the first central co-simulation engine component to report its status to the connection manager, and to instruct the second central co-simulation engine component to report its status to the system operation center client.
9. An on-demand interactive terminal for electromagnetic transient simulation, characterized in that, The terminal includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements an electromagnetic transient on-demand interactive simulation method as described in any one of claims 1 to 6.
10. An on-demand interactive storage medium for electromagnetic transient simulation, characterized in that, The storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device where the storage medium is located to perform an electromagnetic transient on-demand interactive simulation method as described in any one of claims 1 to 6.
