Power transmission system real-time simulation method and device, electronic equipment and storage medium

By using the system-on-chip software and hardware collaborative acceleration platform in the power transmission system, and using scalar engines and adaptive engines for parallel simulation calculations, the problem that traditional simulation tools cannot meet the microsecond-level electromagnetic transient real-time simulation of large-scale systems is solved, and large-scale refined real-time simulation effect is achieved.

CN119575839AActive Publication Date: 2025-03-07ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD +1

Patent Information

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

AI Technical Summary

Technical Problem

Traditional electromagnetic transient simulation tools cannot meet the performance requirements of microsecond electromagnetic transient real-time simulation in large-scale systems, cannot achieve large-scale refined real-time simulation results, and cannot meet the actual simulation and analysis requirements of the power grid.

Method used

The system on chip is used as the software and hardware collaborative acceleration platform for the power transmission system. Parallel simulation calculation is performed through the scalar engine and the adaptive engine. The circuit of the power transmission system is divided into multiple submodule circuits, and the computing information interaction is realized through the on-chip communication network.

Benefits of technology

Large-scale refined real-time simulation is realized, which meets the actual simulation and analysis needs of the power grid, shortens the simulation time and improves the simulation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119575839A_ABST
    Figure CN119575839A_ABST
Patent Text Reader

Abstract

The invention discloses a real-time simulation method and device for a power transmission system, electronic equipment and a storage medium, which are used for solving the problem that the traditional electromagnetic transient simulation cannot completely meet the actual simulation analysis requirement of a power grid and cannot achieve a large-scale refined real-time simulation effect. According to the method, an on-chip system is adopted as a software and hardware collaborative acceleration platform of a power transmission system, and the software and hardware collaborative acceleration platform comprises a scalar engine and an adaptive engine; acquiring a main circuit and a primary sub-module circuit of the power transmission system; performing circuit segmentation on the first-stage sub-module circuit to obtain a plurality of second-stage sub-module circuits, and dividing the plurality of second-stage sub-module circuits into a plurality of first sub-module circuits and a plurality of second sub-module circuits; performing parallel simulation calculation on the simulation tasks of the second sub-module circuits through a scalar engine, and performing parallel simulation calculation on the simulation tasks of the main circuit and the first sub-module circuits through an adaptive engine; and outputting a power simulation result 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 with the traditional power system dominated by the electromechanical transient of AC motors, the stable operation characteristics of the new power system have changed significantly. The microsecond power electronic switching process of large-scale power electronic devices (such as new energy, DC, energy storage, etc.) and the millisecond and second AC motor transition process are intertwined, showing new stability phenomena such as broadband oscillation.

[0003] The accurate characterization of the complex dynamic processes and characteristics of the new power system depends on electromagnetic transient simulation. However, traditional electromagnetic transient simulation tools are mainly designed for the simulation of refined electromagnetic processes of power electronic equipment such as DC and small-scale systems, and are not adapted to large-scale system simulation in terms of computing, memory, and communication. As a result, it is difficult to meet the performance requirements of real-time simulation of electromagnetic transients in microseconds for large-scale systems. In other words, traditional electromagnetic transient simulation tools are completely unable to meet the actual simulation and analysis needs of the power grid, and cannot achieve large-scale refined real-time simulation effects. 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 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 a chip as a software and hardware collaborative acceleration platform for the power transmission system, wherein 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 a plurality of 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 result, 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 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, includes:

[0014] Distributing 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 second submodule circuits through the scalar engine;

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

[0016] Optionally, the software-hardware collaborative acceleration platform also includes an intra-chip communication network, which is used to connect different types of engines in the software-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 for maintaining a DC voltage and its power electronic switch; 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 a chip as a software and hardware collaborative acceleration platform for the power transmission system, wherein 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, used to acquire the main circuit and the primary 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, used to perform parallel simulation calculations on the simulation tasks of each of the second sub-module circuits through the scalar engine, and 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;

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

[0026] The present invention also provides an electronic device, the 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 used to execute the real-time simulation method of the power transmission system as described in any one of the above items according to the 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 adopts a system on 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; first, the main circuit and the first-level submodule circuit of the power transmission system are obtained; then, the first-level submodule circuit is divided into circuits to obtain multiple second-level submodule circuits, and the multiple second-level submodule circuits are divided into multiple first submodule circuits and multiple second submodule circuits; then, the simulation tasks of each second submodule circuit are parallelly simulated and calculated by the scalar engine, and the simulation tasks of the main circuit and each first submodule circuit are parallelly simulated and calculated by the adaptive engine; finally, the power simulation result of the power transmission system is output. Therefore, for the real-time simulation process of the power transmission system, first, a large-scale power transmission system simulation task can be divided into computing power according to the submodule level through circuit division, and then the simulation tasks of multiple submodule circuits are sent to different processing engines for independent parallel calculation to obtain simulation results. In this process, the fine-grained division reflected by the computing power segmentation 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 computing power segmentation 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 computing power of the circuits of the transmission system is segmented in combination with the resource characteristics of the on-chip system. At the same time, through the parallel simulation calculations of the segmented 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 drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 creative work.

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

[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 4An 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 The figure 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 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 creative work are within the scope of protection of the present invention.

[0041] As an example, the accurate characterization of the complex dynamic processes and characteristics of new power systems relies on electromagnetic transient simulation. However, traditional electromagnetic transient simulation tools are mainly designed for fine-grained electromagnetic process simulation of power electronic equipment such as DC and small-scale systems, and are not adapted to large-scale system simulation in terms of computing, memory, and communication. As a result, it is difficult to meet the performance requirements of real-time simulation of microsecond-level electromagnetic transients in large-scale systems. In other words, traditional electromagnetic transient simulation tools are completely unable to meet the actual simulation and analysis needs of the power grid, and cannot achieve large-scale fine-grained real-time simulation effects.

[0042] For example, in the actual simulation and analysis of power grids, simulation software is generally used for simulation based on personal computers. It takes 6 hours to simulate the 20-second dynamic process of a power grid equivalent system with 11 DC loops, 600 synchronous machines, and 2,000 nodes. If new energy systems are considered, it takes 4 hours to simulate the detailed models of 50 photovoltaic power generation units alone. In addition, considering the randomness of new energy output, line maintenance and various fault forms, the power grid has tens of thousands of simulation scenarios for safety and stability verification calculations at one time. Assuming that the electromagnetic transient simulation of each scenario takes 6 hours, considering 100,000 scenarios, it will take 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] The flexible DC transmission system is an indispensable and important energy transmission link in the new power system. It is responsible for transmitting a large amount of renewable energy power from marginal areas to the receiving power grid with high-density load. Therefore, how to comprehensively evaluate the safety and adequacy of the flexible DC transmission system is particularly important for large-scale pre-planning and post-commissioning of power companies. By establishing a real-time simulation system and accessing the hardware-in-the-loop environment, the planning scheme can be effectively verified and its design and planning adjustments can be further improved.

[0045] However, there are considerable challenges in establishing a real-time simulation system for a 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 testing and later replacement of new devices for debugging. On the other hand, the sudden increase in computing power due to refined modeling must also be taken into account. Due to refined modeling, network nodes have increased exponentially. Therefore, it is urgent to optimize the node network and divide it to increase the possibility of parallel computing while reducing the reliance 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] System on a Chip (SoC) integrates multiple types of computing engines (such as scalar engines, vector engines, adaptive engines, etc.) and various peripheral device controllers, memory controllers, intra-chip and inter-board communication interfaces and other components in the same chip. This type of computing platform can provide a flexible solution for configuring computing resources for complex and changeable computing scenarios in new power systems. On this basis, different software and hardware collaborative acceleration solutions are applied to different application scenarios to achieve the application effect of real-time simulation of electromagnetic transients, and finally verify the safety and adequacy of the soft power system in the form of hardware-in-the-loop.

[0047] Therefore, one of the core inventive points of the embodiment of the present invention is: in view of 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 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 through the scalar engine, and the simulation tasks of the main circuit and each first sub-module circuit are parallelly simulated and calculated through the adaptive engine; finally, the power simulation results of the transmission system are output. In this way, the circuit of the transmission system is divided into computing power 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 a large-scale refined real-time simulation effect 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 device-level refined modeling of the power transmission system, but also make the computing efficiency reach real-time effects. At the same time, it can be connected to hardware-in-the-loop testing to evaluate the safety and adequacy of the power transmission system and its control system.

[0048] Reference Figure 1 , showing a schematic diagram of the working principle structure 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 adopts a system on chip as a software and hardware collaborative acceleration platform. The platform is mainly composed of hardware such as 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 through an ultra-high-speed, low-latency dedicated communication network on the chip (hereinafter referred to as the on-chip communication network), so that the computing tasks are highly optimized in series and parallel to achieve a real-time simulation effect. In other words, the on-chip communication network of the software and hardware collaborative acceleration platform can be used to connect different types of engines in the platform to realize the computing information interaction of the circuit network corresponding to the power transmission system after the final segmentation.

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

[0051] The adaptive engine is a large number of on-chip reconfigurable hardware resources. Its operating frequency is at the level of hundreds of megahertz, which is suitable for a large number of parallel computing unit architectures. By highly parallelizing its computing tasks, work efficiency can be improved.

[0052] The smart engine is dedicated hardware for AI inference. It has hundreds of matrix units with a working frequency of gigahertz and dedicated hardware for multiplication. The main function of the smart engine is to provide specific computing power to support complex applications and services, and to provide a highly efficient execution tool for AI inference to achieve proprietary acceleration.

[0053] The on-chip communication network connects various types of engines, making it possible for hardware and software to accelerate together. Ultra-high-speed, low-latency interconnection is achieved through the on-chip communication network, enabling computational information interaction between segmented circuits.

[0054] Among them, software acceleration is a way to achieve high-efficiency execution by optimizing code and optimizing compilation on dedicated hardware such as processors. Hardware acceleration is to reorganize and reconfigure the logical computing units at the electronic component level on reconfigurable hardware to achieve low-latency and high-parallel computing acceleration.

[0055] Combined with the content introduced above, refer to Figure 2 , shows a flow chart of the steps of a real-time simulation method for 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 primary 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 structure diagram of the left half of a power transmission system is shown.

[0058] The right half and the left half are mirrored and folded in half to form a complete flexible DC transmission system. For the DC connection part between the left and right halves, models of various types of transmission lines can be added.

[0059] The AC end to the DC end is composed of a series of resistors and inductors and a large number of sub-modules (SMs). Among them, a large number of connected sub-modules can be combined into different AC output voltage levels through control, such as Figure 4 shown.

[0060] In order to keep the DC voltage constant, the number of submodules put into use remains unchanged. Generally speaking, the number of submodules put into operation is half of the total number of submodules and is an even number to ensure that the number of levels of DC voltage with zero-crossing modulation = the number of submodules put into use + 1.

[0061] Combination Figure 4 The input in the dotted box on the right indicates that the transmission system adopts a five-level working state. The number of upper and lower bridge arms is determined, but submodules in different positions will be selected according to the difference in capacitor charging and discharging to ensure balanced capacitor charging and discharging.

[0062] The more sub-modules there are, the more similar the shapes of the fitted sine waves are, and the smaller the amplitudes of the higher harmonics are. In large-scale ultra-high voltage direct current transmission systems, hundreds of sub-modules are often connected in series to form a bridge arm for use.

[0063] by Figure 3 Taking the power transmission system circuit principle structure in as an example, the Norton Equivalent theorem can be used to organize the main circuit into a five-node circuit form, which are three AC port nodes and two DC port nodes. In other words, the main circuit is obtained by the Norton equivalent method. It should be pointed out that regarding the number of AC port nodes and DC port nodes of the main circuit, those skilled in the art can set them according to the actual power transmission system structure based on actual needs. It can be understood that the present invention is not limited to this.

[0064] In order to distinguish it from the submodule circuit obtained after segmentation, the present invention regards the submodule circuit of the power transmission system as a whole and defines it as a primary 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 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 may include the following sub-steps S01 to S02:

[0067] S01: By 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 refers to the fact that in a power system, when the length of a transmission line is very short, its inductance and capacitance effects can be ignored, thereby simplifying analysis and calculation. This theory is applicable to transmission lines whose length is much shorter than the wavelength, usually in the range of several meters to tens of meters.

[0069] The extremely short transmission line theory can be used to divide the first-level submodule circuit to obtain multiple second-level submodule circuits. For example, if a single SM submodule is used as the division granularity, S second-level submodule circuits can be obtained after circuit division. Taking an SM submodule as a second-level submodule circuit can actually be regarded as the division granularity at the device level. A second-level submodule circuit is also equivalent to a device-level submodule circuit.

[0070] Thus, through circuit segmentation, a circuit network consisting of S secondary sub-module circuits and one 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 result, further dividing the multiple secondary submodule circuits into multiple first submodule circuits of non-emphasis and multiple second submodule circuits of emphasis.

[0072] Due to the limited number of scalar engines, each scalar engine processor can only undertake the real-time calculation of a single device-level sub-module circuit. If hundreds or thousands of sub-module calculations are placed on the scalar engine, it is not realistic and difficult to achieve in terms of real-time calculation and computing resource burden.

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

[0074] The calculation of the device-level sub-module circuits (i.e., the secondary sub-module circuits that do not need to be focused on) and the main circuits that do not need to be focused on can be assigned to the adaptive engine with rich simulation resources through case segmentation, and all are solved using the system-level circuit model. In this case, the secondary sub-module circuits that do not need to be focused on can also be regarded as system-level sub-module circuits. The simulation step size is in the order of ten microseconds. The number of system-level sub-module circuits is recorded as M. Where S=M+N.

[0075] Simulation task evaluation can be understood as judging whether the simulation task of the submodule circuit is a key simulation task. Whether it is a key task can be determined based on user needs or application methods. For example, if the user replaces a submodule with a submodule with other parameters for stress testing, the replaced module will be studied as a key object.

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

[0077] The internal circuit of each secondary sub-module circuit is a built-in capacitor and its power electronic switch that maintains the DC voltage; the power electronic switch is used to control the built-in capacitor to be connected 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, bridge arm circulation suppression control, etc.

[0078] It should be pointed out that the above is the resource allocation scheme for the circuit solving part. Since the control part needs to be flexibly configured, it can be placed in the adaptive engine without occupying the scarce scalar engine resources.

[0079] Step 203, 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;

[0080] In combination with the foregoing 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 circuits that are 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 circuits 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] Combined with the previous introduction, the data on each computing unit can be exchanged through the on-chip communication network to provide the historical current source data of the previous step of all transmission line theoretical segmentation nodes for the node voltage solution of the current step. In the simulation calculation process, the historical current source data of the previous step of all transmission line theoretical segmentation nodes of the circuit network can be exchanged through the on-chip communication network to solve the node voltage of the current step.

[0082] Assume that in a simulation calculation, a total of 300 submodule circuits are put into use in the power transmission system. After the overall first-level submodule circuit is segmented, 300 device-level submodule circuits (i.e., second-level submodule circuits) can be obtained, plus an original overall circuit (i.e., main circuit), corresponding to 301 circuit simulation tasks that need to be calculated.

[0083] Parallel simulation computing means that the simulation tasks corresponding to 300 device-level sub-module circuits and an overall main circuit (a total of 301 circuits) are solved in an independent and parallel manner.

[0084] As for which computing resource to assign the parallel solution computing task to, it is up to the user to decide. You can choose to assign the simulation task to the adaptive engine. For example, the simulation task of the device-level sub-module circuit that is not the focus (which can be regarded as the system-level sub-module circuit) is assigned to the parallel FPGA (Field-Programmable Gate Array) resources for processing. You can also assign the simulation task to the scalar engine with limited resources. For example, the simulation task of the device-level sub-module circuit that is the focus is assigned to the processor resources for processing.

[0085] Step 204: outputting 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 divide the computing power of the circuit of the transmission system, and at the same time, through the parallel simulation calculation of the divided circuit network, it can not only meet the actual simulation and analysis needs of the power grid, but also achieve large-scale refined real-time simulation effects. The solution provided by the present invention takes into account circuit computing power division, computing power evaluation, performance balancing, computing power splicing and real-time interaction at the same time, which can not only realize the device-level refined modeling of the transmission system, but also make the computing efficiency reach real-time effects. At the same time, it can be connected to the hardware-in-the-loop test to evaluate the safety and adequacy of the transmission system and its control system.

[0088] For better explanation, refer to Figure 5 , showing 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 pointed out that this embodiment only briefly describes the general process of real-time simulation of a power transmission system, and the specific implementation process of each step can be understood by referring to the relevant content in the aforementioned embodiment, which will not be described here. It can be understood that the present invention is not limited to this.

[0089] Step 501: Acquire a main circuit and a primary submodule circuit of a power transmission system;

[0090] Step 502: using the extremely short transmission line theory, dividing the first-level sub-module circuit into 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 result, further dividing the multiple secondary sub-module circuits into multiple system-level sub-module circuits of non-key concern and multiple device-level sub-module circuits of key 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 as to perform parallel simulation calculations on the simulation tasks of the main circuit and each system-level sub-module circuit through the adaptive engine;

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

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

[0096] Reference Figure 6 , shows a structural block diagram of a real-time simulation device for a power transmission system provided by an embodiment of the present invention, using a system on a 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 may specifically include:

[0097] A circuit acquisition unit 601 is used to acquire the main circuit and the primary submodule circuit of the power transmission system;

[0098] A circuit segmentation unit 602 is used 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;

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

[0100] The simulation result output unit 604 is used 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, used to segment the first-level submodule circuit by using the extremely 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 focused on, and multiple second sub-module circuits that are focused on.

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

[0105] A scalar engine calculation unit, used for distributing 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 second submodule circuits through the scalar engine;

[0106] The adaptive engine calculation unit is used to distribute the simulation tasks of the first sub-module circuits and the main circuit that are not focused on in 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-hardware collaborative acceleration platform also includes an intra-chip communication network, which is used to connect different types of engines in the software-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 solution 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 for maintaining a DC voltage and its power electronic switch; 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, the embodiments of the present invention use terms such as first and second to distinguish and explain some technical features. The 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 is not limited to this.

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

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

[0116] The processor is used to execute the real-time simulation method of the power transmission system according to any embodiment of the present invention according to the 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 codes, and the program codes are 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 can 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 only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

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

[0121] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0122] If the integrated unit is implemented in the form of 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, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

[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 aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may 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 software and hardware collaborative acceleration platform for a power transmission system, wherein the software and hardware 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 submodule circuit to obtain a plurality of second-level submodule circuits, and the plurality of second-level submodule circuits are divided into a plurality of first submodule circuits and a plurality of second submodule circuits, comprises: By using the extremely short transmission line theory, the first-level sub-module circuit is divided into circuits to obtain a plurality of 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 result, 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 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, comprises: Distributing 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 second submodule circuits through the scalar engine; The simulation tasks of the first submodule circuits and the main circuit that are not of primary concern are distributed in 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-hardware collaborative acceleration platform also includes an intra-chip communication network, which is used to connect different types of engines in the software-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 for maintaining a DC voltage and its power electronic switch; 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 circulating current 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 software and hardware collaborative acceleration platform for a power transmission system, wherein the software and hardware collaborative acceleration platform includes a scalar engine and an adaptive engine; the power transmission system real-time simulation device includes: A circuit acquisition unit, used to acquire the main circuit and the primary 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, used 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 comprises a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the real-time simulation method of the power transmission system according to any one of claims 1 to 7 according to the instructions in the program code.

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

Citation Information

Patent Citations

  • Runtime adaptable search processor

    CN101351784A

  • Infant safety early warning system, method and equipment and computer storage medium

    CN113628411A

  • Thermal load balancing of programmable devices

    US11012072B1

  • Runtime adaptable search processor

    US20060136570A1

Cited By

  • Power transmission system real-time simulation method and apparatus, electronic device, and storage medium

    WO2026124009A1