Power switching system, method and apparatus for electromagnetic transient real-time simulation

By simulating the power switching system of switching elements and utilizing controlled voltage and current sources, the problem of limited number of switches is solved, and the scale of real-time electromagnetic transient simulation is expanded, making it suitable for power switching in complex power systems.

CN114825460BActive Publication Date: 2026-04-17NORTH CHINA ELECTRICAL POWER RES INST +1
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NORTH CHINA ELECTRICAL POWER RES INST
Filing Date
2022-04-13
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

Existing electromagnetic transient real-time simulation tools are limited in scale when large-scale renewable energy is integrated into the power system. This limitation is due to the number of switching components, which affects the grid voltage and transient stability, making it difficult to meet the analysis needs of complex power systems.

Method used

The switching process of switching elements is simulated by using controlled voltage and current sources. By acquiring the original switching signals, voltage and current, the equivalent switching state is determined, the power supply switching is realized, and the number of switches in the simulation model is reduced.

Benefits of technology

While ensuring simulation accuracy, the scale of real-time electromagnetic transient simulation has been increased, and the simulation capability of the real-time simulator has been enhanced, making it suitable for large-scale, high-proportion new energy systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114825460B_ABST
    Figure CN114825460B_ABST
Patent Text Reader

Abstract

The application provides a power switching system, method and device for electromagnetic transient real-time simulation, the system comprising: an equivalent switch and a processing module; the equivalent switch comprising: a controlled voltage source and a controlled current source; the processing module being connected with the voltage source, the current source and a power source for electromagnetic transient real-time simulation respectively; the processing module being used for collecting original switch signals, three-phase currents output by the voltage source, three-phase voltages input by the current source and three-phase power voltages of the power source; determining three-phase current signals corresponding to the current source and three-phase voltage signals corresponding to the voltage source according to the original switch signals, the three-phase currents, the three-phase voltages and the three-phase power voltages; and completing the switching of the power source for electromagnetic transient real-time simulation according to the three-phase current signals and the three-phase voltage signals. The application can ensure the normal operation of the electromagnetic transient real-time simulation and improve the allowed electromagnetic transient real-time simulation scale by simulating the switch element.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power system technology, and in particular to a power switching system, method and apparatus for real-time simulation of electromagnetic transients. Background Technology

[0002] Since most renewable energy generators use power electronic interfaces and lack active support capabilities, large-scale renewable energy integration can significantly impact grid voltage, transient stability, and peak-shaving characteristics. Electromagnetic transient simulation tools are crucial for analyzing and studying power systems with high renewable energy integration. For complex power systems with thousands of nodes, conventional offline simulation programs such as Matlab / Simulink and PSCAD / EMTDC are extremely slow, hindering research and analysis. Therefore, high-performance real-time simulators, such as RT-LAB developed by OPAL-RT in Canada, are needed.

[0003] In real-time simulators such as RT-LAB, a pre-stored matrix approach is generally used. This involves calculating and storing the node admittance matrices and their triangular decompositions for various switch combinations before the simulation begins. For each decoupled subnet, the number of pre-stored matrices is exponentially related to the number of switches within the subnet; the more switches in the subnet, the more pre-stored matrices are required. However, an excessive number of pre-stored matrices can create storage pressure on the system, making it difficult for real-time electromagnetic transient simulations to operate normally. Therefore, the number of switches must be strictly limited. Taking RT-LAB software as an example, the total number of various switching elements, such as single-phase switches, circuit breakers, and power electronic devices, in a single decoupled subnet generally cannot exceed 16. In power networks containing a large number of power electronic devices, such as wind farm grid-connected systems, the number of switches is positively correlated with the network size. If the number of switches is subject to a hard limit, it will affect the expansion of the system size. Therefore, the limitation on the number of switching elements has become a significant bottleneck for the scale of real-time electromagnetic transient simulations. Summary of the Invention

[0004] To address the problems in the prior art, this application proposes a power switching system, method, and apparatus for real-time electromagnetic transient simulation. By simulating switching elements, it can improve the permissible scale of real-time electromagnetic transient simulation while ensuring the normal operation of the real-time electromagnetic transient simulation.

[0005] To address the aforementioned technical problems, this application provides the following technical solution:

[0006] In a first aspect, this application provides a power switching system for real-time electromagnetic transient simulation, comprising: an equivalent switch and a processing module; the equivalent switch includes: a controlled voltage source and a controlled current source; the processing module is connected to the voltage source, the current source, and a power supply for real-time electromagnetic transient simulation; wherein, the processing module is used to acquire the original switch signal, the three-phase current output by the voltage source, the three-phase voltage input to the current source, and the three-phase power supply voltage of the power supply; determine the three-phase current signal corresponding to the current source and the three-phase voltage signal corresponding to the voltage source based on the original switch signal, the three-phase current, the three-phase voltage, and the three-phase power supply voltage; and complete the power switching based on the three-phase current signal and the three-phase voltage signal.

[0007] Furthermore, the voltage source is a three-phase controlled voltage source.

[0008] Furthermore, the current source is a three-phase controlled current source.

[0009] Furthermore, each phase current source in the three-phase controlled current source is connected in parallel with a resistor.

[0010] Furthermore, the resistance value of each resistor is obtained based on a preset simulation step size, the impedance of the power supply, and the fundamental frequency.

[0011] Secondly, this application provides a power switching method for real-time electromagnetic transient simulation, implemented using the aforementioned power switching system, comprising:

[0012] The system acquires the original switch signal, the three-phase current output by the voltage source, the three-phase voltage input to the current source, and the three-phase power supply voltage of the power source.

[0013] Based on the three-phase current and the original switching signal, the actual three-phase switching state corresponding to the equivalent switch is obtained;

[0014] Based on the actual three-phase switching state, three-phase current, three-phase voltage, and three-phase power supply voltage, the three-phase current signal corresponding to the current source and the three-phase voltage signal corresponding to the voltage source are obtained;

[0015] The power supply is switched on and off based on the three-phase current signal and the three-phase voltage signal.

[0016] Further, obtaining the three-phase current signal corresponding to the current source and the three-phase voltage signal corresponding to the voltage source based on the actual three-phase switching state, three-phase current, three-phase voltage, and three-phase power supply voltage includes:

[0017] Multiply the actual three-phase switching state and the three-phase current respectively for each phase to obtain the three-phase current signal corresponding to the current source;

[0018] Based on the actual three-phase switching state, three-phase voltage, and three-phase power supply voltage, the three-phase voltage signal corresponding to the voltage source is obtained.

[0019] Further, obtaining the three-phase voltage signal corresponding to the voltage source based on the actual three-phase switching state, three-phase voltage, and three-phase power supply voltage includes:

[0020] When the first phase of the three-phase actual switching state is in the off state, the first phase voltage signal in the three-phase voltage signal of the voltage source is determined as the first phase voltage in the three-phase voltage.

[0021] When the first phase of the three-phase actual switching state is in the on state, the first phase voltage signal in the three-phase voltage signal of the voltage source is determined as the first phase voltage in the three-phase power supply voltage;

[0022] The first phase can be any one of the three phases.

[0023] Thirdly, this application provides a power switching device for real-time electromagnetic transient simulation, comprising:

[0024] The acquisition module is used to acquire the original switch signal, the three-phase current output by the voltage source, the three-phase voltage of the input current source, and the three-phase power supply voltage of the power supply.

[0025] The state determination module is used to obtain the actual three-phase switching state corresponding to the equivalent switch based on the three-phase current and the original switching signal.

[0026] The signal determination module is used to obtain the three-phase current signal corresponding to the current source and the three-phase voltage signal corresponding to the voltage source based on the actual three-phase switching state, three-phase current, three-phase voltage and three-phase power supply voltage;

[0027] The power switching module is used to switch the power supply according to the three-phase current signal and the three-phase voltage signal.

[0028] Fourthly, this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the power switching method described above.

[0029] Fifthly, this application provides a computer-readable storage medium having computer instructions stored thereon, which, when executed, implement the power switching method described above.

[0030] As can be seen from the above technical solution, this application provides a power switching system, method, and apparatus for real-time electromagnetic transient simulation. The system includes an equivalent switch and a processing module. The equivalent switch includes a controlled voltage source and a controlled current source. The processing module is connected to the voltage source, the current source, and a power supply for real-time electromagnetic transient simulation. The processing module is used to acquire the original switch signal, the three-phase current output by the voltage source, the three-phase voltage input to the current source, and the three-phase power supply voltage of the power supply. Based on the original switch signal, the three-phase current, the three-phase voltage, and the three-phase power supply voltage, it determines the three-phase current signal corresponding to the current source and the three-phase voltage signal corresponding to the voltage source. Based on the three-phase current signal and the three-phase voltage signal, it completes the power switching. By simulating the switching element, it can improve the allowable scale of real-time electromagnetic transient simulation while ensuring the normal operation of the simulation. Specifically, it can be applied to the real-time electromagnetic transient simulation of large-scale, high-proportion new energy systems, replacing the traditional circuit breaker-based power switching method, reducing the number of switches in the simulation model, and increasing the simulation scale of the real-time simulator. Attached Figure Description

[0031] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art 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 based on these drawings without creative effort.

[0032] Figure 1 This is a schematic diagram of the power switching system for real-time electromagnetic transient simulation in an embodiment of this application;

[0033] Figure 2 This is a schematic diagram showing the connection relationship between the power switching system and the power supply used for real-time electromagnetic transient simulation in the embodiments of this application;

[0034] Figure 3 This is a logical diagram illustrating the connection relationship between the power switching system and the power supply used for real-time electromagnetic transient simulation in the embodiments of this application.

[0035] Figure 4 This is a flowchart illustrating the power switching method for real-time electromagnetic transient simulation in an embodiment of this application.

[0036] Figure 5 This is a logic diagram of the current zero-crossing detection module in the embodiments of this application;

[0037] Figure 6 This is a flowchart illustrating a power switching method for real-time electromagnetic transient simulation in another embodiment of this application.

[0038] Figure 7 This is a schematic diagram comparing the voltage change of phase A of the power supply measured by the power supply switching method in an example of this application with the prior art;

[0039] Figure 8 This is a schematic diagram comparing the changes in phase A current of a power supply measured by the prior art and an example of the power supply switching method described in this application;

[0040] Figure 9 This is a schematic diagram of the power switching device for real-time electromagnetic transient simulation in the embodiments of this application;

[0041] Figure 10 This is a schematic block diagram illustrating the system configuration of an electronic device according to an embodiment of this application. Detailed Implementation

[0042] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0043] In existing technologies, mainstream real-time electromagnetic transient simulation tools employ numerical methods such as implicit trapezoidal integration and back-Euler method to model and solve complex power networks. Within this framework, the state switching of switching elements in the circuit leads to the reconstruction and re-triangular decomposition of the node admittance matrix. This process consumes significant computational resources; if calculated within a single step, it greatly reduces the simulator's real-time computational performance. Therefore, real-time simulators such as RT-LAB generally use pre-stored matrices.

[0044] Currently, power switching in real-time simulation programs is achieved through switching elements such as circuit breakers. There is no system that does not use switching elements for power switching. To address this issue, this application proposes a power switching system, method, and apparatus suitable for electromagnetic transient real-time simulation software. It employs a pair of voltage and current sources to simulate the switching process of the switching elements, effectively reducing the number of switching elements in the model without significantly affecting simulation accuracy, thus increasing the simulation scale of existing real-time simulators.

[0045] To ensure the normal operation of real-time electromagnetic transient simulation while increasing the permissible scale of real-time electromagnetic transient simulation, this application provides a power switching device for real-time electromagnetic transient simulation. This device can be a server or a client device. The client device can include smartphones, tablets, set-top boxes, portable computers, desktop computers, personal digital assistants (PDAs), in-vehicle devices, and smart wearable devices, etc. The smart wearable devices can include smart glasses, smartwatches, and smart bracelets, etc.

[0046] In practical applications, the power switching portion used for real-time electromagnetic transient simulation can be executed on the server side as described above, or all operations can be completed on the client device. The choice can be made based on the processing power of the client device and the limitations of the user's usage scenario. This application does not impose any limitations on this. If all operations are completed on the client device, the client device may further include a processor.

[0047] The aforementioned client device may have a communication module (i.e., a communication unit) that can communicate with a remote server to achieve data transmission. The server may include a server on the task scheduling center side; in other implementation scenarios, it may also include a server on an intermediate platform, such as a server on a third-party server platform that has a communication link with the task scheduling center server. The server may include a single computer device, a server cluster consisting of multiple servers, or a distributed server structure.

[0048] The server and the client device can communicate using any suitable network protocol, including network protocols not yet developed as of the date of this application. Such network protocols may include, for example, TCP / IP, UDP / IP, HTTP, HTTPS, etc. Of course, the network protocols may also include, for example, RPC (Remote Procedure Call Protocol) and REST (Representational State Transfer) protocols used on top of the above protocols.

[0049] The following examples illustrate this in detail.

