Real-time simulation method, device, electronic device and storage medium for power transmission system

Through the software and hardware collaborative acceleration platform of the system on a chip, a scalar engine and an adaptive engine are used to perform parallel simulation calculations on the transmission system, which solves the problem that traditional electromagnetic transient simulation tools cannot meet the requirements of refined real-time simulation of large-scale power grid systems, and realizes refined real-time simulation and safety assessment of the transmission system.

CN119575839BActive Publication Date: 2025-09-30ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411820169.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-11
Publication Date
2025-09-30
Estimated Expiration
2044-12-11

AI Technical Summary

Technical Problem

Traditional electromagnetic transient simulation tools cannot meet the needs of refined real-time simulation of large-scale power grid systems, and cannot accurately characterize the complex dynamic processes and characteristics of new power systems.

Method used

The system on chip is used as a collaborative acceleration platform for software and hardware. The scalar engine and adaptive engine are used to perform parallel simulation calculations on the circuits of the transmission system. Combined with computing power splitting and parallel computing technology, real-time simulation of the transmission system is achieved.

Benefits of technology

It achieves refined real-time simulation of large-scale power transmission systems, meets the actual simulation and analysis needs of the power grid, and can verify planning schemes in a hardware-in-the-loop environment, reducing the difficulty of power electronic switch selection and debugging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119575839B_ABST
    Figure CN119575839B_ABST
Patent Text Reader

Abstract

The present invention discloses a real-time simulation method, device, electronic device, and storage medium for a power transmission system, which are used to solve the problem that traditional electromagnetic transient simulation is completely unable to meet the actual simulation analysis requirements of the power grid and cannot achieve large-scale refined real-time simulation effects. The method uses a system on a chip as a software and hardware collaborative acceleration platform for the power transmission system, and the software and hardware collaborative acceleration platform includes a scalar engine and an adaptive engine; obtains the main circuit and the first-level sub-module circuit of the power transmission system; performs circuit segmentation on the first-level sub-module circuit to obtain multiple second-level sub-module circuits, and divides the multiple second-level sub-module circuits into multiple first sub-module circuits and multiple second sub-module circuits; performs parallel simulation calculations on the simulation tasks of each second sub-module circuit through the scalar engine, and performs parallel simulation calculations on the simulation tasks of the main circuit and each first sub-module circuit through the adaptive engine; and outputs the power simulation results of the power transmission system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power simulation technology, and in particular to a real-time simulation method, device, electronic equipment and storage medium for a power transmission system. Background Art

[0002] Compared to traditional power systems, which are dominated by electromechanical transients of AC motors, the stable operating characteristics of new power systems have undergone significant changes. The microsecond-scale switching processes of large-scale power electronic devices (such as renewable energy, DC, and energy storage) are intertwined with the millisecond and second-scale transient processes of AC motors, resulting in new stability phenomena such as broadband oscillations.

[0003] Accurately characterizing the complex dynamic processes and characteristics of new power systems relies on electromagnetic transient simulation. However, traditional electromagnetic transient simulation tools are primarily designed for fine-grained simulation of electromagnetic processes in DC power electronics and small-scale systems. They are not adapted for large-scale system simulation in terms of computing, memory, and communication. This makes it difficult to meet the performance requirements of real-time, microsecond-level electromagnetic transient simulation for large-scale systems. In other words, traditional electromagnetic transient simulation tools are completely unable to meet the actual simulation and analysis needs of power grids and cannot achieve the results of large-scale, fine-grained, real-time simulation. Summary of the Invention

[0004] The present invention provides a real-time simulation method, device, electronic device and storage medium for a power transmission system, which are used to solve or partially solve the problem that traditional electromagnetic transient simulation is completely unable to meet the actual simulation and analysis requirements of the power grid and cannot achieve large-scale and refined real-time simulation effects.

[0005] The present invention provides a real-time simulation method for a power transmission system, which uses a system-on-chip as a software and hardware collaborative acceleration platform for the power transmission system. The software and hardware collaborative acceleration platform includes a scalar engine and an adaptive engine. The real-time simulation method for the power transmission system includes:

[0006] Obtaining a main circuit and a primary submodule circuit of the power transmission system;

[0007] Performing circuit segmentation on the first-level submodule circuit to obtain a plurality of second-level submodule circuits, and dividing the plurality of second-level submodule circuits into a plurality of first submodule circuits and a plurality of second submodule circuits;

[0008] Performing parallel simulation calculations on the simulation tasks of each of the second submodule circuits through the scalar engine, and performing parallel simulation calculations on the simulation tasks of the main circuit and each of the first submodule circuits through the adaptive engine;

[0009] Outputting power simulation results of the power transmission system.

