Real-time simulation method and system for energy release device

By performing circuit segmentation and parallel simulation processing of the charging pile circuit and multi-unit circuit of the energy release device, combined with hardware optimization, the problem of the existing technology being difficult to meet the microsecond-level electromagnetic transient real-time simulation of large-scale energy release devices is solved, and the simulation efficiency and device reliability are improved.

CN119808421APending Publication Date: 2025-04-11ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510184977.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-19
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The existing electromagnetic transient simulation methods of energy release devices are difficult to meet the performance requirements of microsecond electromagnetic transient real-time simulation of large-scale systems, resulting in a reduced reliability of the operation of the energy release device.

Method used

By obtaining the charging pile circuit and energy release multi-unit circuit of the energy release device, the circuit is divided to obtain the parallel sub-circuit, and loading it on a parallel simulation platform for simulation processing. Combined with hardware optimization, a target simulation model is formed to achieve simulation.

Benefits of technology

It improves the simulation efficiency of the energy release device, meets the performance requirements of microsecond-level electromagnetic transient real-time simulation of large-scale energy release devices, and improves the reliability of the operation of the energy release device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119808421A_ABST
    Figure CN119808421A_ABST
Patent Text Reader

Abstract

The invention discloses a real-time simulation method and system for an energy release device, and relates to the technical field of electric power simulation. A charging pile circuit and an energy release multi-unit circuit of the energy release device are obtained, and the energy release multi-unit circuit is subjected to circuit segmentation to obtain a plurality of parallel sub-circuits; loading each parallel sub-circuit and the charging pile circuit to a preset parallel simulation platform to obtain an initial simulation model, performing performance optimization on the initial simulation model to obtain a target simulation model, and performing simulation processing on the energy release device through the target simulation model to obtain a simulation result corresponding to the energy release device. The technical problems that an existing electromagnetic transient simulation method of the energy release device does not adapt to large-scale system simulation in the aspects of calculation, memory, communication and the like, so that the performance requirement of microsecond-level electromagnetic transient real-time simulation of the large-scale energy release device is difficult to meet, and the running reliability of the energy release device is reduced are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric power simulation, and in particular to a real-time simulation method and system for an energy release device. Background Art

[0002] The electromagnetic transient simulation technology of energy release devices is an important means to study the dynamic behavior of energy release devices under various working conditions, helping engineers predict the response of energy release devices under fault conditions and take measures to prevent and mitigate the impact of faults.

[0003] The existing electromagnetic transient simulation methods for energy release devices 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 microsecond-level electromagnetic transient real-time simulation of large-scale energy release devices, reducing the reliability of the operation of the energy release device. Summary of the invention

[0004] The present invention provides a real-time simulation method and system for an energy release device, which solves the technical problem that the existing electromagnetic transient simulation method for an energy release device is mainly designed for refined electromagnetic process simulation of power electronic equipment such as DC and small-scale systems, but is not adapted to large-scale system simulation in terms of computing, memory and communication, making it difficult to meet the performance requirements of microsecond-level electromagnetic transient real-time simulation of large-scale energy release devices, thereby reducing the reliability of the operation of the energy release device.

[0005] A first aspect of the present invention provides a real-time simulation method for an energy release device, comprising:

[0006] Acquire a charging pile circuit and an energy release multi-unit circuit of an energy release device, and divide the energy release multi-unit circuit into multiple parallel sub-circuits;

[0007] Loading each of the parallel sub-circuits and the charging pile circuit onto a preset parallel simulation platform to obtain an initial simulation model;

[0008] Optimizing the performance of the initial simulation model to obtain a target simulation model;

[0009] The energy release device is simulated by the target simulation model to obtain a simulation result corresponding to the energy release device.

[0010] Optionally, the step of dividing the energy release multi-unit circuit into multiple parallel sub-circuits comprises:

[0011] The energy release multi-unit circuit is simplified by using the Norton equivalent method to obtain an equivalent energy release multi-unit circuit;

[0012] The equivalent energy release multi-unit circuit is powered by splitting electricity through the extremely short transmission line theory to obtain a plurality of parallel sub-circuits.

[0013] Optionally, the parallel simulation platform includes an ARM processor, a field programmable gate array and a communication network, and the step of loading each of the parallel sub-circuit and the charging pile circuit on a preset parallel simulation platform to obtain an initial simulation model includes:

[0014] Loading the charging pile circuit onto the ARM processor to obtain a target charging pile model;

[0015] Loading each of the parallel sub-circuits on the field programmable gate array to obtain a target energy release multi-unit model;

[0016] The model parameters between the target charging pile model and the target energy release multi-unit model are exchanged through the communication network to obtain an initial simulation model.

[0017] Optionally, the step of optimizing the performance of the initial simulation model to obtain a target simulation model includes:

[0018] Obtaining the operating time of each simulation element in the initial simulation model, and determining whether each operating time is less than a preset time threshold;

[0019] When the running time is greater than or equal to the time threshold, the simulation element is determined as an abnormal element;

[0020] Performing a performance test on the initial simulation model using a preset performance analysis method to obtain a front-end limit test value and an error guessing test value corresponding to each of the abnormal elements;

[0021] Adjusting the hardware parameters of the initial simulation model according to the front-end limit test values ​​and the error guessing test values ​​corresponding to each of the abnormal elements to obtain an adjusted initial simulation model;

[0022] Jump to execute the step of obtaining the running time of each simulation element in the initial simulation model until each running time is less than the time threshold;

[0023] When each of the operating time periods is less than the time threshold, a target simulation model is obtained.

[0024] Optionally, the step of adjusting the hardware parameters of the initial simulation model according to the front-end limit test value and the error guess test value corresponding to each of the abnormal elements includes:

[0025] Determine whether the front-end limit test value corresponding to each of the abnormal elements is less than a preset first test threshold;

[0026] When the front-end limit test value is greater than or equal to the first test threshold, adjusting a first hardware parameter of an abnormal component associated with the front-end limit test value;

[0027] Determine whether the error speculation test value corresponding to each of the abnormal elements is less than a preset second test threshold;

[0028] When the false speculation test value is greater than or equal to the second test threshold, a second hardware parameter of the abnormal component associated with the false speculation test value is adjusted.

[0029] Optionally, the performance analysis method includes a top-down analysis method.

[0030] Optionally, the parallel simulation platform is a system on a chip.

[0031] A second aspect of the present invention provides a real-time simulation system for an energy release device, comprising:

[0032] A collection module, used for acquiring a charging pile circuit and an energy release multi-unit circuit of an energy release device, and performing circuit segmentation on the energy release multi-unit circuit to obtain a plurality of parallel sub-circuits;

[0033] A distribution module, used for loading each of the parallel sub-circuits and the charging pile circuit onto a preset parallel simulation platform to obtain an initial simulation model;

[0034] An optimization module, used for optimizing the performance of the initial simulation model to obtain a target simulation model;

[0035] The simulation module is used to simulate the energy release device through the target simulation model to obtain the simulation result corresponding to the energy release device.

[0036] A third aspect of the present invention provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the real-time simulation method of an energy release device as described in any one of the above items.

[0037] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed, implements the real-time simulation method for an energy release device as described in any one of the above items.

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

[0039] By obtaining the charging pile circuit and the energy release multi-unit circuit of the energy release device, and dividing the energy release multi-unit circuit, a plurality of parallel sub-circuits are obtained, and then each parallel sub-circuit and the charging pile circuit are deployed on a preset parallel simulation platform to obtain an initial simulation model, and by optimizing the front-end hardware of the initial simulation model, a target simulation model is obtained, which overcomes the technical problem that the existing energy release device simulation method does not adapt to large-scale system simulation in terms of computing, memory, and communication, and thus it is difficult to meet the performance requirements of microsecond-level electromagnetic transient real-time simulation of large-scale energy release devices, and reduces the reliability of the operation of the energy release device. Compared with the traditional simulation method, the present invention deploys each parallel sub-circuit and the charging pile circuit on a preset parallel simulation platform to obtain an initial simulation model, and optimizes the performance of the initial simulation model to obtain a target simulation model, thereby improving the simulation efficiency of the energy release device, meeting the performance requirements of microsecond-level electromagnetic transient real-time simulation of large-scale energy release devices, and improving the reliability of the operation of the energy release device. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] 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 labor.

[0041] Figure 1 A flowchart of a method for real-time simulation of an energy release device provided in Embodiment 1 of the present invention;

[0042] Figure 2 A schematic diagram of the structure of an energy release device provided in Embodiment 1 of the present invention;

[0043] Figure 3 A flowchart of a method for real-time simulation of an energy release device provided in Embodiment 2 of the present invention;

[0044] Figure 4 A schematic diagram of an equivalent circuit of a charging pile circuit provided in Embodiment 2 of the present invention;

[0045] Figure 5 A schematic diagram of an equivalent circuit of an energy release multi-unit circuit provided in Embodiment 2 of the present invention;

[0046] Figure 6 A structural block diagram of a real-time simulation system for an energy release device provided in Embodiment 3 of the present invention;

[0047] Figure 7 This is a structural block diagram of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0048] The embodiments of the present invention provide a real-time simulation method and system for an energy release device, which are used to solve the technical problem that the existing electromagnetic transient simulation method for an energy release device is mainly designed for refined electromagnetic process simulation of power electronic equipment such as DC and small-scale systems, but is not adapted to large-scale system simulation in terms of computing, memory, and communication. Therefore, it is difficult to meet the performance requirements of microsecond-level electromagnetic transient real-time simulation of large-scale energy release devices, thereby reducing the reliability of the operation of the energy release device.

[0049] 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.

[0050] At present, the existing electromagnetic transient simulation methods for energy release devices are generally simulated based on personal computers using PSCAD in electromagnetic transient simulation analysis. The simulation includes electromagnetic transient simulation of multiple scenarios. Assuming that each electromagnetic transient simulation takes 6 hours, considering 100,000 scenarios, it takes 600,000 hours! Traditional electromagnetic transient simulation tools are completely unable to meet the actual simulation analysis needs of energy release devices.

[0051] To this end, the present invention provides a real-time simulation method for an energy release device, by obtaining a charging pile circuit and an energy release multi-unit circuit of the energy release device, and dividing the energy release multi-unit circuit to obtain a plurality of parallel sub-circuits, and then deploying each parallel sub-circuit and the charging pile circuit on a preset parallel simulation platform to obtain an initial simulation model, and by performing front-end hardware optimization on the initial simulation model to obtain a target simulation model, the technical problem that the existing energy release device simulation method is not adapted to large-scale system simulation in terms of computing, memory, and communication, and thus is difficult to meet the performance requirements of microsecond-level electromagnetic transient real-time simulation of large-scale energy release devices, and the reliability of the operation of the energy release device is reduced is overcome.

[0052] See also Figure 1 , Figure 1 A flowchart of the steps of a real-time simulation method for an energy release device provided in Example 1 of the present invention.

[0053] The present invention provides a real-time simulation method for an energy release device, comprising:

[0054] Step 101: obtaining a charging pile circuit and an energy release multi-unit circuit of an energy release device, and dividing the energy release multi-unit circuit into multiple parallel sub-circuits;

[0055] In an embodiment of the present invention, a charging pile circuit and an energy release multi-unit circuit of an energy release device are obtained according to the Thevenin theorem, and the energy release multi-unit circuit is divided into circuits to obtain a plurality of parallel sub-circuits.

[0056] It should be noted that, see Figure 2 As shown, the energy release device includes a charging pile circuit and an energy release multi-unit circuit. The charging pile circuit is mainly responsible for the charging and discharging of the energy release unit. According to the Thevenin theorem, it can be organized into a multi-parallel element single-node circuit, which is suitable for a highly serial operation execution unit structure, and its computing efficiency is highly linearly related to its operating frequency. The energy release multi-unit circuit includes multiple energy release units, cables, and multiple user loads, wherein the energy release unit can appropriately add enough parallel units according to the needs of the user; the cable is a connection line that connects each energy release unit to the user load.

[0057] Step 102: Load each parallel sub-circuit and the charging pile circuit onto a preset parallel simulation platform to obtain an initial simulation model;

[0058] It should be noted that a system on a chip is used as a parallel simulation platform, wherein the parallel simulation platform includes an ARM processor, a field programmable gate array and a communication network.

[0059] In an embodiment of the present invention, the charging pile circuit is deployed in an ARM processor to obtain a target charging pile model, and each parallel sub-circuit is deployed in a field programmable gate array FPGA to obtain a target energy release multi-unit model. The target charging pile model and the target energy release multi-unit model are interconnected and communicated with each other through a communication network to obtain an initial simulation model.

[0060] It should be noted that the capacitor in the charging pile circuit is the same capacitor as the capacitor in each parallel sub-circuit, and the internal circuit is switched between circuits through a switch.

[0061] It should be noted that the System on Chip (SoC) is a highly integrated integrated circuit chip that integrates all the functional modules required for a complete electronic system, such as processors, memory, input and output interfaces, analog circuits, etc., on a single chip, thereby realizing the functions of the entire system. The System on Chip can provide a solution for flexible configuration of computing resources for the complex and changeable computing scenarios in energy release devices.

[0062] Step 103: Optimize the performance of the initial simulation model to obtain a target simulation model;

[0063] In the embodiment of the present invention, the performance of the initial simulation model is optimized by using a preset TMAM tool (Top-down Microarchitecture Analysis Method) to obtain a target simulation model.

[0064] Step 104: simulate the energy release device through the target simulation model to obtain a simulation result corresponding to the energy release device.

[0065] In the embodiment of the present invention, the energy release device is simulated by a target simulation model to obtain a simulation result corresponding to the energy release device.

[0066] In an embodiment of the present invention, by obtaining the charging pile circuit and the energy release multi-unit circuit of the energy release device, and dividing the energy release multi-unit circuit, a plurality of parallel sub-circuits are obtained, and then each parallel sub-circuit and the charging pile circuit are deployed on a preset parallel simulation platform to obtain an initial simulation model, and by optimizing the hardware of the initial simulation model at the front end to obtain a target simulation model, the existing energy release device simulation method is overcome. The existing energy release device simulation method is not adapted to large-scale system simulation in terms of computing, memory, and communication, and thus it is difficult to meet the performance requirements of microsecond electromagnetic transient real-time simulation of large-scale energy release devices, and the technical problem of reducing the reliability of the operation of the energy release device. Compared with the traditional simulation method, the present invention deploys each parallel sub-circuit and the charging pile circuit on a preset parallel simulation platform to obtain an initial simulation model, and optimizes the performance of the initial simulation model to obtain a target simulation model, thereby improving the simulation efficiency of the energy release device and meeting the performance requirements of microsecond electromagnetic transient real-time simulation of large-scale energy release devices.

[0067] See also Figure 3 , Figure 3 A flowchart of the steps of a real-time simulation method for an energy release device provided in Embodiment 2 of the present invention.

[0068] The present invention provides a real-time simulation method for an energy release device, comprising:

[0069] Step 201, obtaining a charging pile circuit and an energy release multi-unit circuit of an energy release device, and simplifying the energy release multi-unit circuit using the Norton equivalent method to obtain an equivalent energy release multi-unit circuit;

[0070] In an embodiment of the present invention, a charging pile circuit and an energy release multi-unit circuit of an energy release device are obtained, and the energy release multi-unit circuit is simplified by a Norton equivalent method to obtain an equivalent energy release multi-unit circuit.

[0071] It should be noted that the charging pile circuit adopts a controlled charging method, which may result in a control frequency of more than 100kHz. It requires extremely high simulation efficiency and extremely low simulation delay to achieve its real-time simulation effect. Therefore, the Norton equivalent method is used to equate it to a single-node circuit. Its equivalent circuit is as follows Figure 4 shown.

[0072] Step 202: Power is split on the equivalent energy release multi-unit circuit using the extremely short transmission line theory to obtain a plurality of parallel sub-circuits.

[0073] In the embodiment of the present invention, refer to Figure 5 As shown, based on the extremely short transmission line theory, the equivalent energy release multi-unit circuit is powered by splitting according to the connection mode of each component in the equivalent energy release multi-unit circuit and the transmission path and distribution in the circuit to obtain multiple parallel sub-circuits.

[0074] In another embodiment, the equivalent energy release multi-unit circuit is divided into a plurality of parallel sub-circuits by the power transmission line division theory.

[0075] It should be noted that in the theory of extremely short transmission lines, extremely short transmission lines refer to transmission lines whose length is much shorter than the signal wavelength. In this case, the distributed parameter effects of the transmission line (such as the distribution characteristics of inductance and capacitance) can be ignored, and the transmission line can be approximately regarded as a lumped parameter circuit. For example, in low-frequency circuits (such as audio circuits, the frequency is generally 20Hz-20kHz), the signal wavelength is very long, and the length of the connection on the ordinary circuit board is very short relative to the signal wavelength, so it can be regarded as an extremely short transmission line.

[0076] Step 203: Load each parallel sub-circuit and the charging pile circuit onto a preset parallel simulation platform to obtain an initial simulation model;

[0077] It should be noted that the parallel simulation platform is a system on a chip.

[0078] Further, the parallel simulation platform includes an ARM processor, a field programmable gate array and a communication network, and step 203 includes the following sub-steps:

[0079] S11, loading the charging pile circuit into the ARM processor to obtain a target charging pile model;

[0080] In an embodiment of the present invention, a charging pile circuit is deployed in an ARM processor to obtain a target charging pile model. When performing simulation processing, the simulation task of the charging pile circuit is parallelly simulated and calculated in the target charging pile model through the ARM processor.

[0081] S12, loading each parallel sub-circuit onto a field programmable gate array to obtain a target energy release multi-unit model;

[0082] In an embodiment of the present invention, each parallel sub-circuit is loaded onto a field programmable gate array FPGA to obtain a target energy release multi-unit model. During simulation processing, the simulation tasks of each parallel sub-circuit are parallelly simulated and calculated within the target energy release multi-unit model through the field programmable gate array FPGA.

[0083] It is worth mentioning that the time to run the charge and discharge circuit on the ARM processor is 7.5ns, the time to run the energy release multi-unit circuit on the ARM processor is 2510ns, the time to run the charge and discharge circuit on the field programmable gate array FPGA is 580ns, and the time to run the energy release multi-unit circuit on the field programmable gate array FPGA (assuming 5 parallel multi-units) is 1870ns. This shows that ARM and FPGA have their own strengths and can cooperate with each other for calculation.

[0084] S13, exchanging model parameters between the target charging pile model and the target energy release multi-unit model through the communication network to obtain an initial simulation model.

[0085] In an embodiment of the present invention, a target charging pile model and a target energy release multi-unit model are connected via a communication network to obtain an initial simulation model.

[0086] In another embodiment, the circuit voltage and current data of the previous step length of the charging pile circuit and each parallel sub-circuit are exchanged through the communication network to solve the node voltage of the current step length. For example, the energy release multi-unit circuit is equivalent to multiple parallel circuit schemes, where the number of energy release units is M, the user load is N, and there are M+N parallel circuits in total. In the next step length, the circuit voltage and current data of the previous step length are exchanged to solve the node voltage of the current step length circuit network.

[0087] It should be noted that the communication network is used to connect the ARM processor and the field programmable gate array FPGA to realize the calculation information interaction of the energy release device after segmentation.

[0088] Step 204: Optimize the performance of the initial simulation model to obtain a target simulation model;

[0089] Further, step 204 includes the following sub-steps:

[0090] S21, obtaining the operating time of each simulation element in the initial simulation model, and determining whether each operating time is less than a preset time threshold;

[0091] In the embodiment of the present invention, the initial simulation model is tested by using the pre-acquired historical test data to obtain the operation time of each simulation element in the initial simulation model, and it is determined whether each operation time is less than a preset time threshold.

[0092] S22, when the running time is greater than or equal to the time threshold, the simulation element is determined as an abnormal element;

[0093] In the embodiment of the present invention, when the running time is greater than or equal to the time threshold, the simulation element (ie, the target charging pile model or the target energy release multi-unit model) is determined as an abnormal element.

[0094] S23, using a preset performance analysis method to perform a performance test on the initial simulation model to obtain a front-end limit test value and an error guessing test value corresponding to each abnormal component;

[0095] In the embodiment of the present invention, the performance test of the initial simulation model is performed using the Top-down Microarchitecture Analysis Method analysis tool to obtain the front-end limit test value (i.e., FrontendBound test value) and the error speculation test value (i.e., Bad Speculation test value) corresponding to each abnormal component.

[0096] It should be noted that the performance analysis method is a top-down analysis method.

[0097] S24, adjusting the hardware parameters of the initial simulation model according to the front-end limit test value and the error guessing test value corresponding to each abnormal component to obtain an adjusted initial simulation model;

[0098] Further, S24 includes the following sub-steps:

[0099] S241, determining whether the front-end limit test value corresponding to each abnormal component is less than a preset first test threshold;

[0100] In the embodiment of the present invention, it is determined whether the Frontend Bound test value corresponding to each abnormal element is less than a preset first test threshold.

[0101] S242, when the front-end limit test value is greater than or equal to the first test threshold, adjusting the first hardware parameter of the abnormal component associated with the front-end limit test value;

[0102] The first hardware parameter refers to the CPU model deployed by the abnormal component.

[0103] In the embodiment of the present invention, when the current Frontend Bound test value is greater than or equal to the first test threshold, the CPU model of the abnormal component associated with the Frontend Bound test value is adjusted.

[0104] S243, determining whether the error speculation test value corresponding to each abnormal element is less than a preset second test threshold;

[0105] In the embodiment of the present invention, it is determined whether the Bad Speculation test value corresponding to each abnormal element is less than a preset second test threshold.

[0106] S244: When the incorrectly guessed test value is greater than or equal to the second test threshold, adjusting a second hardware parameter of the abnormal component associated with the incorrectly guessed test value.

[0107] The second hardware parameter refers to the compiler type deployed by the exception component.

[0108] In the embodiment of the present invention, when the Bad Speculation test value is greater than or equal to the second test threshold, the compiler type of the abnormal component associated with the Bad Speculation test value is adjusted.

[0109] S25, jumping to execute the step of obtaining the running time of each simulation element in the initial simulation model until each running time is less than a time threshold;

[0110] In the embodiment of the present invention, after each abnormal component is adjusted, an adjusted initial simulation model is obtained, and step S21 is executed based on the jump of the adjusted initial simulation model until each running time is less than the time threshold.

[0111] S26. When each running time is less than a time threshold, a target simulation model is obtained.

[0112] In the embodiment of the present invention, when each operating time is less than the time threshold, it indicates that there is no abnormal component, and the target simulation model is obtained.

[0113] Step 205: simulate the energy release device through the target simulation model to obtain the simulation result corresponding to the energy release device.

[0114] In the embodiment of the present invention, a target simulation model is used to perform simulation calculation on a simulation task of an energy release device to obtain a simulation result corresponding to the energy release device.

[0115] In an embodiment of the present invention, by obtaining the charging pile circuit and the energy release multi-unit circuit of the energy release device, and dividing the energy release multi-unit circuit, a plurality of parallel sub-circuits are obtained, and then each parallel sub-circuit and the charging pile circuit are deployed on a preset parallel simulation platform to obtain an initial simulation model, and by optimizing the hardware of the initial simulation model at the front end to obtain a target simulation model, the existing energy release device simulation method is overcome. The existing energy release device simulation method is not adapted to large-scale system simulation in terms of computing, memory, and communication, and thus it is difficult to meet the performance requirements of microsecond electromagnetic transient real-time simulation of large-scale energy release devices, and the technical problem of reducing the reliability of the operation of the energy release device. Compared with the traditional simulation method, the present invention deploys each parallel sub-circuit and the charging pile circuit on a preset parallel simulation platform to obtain an initial simulation model, and optimizes the performance of the initial simulation model to obtain a target simulation model, thereby improving the simulation efficiency of the energy release device and meeting the performance requirements of microsecond electromagnetic transient real-time simulation of large-scale energy release devices.

[0116] See also Figure 6 , Figure 6 This is a structural block diagram of a real-time simulation system for an energy release device provided in Example 3 of the present invention.

[0117] The present invention provides a real-time simulation system for an energy release device, comprising:

[0118] The acquisition module 301 is used to obtain the charging pile circuit and the energy release multi-unit circuit of the energy release device, and divide the energy release multi-unit circuit into multiple parallel sub-circuits;

[0119] The distribution module 302 is used to load each parallel sub-circuit and the charging pile circuit onto a preset parallel simulation platform to obtain an initial simulation model;

[0120] The optimization module 303 is used to optimize the performance of the initial simulation model to obtain a target simulation model;

[0121] The simulation module 304 is used to simulate the energy release device through the target simulation model to obtain the simulation result corresponding to the energy release device.

[0122] Furthermore, the acquisition module 301 includes:

[0123] A simplification submodule, used for simplifying the energy release multi-unit circuit by using the Norton equivalent method to obtain an equivalent energy release multi-unit circuit;

[0124] The splitting submodule is used to perform power splitting on the equivalent energy release multi-unit circuit through the extremely short transmission line theory to obtain multiple parallel sub-circuits.

[0125] Further, the parallel simulation platform includes an ARM processor, a field programmable gate array and a communication network, and the distribution module 302 includes:

[0126] The first loading submodule is used to load the charging pile circuit into the ARM processor to obtain a target charging pile model;

[0127] A second loading submodule is used to load each parallel subcircuit into a field programmable gate array to obtain a target energy release multi-unit model;

[0128] The integrated submodule is used to exchange model parameters between the target charging pile model and the target energy release multi-unit model through the communication network to obtain an initial simulation model.

[0129] Furthermore, the optimization module 303 includes:

[0130] The acquisition submodule is used to obtain the operation time of each simulation element in the initial simulation model and determine whether each operation time is less than a preset time threshold;

[0131] A first analysis submodule, configured to determine the simulation element as an abnormal element when the running time is greater than or equal to a time threshold;

[0132] The second analysis submodule is used to perform a performance test on the initial simulation model using a preset performance analysis method to obtain a front-end limit test value and an error guessing test value corresponding to each abnormal component;

[0133] A third analysis submodule is used to adjust the hardware parameters of the initial simulation model according to the front-end limit test value and the error guessing test value corresponding to each abnormal element to obtain an adjusted initial simulation model;

[0134] A jump submodule, used for jumping to execute the step of obtaining the running time of each simulation element in the initial simulation model until each running time is less than a time threshold;

[0135] The fourth analysis submodule is used to obtain the target simulation model when each running time is less than a time threshold.

[0136] Furthermore, the third analysis submodule includes:

[0137] A first analysis unit, used to determine whether the front-end limit test value corresponding to each abnormal element is less than a preset first test threshold;

[0138] When the front-end limit test value is greater than or equal to the first test threshold, adjusting the first hardware parameter of the abnormal component associated with the front-end limit test value;

[0139] A second analysis unit, used to determine whether the error speculation test value corresponding to each abnormal element is less than a preset second test threshold;

[0140] When the misguessing test value is greater than or equal to the second test threshold, a second hardware parameter of the abnormal component associated with the misguessing test value is adjusted.

[0141] Furthermore, the performance analysis method includes a top-down analysis method.

[0142] Furthermore, the parallel simulation platform is a system on a chip.

[0143] See also Figure 7 , Figure 7 This is a structural block diagram of an electronic device provided in Embodiment 4 of the present invention.

[0144] An electronic device according to an embodiment of the present invention comprises: a memory 401 and a processor 402, wherein the memory 402 stores a computer program; when the computer program is executed by the processor 402, the processor 402 executes the real-time simulation method of the energy release device according to any of the above embodiments.

[0145] The memory 401 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk or a ROM. The memory 401 has a storage space 403 for a program code 413 for executing any method step in the above method. For example, the storage space 403 for the program code may include individual program codes 413 for implementing the various steps in the above method, respectively. These program codes may be read from or written to one or more computer program products. These computer program products include program code carriers such as a hard disk, a compact disk (CD), a memory card or a floppy disk. The program code may be compressed, for example, in an appropriate form. When these codes are run by a computing and processing device, the computing and processing device is caused to execute the various steps in the above-described method.

[0146] Embodiment 5 of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the real-time simulation method of the energy release device as described in any of the above embodiments is implemented.

[0147] 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.

[0148] In the several embodiments provided in the present application, 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 units is only a logical function division. There may be other division methods in actual implementation. For example, 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.

[0149] 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.

[0150] 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.

[0151] 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, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0152] 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 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 an energy release device, characterized in that: include: Acquire a charging pile circuit and an energy release multi-unit circuit of an energy release device, and divide the energy release multi-unit circuit into multiple parallel sub-circuits; Loading each of the parallel sub-circuits and the charging pile circuit onto a preset parallel simulation platform to obtain an initial simulation model; Optimizing the performance of the initial simulation model to obtain a target simulation model; The energy release device is simulated by the target simulation model to obtain a simulation result corresponding to the energy release device.

2. The real-time simulation method for an energy release device according to claim 1, characterized in that: The step of dividing the energy release multi-unit circuit into multiple parallel sub-circuits comprises: The energy release multi-unit circuit is simplified by using the Norton equivalent method to obtain an equivalent energy release multi-unit circuit; The equivalent energy release multi-unit circuit is powered by splitting electricity through the extremely short transmission line theory to obtain a plurality of parallel sub-circuits.

3. The real-time simulation method for an energy release device according to claim 1, characterized in that: The parallel simulation platform includes an ARM processor, a field programmable gate array and a communication network. The step of loading each of the parallel sub-circuits and the charging pile circuit on a preset parallel simulation platform to obtain an initial simulation model includes: Loading the charging pile circuit onto the ARM processor to obtain a target charging pile model; Loading each of the parallel sub-circuits on the field programmable gate array to obtain a target energy release multi-unit model; The model parameters between the target charging pile model and the target energy release multi-unit model are exchanged through the communication network to obtain an initial simulation model.

4. The real-time simulation method for an energy release device according to claim 1, characterized in that: The step of optimizing the performance of the initial simulation model to obtain a target simulation model includes: Obtaining the operating time of each simulation element in the initial simulation model, and determining whether each operating time is less than a preset time threshold; When the running time is greater than or equal to the time threshold, the simulation element is determined as an abnormal element; Performing a performance test on the initial simulation model using a preset performance analysis method to obtain a front-end limit test value and an error guessing test value corresponding to each of the abnormal elements; Adjusting the hardware parameters of the initial simulation model according to the front-end limit test values ​​and the error guessing test values ​​corresponding to each of the abnormal elements to obtain an adjusted initial simulation model; Jump to execute the step of obtaining the running time of each simulation element in the initial simulation model until each running time is less than the time threshold; When each of the operating time periods is less than the time threshold, a target simulation model is obtained.

5. The real-time simulation method for an energy release device according to claim 4, characterized in that: The step of adjusting the hardware parameters of the initial simulation model according to the front-end limit test value and the error guess test value corresponding to each of the abnormal elements includes: Determine whether the front-end limit test value corresponding to each of the abnormal elements is less than a preset first test threshold; When the front-end limit test value is greater than or equal to the first test threshold, adjusting a first hardware parameter of an abnormal component associated with the front-end limit test value; Determine whether the error speculation test value corresponding to each of the abnormal elements is less than a preset second test threshold; When the false speculation test value is greater than or equal to the second test threshold, a second hardware parameter of the abnormal component associated with the false speculation test value is adjusted.

6. The real-time simulation method for an energy release device according to claim 4, characterized in that: The performance analysis method includes a top-down analysis method.

7. The real-time simulation method for an energy release device according to any one of claims 1 to 6, characterized in that: The parallel simulation platform is a system on a chip.

8. A real-time simulation system for an energy release device, characterized in that: include: A collection module, used for acquiring a charging pile circuit and an energy release multi-unit circuit of an energy release device, and performing circuit segmentation on the energy release multi-unit circuit to obtain a plurality of parallel sub-circuits; A distribution module, used for loading each of the parallel sub-circuits and the charging pile circuit onto a preset parallel simulation platform to obtain an initial simulation model; An optimization module, used for optimizing the performance of the initial simulation model to obtain a target simulation model; The simulation module is used to simulate the energy release device through the target simulation model to obtain the simulation result corresponding to the energy release device.

9. An electronic device, characterized in that: It comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the real-time simulation method of the energy release device as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the real-time simulation method for the energy release device according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Real-time simulation method and system for energy release device

    WO2026174916A1