[0050] To increase the permissible scale of real-time electromagnetic transient simulations while ensuring the normal operation of real-time magnetic transient simulations, such as... Figures 1 to 3As shown, this embodiment provides a power switching system for real-time electromagnetic transient simulation, comprising: an equivalent switch 1 and a processing module 2; the equivalent switch 1 includes: a voltage source 11 and a current source 12; the processing module 2 is connected to the voltage source 11, the current source 12, and a power supply 3 for real-time electromagnetic transient simulation; wherein, the processing module is used to acquire the original switch signal, the three-phase current output by the voltage source, the three-phase voltage input to the current source, and the three-phase power supply voltage of the power supply; determine the three-phase current signal corresponding to the current source and the three-phase voltage signal corresponding to the voltage source based on the original switch signal, the three-phase current, the three-phase voltage, and the three-phase power supply voltage; and complete the power switching based on the three-phase current signal and the three-phase voltage signal.

[0051] The voltage source can be a three-phase controlled voltage source. The current source can be a three-phase controlled current source. Each phase of the three-phase controlled current source can be connected in parallel with a resistor. The resistance value of each resistor can be obtained based on the simulation step size, the impedance of the power supply, and the fundamental frequency. The power supply used for real-time electromagnetic transient simulation can be the power supply of a real-time electromagnetic transient simulation software, and can be a three-phase power supply. The real-time electromagnetic transient simulation software can be an existing RT-LAB real-time simulator, etc.

[0052] The parallel resistor R connected to each phase current source enhances the numerical stability of the model. The value of R needs to be selected based on parameters such as power supply impedance and simulation step size. Specifically, the value of R can be obtained according to the following formula:

[0053]

[0054] Where X is the impedance of the power supply; f is the fundamental frequency; Δt is the simulation step size; and k is an adjustable parameter, generally selected between (0.01 and 1).

[0055] Specifically, the power switching system proposed in this embodiment can be composed of two parts: an equivalent switch and a computing processing module. The computing processing module can be equivalent to the aforementioned processing module, including but not limited to a server; such as Figure 3 As shown, the equivalent switch 1 is powered by a three-phase controlled voltage source v a v b v c and three-phase controlled current source i a i b i c The system consists of a voltage source connected to the power supply side 3 via interface 1, and current sources connected to the system side via interfaces a, b, and c. Each phase current source is connected in parallel with a resistor R. Additionally, the three-phase voltage V must be monitored on the system side. Mabc Detect the three-phase current i on the power supply side Mabc ;X sThis represents the internal resistance of a non-ideal three-phase power supply.

[0056] As described above, the power switching system for real-time electromagnetic transient simulation provided in this embodiment achieves equivalent switching function by processing the original switching signal through the processing module and controlling the controlled voltage source and controlled current source to output corresponding voltage and current.

[0057] To ensure the normal operation of real-time magnetic transient simulation while increasing the permissible scale of real-time electromagnetic transient simulation, this embodiment provides a power switching method for real-time electromagnetic transient simulation, where the execution entity is a power switching device for real-time electromagnetic transient simulation. This power switching device includes, but is not limited to, a server, and the functions implemented by the power switching device can be equivalent to those implemented by the aforementioned processing module. Figure 4 As shown, this method specifically includes the following:

[0058] Step 100: Acquire the original switch signal, the three-phase current output by the voltage source, the three-phase voltage input to the current source, and the three-phase power supply voltage of the power source.

[0059] Specifically, the original switching signal can represent the target state of the equivalent switch, that is, the expected state of the equivalent switch to be achieved as preset according to actual needs. It can receive the original switching signal sent by the front end of the power switching device. The target state can be an on or off state. The original switching signal is actively given by the user in the electromagnetic transient simulation program according to the actual needs of the switch's on and off times. The three-phase voltage and three-phase current can be obtained through the voltmeter and ammeter modules built into the electromagnetic transient simulation program.

[0060] Step 200: Based on the three-phase current and the original switching signal, obtain the actual three-phase switching state corresponding to the equivalent switch.

[0061] Specifically, the three-phase current i Mabc Delay by one simulation step; the current zero-crossing detection module in the power switching device uses the original switching signal S0 and the delayed i Mabc Using the signal as an example, and based on the principle of "instantaneous turn-on and zero-current turn-off", the actual three-phase switching state S of the equivalent switch is calculated. abc .

[0062] Figure 5 This is a logic diagram of the current zero-crossing detection module. Its inputs are the original switching signal S0 and the arbitrary phase current i after a one-step delay. Mj(j=a,b,c) The output corresponds to "instantaneous turn-on, current zero-crossing turn-off", and the switch state S of this phase is... j(j=a,b,c) The module principle is as follows:

[0063] 1)iMj The absolute value is taken by the |abs| module. If the absolute value is less than the zero-crossing current threshold I0, the current of that phase is considered to have crossed zero, and the logic value 1 is output and entered into the AND gate.

[0064] 2) S0 is input to the AND gate via the NOT gate; according to the characteristics of the AND gate, the output of the AND gate is 1 if and only if the current crosses zero and the original switching signal is the off signal S0 = 0. This output enters the R port of the SR register, causing the register to output S0. j =0.

[0065] 3) S0 is simultaneously input directly to the S terminal of the SR register. When S0 changes from 0 to 1, i.e., when an on signal is received, the S terminal of the register becomes 1. From 2), we know that the R terminal of the register becomes 0. According to the characteristics of the SR register, the register outputs S... j =1, thus achieving instantaneous turn-on; when S0 changes from 1 to 0, that is, when a turn-off signal is received, the AND gate outputs 1 if and only if the current crosses zero and S0 = 0. According to the characteristics of the SR register, the register outputs S j =0, thus achieving zero-crossing current turn-off. Original switching signal S0, delayed current i Mj The j-th phase switch signal (i.e., the actual switch state of the j-th phase) S j The correspondence can be found in Table 1.

[0066] Table 1

[0067] Original switch signal S0 <![CDATA[Delayed current i Mj > <![CDATA[Phase j switching signal S j > Shutdown signal 0 <![CDATA[i Mj< I0]]> Shutdown signal 0 Shutdown signal 0 <![CDATA[i Mj≥ I0]]> Signal 1 Shutdown signal 1 <![CDATA[i Mj< I0]]> Signal 1 Shutdown signal 1 <![CDATA[i Mj≥ I0]]> Signal 1

[0068] Step 300: Based on the actual three-phase switch states, three-phase currents, three-phase voltages, and three-phase power supply voltages, obtain the three-phase current signal corresponding to the current source and the three-phase voltage signal corresponding to the voltage source.

[0069] Specifically, the actual three-phase switching state S can be... abc With the delayed three-phase current i Mabc Multiplying the three phases separately yields the signal i of the three-phase controlled current source on the system side. abc (i.e. i a i b i c The three-phase current signal corresponding to the current source can be identified; the actual three-phase switching state S can be determined. abc Three-phase power supply voltage V Sabc Three-phase voltage V Mabc As a signal, the three-phase voltage signal v is determined. abc The value of is given, assuming j is a three-phase number, j = a, b, c. If S j =0, then v j =v Sj If S j=1, then v j =v Mj S j =0 indicates that the switch signal of phase j (j=a,b,c) is off; v Sabc It is a known quantity that can be directly measured. The j-th phase switch signal S j Phase j power supply voltage v Sj Phase j voltage v Mj The correspondence between them can be shown in Table 2.

[0070] Table 2

[0071] <![CDATA[Phase j switching signal S j > <![CDATA[Phase j voltage signal v j > Shutdown signal 0 <![CDATA[v j =in Sj ]]> Shutdown signal 1 <![CDATA[v j =in Mj ]]>

[0072] Step 400: Based on the three-phase current signal and the three-phase voltage signal, complete the switching of the power supply.

[0073] Specifically, the three-phase current output from the voltage source can be adjusted to the three-phase current signal, and the three-phase voltage input to the current source can be adjusted to the three-phase voltage signal to complete the switching of the power supply; the V ultimately calculated by the control module abc and i abc The value is used to simulate the switching on and off of the switch, S j =0, then the power is off; S a =1,S b =1, and S c =1 indicates that the power is on.

[0074] To improve the accuracy of three-phase voltage signals, see [reference needed]. Figure 6 In one embodiment of this application, step 300 includes:

[0075] Step 310: Multiply the actual three-phase switching state and the three-phase current respectively for each phase to obtain the three-phase current signal corresponding to the current source;

[0076] Step 320: Based on the actual three-phase switching state, three-phase voltage, and three-phase power supply voltage, obtain the three-phase voltage signal corresponding to the voltage source.

[0077] To improve the accuracy of the three-phase voltage signal, in one embodiment of this application, step 320 includes:

[0078] Step 321: When the first phase of the three-phase actual switching state is in the off state, the first phase voltage signal in the three-phase voltage signal of the voltage source is determined as the first phase voltage in the three-phase voltage.

[0079] Step 322: When the first phase of the three-phase actual switching state is in the on state, the first phase voltage signal of the three-phase voltage signal of the voltage source is determined as the first phase voltage of the three-phase power supply voltage; the first phase is any one of the three phases.

[0080] like Figure 7 and Figure 8 As shown, in one example, in a power grid with one existing power source and one load, an additional power source can be connected or disconnected. A power source connection signal is sent at 0.2s, and a power source disconnection signal is sent at 0.25s. Figure 7 and Figure 8 It is evident that, compared to the traditional method of switching using circuit breakers, the power switching method proposed in this application can accurately simulate the power switching process controlled by circuit breakers, thereby reducing the number of switches in the simulation model and increasing the simulation scale of the real-time simulator.

[0081] From a software perspective, in order to increase the permissible scale of real-time electromagnetic transient simulation while ensuring the normal operation of the magnetic transient simulation, this application provides an embodiment of a power switching device for real-time electromagnetic transient simulation that implements all or part of the power switching method for real-time electromagnetic transient simulation. See [link to embodiment]. Figure 9 The power switching device for real-time electromagnetic transient simulation specifically includes the following components:

[0082] The acquisition module 10 is used to acquire the original switch signal, the three-phase current output by the voltage source, the three-phase voltage of the input current source, and the three-phase power supply voltage of the power supply.

[0083] The state determination module 20 is used to obtain the actual three-phase switching state corresponding to the equivalent switch based on the three-phase current and the original switching signal.

[0084] The signal determination module 30 is used to obtain the three-phase current signal corresponding to the current source and the three-phase voltage signal corresponding to the voltage source based on the actual three-phase switching state, three-phase current, three-phase voltage and three-phase power supply voltage.

[0085] The power switching module 40 is used to switch the power supply according to the three-phase current signal and the three-phase voltage signal.

[0086] The embodiments of the power switching device for real-time electromagnetic transient simulation provided in this specification can be used to execute the processing flow of the embodiments of the power switching method for real-time electromagnetic transient simulation described above. Its functions will not be repeated here, but can be referred to the detailed description of the embodiments of the power switching method for real-time electromagnetic transient simulation described above.

[0087] As can be seen from the above description, the power switching system, method and apparatus for real-time electromagnetic transient simulation provided in this application can improve the allowable scale of real-time electromagnetic transient simulation while ensuring the normal operation of real-time electromagnetic transient simulation. Specifically, it can be applied to the real-time electromagnetic transient simulation of large-scale, high-proportion new energy systems, replacing the traditional power switching method based on circuit breakers, reducing the number of switches in the simulation model and increasing the simulation scale of the real-time simulator.

[0088] From a hardware perspective, in order to increase the permissible scale of real-time electromagnetic transient simulation while ensuring the normal operation of real-time magnetic transient simulation, this application provides an embodiment of an electronic device for implementing all or part of the power switching method for real-time electromagnetic transient simulation. The electronic device specifically includes the following components:

[0089] The device comprises a processor, memory, a communications interface, and a bus; wherein the processor, memory, and communications interface communicate with each other via the bus; the communications interface is used to realize information transmission between the power switching device for real-time electromagnetic transient simulation and related devices such as user terminals; the electronic device can be a desktop computer, tablet computer, or mobile terminal, etc., and this embodiment is not limited to these. In this embodiment, the electronic device can be implemented with reference to the embodiments for implementing the power switching method for real-time electromagnetic transient simulation and the embodiments for implementing the power switching device for real-time electromagnetic transient simulation, the contents of which are incorporated herein, and repeated details will not be described again.

[0090] Figure 10 This is a schematic block diagram illustrating the system configuration of the electronic device 9600 according to an embodiment of this application. Figure 10 As shown, the electronic device 9600 may include a central processing unit 9100 and a memory 9140; the memory 9140 is coupled to the central processing unit 9100. It is worth noting that... Figure 10 This is an example; other types of structures can also be used to supplement or replace this structure to achieve telecommunications functions or other functions.

[0091] In one or more embodiments of this application, the power switching function for real-time electromagnetic transient simulation can be integrated into the central processing unit 9100. The central processing unit 9100 can be configured to perform the following control:

[0092] Step 100: Acquire the original switch signal, the three-phase current output by the voltage source, the three-phase voltage input to the current source, and the three-phase power supply voltage of the power source;

[0093] Step 200: Based on the three-phase current and the original switching signal, obtain the actual three-phase switching state corresponding to the equivalent switch;

[0094] Step 300: Based on the actual three-phase switching state, three-phase current, three-phase voltage, and three-phase power supply voltage, obtain the three-phase current signal corresponding to the current source and the three-phase voltage signal corresponding to the voltage source;

[0095] Step 400: Based on the three-phase current signal and the three-phase voltage signal, complete the switching of the power supply.

[0096] As can be seen from the above description, the electronic device provided by the embodiments of this application can improve the permissible scale of electromagnetic transient real-time simulation while ensuring the normal operation of magnetic transient real-time simulation.

[0097] In another embodiment, the power switching device for real-time electromagnetic transient simulation can be configured separately from the central processing unit 9100. For example, the power switching device for real-time electromagnetic transient simulation can be configured as a chip connected to the central processing unit 9100, and the power switching function for real-time electromagnetic transient simulation can be realized through the control of the central processing unit.

[0098] like Figure 10 As shown, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is worth noting that the electronic device 9600 does not necessarily need to include these components. Figure 10 All components shown; in addition, the electronic device 9600 may also include Figure 10 For components not shown, please refer to existing technologies.

[0099] like Figure 10 As shown, the central processing unit 9100, sometimes also referred to as a controller or operating control, may include a microprocessor or other processor device and / or logic device, which receives input and controls the operation of various components of the electronic device 9600.

[0100] The memory 9140 may be, for example, one or more of a cache, flash memory, hard drive, removable media, volatile memory, non-volatile memory, or other suitable devices. It may store the aforementioned failure-related information, and also store a program for executing that information. The central processing unit 9100 may execute the program stored in the memory 9140 to perform information storage or processing, etc.

[0101] Input unit 9120 provides input to central processing unit 9100. Input unit 9120 may be, for example, a keypad or touch input device. Power supply 9170 provides power to electronic device 9600. Display 9160 displays images and text. Display may be, for example, an LCD display, but is not limited thereto.

[0102] The memory 9140 can be a solid-state memory, such as a read-only memory (ROM), random access memory (RAM), a SIM card, etc. It can also be a memory that retains information even when power is off, can be selectively erased, and contains more data; examples of this type of memory are sometimes referred to as EPROMs. The memory 9140 can also be some other type of device. The memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application / function storage unit 9142 for storing application programs and function programs or processes for executing the operation of the electronic device 9600 via the central processing unit 9100.

[0103] The memory 9140 may also include a data storage unit 9143 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 9144 of the memory 9140 may include various drivers for the electronic device's communication functions and / or for performing other functions of the electronic device (such as messaging applications, address book applications, etc.).

[0104] The communication module 9110 is a transmitter / receiver 9110 that transmits and receives signals via the antenna 9111. The communication module (transmitter / receiver) 9110 is coupled to the central processing unit 9100 to provide input signals and receive output signals, which can be the same as in a conventional mobile communication terminal.

[0105] Based on different communication technologies, multiple communication modules 9110 can be configured in the same electronic device, such as cellular network modules, Bluetooth modules, and / or wireless LAN modules. The communication module (transmitter / receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and receive audio input from the microphone 9132, thereby realizing typical telecommunications functions. The audio processor 9130 may include any suitable buffer, decoder, amplifier, etc. Additionally, the audio processor 9130 is coupled to a central processing unit 9100, enabling on-device recording via the microphone 9132 and on-device playback of stored sound via the speaker 9131.

[0106] As can be seen from the above description, the electronic device provided by the embodiments of this application can improve the permissible scale of electromagnetic transient real-time simulation while ensuring the normal operation of magnetic transient real-time simulation.

[0107] Embodiments of this application also provide a computer-readable storage medium capable of implementing all steps of the power switching method for real-time electromagnetic transient simulation described in the above embodiments. The computer-readable storage medium stores a computer program that, when executed by a processor, implements all steps of the power switching method for real-time electromagnetic transient simulation described in the above embodiments. For example, when the processor executes the computer program, it implements the following steps:

[0108] Step 100: Acquire the original switch signal, the three-phase current output by the voltage source, the three-phase voltage input to the current source, and the three-phase power supply voltage of the power source;

[0109] Step 200: Based on the three-phase current and the original switching signal, obtain the actual three-phase switching state corresponding to the equivalent switch;

[0110] Step 300: Based on the actual three-phase switching state, three-phase current, three-phase voltage, and three-phase power supply voltage, obtain the three-phase current signal corresponding to the current source and the three-phase voltage signal corresponding to the voltage source;

[0111] Step 400: Based on the three-phase current signal and the three-phase voltage signal, complete the switching of the power supply.

[0112] As can be seen from the above description, the computer-readable storage medium provided in the embodiments of this application can improve the permissible scale of electromagnetic transient real-time simulation while ensuring the normal operation of magnetic transient real-time simulation.

[0113] The various embodiments of the methods described in this application are presented in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. Relevant details can be found in the descriptions of the method embodiments.

[0114] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0115] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0116] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0117] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0118] This application uses specific embodiments to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A power switching system for real-time simulation of electromagnetic transients, characterized in that, include: Equivalent switch and processing module; The equivalent switch includes: a controlled voltage source and a controlled current source; The processing module is connected to the voltage source, the current source, and a power supply for real-time electromagnetic transient simulation, respectively, and the voltage source is connected to the power supply. The processing module is used to acquire the original switching signal, the three-phase current output by the voltage source, the three-phase voltage input to the current source, and the three-phase power supply voltage of the power source; determine the three-phase current signal corresponding to the current source and the three-phase voltage signal corresponding to the voltage source based on the original switching signal, three-phase current, three-phase voltage, and three-phase power supply voltage; and complete the switching of the power supply based on the three-phase current signal and the three-phase voltage signal. The step of determining the three-phase current signal corresponding to the current source and the three-phase voltage signal corresponding to the voltage source based on the original switching signal, three-phase current, three-phase voltage, and three-phase power supply voltage includes: Based on current zero-crossing detection, the actual three-phase switching state corresponding to the equivalent switch is obtained according to the three-phase current and the original switching signal; the actual three-phase switching state and the three-phase current are multiplied by each phase to obtain the three-phase current signal corresponding to the current source; the three-phase voltage signal corresponding to the voltage source is obtained according to the actual three-phase switching state, the three-phase voltage and the three-phase power supply voltage. The current source is a three-phase controlled current source; each phase of the three-phase controlled current source is connected in parallel with a resistor; the resistance value of each resistor is... It is obtained based on the preset simulation step size, the impedance of the power supply, and the fundamental frequency: Where X is the impedance of the power supply; f is the fundamental frequency; is the simulation step size; k is an adjustable parameter.

2. The power switching system of claim 1, wherein, The voltage source is a three-phase controlled voltage source.

3. A method for power switching for electromagnetic transient real-time simulation, characterized in that, The application is implemented using the power switching system as described in claim 1 or 2, comprising: The system acquires the original switch signal, the three-phase current output by the voltage source, the three-phase voltage input to the current source, and the three-phase power supply voltage of the power source. Based on the three-phase current and the original switching signal, the actual three-phase switching state corresponding to the equivalent switch is obtained; Based on the actual three-phase switching state, three-phase current, three-phase voltage, and three-phase power supply voltage, the three-phase current signal corresponding to the current source and the three-phase voltage signal corresponding to the voltage source are obtained; The power supply is switched on and off based on the three-phase current signal and the three-phase voltage signal.

4. The power switching method according to claim 3, characterized in that, The step of obtaining the three-phase current signal corresponding to the current source and the three-phase voltage signal corresponding to the voltage source based on the actual three-phase switching state, three-phase current, three-phase voltage, and three-phase power supply voltage includes: Multiply the actual three-phase switching state and the three-phase current respectively for each phase to obtain the three-phase current signal corresponding to the current source; Based on the actual three-phase switching state, three-phase voltage, and three-phase power supply voltage, the three-phase voltage signal corresponding to the voltage source is obtained.

5. The method for power switching for electromagnetic transient real-time simulation of claim 4, wherein, The step of obtaining the three-phase voltage signal corresponding to the voltage source based on the actual three-phase switching state, three-phase voltage, and three-phase power supply voltage includes: When the first phase of the three-phase actual switching state is in the off state, the first phase voltage signal in the three-phase voltage signal of the voltage source is determined as the first phase voltage in the three-phase voltage. When the first phase of the three-phase actual switching state is in the on state, the first phase voltage signal in the three-phase voltage signal of the voltage source is determined as the first phase voltage in the three-phase power supply voltage; The first phase can be any one of the three phases.

6. A power switching device for electromagnetic transient real-time simulation, characterized by, The power switching system for real-time electromagnetic transient simulation as described in claim 1 or 2, the device comprising: The acquisition module is used to acquire the original switch signal, the three-phase current output by the voltage source, the three-phase voltage of the input current source, and the three-phase power supply voltage of the power supply. The state determination module is used to obtain the actual three-phase switching state corresponding to the equivalent switch based on the three-phase current and the original switching signal. The signal determination module is used to obtain the three-phase current signal corresponding to the current source and the three-phase voltage signal corresponding to the voltage source based on the actual three-phase switching state, three-phase current, three-phase voltage and three-phase power supply voltage; The power switching module is used to switch the power supply according to the three-phase current signal and the three-phase voltage signal.

7. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the power switching method according to any one of claims 3 to 5.

8. A computer readable storage medium having stored thereon computer instructions, wherein, When the instruction is executed, it implements the power switching method according to any one of claims 3 to 5.

Citation Information

Patent Citations

  • Electrical switch and electrical switch system for emulation, and emulation method

    CN102226902A