[0010] Optionally, dividing the first-level submodule circuit to obtain a plurality of second-level submodule circuits, and dividing the plurality of second-level submodule circuits into a plurality of first submodule circuits and a plurality of second submodule circuits includes:

[0011] By using the extremely short transmission line theory, the first-level sub-module circuit is divided into circuits to obtain multiple second-level sub-module circuits;

[0012] A simulation task evaluation is performed on each of the secondary submodule circuits respectively, and based on the simulation task evaluation results, the multiple secondary submodule circuits are further divided into multiple first submodule circuits that are not focused on, and multiple second submodule circuits that are focused on.

[0013] Optionally, performing parallel simulation calculations on the simulation tasks of each second submodule circuit by the scalar engine, and performing parallel simulation calculations on the simulation tasks of the main circuit and each first submodule circuit by the adaptive engine, includes:

[0014] Distributing the simulation tasks of the second submodule circuits of particular interest to the scalar engines, so as to perform parallel simulation calculations on the simulation tasks of the second submodule circuits through the scalar engines;

[0015] The simulation tasks of the first submodule circuits and the main circuit that are not of primary concern are distributed to the adaptive engine, so that the simulation tasks of the main circuit and each of the first submodule circuits are simulated and calculated in parallel by the adaptive engine.

[0016] Optionally, the software and hardware collaborative acceleration platform also includes an intra-chip communication network, which is used to connect different types of engines in the software and hardware collaborative acceleration platform to achieve computing information interaction of the circuit network corresponding to the power transmission system after final segmentation.

[0017] Optionally, the power transmission system real-time simulation method further includes:

[0018] During the simulation calculation process, the historical current source data of the previous step of the theoretical segmentation nodes of all transmission lines in the circuit network are exchanged through the on-chip communication network to solve the node voltage of the current step.

[0019] Optionally, the internal circuit of each of the secondary sub-module circuits is a built-in capacitor and its power electronic switch for maintaining the DC voltage; the power electronic switch is used to control the built-in capacitor to be connected to or cut out of the main circuit; the control form of the secondary sub-module circuit includes dual closed-loop control, sub-module voltage equalization control, and bridge arm circulation suppression control.

[0020] Optionally, the main circuit is obtained by a Norton equivalent method.

[0021] The present invention also provides a real-time simulation device for a power transmission system, which uses a system-on-chip as a software and hardware collaborative acceleration platform for the power transmission system. The software and hardware collaborative acceleration platform includes a scalar engine and an adaptive engine. The real-time simulation device for the power transmission system includes:

[0022] A circuit acquisition unit, configured to acquire the main circuit and the first-level submodule circuit of the power transmission system;

[0023] a circuit segmentation unit, configured to segment the first-level submodule circuit to obtain a plurality of second-level submodule circuits, and divide the plurality of second-level submodule circuits into a plurality of first submodule circuits and a plurality of second submodule circuits;

[0024] a simulation calculation unit, configured to perform parallel simulation calculations on the simulation tasks of each of the second submodule circuits through the scalar engine, and to perform parallel simulation calculations on the simulation tasks of the main circuit and each of the first submodule circuits through the adaptive engine;

[0025] The simulation result output unit is used to output the power simulation result of the power transmission system.

[0026] The present invention further provides an electronic device, comprising a processor and a memory:

[0027] The memory is used to store program code and transmit the program code to the processor;

[0028] The processor is configured to execute any one of the above methods for real-time simulation of a power transmission system according to instructions in the program code.

[0029] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and the program code is used to execute the real-time simulation method of the power transmission system as described in any one of the above items.

[0030] It can be seen from the above technical solutions that the present invention has the following advantages:

[0031] A real-time simulation method for a power transmission system is provided. The method utilizes a system-on-chip (SoC) as a hardware-software collaborative acceleration platform for the power transmission system. The hardware-software collaborative acceleration platform includes a scalar engine and an adaptive engine. The method first obtains the main circuit and first-level submodule circuits of the power transmission system. The first-level submodule circuit is then segmented to obtain multiple second-level submodule circuits, which are then divided into multiple first submodule circuits and multiple second submodule circuits. The scalar engine then performs parallel simulation calculations on the simulation tasks for each second submodule circuit, and the adaptive engine performs parallel simulation calculations on the simulation tasks for the main circuit and each first submodule circuit. Finally, the method outputs the power simulation results of the power transmission system. Thus, for the real-time simulation process of the power transmission system, circuit segmentation is first used to divide the computing power of a large-scale power transmission system simulation task according to the submodule level. The simulation tasks for the multiple submodule circuits are then sent to different processing engines for independent parallel calculations to obtain simulation results. In this process, the fine-grained division reflected by the power splitting and the independent parallel calculation of each processing engine is equivalent to dividing a large simulation task into multiple small simulation tasks. By independently performing parallel calculations on these small simulation tasks, the overall simulation time is greatly shortened, the simulation efficiency is improved, and the actual simulation analysis needs of the power grid are met. Furthermore, based on the technical concept of combining power splitting with independent parallel calculations, the technical solution of the present invention can be applied to larger-scale power systems, thereby achieving large-scale refined real-time simulation effects. Thus, the power of the circuits of the transmission system is split in combination with the resource characteristics of the on-chip system. At the same time, through the parallel simulation calculation of the divided circuit network, not only can the actual simulation analysis needs of the power grid be met, but also large-scale refined real-time simulation effects can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0033] Figure 1 A schematic diagram of the working principle and structure of a software and hardware collaborative acceleration platform for power transmission systems;

