CN108664751B - Multi-simulator collaborative simulation method, simulation master control platform and simulation system - Google Patents
Multi-simulator collaborative simulation method, simulation master control platform and simulation system Download PDFInfo
- Publication number
- CN108664751B CN108664751B CN201810498282.0A CN201810498282A CN108664751B CN 108664751 B CN108664751 B CN 108664751B CN 201810498282 A CN201810498282 A CN 201810498282A CN 108664751 B CN108664751 B CN 108664751B
- Authority
- CN
- China
- Prior art keywords
- simulation
- simulator
- simulators
- step length
- collaborative
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 322
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000004364 calculation method Methods 0.000 claims abstract description 26
- 238000004891 communication Methods 0.000 claims description 26
- 230000008878 coupling Effects 0.000 claims description 17
- 238000010168 coupling process Methods 0.000 claims description 17
- 238000005859 coupling reaction Methods 0.000 claims description 17
- 230000001808 coupling effect Effects 0.000 claims description 10
- 230000003993 interaction Effects 0.000 claims description 9
- 230000008569 process Effects 0.000 claims description 7
- 238000012216 screening Methods 0.000 claims description 6
- 238000012795 verification Methods 0.000 abstract description 9
- 238000005516 engineering process Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 8
- 238000011161 development Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 4
- 230000006872 improvement Effects 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012942 design verification Methods 0.000 description 1
- 230000005672 electromagnetic field Effects 0.000 description 1
- 238000013213 extrapolation Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a multi-simulator collaborative simulation method, a simulation main control platform and a simulation system, which comprise the following steps: determining a co-simulation step length; predicting the simulation value of the simulator with the simulation step length longer than the collaborative simulation step length, and taking the simulation value as the simulation value of the simulator at the corresponding time of the collaborative simulation step length; each simulator sends the simulation values of the simulators to other simulators, receives the simulation values corresponding to the simulators sent by the other simulators, and each simulator performs collaborative simulation calculation according to the simulation values of all the simulators. Compared with the closest prior art, the collaborative simulation technology provided by the invention can adopt collaborative simulation step sizes aiming at different step sizes of the same or different simulators so as to realize optimal collaborative verification efficiency; and dynamically predicting and inserting signal data values at the moment that the simulator needs and the collaborative simulation data bus cannot provide data, so that collaborative verification efficiency is effectively improved, and collaborative verification precision and stability are ensured.
Description
Technical Field
The invention belongs to the technical field of power electronics, and particularly relates to a multi-simulator collaborative simulation method, a simulation master control platform and a simulation system.
Background
Flexible direct current transmission is one of the main directions of intelligent power grid technology development, flexible direct current transmission technology will be developed towards multiport, networking and higher voltage and larger capacity in the future, the transmission voltage and power will reach 500kV/3000MW, flexible direct current converter valves and high voltage direct current breakers with higher voltage and larger capacity are urgently needed to be developed, wherein the current of the flexible direct current converter valves reaches 3000A, and the breaking current of the high voltage direct current breakers is required to reach 18000A or even higher.
One of the key of the technical development of equipment is a power electronic device, and the requirements of different equipment on the power electronic device are in differential trend development, such as an Insulated Gate Bipolar Transistor (IGBT) device with a low on-state voltage drop required by a flexible direct current converter valve, so that the loss of the converter valve is greatly reduced; high voltage direct current circuit breakers require IGBT devices with high turn-off capability to increase the current breaking level of the circuit breaker. Along with the appearance of different types of flexible direct current equipment, the customization demands on the used devices are met, the traditional IGBT devices are basically not subjected to customization development according to different types of flexible direct current equipment, the running performance of the equipment is greatly reduced, therefore, the two types of IGBT devices, namely low-on voltage drop and high-off capability, are required to be respectively developed by closely combining the technical demands of a flexible direct current converter valve on low-on loss and high-off capability of a direct current breaker, the original research method of relative rupture of the devices and the devices is not suitable, and an innovative research method is required to be developed to realize collaborative innovation from the devices to the devices.
The development of a high-power IGBT device relates to different directions of power semiconductor physics, circuits, electromagnetic fields, thermal and mechanical stress, materials and the like, and the traditional mutual fracture simulation means can not meet the development requirements of customized devices with higher voltage and larger capacity in the future.
When the multi-software collaborative simulation is performed, unified collaborative control is required to be performed on each software simulation, each simulator exchanges data according to a fixed step length between the main control platform of the collaborative simulation, but due to the complexity of solving a system by each simulator and the difference of the running period of the system, the collaborative step length of each simulator has great difference, for example, the step length of an electric class is usually shorter and is in the microsecond to millisecond level, the step length of a thermal field class is longer and is in the second to minute or even hour level, the great difference in the synchronous step length causes the reduction of the collaborative simulation efficiency, and meanwhile, the collaborative simulation system has convergence problem and cannot obtain a correct verification result.
Disclosure of Invention
In order to overcome the defect that the prior art is difficult to perform multi-simulator collaborative simulation with different step sizes, the invention provides a multi-simulator collaborative simulation method, a simulation main control platform and a simulation system.
The solution adopted for achieving the purpose is as follows:
In a multi-simulator co-simulation step size determination method, the improvement comprising:
Determining simulators with coupling according to the signal types of the simulators;
And determining the co-simulation step length according to the minimum simulation step length of the simulator with the coupling property.
The first preferred technical scheme provided by the invention is improved in that the step of determining the co-simulation step according to the minimum simulation step of the simulator with the coupling property comprises the following steps:
If the signal types of all simulators with the coupling are the same, directly selecting the minimum simulation step length in all simulators as the collaborative simulation step length;
Otherwise, grouping simulators with the same signal type, and taking the minimum simulation step length in each group as the intra-group communication step length; and selecting the smallest intra-group communication step length between the groups as a co-simulation step length.
In the multi-simulator collaborative simulation method based on collaborative simulation step length, the improvement is that the multi-simulator collaborative simulation step length determination method is adopted to determine the collaborative simulation step length;
Predicting the simulation value of a simulator with the simulation step length longer than the collaborative simulation step length, and taking the simulation value as the simulation value of the simulator at the corresponding time of the collaborative simulation step length;
Each simulator sends the simulation values of the simulators to other simulators, receives the simulation values corresponding to the simulators sent by the other simulators, and each simulator performs collaborative simulation calculation according to the simulation values of all the simulators.
The second preferred technical scheme provided by the invention is improved in that the simulation numerical value of the simulator with the predicted simulation step length longer than the collaborative simulation step length is used as the simulation numerical value of the simulator at the corresponding time of the collaborative simulation step length, and the method comprises the following steps:
And aiming at the simulator with the simulation step length longer than the collaborative simulation step length, interpolating between data points simulated by the simulator by adopting a Lagrangian polynomial, and predicting the simulation value of the simulator at the time corresponding to the collaborative simulation step length.
The third preferred technical scheme provided by the invention is improved in that the interpolation between the data points simulated by the simulator by adopting the Lagrangian polynomial comprises the following steps:
Interpolation calculation is carried out between data points simulated by the simulator by adopting the following steps:
Wherein x is the time corresponding to the co-simulation step length, y=l (x) is the simulation value of the inserted simulator at the time corresponding to the co-simulation step length, x not equal to x 1,…,xk,lj (x) is the lagrangian basic polynomial, and the following formula is calculated:
Wherein (x 1,y1),…(xj,yj),…(xk,yk) is a data point simulated by the simulator, k is the number of data points, x 1,…xj…xk respectively represents the time point of the simulation performed by the simulator, y 1…yj…yk respectively is a value simulated by the corresponding simulation time point, and m is a mark of the data points.
In the improvement, the multi-simulator co-simulation step length determining system comprises a simulator screening module and a co-simulation step length module;
the simulator screening module is used for determining simulators with coupling according to the signal types of the simulators; the co-simulation step length module is used for determining the co-simulation step length according to the minimum simulation step length of the simulator with the coupling property.
The fourth preferred technical scheme provided by the invention is improved in that the co-simulation step size module comprises: a no packet subunit and a packet subunit;
The grouping-free subunit is configured to directly select a minimum simulation step size in all simulators as a collaborative simulation step size when signal types of all simulators are the same;
The grouping subunit is used for grouping simulators with the same signal type when the signal types among the simulators are different, and taking the minimum simulation step length in each group as the intra-group communication step length; and selecting the smallest intra-group communication step length between the groups as a co-simulation step length.
The multi-simulator co-simulation master control platform based on the co-simulation step length is improved in that the multi-simulator co-simulation master control platform comprises a multi-simulator co-simulation step length determining system, a numerical prediction module and a simulation calculation module;
The numerical value prediction module is used for predicting the simulation numerical value of the simulator with the simulation step length longer than the collaborative simulation step length, and taking the simulation numerical value as the simulation numerical value of the simulator at the time corresponding to the collaborative simulation step length;
The simulation calculation module is used for controlling each simulator to send the simulation value of each simulator to other simulators, receiving the simulation values corresponding to the simulators sent by the other simulators, and controlling each simulator to develop collaborative simulation calculation according to the simulation values of all simulators.
The fifth preferred technical scheme provided by the invention is improved in that the numerical value prediction module is used for interpolating between data points simulated by the simulator by using a Lagrangian polynomial aiming at the simulator with the simulation step length longer than the collaborative simulation step length, and predicting the simulation numerical value of the simulator at the time corresponding to the collaborative simulation step length.
In a multi-simulator collaborative simulation system, the improvement comprising:
A plurality of simulators;
The router is used for realizing data interaction among simulators installed on the same computer, wherein the data comprises simulation values of the simulators; and
The collaborative simulation main control platform is used for determining simulators with coupling according to the signal types of the simulators; the method comprises the steps of determining a co-simulation step according to the minimum simulation step of a simulator with coupling; the simulation numerical value of the simulator is used for predicting the simulation step length longer than the collaborative simulation step length and is used as the simulation numerical value of the corresponding time of the simulator; the method is used for controlling the data interaction among the simulators through the router and controlling each simulator to develop collaborative simulation calculation according to simulation values of all simulators.
The sixth preferred technical scheme provided by the invention is characterized by further comprising a communication channel between network processes;
The data interaction among the simulators is realized by routers connected by the simulators on different computers through a communication channel between network processes.
The seventh preferred technical solution provided by the present invention is improved in that the emulator includes:
the sub-model data interface is used as an interface for transmitting simulation values between the sub-model and the router;
the sub-model is used for carrying out simulation calculation and inputting simulation values into the shared memory through the sub-model data interface;
and the shared memory is used for storing the simulation numerical value.
Compared with the closest prior art, the invention has the following beneficial effects:
According to the invention, through determining the simulator with the coupling and determining the co-simulation step length of the simulator with the coupling, the simulation value of the simulator with the simulation step length longer than the co-simulation step length can be predicted and used as the simulation value of the simulator at the corresponding time of the co-simulation step length; each simulator sends the simulation values of the simulators to other simulators, receives the simulation values corresponding to the simulators sent by the other simulators, and each simulator performs collaborative simulation calculation according to the simulation values of all the simulators. The intelligent simulator step length synchronization technology provided by the invention can adopt different collaborative simulation step lengths aiming at different step lengths of the same or different simulators so as to realize optimal collaborative verification efficiency; and by adopting an active data prediction algorithm, dynamically predicting and inserting signal data values at the moment that the simulator needs and the collaborative simulation data bus cannot provide data, so that collaborative verification efficiency is effectively improved, and collaborative verification precision and stability are ensured.
In the simulation system provided by the invention, standard shared memory, data routing and network communication interfaces are adopted, so that the simulation system can be suitable for connecting various analog, digital and finite element simulators; and collaborative verification of the same simulator or different simulators among single machines or networks is supported, so that the design verification efficiency of the complex system is greatly improved.
Drawings
FIG. 1 is a schematic flow chart of a multi-simulator collaborative simulation step size determination method provided by the invention;
FIG. 2 is a schematic diagram of a co-simulation step determination technique in a multi-simulator co-simulation step determination method according to the present invention;
FIG. 3 is a schematic flow chart of a multi-simulator collaborative simulation method based on collaborative simulation step length provided by the invention;
FIG. 4 is a schematic diagram of a data prediction technique in a multi-simulator collaborative simulation method based on collaborative simulation step length provided by the invention;
FIG. 5 is a schematic diagram of the effect of data prediction techniques provided by the present invention;
FIG. 6 is a schematic diagram of a multi-simulator co-simulation step size determination system according to the present invention;
FIG. 7 is a schematic diagram of a multi-simulator co-simulation master control platform based on co-simulation step length provided by the invention;
FIG. 8 is a schematic diagram of a multi-simulator collaborative simulation system according to the present invention.
Detailed Description
The following describes the embodiments of the present invention in further detail with reference to the drawings.
Example 1:
The invention provides a multi-simulator collaborative simulation step length determining method, which is shown in a figure 1 and comprises the following steps:
step 101: determining simulators with coupling according to the signal types of the simulators;
Step 102: and determining the co-simulation step length according to the minimum simulation step length of the simulator with the coupling property.
Wherein, step2 includes:
step 102-1: if the signal types of all simulators with the coupling are the same, directly selecting the minimum simulation step length in all simulators as the collaborative simulation step length;
Step 102-2: otherwise, grouping simulators with the same signal type, and taking the minimum simulation step length in each group as the intra-group communication step length; and selecting the smallest intra-group communication step length between the groups as a co-simulation step length.
Taking fig. 2 as an example, in the co-simulation verification process, the simulation step size adopted by the simulator A, B, C is distributed as TA, TB, TC. If ta=tb=tc, the router will use TA as the synchronization step; if TA. Noteq., TB. Noteq., TC, then use the minimum MIN of TA, TB, TC (TA, TB, TC); if the connection between simulators is grouped, each group adopts the smallest simulation step length in the group as the communication step length in the group; the minimum intra-group communication step length is adopted between each group and is used as a co-simulation step length, for example, if simulators A and B are in one group, MIN (TA, TB) is adopted between A and B as an intra-group communication step length, namely, the inter-group communication is carried out between coordinators A and B and C, and MIN (TA, TB) is adopted as a co-simulation step length.
Example 2:
the invention also provides a multi-simulator collaborative simulation method based on collaborative simulation step length, the flow of which is shown in figure 3, comprising the following steps:
Step 201: adopting a multi-simulator collaborative simulation step length determining method to determine collaborative simulation step length;
step 202: predicting the simulation value of the simulator with the simulation step length longer than the collaborative simulation step length, and taking the simulation value as the simulation value of the simulator at the corresponding time of the collaborative simulation step length;
in step 202, for the simulator with the simulation step length longer than the co-simulation step length, interpolation is performed between data points simulated by the simulator by using a lagrangian polynomial, and simulation values of the simulator at corresponding times of the co-simulation step length are predicted.
Step 203: each simulator sends the simulation values of the simulators to other simulators, receives the simulation values corresponding to the simulators sent by the other simulators, and each simulator performs collaborative simulation calculation according to the simulation values of all the simulators.
According to the active collaborative data prediction technology provided by the invention, when the simulator needs each simulation software to provide interactive data and the software with longer simulation step length can not complete the simulation of one step length and can not provide data, the simulator is dynamically predicted and inserted with signal data values through a data prediction program, and the data is transmitted to other simulators through a data router to develop collaborative simulation calculation. Fig. 4 shows a schematic diagram of a data prediction technique. Taking the example that the simulation step length of the simulator A is longer than the coordination simulation step length, when the time point corresponding to the coordination simulation step length is reached, the simulator A cannot complete the simulation of one step length and cannot provide data, at the moment, the simulation numerical value of the simulator A is predicted to be used as a signal data value according to a prediction program, and the simulator A transmits the data to other simulators through a data router to develop collaborative simulation calculation.
The effect of the data prediction technique is shown in fig. 5. It can be seen that the signal curve is smoother after using the data prediction technique.
Specifically, the data prediction program interpolates between data points using lagrangian polynomials, assuming that a given data point pair is as follows: (x 1,y1),…(xj,yj),…(xk,yk), k is the number of data points, x 1,…xj…xk is the time point of simulation by the simulator, y 1…yj…yk is the value simulated by the corresponding simulation time point, and when x is any point x between x 1 and x k, the interpolation calculation formula of y=l (x) is as follows:
where l j (x) is the Lagrangian base polynomial, calculated as follows:
wherein x is the time x not equal to x 1~xk corresponding to the co-simulation step length, and y=l (x) is the simulation value of the inserted simulator at the time corresponding to the co-simulation step length.
The lagrangian polynomial can also extrapolate the data points, and the prediction algorithm is described below using the function y=x 2 as an example. Assume that it is known that:
x1=1,f(x1)=1;x2=2,f(x2)=4;x3=3,f(x3)=9。
the corresponding lagrangian polynomial is:
At this time, if the value of y 4 at x 4 =3.5 needs to be extrapolated, the calculation result of the lagrangian polynomial is as follows:
it follows that the result of extrapolation using the lagrangian polynomial algorithm corresponds to the actual formula calculation result.
Example 3:
The invention also provides a multi-simulator co-simulation step length determining system, the system structure is shown in figure 6, and the system comprises a simulator screening module and a co-simulation step length module;
The simulator screening module is used for determining simulators with coupling according to the signal types of the simulators; and the co-simulation step length module is used for determining the co-simulation step length according to the minimum simulation step length of the simulator with the coupling property.
Wherein, the co-simulation step size module includes: a no packet subunit and a packet subunit;
The grouping-free subunit is used for directly selecting the minimum simulation step length in all simulators as the collaborative simulation step length when the signal types of all simulators are the same;
The grouping subunit is used for grouping simulators with the same signal type when the signal types among the simulators are different, and taking the minimum simulation step length in each group as the intra-group communication step length; and selecting the smallest intra-group communication step length between the groups as a co-simulation step length.
Example 4:
The invention also provides a multi-simulator co-simulation master control platform based on the co-simulation step length, and the platform structure is shown in figure 7, and comprises a co-simulation step length determining system, a numerical value predicting module and a simulation calculating module;
the numerical value prediction module is used for predicting the simulation numerical value of the simulator with the simulation step length longer than the collaborative simulation step length, and taking the simulation numerical value as the simulation numerical value of the simulator at the corresponding time of the collaborative simulation step length;
The simulation calculation module is used for controlling each simulator to send the simulation value of each simulator to other simulators, receiving the simulation values corresponding to the simulators sent by the other simulators, and controlling each simulator to develop collaborative simulation calculation according to the simulation values of all simulators.
The numerical value prediction module is used for predicting simulation numerical values of the simulator at the corresponding time of the collaborative simulation step by interpolating between data points simulated by the simulator by using a Lagrangian polynomial aiming at the simulator with the simulation step length longer than the collaborative simulation step length.
The interpolation between the data points simulated by the simulator by using the Lagrangian polynomial is specifically shown as follows:
Wherein x is the time corresponding to the co-simulation step length, y=l (x) is the simulation value of the inserted simulator at the time corresponding to the co-simulation step length, x not equal to x 1,…,xk,lj (x) is the lagrangian base polynomial, and the following formula is calculated:
Wherein (x 1,y1),…(xj,yj),…(xk,yk) is the data point simulated by the simulator, k is the number of data points, x 1,…xj…xk is the time point simulated by the simulator, y 1…yj…yk is the simulated value corresponding to the simulation time point, and m is the mark of the data points.
Example 5:
The invention also provides a simulation system with multiple simulators in cooperation, the structural schematic diagram of which is shown in FIG. 8, comprising a plurality of simulators;
the router is used for realizing data interaction among simulators installed on the same computer, and the data comprise simulation values of the simulators; and
The collaborative simulation main control platform is used for determining simulators with coupling according to the signal types of the simulators; determining a co-simulation step size by using the minimum simulation step size of the simulator with the coupling property; the simulation numerical value of the simulator is used for predicting the simulation step length longer than the collaborative simulation step length and is used as the simulation numerical value of the corresponding time of the simulator; the method is used for controlling the data interaction among the simulators through the router and controlling each simulator to develop collaborative simulation calculation according to simulation values of all simulators.
The simulation system also comprises a communication channel between network processes;
The data interaction among the simulators is realized by routers connected by the simulators on different computers through a communication channel between network processes.
Wherein the simulator comprises:
the sub-model data interface is used as an interface for transmitting simulation values between the sub-model and the router;
the sub-model is used for performing simulation calculation and inputting simulation values into the shared memory through a sub-model data interface;
and the shared memory is used for storing the simulation numerical value.
The simulator is formed by sequentially connecting a sub-model, a model data interface and a shared memory. The model data interface is developed by standard API interfaces published by each professional simulator, and when the simulator calls the sub model through the model data interface, a shared memory management program in the model is started for realizing the storage and management of related signal data. The shared memory is connected with the data router, and the data router is responsible for converting the read data into a required format and sending the data out, and simultaneously converting the externally received data into the required format and writing the data into the shared memory, and transmitting the data into the simulator for further solving. If the simulators are located on the same computer, the same router directly completes data transmission work among the simulators, and if the simulators are located on different computers, different routers realize data exchange work among the simulators through communication channels among network processes.
It should be noted that the above embodiments are only for illustrating the technical solution of the present application and not for limiting the scope of protection thereof, and although the present application has been described in detail with reference to the above embodiments, it should be understood by those skilled in the art that various changes, modifications or equivalents may be made to the specific embodiments of the application after reading the present application, and these changes, modifications or equivalents are within the scope of protection of the claims appended hereto.
Claims (10)
1. A multi-simulator collaborative simulation step length determining method is characterized in that:
Determining simulators with coupling according to the signal types of the simulators;
determining a co-simulation step length according to the minimum simulation step length of the simulator with the coupling property;
the step of determining the co-simulation step according to the minimum simulation step of the simulator with the coupling property comprises the following steps:
If the signal types of all simulators with the coupling are the same, directly selecting the minimum simulation step length in all simulators as the collaborative simulation step length;
Otherwise, grouping simulators with the same signal type, and taking the minimum simulation step length in each group as the intra-group communication step length; and selecting the smallest intra-group communication step length between the groups as a co-simulation step length.
2. A multi-simulator collaborative simulation method based on collaborative simulation step length is characterized by comprising the following steps:
Determining a co-simulation step size by adopting the method as claimed in claim 1;
Predicting the simulation value of a simulator with the simulation step length longer than the collaborative simulation step length, and taking the simulation value as the simulation value of the simulator at the corresponding time of the collaborative simulation step length;
Each simulator sends the simulation values of the simulators to other simulators, receives the simulation values corresponding to the simulators sent by the other simulators, and each simulator performs collaborative simulation calculation according to the simulation values of all the simulators.
3. The method of claim 2, wherein predicting the simulation value of the simulator having a longer simulation step than the co-simulation step as the simulation value of the simulator at the time corresponding to the co-simulation step comprises:
And aiming at the simulator with the simulation step length longer than the collaborative simulation step length, interpolating between data points simulated by the simulator by adopting a Lagrangian polynomial, and predicting the simulation value of the simulator at the time corresponding to the collaborative simulation step length.
4. The method of claim 3, wherein interpolating between data points simulated by the simulator using a lagrangian polynomial comprises:
Interpolation calculation is carried out between data points simulated by the simulator by adopting the following steps:
Wherein x is the time corresponding to the co-simulation step length, y=l (x) is the simulation value of the inserted simulator at the time corresponding to the co-simulation step length, x not equal to x 1,…,xk,lj (x) is the lagrangian basic polynomial, and the following formula is calculated:
Wherein (x 1,y1),…(xj,yj),…(xk,yk) is a data point simulated by the simulator, k is the number of data points, x 1,…xj…xk respectively represents the time point of the simulation performed by the simulator, y 1…yj…yk respectively is a value simulated by the corresponding simulation time point, and m is a mark of the data points.
5. The multi-simulator collaborative simulation step length determining system is characterized by comprising a simulator screening module and a collaborative simulation step length module;
the simulator screening module is used for determining simulators with coupling according to the signal types of the simulators; the co-simulation step length module is used for determining a co-simulation step length according to the minimum simulation step length of the simulator with the coupling property;
The co-simulation step size module comprises: a no packet subunit and a packet subunit;
The grouping-free subunit is configured to directly select a minimum simulation step size in all simulators as a collaborative simulation step size when signal types of all simulators are the same;
The grouping subunit is used for grouping simulators with the same signal type when the signal types among the simulators are different, and taking the minimum simulation step length in each group as the intra-group communication step length; and selecting the smallest intra-group communication step length between the groups as a co-simulation step length.
6. A multi-simulator co-simulation master control platform based on co-simulation step length, which is characterized by comprising the co-simulation step length determining system according to claim 5, a numerical prediction module and a simulation calculation module;
The numerical value prediction module is used for predicting the simulation numerical value of the simulator with the simulation step length longer than the collaborative simulation step length, and taking the simulation numerical value as the simulation numerical value of the simulator at the time corresponding to the collaborative simulation step length;
The simulation calculation module is used for controlling each simulator to send the simulation value of each simulator to other simulators, receiving the simulation values corresponding to the simulators sent by the other simulators, and controlling each simulator to develop collaborative simulation calculation according to the simulation values of all simulators.
7. The co-simulation master control platform of claim 6, wherein the numerical prediction module predicts a simulation numerical value of the simulator at a time corresponding to a co-simulation step by interpolating between data points simulated by the simulator using a lagrangian polynomial for a simulator having a longer simulation step than the co-simulation step.
8. A multi-simulator collaborative simulation system, comprising:
A plurality of simulators;
The router is used for realizing data interaction among simulators installed on the same computer, wherein the data comprises simulation values of the simulators; and
The collaborative simulation main control platform is used for determining simulators with coupling according to the signal types of the simulators; the method comprises the steps of determining a co-simulation step according to the minimum simulation step of a simulator with coupling; the simulation numerical value of the simulator is used for predicting the simulation step length longer than the collaborative simulation step length and is used as the simulation numerical value of the corresponding time of the simulator; the system is used for controlling the data interaction among the simulators through the router and controlling each simulator to develop collaborative simulation calculation according to simulation values of all simulators;
the step of determining the co-simulation step according to the minimum simulation step of the simulator with the coupling property comprises the following steps:
If the signal types of all simulators with the coupling are the same, directly selecting the minimum simulation step length in all simulators as the collaborative simulation step length;
Otherwise, grouping simulators with the same signal type, and taking the minimum simulation step length in each group as the intra-group communication step length; and selecting the smallest intra-group communication step length between the groups as a co-simulation step length.
9. The system of claim 8, further comprising a network inter-process communication channel;
The data interaction among the simulators is realized by routers connected by the simulators on different computers through a communication channel between network processes.
10. The system of claim 8 or 9, wherein the emulator comprises:
the sub-model data interface is used as an interface for transmitting simulation values between the sub-model and the router;
the sub-model is used for carrying out simulation calculation and inputting simulation values into the shared memory through the sub-model data interface;
and the shared memory is used for storing the simulation numerical value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810498282.0A CN108664751B (en) | 2018-05-23 | 2018-05-23 | Multi-simulator collaborative simulation method, simulation master control platform and simulation system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810498282.0A CN108664751B (en) | 2018-05-23 | 2018-05-23 | Multi-simulator collaborative simulation method, simulation master control platform and simulation system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108664751A CN108664751A (en) | 2018-10-16 |
CN108664751B true CN108664751B (en) | 2024-10-29 |
Family
ID=63777430
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810498282.0A Active CN108664751B (en) | 2018-05-23 | 2018-05-23 | Multi-simulator collaborative simulation method, simulation master control platform and simulation system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108664751B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109213005A (en) * | 2018-11-21 | 2019-01-15 | 成都四方伟业软件股份有限公司 | A kind of simulation control method and device |
CN109543349B (en) * | 2018-12-21 | 2023-10-24 | 核动力运行研究所 | Multi-plug-in integration method for nuclear power simulator |
CN111783279A (en) * | 2020-06-08 | 2020-10-16 | 中国电力科学研究院有限公司 | Joint simulation method and device of system, electronic equipment and readable storage medium |
CN111897300B (en) * | 2020-07-31 | 2024-05-24 | 上海交通大学 | OPC-UA-based software/hardware joint simulation system and self-adaptive coordination method thereof |
CN113128073B (en) * | 2021-05-13 | 2022-07-08 | 清鸾科技(成都)有限公司 | Multi-simulator joint simulation method and system |
CN117195591B (en) * | 2023-11-06 | 2024-01-09 | 成都大征创智科技有限公司 | Distributed global time sequence control cycle efficiency optimization method for heterogeneous nodes |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102867081A (en) * | 2012-08-23 | 2013-01-09 | 西南交通大学 | Coupling control method for multi-field collaborative simulation computation |
CN106951646A (en) * | 2017-03-23 | 2017-07-14 | 南方电网科学研究院有限责任公司 | Multi-rate interface method and device in real-time simulation of power system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9128748B2 (en) * | 2011-04-12 | 2015-09-08 | Rocketick Technologies Ltd. | Parallel simulation using multiple co-simulators |
CN105930580B (en) * | 2016-04-19 | 2021-06-22 | 国家电网公司 | Time synchronization and data exchange device and method for joint simulation of power system and information communication system |
CN108021741A (en) * | 2017-11-22 | 2018-05-11 | 天津大学 | Based on more FPGA active power distribution networks multi tate real-time simulator synchronization mechanism design methods |
-
2018
- 2018-05-23 CN CN201810498282.0A patent/CN108664751B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102867081A (en) * | 2012-08-23 | 2013-01-09 | 西南交通大学 | Coupling control method for multi-field collaborative simulation computation |
CN106951646A (en) * | 2017-03-23 | 2017-07-14 | 南方电网科学研究院有限责任公司 | Multi-rate interface method and device in real-time simulation of power system |
Also Published As
Publication number | Publication date |
---|---|
CN108664751A (en) | 2018-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108664751B (en) | Multi-simulator collaborative simulation method, simulation master control platform and simulation system | |
US10027433B2 (en) | Multiple clock domains in NoC | |
CN103109248B (en) | Repeater and chip circuit | |
CN103616592B (en) | A kind of relay protection real-time digital dynamic simulation test system based on IEC61850 | |
CN101808032B (en) | Static XY routing algorithm-oriented two-dimensional grid NoC router optimization design method | |
CN105191140A (en) | Network architectures for boundary-less hierarchical interconnects | |
CN106953800B (en) | Self-adaptive vertical routing method and routing unit based on network on chip | |
CN106845041B (en) | MMC-based real-time simulation system, simulation method and MMC valve simulator | |
CN112436601B (en) | Information flow processing method of intelligent substation, computer equipment and storage medium | |
CN109547356A (en) | A kind of data transmission method of electrical energy measurement, system, equipment and computer storage medium | |
Lee et al. | Increasing the throughput of an adaptive router in network-on-chip (NoC) | |
CN104767598A (en) | Data transmission system and method used between energy storage power station site equipment | |
CN114186399A (en) | Simulation method and system for AC/DC power system, computer device and medium | |
CN104504168A (en) | Method and system thereof for dynamically displaying power grid simulating calculation result through sand table | |
CN111935767B (en) | Network simulation system | |
CN117353288A (en) | Simulation analysis method, system and medium for multi-flow fusion active power distribution network | |
US20240304242A1 (en) | Resistance Compensation Device and Method for Storage Chip, and Storage Chip | |
CN110138810A (en) | Communications protocol switching method and system | |
CN112436983B (en) | Analog wide area network data transmission method and device, electronic equipment and storage medium | |
CN105574292B (en) | A method of realizing that any bandwidth of multichannel is given out a contract for a project based on dynamic array | |
CN104980371B (en) | Microserver | |
CN112422432B (en) | Link path calculation method, device, terminal and computer readable storage medium | |
CN103810142B (en) | Reconfigurable system and construction method thereof | |
CN209328011U (en) | Fly control communication system | |
Kamen et al. | Design and analysis of packet-switched networks for control systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |