A multi-simulator collaborative simulation method, simulation main control platform and simulation system

By determining coupled simulators and using Lagrangian polynomial interpolation, the problem of multi-simulator collaborative simulation step synchronization is solved, simulation efficiency and verification accuracy are improved, and it is suitable for design verification of complex systems.

CN108664751BActive Publication Date: 2024-10-29GLOBAL ENERGY INTERCONNECTION RES INST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201810498282.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-05-23
Publication Date
2024-10-29
Estimated Expiration
2038-05-23

AI Technical Summary

Technical Problem

The existing technology is difficult to achieve step synchronization of multi-simulator co-simulation, resulting in low co-simulation efficiency and convergence problems, and it is impossible to obtain correct verification results.

Method used

By determining the coupled simulator and determining the co-simulation step size based on its minimum simulation step size, using Lagrangian polynomials for data interpolation, and predicting the simulation values ​​of the simulator whose simulation step size is longer than the co-simulation step size, various tasks can be achieved. Data interaction and collaborative simulation calculations between simulators.

Benefits of technology

It improves the efficiency of co-simulation, ensures the accuracy and stability of verification, is suitable for step synchronization of different types of simulators, and improves the efficiency of design verification of complex systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN108664751B_ABST
    Figure CN108664751B_ABST
Patent Text Reader

Abstract

The present invention provides a simulation method, a simulation main control platform and a simulation system for multi-simulator collaboration, including: determining the collaborative simulation step size; predicting the simulation value of the simulator whose simulation step size is longer than the collaborative simulation step size as the simulation value of the simulator at the time corresponding to the collaborative simulation step size; each simulator sends its own simulation value to other simulators, and receives the simulation values ​​corresponding to each simulator sent by other simulators, and each simulator performs collaborative simulation calculations according to the simulation values ​​of all simulators. Compared with the closest prior art, the collaborative simulation technology provided by the present invention can adopt collaborative simulation step sizes for different step sizes of the same or different simulators to achieve the optimal efficiency of collaborative verification; when the simulator needs but the collaborative simulation data bus cannot provide data, the signal data value is dynamically predicted and inserted, effectively improving the efficiency of collaborative verification and ensuring the accuracy and stability of collaborative verification collaboration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of power electronics, and in particular relates to a multi-simulator collaborative simulation method, a simulation main control platform and a simulation system. Background Art

[0002] Flexible DC transmission is one of the main development directions of smart grid technology. In the future, flexible DC transmission technology will develop towards multi-terminal, networking, higher voltage and larger capacity. The transmission voltage and power will reach 500kV / 3000MW. There is an urgent need to develop higher voltage and larger capacity flexible DC converter valves and high-voltage DC circuit breakers. The current of the flexible DC converter valve reaches 3000A, and the high-voltage DC circuit breaker requires a breaking current of 18000A or even higher.

[0003] One of the keys to the development of equipment technology is power electronic devices, and the demand for power electronic devices for different equipment is developing in a differentiated trend. For example, flexible DC converter valves require insulated gate bipolar transistor IGBT devices with low on-state voltage drop to significantly reduce the loss of the converter valve; high-voltage DC circuit breakers require IGBT devices with high shutdown capacity to improve the current interruption level of the circuit breaker. With the emergence of different types of flexible DC equipment, there is a demand for customization of the devices used, and the existing IGBT devices are basically not customized for different types of flexible DC equipment, which greatly reduces the operating performance of the equipment. Therefore, it is necessary to closely combine the technical requirements of flexible DC converter valves for low on-state loss and DC circuit breakers for high shutdown capacity to develop two types of IGBT devices with low on-state voltage drop and high shutdown capacity. The original relatively separated research method of devices and devices is no longer applicable, and it is necessary to develop innovative research methods to achieve collaborative innovation from devices to devices.

[0004] The development of high-power IGBT devices involves different aspects such as power semiconductor physics, circuits, electromagnetic fields, heat, mechanical stress, and materials. Traditional, isolated simulation methods can no longer meet the future development needs of customized devices with higher voltages and larger capacities.

[0005] In the collaborative simulation of multiple software, unified collaborative control of each software simulation is required. Each simulator exchanges data with the collaborative simulation main control platform according to a fixed step size. However, due to the complexity of the system solved by each simulator and the different system operation cycles, the collaborative step sizes of each simulator will vary greatly. For example, the step size of the electrical type is usually shorter, ranging from microseconds to milliseconds, while the step size of the thermal field type is longer, ranging from seconds to minutes or even hours. This huge difference in synchronization step size reduces the efficiency of collaborative simulation and also causes convergence problems in the collaborative simulation system, making it impossible to obtain correct verification results. Summary of the invention

[0006] In order to overcome the deficiency of the above-mentioned prior art that it is difficult to perform collaborative simulation of multiple simulators with different step sizes, the present invention proposes a simulation method, a simulation main control platform and a simulation system for collaborative simulation of multiple simulators.

[0007] The solutions adopted to achieve the above objectives are:

[0008] A method for determining step length of multi-simulator collaborative simulation, the improvement of which is:

[0009] Determine the simulator with coupling according to the signal type of each simulator;

[0010] The co-simulation step size is determined according to the minimum simulation step size of the coupled simulators.

[0011] The first preferred technical solution provided by the present invention is improved in that the step of determining the collaborative simulation step size according to the minimum simulation step size of the coupled simulators comprises:

[0012] If the signal types of all coupled simulators are the same, the minimum simulation step size among all simulators is directly selected as the collaborative simulation step size;

[0013] Otherwise, simulators with the same signal type are first grouped, and the minimum simulation step size within each group is used as the intra-group communication step size; the minimum intra-group communication step size is selected between groups as the collaborative simulation step size.

[0014] A multi-simulator collaborative simulation method based on collaborative simulation step length, wherein the collaborative simulation step length is determined by using a multi-simulator collaborative simulation step length determination method;

[0015] Predicting a simulation value of a simulator having a simulation step length longer than the co-simulation step length as the simulation value of the simulator at a time corresponding to the co-simulation step length;

[0016] Each simulator sends its own simulation value to other simulators, and receives the simulation values ​​corresponding to each simulator sent by other simulators. Each simulator performs collaborative simulation calculations based on the simulation values ​​of all simulators.

[0017] The second preferred technical solution provided by the present invention is improved in that the simulation value of the simulator whose predicted simulation step is longer than the collaborative simulation step is used as the simulation value of the simulator at the time corresponding to the collaborative simulation step, including:

[0018] For a simulator whose simulation step is longer than the collaborative simulation step, Lagrange polynomials are used to interpolate between data points simulated by the simulator to predict the simulation value of the simulator at the time corresponding to the collaborative simulation step.

[0019] The third preferred technical solution provided by the present invention is improved in that the interpolation between the data points simulated by the simulator using Lagrange polynomials comprises:

[0020] The following formula is used to perform interpolation calculation between the data points simulated by the simulator:

[0021]

[0022] Where x is the time corresponding to the collaborative simulation step, y=L(x) is the simulation value of the inserted simulator at the time corresponding to the collaborative simulation step, x≠x1,…,x k , l j (x) is the Lagrange basic polynomial, which is calculated as follows:

[0023]

[0024] where (x1,y1),…(x j ,y j ),…(x k ,y k ) is the data point simulated by the simulator, k is the number of data points, x1,…x j …x k They represent the time points at which the simulator performs simulation, y1…y j …y k are the simulated values ​​at the corresponding simulation time points, and m is the sign of the data point.

[0025] A multi-simulator collaborative simulation step length determination system, the improvement of which is that it includes a simulator screening module and a collaborative simulation step length module;

[0026] The simulator screening module is used to determine the coupled simulators according to the signal types of the simulators; the co-simulation step module is used to determine the co-simulation step according to the minimum simulation step of the coupled simulators.

[0027] The fourth preferred technical solution provided by the present invention is improved in that the collaborative simulation step module includes: a non-grouping subunit and a grouping subunit;

[0028] The non-grouping subunit is used to directly select the minimum simulation step size among all simulators as the collaborative simulation step size when the signal types of all simulators are the same;

[0029] The grouping subunit is used to group simulators with the same signal type when there are different signal types between simulators, and use the minimum simulation step in each group as the intra-group communication step; and select the minimum intra-group communication step between each group as the collaborative simulation step.

[0030] A multi-simulator collaborative simulation master control platform based on collaborative simulation step length, the improvement of which is that it includes a multi-simulator collaborative simulation step length determination system, a numerical prediction module and a simulation calculation module;

[0031] The numerical prediction module is used to predict the simulation value of the simulator whose simulation step is longer than the collaborative simulation step as the simulation value of the simulator at the time corresponding to the collaborative simulation step;

[0032] The simulation calculation module is used to control each simulator to send its own simulation value to other simulators, receive the simulation values ​​corresponding to each simulator sent by other simulators, and control each simulator to carry out collaborative simulation calculation according to the simulation values ​​of all simulators.

[0033] The fifth preferred technical solution provided by the present invention is improved in that the numerical prediction module uses Lagrange polynomials to interpolate between data points simulated by the simulator whose simulation step is longer than the collaborative simulation step, and predicts the simulation value of the simulator at the time corresponding to the collaborative simulation step.

[0034] A multi-simulator collaborative simulation system, the improvement of which comprises:

[0035] Multiple emulators;

[0036] A router, used to implement data exchange between simulators installed on the same computer, wherein the data includes simulation values ​​of the simulators; and

[0037] A collaborative simulation main control platform is used to determine coupled simulators according to the signal types of each simulator; to determine the collaborative simulation step size according to the minimum simulation step size of the coupled simulators; to predict the simulation value of a simulator whose simulation step size is longer than the collaborative simulation step size as the simulation value of the simulator at the corresponding time; to control data interaction between simulators through a router, and to control each simulator to carry out collaborative simulation calculations according to the simulation values ​​of all simulators.

[0038] The sixth preferred technical solution provided by the present invention is improved in that it also includes a network inter-process communication channel;

[0039] The simulators installed on different computers realize data exchange between the simulators through the network inter-process communication channel through the router connected to the simulators.

[0040] The seventh preferred technical solution provided by the present invention is improved in that the simulator comprises:

[0041] Sub-model data interface, which serves as an interface for transmitting simulation values ​​between the sub-model and the router;

[0042] The sub-model is used to perform simulation calculations and input simulation values ​​into a shared memory through the sub-model data interface;

[0043] Shared memory, used to store simulation values.

[0044] Compared with the closest prior art, the present invention has the following beneficial effects:

[0045] The present invention determines coupled simulators and determines the collaborative simulation step of coupled simulators, and can predict the simulation value of the simulator whose simulation step is longer than the collaborative simulation step as the simulation value of the simulator at the time corresponding to the collaborative simulation step; each simulator sends its own simulation value to other simulators, and receives the simulation values ​​corresponding to each simulator sent by other simulators, and each simulator performs collaborative simulation calculation according to the simulation values ​​of all simulators. The intelligent simulator step synchronization technology provided by the present invention can adopt different collaborative simulation step sizes for different step sizes of the same or different simulators to achieve the optimal efficiency of collaborative verification; adopts an active data prediction algorithm, and dynamically predicts and inserts signal data values ​​at the moment when the simulator needs but the collaborative simulation data bus cannot provide data, effectively improving the efficiency of collaborative verification and ensuring the accuracy and stability of collaborative verification.

[0046] The simulation system provided by the present invention adopts standard shared memory, data routing, and network communication interfaces, and can be applicable to connecting various analog, digital, and finite element simulators; it supports collaborative verification of the same simulator or different simulators on a single machine or across a network, greatly improving the design verification efficiency of complex systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A schematic flow chart of a method for determining step length of multi-simulator collaborative simulation provided by the present invention;

[0048] Figure 2 A schematic diagram of a collaborative simulation step length determination technique in a multi-simulator collaborative simulation step length determination method provided by the present invention;

[0049] Figure 3 A schematic flow chart of a simulation method for multi-simulator collaboration based on collaborative simulation step length provided by the present invention;

[0050] Figure 4 A schematic diagram of a data prediction technology in a simulation method for multi-simulator collaboration based on collaborative simulation step length provided by the present invention;

[0051] Figure 5A schematic diagram of the effect of the data prediction technology provided by the present invention;

[0052] Figure 6 A schematic diagram of the structure of a multi-simulator collaborative simulation step-size determination system provided by the present invention;

[0053] Figure 7 A schematic diagram of the structure of a multi-simulator collaborative simulation master control platform based on collaborative simulation step length provided by the present invention;

[0054] Figure 8 A schematic diagram of the structure of a multi-simulator collaborative simulation system provided by the present invention. DETAILED DESCRIPTION

[0055] The specific implementation modes of the present invention are further described in detail below with reference to the accompanying drawings.

[0056] Embodiment 1:

[0057] The present invention provides a method for determining the step size of multi-simulator collaborative simulation. The method flow is as follows: Figure 1 As shown, including:

[0058] Step 101: Determine a coupled simulator according to the signal type of each simulator;

[0059] Step 102: Determine the collaborative simulation step size according to the minimum simulation step size of the coupled simulators.

[0060] Wherein, step 2 comprises:

[0061] Step 102-1: If the signal types of all coupled simulators are the same, directly select the minimum simulation step size among all simulators as the collaborative simulation step size;

[0062] Step 102-2: Otherwise, first group the simulators with the same signal type, and use the minimum simulation step length within each group as the intra-group communication step length; and select the minimum intra-group communication step length between each group as the collaborative simulation step length.

[0063] by Figure 2For example, in the collaborative simulation verification process, the simulation step sizes used by simulators A, B, and C are distributed as TA, TB, and TC. If TA = TB = TC, the router will use TA as the synchronization step size; if TA≠TB≠TC, the minimum value of TA, TB, and TC, MIN(TA, TB, TC), will be used; if the connection between simulators is grouped, each group will use the smallest simulation step size within the group as the intra-group communication step size; the smallest intra-group communication step size will be used between groups as the collaborative simulation step size. For example, if simulators A and B are a group, MIN(TA, TB) will be used between A and B as the intra-group communication step size, that is, the coordinated simulation step size within the group. When coordinators A and B communicate with C, MIN(MIN(TA, TB), TC) will be used as the coordinated simulation step size.

[0064] Embodiment 2:

[0065] The present invention also provides a simulation method for multi-simulator collaboration based on collaborative simulation step length, the process of which is as follows: Figure 3 As shown, including:

[0066] Step 201: using a multi-simulator collaborative simulation step determination method to determine the collaborative simulation step length;

[0067] Step 202: predicting a simulation value of a simulator whose simulation step is longer than the co-simulation step, as the simulation value of the simulator at a time corresponding to the co-simulation step;

[0068] In step 202, for a simulator whose simulation step is longer than the collaborative simulation step, Lagrange polynomials are used to interpolate between data points simulated by the simulator to predict the simulation value of the simulator at the time corresponding to the collaborative simulation step.

[0069] Step 203: Each simulator sends its own simulation value to other simulators, and receives the simulation values ​​corresponding to each simulator sent by other simulators. Each simulator performs collaborative simulation calculations based on the simulation values ​​of all simulators.

[0070] The active collaborative data prediction technology proposed in the present invention dynamically predicts and inserts signal data values ​​for the simulator through a data prediction program when the simulator needs various simulation software to provide interactive data, but the software with a longer simulation step cannot complete a simulation step and cannot provide data. The data is then passed to other simulators through a data router to carry out collaborative simulation calculations. Figure 4A schematic diagram of data prediction technology is shown. Taking the simulation step of simulator A as an example, when the time point corresponding to the coordinated simulation step is reached, but simulator A cannot complete a step of simulation and cannot provide data, the prediction program predicts the simulation value of simulator A at this moment as the signal data value, and simulator A transmits the data to other simulators through the data router to carry out collaborative simulation calculation.

[0071] The effect of data prediction technology is as follows Figure 5 As shown in the figure, it can be seen that after using the data prediction technology signal, the signal curve is smoother.

[0072] Specifically, the data prediction program uses Lagrange polynomials to interpolate between data points. Assume that the given data point pairs are as follows: (x1, y1),…(x j ,y j ),…(x k ,y k ), k is the number of data points, x1,…x j …x k They represent the time points at which the simulator performs simulation, y1…y j …y k are the simulation values ​​at the corresponding simulation time points, then x1 and x k For any point x between y and L, the interpolation formula of y = L(x) is as follows:

[0073]

[0074] Among them l j (x) is the Lagrange basic polynomial, which is calculated as follows:

[0075]

[0076] Where x is the time corresponding to the collaborative simulation step x≠x1~x k , y=L(x) is the simulation value of the inserted simulator at the time corresponding to the collaborative simulation step.

[0077] Lagrange polynomials can also be used to interpolate data points. 2 As an example, the prediction algorithm is explained. Assume that:

[0078] x1=1, f(x1)=1; x2=2, f(x2)=4; x3=3, f(x3)=9.

[0079] The corresponding Lagrange polynomial is:

[0080]

[0081] At this time, if you need to extrapolate the value of y4 when x4=3.5, the calculation result of the Lagrange polynomial is as follows:

[0082]

[0083] It can be seen that the extrapolated results using the Lagrange polynomial algorithm are consistent with the actual formula calculation results.

[0084] Embodiment 3:

[0085] The present invention also provides a multi-simulator collaborative simulation step determination system, the system structure is as follows Figure 6 As shown, it includes a simulator screening module and a collaborative simulation step module;

[0086] The simulator screening module is used to determine the coupled simulators according to the signal types of the simulators; the collaborative simulation step module is used to determine the collaborative simulation step according to the minimum simulation step of the coupled simulators.

[0087] The collaborative simulation step module includes: a non-grouping subunit and a grouping subunit;

[0088] The non-grouping sub-unit is used to directly select the minimum simulation step size among all simulators as the collaborative simulation step size when the signal types of all simulators are the same;

[0089] The grouping subunit is used to group the simulators with the same signal type when there are different signal types between the simulators, and use the minimum simulation step in each group as the intra-group communication step; and select the minimum intra-group communication step between the groups as the collaborative simulation step.

[0090] Embodiment 4:

[0091] The present invention also provides a multi-simulator collaborative simulation master control platform based on collaborative simulation step length, the platform structure is as follows Figure 7 As shown, it includes a collaborative simulation step determination system, a numerical prediction module and a simulation calculation module;

[0092] A numerical prediction module, used to predict a simulation value of a simulator whose simulation step is longer than the co-simulation step, as the simulation value of the simulator at a time corresponding to the co-simulation step;

[0093] The simulation calculation module is used to control each simulator to send its own simulation value to other simulators, receive the simulation values ​​corresponding to each simulator sent by other simulators, and control each simulator to carry out collaborative simulation calculation according to the simulation values ​​of all simulators.

[0094] Among them, the numerical prediction module uses Lagrange polynomials to interpolate between the data points simulated by the simulator for the simulator whose simulation step is longer than the collaborative simulation step, and predicts the simulation value of the simulator at the time corresponding to the collaborative simulation step.

[0095] Among them, the Lagrange polynomial is used to interpolate the data points simulated by the simulator as shown in the following formula:

[0096]

[0097] Where x is the time corresponding to the collaborative simulation step, y = L(x) is the simulation value of the inserted simulator at the time corresponding to the collaborative simulation step, x≠x1,…,x k , l j (x) is the Lagrange basic polynomial, which is calculated as follows:

[0098]

[0099] where (x1,y1),…(x j ,y j ),…(x k ,y k ) is the data point simulated by the simulator, k is the number of data points, x1,…x j …x k They represent the time points at which the simulator performs simulation, y1…y j …y k are the simulated values ​​at the corresponding simulation time points, and m is the sign of the data point.

[0100] Embodiment 5:

[0101] The present invention also provides a multi-simulator collaborative simulation system, the structural diagram of which is shown in FIG. Figure 8 As shown, multiple simulators are included;

[0102] A router, used to realize data exchange between simulators installed on the same computer, the data including simulation values ​​of the simulators; and

[0103] The collaborative simulation main control platform is used to determine the coupled simulators according to the signal types of each simulator; to determine the collaborative simulation step size according to the minimum simulation step size of the coupled simulators; to predict the simulation value of the simulator whose simulation step size is longer than the collaborative simulation step size as the simulation value of the simulator at the corresponding time; to control the data interaction between the simulators through the router, and to control each simulator to carry out collaborative simulation calculations according to the simulation values ​​of all simulators.

[0104] Among them, the simulation system also includes a network inter-process communication channel;

[0105] The simulators installed on different computers realize data exchange between the simulators through the network inter-process communication channel through the router connected to the simulators.

[0106] The simulator includes:

[0107] Sub-model data interface, which serves as an interface for transmitting simulation values ​​between the sub-model and the router;

[0108] The sub-model is used to perform simulation calculations and input simulation values ​​into the shared memory through the sub-model data interface;

[0109] Shared memory, used to store simulation values.

[0110] The simulator is composed of sub-models, model data interfaces and shared memories connected in sequence. The model data interface is developed from the standard API interface published by various professional simulators. When the simulator calls the sub-model through the model data interface, it will start the shared memory manager inside the model to realize the storage and management of related signal data. The shared memory is connected to the data router. The data router is responsible for converting the read data into the required format and sending it out. At the same time, it also converts the external data into the required format and writes it into the shared memory, and passes it to the simulator for the next step of solving. If the simulators are located on the same computer, the same router will directly complete the data transmission between the simulators. If the simulators are located on different computers, different routers will realize the data exchange between the simulators through the network inter-process communication channel.

[0111] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application rather than to limit its protection scope. Although the present application has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that after reading the present application, those skilled in the art can still make various changes, modifications or equivalent substitutions to the specific implementation methods of the application, but these changes, modifications or equivalent substitutions are all within the protection scope of the claims to be approved.

Claims

1. A method for determining step size of multi-simulator collaborative simulation, characterized in that: Determine the simulator with coupling according to the signal type of each simulator; Determine the collaborative simulation step size according to the minimum simulation step size of the coupled simulators; The step of determining the collaborative simulation step according to the minimum simulation step of the coupled simulators includes: If the signal types of all coupled simulators are the same, the minimum simulation step size among all simulators is directly selected as the collaborative simulation step size; Otherwise, simulators with the same signal type are grouped first, and the minimum simulation step size within each group is used as the intra-group communication step size; the minimum intra-group communication step size is selected between groups as the collaborative simulation step size.

2. A simulation method for multi-simulator collaboration based on collaborative simulation step length, characterized in that: Determine the collaborative simulation step length by using the method as claimed in claim 1; Predicting a simulation value of a simulator having a simulation step longer than the co-simulation step as the simulation value of the simulator at a time corresponding to the co-simulation step; Each simulator sends its own simulation value to other simulators, and receives the simulation values ​​corresponding to each simulator sent by other simulators. Each simulator performs collaborative simulation calculations based on the simulation values ​​of all simulators.

3. The method according to claim 2, characterized in that The simulation value of the simulator whose predicted simulation step length is longer than the collaborative simulation step length, as the simulation value of the simulator at the time corresponding to the collaborative simulation step length, includes: For a simulator whose simulation step is longer than the collaborative simulation step, Lagrange polynomials are used to interpolate between data points simulated by the simulator to predict the simulation value of the simulator at the time corresponding to the collaborative simulation step.

4. The method according to claim 3, characterized in that The interpolation between the data points simulated by the simulator using Lagrange polynomials comprises: The following formula is used to perform interpolation calculation between the data points simulated by the simulator: Where x is the time corresponding to the collaborative simulation step, y=L(x) is the simulation value of the inserted simulator at the time corresponding to the collaborative simulation step, x≠x1,…,x k , l j (x) is the Lagrange basic polynomial, which is calculated as follows: where (x1,y1),…(x j ,y j ),…(x k ,y k ) is the data point simulated by the simulator, k is the number of data points, x1,…x j …x k They represent the time points at which the simulator performs simulation, y1…y j …y k are the simulated values ​​at the corresponding simulation time points, and m is the sign of the data point.

5. A multi-simulator collaborative simulation step determination system, characterized in that: Includes simulator screening module and co-simulation step module; The simulator screening module is used to determine the simulators with coupling according to the signal types of each simulator; The collaborative simulation step size module is used to determine the collaborative simulation step size according to the minimum simulation step size of the coupled simulators; The collaborative simulation step module includes: a non-grouping subunit and a grouping subunit; The non-grouping subunit is used to directly select the minimum simulation step size among all simulators as the collaborative simulation step size when the signal types of all simulators are the same; The grouping subunit is used to group simulators with the same signal type when there are different signal types between simulators, and use the minimum simulation step in each group as the intra-group communication step; and select the minimum intra-group communication step between each group as the collaborative simulation step.

6. A multi-simulator collaborative simulation master control platform based on collaborative simulation step length, characterized in that: The collaborative simulation step length determination system as claimed in claim 5 further comprises a numerical prediction module and a simulation calculation module; The numerical prediction module is used to predict the simulation value of the simulator whose simulation step is longer than the collaborative simulation step as the simulation value of the simulator at the time corresponding to the collaborative simulation step; The simulation calculation module is used to control each simulator to send its own simulation value to other simulators, receive the simulation values ​​corresponding to each simulator sent by other simulators, and control each simulator to carry out collaborative simulation calculation according to the simulation values ​​of all simulators.

7. The collaborative simulation master control platform according to claim 6, characterized in that: The numerical prediction module uses Lagrange polynomials to interpolate between data points simulated by the simulator whose simulation step is longer than the collaborative simulation step, and predicts the simulation value of the simulator at the time corresponding to the collaborative simulation step.

8. A multi-simulator collaborative simulation system, characterized in that: include: Multiple emulators; A router, used to realize data interaction between simulators installed on the same computer, wherein the data includes simulation values ​​of the simulators; as well as A collaborative simulation control platform is used to determine the coupled simulators according to the signal types of each simulator; For determining the co-simulation step size according to the minimum simulation step size of the coupled simulators; used to predict a simulation value of a simulator having a simulation step length longer than the collaborative simulation step length, as the simulation value of the corresponding time of the simulator; It is used to control the data exchange between simulators through the router, and control each simulator to carry out collaborative simulation calculation according to the simulation values ​​of all simulators; The step of determining the collaborative simulation step according to the minimum simulation step of the coupled simulators includes: If the signal types of all coupled simulators are the same, the minimum simulation step size among all simulators is directly selected as the collaborative simulation step size; Otherwise, simulators with the same signal type are grouped first, and the minimum simulation step size within each group is used as the intra-group communication step size; the minimum intra-group communication step size is selected between groups as the collaborative simulation step size.

9. The system according to claim 8, characterized in that It also includes network inter-process communication channels; The simulators installed on different computers realize data exchange between the simulators through the network inter-process communication channel through the router connected to the simulators.

10. The system according to claim 8 or 9, characterized in that The simulator comprises: Sub-model data interface, which serves as an interface for transmitting simulation values ​​between the sub-model and the router; The sub-model is used to perform simulation calculations and input simulation values ​​into a shared memory through the sub-model data interface; Shared memory, used to store simulation values.

Citation Information

Patent Citations

  • Coupling control method for multi-field collaborative simulation computation

    CN102867081A

  • Multi-rate interface method and apparatus for real-time simulation of power system

    CN106951646A