[0034] Figure 2 A flowchart of the steps of a real-time simulation method for a power transmission system;

[0035] Figure 3 This is an example diagram of the circuit principle structure of the left half of a power transmission system;

[0036] Figure 4This is an example diagram of a large number of connected submodules combined into different AC output voltage levels through control;

[0037] Figure 5 It is a schematic diagram of the overall process of a real-time simulation method for a power transmission system;

[0038] Figure 6 This is a structural block diagram of a real-time simulation device for a power transmission system. DETAILED DESCRIPTION

[0039] The embodiments of the present invention provide a real-time simulation method, device, electronic device and storage medium for a power transmission system, which are used to solve or partially solve the problem that traditional electromagnetic transient simulation is completely unable to meet the actual simulation and analysis requirements of the power grid and cannot achieve large-scale and refined real-time simulation effects.

[0040] In order to make the purpose, features, and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0041] As an example, accurately characterizing the complex dynamic processes and characteristics of new power systems relies on electromagnetic transient simulation. However, traditional electromagnetic transient simulation tools are primarily designed for fine-grained simulation of electromagnetic processes in power electronic equipment and small-scale systems, such as DC systems. They are not adapted for large-scale system simulation in terms of computing, memory, and communication. Consequently, they struggle to meet the performance requirements for real-time, microsecond-level electromagnetic transient simulation of large-scale systems. In other words, traditional electromagnetic transient simulation tools are completely incapable of meeting the actual simulation and analysis needs of power grids and are unable to achieve the results of large-scale, fine-grained, real-time simulation.

[0042] For example, in actual power grid simulation analysis, simulation software is typically used on personal computers. Simulating a 20-second dynamic process for a power grid equivalent system consisting of 11 DC circuits, 600 synchronous generators, and 2,000 nodes takes six hours. Considering renewable energy systems, simulating a detailed model of just 50 photovoltaic power generation units alone takes four hours. Furthermore, considering the randomness of renewable energy output, line maintenance, and various fault types, tens of thousands of scenarios need to be simulated for grid safety and stability verification. Assuming that electromagnetic transient simulation takes six hours per scenario, considering 100,000 scenarios would require 600,000 hours.

[0043] Therefore, it is urgent to break through the key heterogeneous series and parallel technologies of software and hardware collaborative optimization to solve the problem of insufficient microsecond-level electromagnetic transient acceleration simulation performance in large-scale systems, so as to fully support the complex transient characteristics analysis and safe and stable operation of new power systems.

[0044] Flexible DC transmission systems are an essential energy transmission link in modern power systems. They are responsible for transmitting large amounts of renewable energy generation from remote areas to high-density receiving grids. Therefore, comprehensively assessing the safety and adequacy of flexible DC transmission systems is crucial for large-scale early planning and subsequent commissioning by power companies. By establishing a real-time simulation system and integrating it into a hardware-in-the-loop (HIL) environment, planning schemes can be effectively validated, allowing for further design and planning adjustments.

[0045] However, there are considerable challenges in establishing a real-time simulation system for the power transmission system. On the one hand, the accuracy of the model must be considered. The present invention believes that if the device-level refined real-time simulation model can be embedded in the hardware-in-the-loop scenario, it will greatly reduce the difficulty of early planning of power electronic switch selection and testing and later replacement and debugging of new devices. On the other hand, the sudden increase in computing power due to refined modeling must also be taken into account. Due to refined modeling, the number of network nodes has increased exponentially. Therefore, it is urgent to optimize the node network and increase the possibility of parallel computing while reducing the dependence on serial computing. If these two issues cannot be balanced well, the effect of large-scale refined real-time simulation will not be achieved.

[0046] A system on a chip (SoC) integrates multiple computing engines (such as scalar, vector, and adaptive engines) within a single chip, along with various peripheral controllers, memory controllers, and intra- and inter-board communication interfaces. This type of computing platform offers a flexible solution for configuring computing resources for the complex and ever-changing computing scenarios in new power systems. Based on this, different hardware-software acceleration solutions are applied to achieve real-time electromagnetic transient simulation, ultimately verifying the safety and robustness of the soft power system through hardware-in-the-loop (HIL).

[0047] Therefore, one of the core invention points of the embodiment of the present invention is: in response to the shortcomings of traditional electromagnetic simulation methods, a real-time simulation method for a device-level flexible direct current transmission system is provided based on a system on chip. First, the main circuit and the first-level sub-module circuit in the equivalent form of the transmission system are obtained; then, the first-level sub-module circuit is divided into circuits based on the extremely short transmission line theory to obtain multiple second-level sub-module circuits, and the multiple second-level sub-module circuits are divided into multiple first sub-module circuits and multiple second sub-module circuits; then, the simulation tasks of each second sub-module circuit are parallelly simulated and calculated by the scalar engine, and the simulation tasks of the main circuit and each first sub-module circuit are parallelly simulated and calculated by the adaptive engine; finally, the power simulation results of the transmission system are output. In this way, the computing power of the circuit of the transmission system is divided in combination with the resource characteristics of the system on chip, and at the same time, through the parallel simulation calculation of the divided circuit network, not only can the actual simulation analysis needs of the power grid be met, but also large-scale refined real-time simulation effects can be achieved. The technical solution provided by the present invention takes into account circuit computing power segmentation, computing power evaluation, performance balancing, computing power splicing and real-time interaction. It can not only realize the device-level refined modeling of the transmission system, but also achieve real-time computing efficiency. At the same time, it can be connected to hardware-in-the-loop testing to evaluate the safety and adequacy of the transmission system and its control system.

[0048] Reference Figure 1 , showing a schematic structural diagram of the working principle of a software and hardware collaborative acceleration platform for a power transmission system provided by an embodiment of the present invention.

[0049] like Figure 1 As shown, an embodiment of the present invention utilizes a system-on-chip (SoC) as a hardware-software collaborative acceleration platform. This platform primarily comprises a scalar engine (i.e., a processor), an adaptive engine (i.e., reconfigurable hardware), and an intelligent engine (i.e., AI hardware). Each engine can be interconnected and coordinated via an ultra-high-speed, low-latency dedicated on-chip communication network (hereinafter referred to as the intra-chip communication network), ultimately enabling highly optimized serial and parallel computing tasks to achieve real-time simulation results. In other words, the intra-chip communication network of the hardware-software collaborative acceleration platform can be used to connect different types of engines within the platform, enabling computational information exchange across the circuit networks corresponding to the final segmented power transmission system.

[0050] The SoC has a limited number of scalar engines, which are suitable for highly serialized tasks. These engines operate at gigahertz frequencies. Their efficiency can be improved by increasing the clock speed and optimizing compilation.

[0051] The Adaptive Engine is a massive on-chip reconfigurable hardware resource. Operating at hundreds of MHz, it is suitable for a massively parallel computing architecture. By highly parallelizing its computing tasks, it improves efficiency.

[0052] The Intelligent Engine is dedicated hardware for AI inference. It features hundreds of matrix units operating at gigahertz frequencies, along with specialized multiplication hardware. The Intelligent Engine's primary function is to provide specialized computing power to support complex applications and services, providing a highly efficient execution tool for specialized acceleration of AI inference.

[0053] The on-chip communication network connects various engines, enabling coordinated hardware and software acceleration. Ultra-high-speed, low-latency interconnection via the on-chip communication network enables computational information exchange between separate circuits.

[0054] Software acceleration is achieved by optimizing code and compiling on specialized hardware such as processors to achieve high-efficiency execution. Hardware acceleration is achieved by recombining and re-arranging electronic component-level logical computing units on reconfigurable hardware to achieve low-latency and high-parallelism computing acceleration.

[0055] Combined with the content introduced above, refer to Figure 2 , shows a flowchart of a method for real-time simulation of a power transmission system provided by an embodiment of the present invention, which may specifically include the following steps:

[0056] Step 201, obtaining the main circuit and the first-level submodule circuit of the power transmission system;

[0057] In order to enable those skilled in the art to better understand the technical solution of the present invention, illustratively, Figure 3 An example circuit schematic diagram of the left half of a power transmission system is shown.

[0058] By mirroring the right and left halves, a complete flexible DC transmission system can be created. For the DC connection between the left and right halves, models of various types of transmission lines can be added.

[0059] The AC to DC end is composed of resistors, inductors, and a large number of sub-modules (SMs). A large number of connected sub-modules can be controlled to combine into different AC output voltage levels, such as Figure 4 shown.

[0060] To keep the DC voltage constant, the number of submodules in use remains constant. Generally speaking, the number of submodules in operation is half of the total number of submodules, and is an even number, to ensure that the number of DC voltage zero-crossing modulation levels equals the number of submodules in use + 1.

[0061] Combine Figure 4 The dashed box on the right indicates that the transmission system operates in a five-level mode. The number of upper and lower bridge arms is fixed, but submodules are located in different locations based on the differences in capacitor charge and discharge to ensure balanced capacitor charge and discharge.

[0062] The greater the number of submodules, the more similar the shape of the fitted sine wave is, and the smaller the amplitude of the higher harmonics is. In large-scale ultra-high voltage direct current transmission systems, hundreds of submodules are often connected in series to form a bridge arm.

[0063] by Figure 3 Taking the power transmission system circuit structure in [1] as an example, the Norton Equivalent Theorem can be used to organize the main circuit into a five-node circuit: three AC port nodes and two DC port nodes. In other words, the main circuit is obtained using the Norton Equivalent method. It should be noted that those skilled in the art can determine the number of AC and DC port nodes in the main circuit based on actual needs and the actual power transmission system structure. It is understood that this invention is not limited to this.

[0064] In order to distinguish the submodule circuits from those obtained after segmentation, the present invention regards the submodule circuits of the power transmission system as a whole and defines them as a first-level submodule circuit.

[0065] Step 202: performing circuit segmentation on the first-level sub-module circuit to obtain a plurality of second-level sub-module circuits, and dividing the plurality of second-level sub-module circuits into a plurality of first sub-module circuits and a plurality of second sub-module circuits;

[0066] In some optional embodiments, performing circuit segmentation on a first-level sub-module circuit to obtain multiple second-level sub-module circuits, and dividing the multiple second-level sub-module circuits into multiple first sub-module circuits and multiple second sub-module circuits may include the following sub-steps S01 to S02:

[0067] S01: Using the extremely short transmission line theory, the first-level sub-module circuit is divided into multiple second-level sub-module circuits;

[0068] Very Short Transmission Line Theory (VST) refers to the principle that when transmission lines are very short in power systems, their inductance and capacitance can be neglected, simplifying analysis and calculations. This theory applies to transmission lines with lengths significantly shorter than the wavelength, typically ranging from a few meters to tens of meters.

[0069] Using the extremely short transmission line theory, we can segment the first-level submodule circuit to obtain multiple second-level submodule circuits. For example, using a single SM submodule as the segmentation granularity, S second-level submodule circuits can be obtained after segmentation. Treating an SM submodule as a second-level submodule circuit can effectively be considered a device-level segmentation granularity. A second-level submodule circuit is also equivalent to a device-level submodule circuit.

[0070] Thus, by circuit segmentation, a circuit network consisting of S secondary sub-module circuits and a main circuit can be formed, and the circuit network contains (S+1) parallel circuit sub-networks to be solved.

[0071] S02: performing simulation task evaluation on each secondary submodule circuit respectively, and based on the simulation task evaluation results, further dividing the multiple secondary submodule circuits into multiple first submodule circuits of non-key concern and multiple second submodule circuits of key concern.

[0072] Due to the limited number of scalar engines, each scalar engine processor can only handle the real-time calculations of a single device-level submodule circuit. Putting hundreds or even thousands of submodule calculations on a scalar engine would be unrealistic and difficult to implement in terms of real-time computing and the burden of computing resources.

[0073] The device-level submodule circuit simulation step size is in the hundreds of nanoseconds. Assume that the number of device-level submodules calculated using the scalar engine is N. The device-level submodule circuit of particular interest (i.e., the second-level submodule circuit of particular interest) can be used as the first submodule circuit. Using the device-level model circuit, this circuit can be assigned to the scalar engine for simulation calculation through case splitting.

[0074] Calculations for device-level submodule circuits (i.e., secondary submodule circuits) and the main circuit that require no particular attention can be assigned to adaptive engines with rich simulation resources through case partitioning, all solved using a system-level circuit model. In this case, the secondary submodule circuits that require no particular attention can also be considered system-level submodule circuits. The simulation step size is in the order of ten microseconds. The number of system-level submodule circuits is denoted as M, where S = M + N.

[0075] Simulation task evaluation can be understood as determining whether the simulation task of a submodule circuit is a priority task. Whether or not this task is a priority can be determined based on user needs or application scenarios. For example, if a user replaces a submodule with one with different parameters for stress testing, the replacement module will be considered a priority for research.

[0076] For example, when hybrid submodules are used, the same bridge arm can include different types of submodules, such as full-bridge submodules and half-bridge submodules. Because the full-bridge submodule provides isolation and protection, the device-level transient simulation waveform of the full-bridge submodule can be focused on.

[0077] The internal circuit of each secondary sub-module circuit is a built-in capacitor that maintains the DC voltage and its power electronic switch; the power electronic switch is used to control the built-in capacitor to be connected or disconnected from the main circuit; the control form of the secondary sub-module circuit includes dual closed-loop control, sub-module voltage equalization control, bridge arm circulation suppression control, etc.

[0078] It should be noted that the above resource allocation scheme is for the circuit solving part. Since the control part requires flexible configuration, it can be placed in the adaptive engine, which does not occupy the scarce scalar engine resources.

[0079] Step 203: Performing parallel simulation calculations on the simulation tasks of each of the second submodule circuits by the scalar engine, and performing parallel simulation calculations on the simulation tasks of the main circuit and each of the first submodule circuits by the adaptive engine;

[0080] In combination with the previous discussion, in some optional embodiments, the simulation tasks of each second sub-module circuit are simulated and calculated in parallel through a scalar engine, and the simulation tasks of the main circuit and each first sub-module circuit are simulated and calculated in parallel through an adaptive engine. Specifically, the simulation tasks of the second sub-module circuit that is the focus of attention are distributed in the scalar engine, so that the simulation tasks of each second sub-module circuit are simulated and calculated in parallel through the scalar engine; the simulation tasks of the first sub-module circuit and the main circuit that are not the focus of attention are distributed in the adaptive engine, so that the simulation tasks of the main circuit and each first sub-module circuit are simulated and calculated in parallel through the adaptive engine.

[0081] In conjunction with the previous discussion, data from various computational units can be exchanged via the on-chip communication network, providing historical current source data from the previous step for all theoretical transmission line segmentation nodes to solve the node voltage for the current step. During the simulation process, historical current source data from the previous step for all theoretical transmission line segmentation nodes in the circuit network can be exchanged via the on-chip communication network to solve the node voltage for the current step.

[0082] Assume that in a simulation, a total of 300 submodule circuits are used in the power transmission system. After segmenting the entire first-level submodule circuit, 300 device-level submodule circuits (i.e., second-level submodule circuits) are obtained. Together with the original overall circuit (i.e., the main circuit), this corresponds to 301 circuit simulation tasks that need to be calculated.

[0083] Parallel simulation computing refers to solving the simulation tasks corresponding to 300 device-level sub-module circuits and an overall main circuit (a total of 301 circuits) in an independent and parallel operation mode.

[0084] The user determines the computing resource to which the parallel solution computational tasks are assigned. Simulation tasks can be assigned to adaptive engines, such as assigning the simulation of less important device-level submodule circuits (which can be considered system-level submodule circuits) to parallel FPGA (Field-Programmable Gate Array) resources. Alternatively, simulation tasks can be assigned to resource-limited scalar engines, such as assigning the simulation of more important device-level submodule circuits to processor resources.

[0085] Step 204: output the power simulation result of the power transmission system.

[0086] After completing all simulation tasks, the overall power simulation results of the transmission system can be output.

[0087] In an embodiment of the present invention, a real-time simulation method for a device-level flexible direct current transmission system based on a system-on-chip is provided. By combining the resource characteristics of the system-on-chip to perform power division on the circuits of the transmission system, and by performing parallel simulation calculations on the divided circuit network, it is possible not only to meet the actual simulation and analysis needs of the power grid, but also to achieve large-scale refined real-time simulation effects. The solution provided by the present invention takes into account circuit power division, power evaluation, performance balancing, power splicing and real-time interaction, which can not only realize device-level refined modeling of the transmission system, but also achieve real-time computing efficiency. At the same time, it can be connected to hardware-in-the-loop testing to evaluate the safety and adequacy of the transmission system and its control system.

[0088] For better explanation, refer to Figure 5 , which shows a schematic diagram of the overall process of a real-time simulation method for a power transmission system provided by an embodiment of the present invention. It should be noted that this embodiment only briefly describes the general process of real-time simulation of a power transmission system. The specific implementation process of each step can be understood by referring to the relevant content in the previous embodiments and will not be described here in detail. It is understood that the present invention is not limited to this.

[0089] Step 501: Obtain the main circuit and the first-level submodule circuit of the power transmission system;

[0090] Step 502: Using the extremely short transmission line theory, the first-level sub-module circuit is segmented to obtain multiple second-level sub-module circuits.

[0091] Step 503: performing simulation task evaluation on each secondary sub-module circuit respectively, and based on the simulation task evaluation results, further dividing the multiple secondary sub-module circuits into multiple system-level sub-module circuits that are not of primary concern, and multiple device-level sub-module circuits that are of primary concern;

[0092] Step 504: Distribute the simulation tasks of the device-level sub-module circuits of particular interest to the scalar engine, so as to perform parallel simulation calculations on the simulation tasks of the device-level sub-module circuits through the scalar engine;

[0093] Step 505: Distribute the simulation tasks of the non-focused system-level sub-module circuits and the main circuit to the adaptive engine, so that the adaptive engine performs parallel simulation calculations on the simulation tasks of the main circuit and each system-level sub-module circuit;

[0094] Step 506: During the simulation calculation process, historical current source data of the previous step of all theoretically segmented nodes of the transmission lines in the circuit network are exchanged via the on-chip communication network to solve the node voltage of the current step;

[0095] Step 507: Output the power simulation results of the power transmission system.

[0096] Reference Figure 6 , shows a block diagram of a real-time simulation device for a power transmission system according to an embodiment of the present invention. A system-on-chip is used as a hardware-software collaborative acceleration platform for the power transmission system. The hardware-software collaborative acceleration platform includes a scalar engine and an adaptive engine. The real-time simulation device for a power transmission system may include:

[0097] A circuit acquisition unit 601 is configured to acquire the main circuit and the first-level submodule circuit of the power transmission system;

[0098] a circuit segmentation unit 602 configured to segment the first-level submodule circuit to obtain a plurality of second-level submodule circuits, and to divide the plurality of second-level submodule circuits into a plurality of first submodule circuits and a plurality of second submodule circuits;

[0099] a simulation calculation unit 603, configured to perform parallel simulation calculations on the simulation tasks of each of the second submodule circuits using the scalar engine, and to perform parallel simulation calculations on the simulation tasks of the main circuit and each of the first submodule circuits using the adaptive engine;

[0100] The simulation result output unit 604 is configured to output the power simulation result of the power transmission system.

[0101] In an optional embodiment, the circuit segmentation unit 602 includes:

[0102] A circuit segmentation unit, configured to segment the first-level submodule circuit by using a very short transmission line theory to obtain a plurality of second-level submodule circuits;

[0103] The circuit secondary division unit is used to perform simulation task evaluation on each of the secondary sub-module circuits respectively, and based on the simulation task evaluation results, further divide the multiple secondary sub-module circuits into multiple first sub-module circuits that are not of particular concern, and multiple second sub-module circuits that are of particular concern.

[0104] In an optional embodiment, the simulation calculation unit 603 includes:

[0105] a scalar engine calculation unit, configured to distribute the simulation tasks of the second submodule circuits of particular interest to the scalar engine, so as to perform parallel simulation calculations on the simulation tasks of the respective second submodule circuits through the scalar engine;

[0106] The adaptive engine calculation unit is used to distribute the simulation tasks of the non-focused first sub-module circuits and the main circuit on the adaptive engine, so as to perform parallel simulation calculations on the simulation tasks of the main circuit and each of the first sub-module circuits through the adaptive engine.

[0107] In an optional embodiment, the software and hardware collaborative acceleration platform also includes an intra-chip communication network, which is used to connect different types of engines in the software and hardware collaborative acceleration platform to achieve computing information interaction of the circuit network corresponding to the power transmission system after final segmentation.

[0108] In an optional embodiment, the power transmission system real-time simulation device further includes:

[0109] The simulation interactive solving unit is used to exchange the historical current source data of the previous step of all transmission line theoretical segmentation nodes of the circuit network through the on-chip communication network during the simulation calculation process to solve the node voltage of the current step.

[0110] In an optional embodiment, the internal circuit of each of the secondary sub-module circuits is a built-in capacitor and its power electronic switch for maintaining the DC voltage; the power electronic switch is used to control the built-in capacitor to be connected to or cut out of the main circuit; the control form of the secondary sub-module circuit includes dual closed-loop control, sub-module voltage equalization control, and bridge arm circulation suppression control.

[0111] In an optional embodiment, the main circuit is obtained by a Norton equivalent method.

[0112] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the aforementioned method embodiment.

[0113] It should be noted that, in order to enable those skilled in the art to better distinguish data of the same type but with different actual meanings, some technical features are distinguished and described using terms such as first and second in the embodiments of the present invention. Terms such as first and second are only used to distinguish data and have no other special meanings. It can be understood that the present invention does not impose any restrictions on this.

[0114] An embodiment of the present invention further provides an electronic device, the device including a processor and a memory:

[0115] The memory is used to store program codes and transmit the program codes to the processor;

[0116] The processor is configured to execute the real-time simulation method for a power transmission system according to any embodiment of the present invention according to instructions in the program code.

[0117] An embodiment of the present invention further provides a computer-readable storage medium, which is used to store program code, and the program code is used to execute the real-time simulation method for a power transmission system according to any embodiment of the present invention.

[0118] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0119] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.

[0120] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0121] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0122] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0123] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features thereof can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A real-time simulation method for a power transmission system, characterized in that: A system on chip is used as a hardware and software collaborative acceleration platform for the power transmission system, wherein the hardware and software collaborative acceleration platform includes a scalar engine and an adaptive engine; The real-time simulation method for a power transmission system comprises: Obtaining a main circuit and a primary submodule circuit of the power transmission system; Performing circuit segmentation on the first-level submodule circuit to obtain a plurality of second-level submodule circuits, and dividing the plurality of second-level submodule circuits into a plurality of first submodule circuits and a plurality of second submodule circuits; Performing parallel simulation calculations on the simulation tasks of each of the second submodule circuits through the scalar engine, and performing parallel simulation calculations on the simulation tasks of the main circuit and each of the first submodule circuits through the adaptive engine; Outputting power simulation results of the power transmission system.

2. The real-time simulation method for a power transmission system according to claim 1, characterized in that: The circuit segmentation of the first-level sub-module circuit to obtain a plurality of second-level sub-module circuits, and dividing the plurality of second-level sub-module circuits into a plurality of first sub-module circuits and a plurality of second sub-module circuits, includes: By using the extremely short transmission line theory, the first-level sub-module circuit is divided into circuits to obtain multiple second-level sub-module circuits; A simulation task evaluation is performed on each of the secondary submodule circuits respectively, and based on the simulation task evaluation results, the multiple secondary submodule circuits are further divided into multiple first submodule circuits that are not focused on, and multiple second submodule circuits that are focused on.

3. The real-time simulation method for power transmission system according to claim 2, characterized in that: The performing parallel simulation calculations on the simulation tasks of each second submodule circuit by the scalar engine, and performing parallel simulation calculations on the simulation tasks of the main circuit and each first submodule circuit by the adaptive engine, includes: Distributing the simulation tasks of the second submodule circuits of particular interest to the scalar engines, so as to perform parallel simulation calculations on the simulation tasks of the second submodule circuits through the scalar engines; The simulation tasks of the first submodule circuits and the main circuit that are not of primary concern are distributed to the adaptive engine, so that the simulation tasks of the main circuit and each of the first submodule circuits are simulated and calculated in parallel by the adaptive engine.

4. The real-time simulation method for a power transmission system according to claim 2, characterized in that: The software and hardware collaborative acceleration platform also includes an intra-chip communication network, which is used to connect different types of engines in the software and hardware collaborative acceleration platform to achieve computing information interaction of the circuit network corresponding to the power transmission system after final segmentation.

5. The real-time simulation method for power transmission system according to claim 4, characterized in that: Also includes: During the simulation calculation process, the historical current source data of the previous step of the theoretical segmentation nodes of all transmission lines in the circuit network are exchanged through the on-chip communication network to solve the node voltage of the current step.

6. The real-time simulation method for power transmission system according to claim 1, characterized in that: The internal circuit of each of the secondary sub-module circuits is a built-in capacitor and its power electronic switch for maintaining the DC voltage; the power electronic switch is used to control the built-in capacitor to be connected to or cut out of the main circuit; the control form of the secondary sub-module circuit includes dual closed-loop control, sub-module voltage equalization control, and bridge arm circulation suppression control.

7. The real-time simulation method for a power transmission system according to any one of claims 1 to 6, characterized in that: The main circuit is obtained by a Norton equivalent method.

8. A real-time simulation device for a power transmission system, characterized in that: A system on chip is used as a hardware and software collaborative acceleration platform for a power transmission system, wherein the hardware and software collaborative acceleration platform includes a scalar engine and an adaptive engine; and the power transmission system real-time simulation device includes: A circuit acquisition unit, configured to acquire the main circuit and the first-level submodule circuit of the power transmission system; a circuit segmentation unit, configured to segment the first-level submodule circuit to obtain a plurality of second-level submodule circuits, and divide the plurality of second-level submodule circuits into a plurality of first submodule circuits and a plurality of second submodule circuits; a simulation calculation unit, configured to perform parallel simulation calculations on the simulation tasks of each of the second submodule circuits through the scalar engine, and to perform parallel simulation calculations on the simulation tasks of the main circuit and each of the first submodule circuits through the adaptive engine; The simulation result output unit is used to output the power simulation result of the power transmission system.

9. An electronic device, characterized in that: The device includes a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is configured to execute the real-time simulation method for a power transmission system according to any one of claims 1 to 7 according to instructions in the program code.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium is used to store program code, and the program code is used to execute the real-time simulation method for a power transmission system according to any one of claims 1 to 7.