Joint simulation device

Through the time management of the joint simulation device and the synergy of the main control unit, time synchronization and data interaction of multidisciplinary systems are achieved, the problem of low simulation efficiency in the existing technology is solved, and system-level joint simulation is realized.

CN115586732BActive Publication Date: 2025-08-26AECC SICHUAN GAS TURBINE RES INST +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211245742.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-12
Publication Date
2025-08-26
Estimated Expiration
2042-10-12

AI Technical Summary

Technical Problem

The existing technology is difficult to realize system-level joint simulation under the cross-coupling of multidisciplinary cross-coupling, and the simulation efficiency is low, making it difficult to meet the research needs of complex systems.

Method used

Using a joint simulation device, the ideal machine time is obtained through the time management unit to synchronize the machine time and simulation time of each module, and the main control unit is used to control the simulation unit to perform simulation operations, realizing the joint simulation and data interaction of multiple simulation models.

Benefits of technology

It improves simulation efficiency, realizes system-level joint simulation, and improves data interaction and synchronization control capabilities between simulation models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115586732B_ABST
    Figure CN115586732B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a joint simulation device, which includes a simulation module and a main control module. The simulation module includes multiple simulation units, each of which is provided with a simulation model. The main control module includes a time management unit and a main control unit. The time management unit is used to: obtain an ideal machine time for time synchronization through a time server, and use the ideal machine time to synchronize the machine time and simulation time of each module of the device. The main control unit is used to: control the time management unit to send simulation control information to each simulation unit according to a preset simulation time step, so as to control each simulation unit to perform simulation operations and realize joint simulation of multiple simulation models. When executing the joint simulation of each simulation unit, each simulation model is controlled to perform data interaction. When implementing joint simulation between multiple models, the embodiment of the present disclosure can realize system-level simulation and improve simulation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of simulation technology, and in particular to a joint simulation device. Background Art

[0002] With the advancement of computer simulation technology and its applications, the scale and complexity of research objects are rapidly increasing. For example, aircraft, spacecraft, ships, and vehicles are often combinations of subsystems from different disciplines, such as mechanics, control, hydraulics, thermal, and electromagnetics. The problem of multidisciplinary cross-coupling is becoming increasingly prominent. Previous analysis methods using single software for mechanics, control, hydraulics, and thermal analysis are no longer adaptable to the evolving needs of research objects. Therefore, a new simulation approach is urgently needed to achieve co-simulation between multiple models and synchronize control of each model during co-simulation, thereby achieving system-level co-simulation and improving simulation efficiency. Summary of the Invention

[0003] According to one aspect of the present disclosure, a joint simulation device is provided, the device comprising a simulation module, a main control module,

[0004] The simulation module includes a plurality of simulation units, each of which is provided with a simulation model, and the simulation unit is used to run the simulation model;

[0005] The main control module includes a time management unit and a main control unit.

[0006] The time management unit is configured to: obtain an ideal machine time for time synchronization through a time server, and synchronize the machine time of each module of the device with the simulation time using the ideal machine time, wherein the machine time represents the time obtained by counting the time of the clock element of each module, and the simulation time represents the virtual time of each simulation unit in simulation;

[0007] The main control unit is used to: control the time management unit to send simulation control information to each simulation unit according to the preset simulation time step, so as to control each simulation unit to perform simulation operations and realize joint simulation of multiple simulation models; when executing the joint simulation of each simulation unit, control each simulation model to perform data interaction.

[0008] In a possible implementation, the simulation control information includes a simulation advancement instruction, and controlling the time management unit to send the simulation control information to each simulation unit according to a preset simulation time step to control each simulation unit to perform simulation operations includes:

[0009] When the timing duration of the ideal machine time from the starting moment reaches the preset simulation time step and each simulation unit returns a simulation completion message, a simulation advance instruction is sent to each simulation unit to control each simulation unit to perform simulation operations.

[0010] In one possible implementation, the simulation model includes a zero-dimensional model and a three-dimensional model, the zero-dimensional model is used to obtain at least one output based on at least one input, and the three-dimensional model is used to obtain at least three outputs based on at least three inputs, and controlling the simulation models to perform data interaction includes:

[0011] Integrating the three-dimensional parameters in the three-dimensional model on the three-dimensional cross section by using a preset weight factor to achieve mapping of the three-dimensional parameters to zero-dimensional parameters; and / or

[0012] The zero-dimensional parameters in the zero-dimensional model are scaled by a preset multiple, and the scaled zero-dimensional parameters are transferred to each dimension of the three-dimensional parameters to achieve mapping of the zero-dimensional parameters to the three-dimensional parameters.

[0013] In a possible implementation, controlling the simulation models to perform data interaction includes:

[0014] At the preset communication time, a data interaction instruction is sent to the simulation unit that needs to interact with data, so that the simulation unit that needs to interact with data interacts with data at the preset communication step.

[0015] Among them, the communication step is an integer multiple of the integration step of the integration algorithm adopted by the simulation unit, the communication step is larger than the simulation time step, the communication step represents the time length between two adjacent communication moments, and the integration step represents the time length for integral solution in the integration algorithm.

[0016] In one possible implementation, the simulation model includes an engine model, subsystem models corresponding to each physical high-altitude platform subsystem, a virtual high-altitude platform corresponding to the physical high-altitude platform, and middleware. The virtual high-altitude platform is a digital twin model of the physical high-altitude platform in the virtual space. The middleware is used to realize the communication between the various subsystem models in the virtual high-altitude platform and the communication between the various component models in the various subsystem models.

[0017] In a possible implementation, the middleware includes a virtual communication component, which includes a management terminal, a publishing terminal, and a subscription terminal.

[0018] The management terminal maintains a publisher list and a subscriber list, wherein the publisher list includes the name of the publishing object, the IP address of the publishing object, and the port number of the publishing object, and the subscriber list includes the name of the subscription object, the IP address of the subscription object, and the port number of the subscription object. The management terminal is used to:

[0019] If there is a target publishing object in the publisher list that is subscribed to by a target subscriber in the subscriber list, a communication connection is established between the target publishing object and the target subscriber.

[0020] In a possible embodiment, the middleware further includes a model packaging component, which is used to obtain message data and object data from the storage space, and to package the message data and object data in a preset data format and then transmit them to the virtual high-altitude platform model, and to store the message data and object data obtained from the virtual high-altitude platform model in the storage space.

[0021] Among them, the message data refers to data whose effective time in iterative simulation is less than the first preset time, and the object data refers to data whose effective time in iterative simulation is greater than the second preset time, and the first preset time is less than the second preset time.

[0022] In a possible implementation, the model packaging component includes a model management unit, an iterative simulation unit, a data acquisition unit, and an address application unit, wherein:

[0023] The data acquisition unit is used to acquire message data and / or object data from the model or the storage space and encapsulate them.

[0024] The model management unit is used to send the message data and / or object data obtained from the storage space to the corresponding model and perform initialization of the virtual high-altitude platform model.

[0025] The iterative simulation unit is used to implement iterative simulation of the model.

[0026] The address applying unit is used to apply for a storage address in the storage space to store the message data and object data obtained from the model.

[0027] The joint simulation device of the embodiment of the present disclosure includes a simulation module and a main control module. The simulation module includes multiple simulation units, each of which is provided with a simulation model, and the simulation unit is used to run the simulation model; the main control module includes a time management unit and a main control unit. Through the time management unit, the embodiment of the present disclosure can obtain the ideal machine time through an external time server, and use the ideal machine time to synchronize the machine time of each module of the device with the simulation time. Through the main control unit, the embodiment of the present disclosure can control the time management unit to send simulation control information to each simulation unit according to a preset simulation time step to control each simulation unit to perform simulation operations, realize joint simulation of multiple simulation models, and control each simulation model to perform data interaction when executing the joint simulation of each simulation unit. Since the embodiment of the present disclosure uses the ideal machine time to synchronize the machine time of each module of the device with the simulation time, and performs data interaction between simulation models, system-level simulation can be achieved when performing joint simulation between multiple models, thereby improving simulation efficiency.

[0028] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, rather than limiting the present disclosure. Other features and aspects of the present disclosure will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The accompanying drawings herein are incorporated into and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and, together with the specification, are used to explain the technical solutions of the present disclosure.

[0030] Figure 1 A block diagram of a joint simulation device according to an embodiment of the present disclosure is shown.

[0031] Figure 2 A schematic diagram of simulation advancement according to an embodiment of the present disclosure is shown.

[0032] Figure 3 A schematic diagram showing joint simulation of various simulation units is shown.

[0033] Figure 4a A schematic diagram of a physical high-altitude platform and a virtual high-altitude platform according to an embodiment of the present disclosure is shown.

[0034] Figure 4b A structural schematic diagram of a physical high-altitude platform according to an embodiment of the present disclosure is shown.

[0035] Figure 5 A schematic diagram of data interaction between a zero-dimensional model and a three-dimensional model according to an embodiment of the present disclosure is shown.

[0036] Figure 6 A schematic diagram of a virtual communication component according to an embodiment of the present disclosure is shown.

[0037] Figure 7 A block diagram of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0038] Various exemplary embodiments, features, and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise indicated.

[0039] In the description of the present disclosure, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the present disclosure and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present disclosure.

[0040] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. Throughout the present disclosure, "plurality" means two or more, unless otherwise specifically defined.

[0041] In this disclosure, unless otherwise expressly specified or limited, terms such as "mounted," "connected," "connect," and "fixed" should be understood broadly. For example, they may refer to fixed connections, detachable connections, or integration; mechanical connections or electrical connections; direct connections or indirect connections through an intermediate medium; and internal connections between two components or interactions between two components. Those skilled in the art will understand the specific meanings of these terms in this disclosure based on specific circumstances.

[0042] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0043] The term "and / or" herein simply describes an association relationship between associated objects, indicating that three relationships can exist. For example, "A and / or B" can represent the existence of three situations: A alone, A and B simultaneously, and B alone. Furthermore, the term "at least one" herein refers to any combination of at least two of any one or more of a plurality of items. For example, "at least one of A, B, and C" can represent any one or more elements selected from the set consisting of A, B, and C.

[0044] In addition, numerous specific details are provided in the following detailed description to better illustrate the present disclosure. Those skilled in the art will appreciate that the present disclosure can be practiced without certain specific details. In some instances, methods, means, components, and circuits well known to those skilled in the art are not described in detail in order to highlight the main points of the present disclosure.

[0045] See also Figure 1 , Figure 1 A block diagram of a joint simulation device according to an embodiment of the present disclosure is shown.

[0046] like Figure 1 As shown, the device includes a simulation module 20, a main control module 10,

[0047] The simulation module 20 includes a plurality of simulation units 210 , each of which is provided with a simulation model, and the simulation unit 210 is used to run the simulation model;

[0048] The main control module 10 includes a time management unit 110 and a main control unit 120.

[0049] The time management unit 110 is configured to: obtain an ideal machine time for time synchronization from a time server, and synchronize the machine time of each module of the device with the simulation time using the ideal machine time, wherein the machine time represents the time obtained by counting the time of the clock element of each module, and the simulation time represents the virtual time of each simulation unit 210 in simulation;

[0050] The main control unit 120 is used to: control the time management unit 110 to send simulation control information to each simulation unit 210 according to the preset simulation time step, so as to control each simulation unit 210 to perform simulation operations and realize joint simulation of multiple simulation models; when executing the joint simulation of each simulation unit 210, control each simulation model to perform data interaction.

[0051] The joint simulation device of the embodiment of the present disclosure includes a simulation module and a main control module. The simulation module includes multiple simulation units, each of which is provided with a simulation model, and the simulation unit is used to run the simulation model; the main control module includes a time management unit and a main control unit. Through the time management unit, the embodiment of the present disclosure can obtain the ideal machine time through an external time server, and use the ideal machine time to synchronize the machine time of each module of the device with the simulation time. Through the main control unit, the embodiment of the present disclosure can control the time management unit to send simulation control information to each simulation unit according to a preset simulation time step to control each simulation unit to perform simulation operations, realize joint simulation of multiple simulation models, and control each simulation model to perform data interaction when executing the joint simulation of each simulation unit. Since the embodiment of the present disclosure uses the ideal machine time to synchronize the machine time of each module of the device with the simulation time, and performs data interaction between simulation models, system-level simulation can be achieved when performing joint simulation between multiple models, thereby improving simulation efficiency.

[0052] The simulation unit 210, the main control unit 120, and the time management unit 110 of the embodiment of the present disclosure can all be implemented by processing components, and the processing components include but are not limited to a separate processor, or a discrete component, or a combination of a processor and a discrete component. The processor may include a controller having an execution instruction function in an electronic device, and the processor may be implemented in any appropriate manner, for example, by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components. Inside the processor, the executable instructions can be executed by hardware circuits such as logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers.

[0053] In one possible implementation, the time server may be a terminal including a global positioning system (GPS). In one example, a terminal is also referred to as user equipment (UE), mobile station (MS), or mobile terminal (MT), and is a device that provides voice and / or data connectivity to a user, such as a handheld device or vehicle-mounted device with wireless connection capabilities. Currently, some examples of terminals include: mobile phones, tablet computers, laptop computers, PDAs, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, and wireless terminals in the Internet of Vehicles.

[0054] Exemplarily, the time server can be set outside the joint simulation device, that is, independent of the joint simulation device, to provide the ideal machine time. Of course, the time server can also be set in the joint simulation device as long as it can provide the ideal machine time.

[0055] The following is an exemplary introduction to the concept of time in simulation.

[0056] Time is a basic concept in simulation. Time in simulation is divided into three categories: real time (RT), also known as real time or actual time, refers to the real time that objectively exists in nature; machine time (MT), also known as physical time, refers to the time obtained by the simulation system based on the time count generated by the clock elements of the simulation computer; simulation time (ST), also known as virtual time or simulation model time, refers to the virtual time of the simulation world generated by the simulation system when the simulation model is running.

[0057] For analog computer simulations, machine time and simulation time are identical after synchronization with ideal machine time. Natural time differs from the other two in that it exists independently, requiring no physical equipment or software algorithms to generate it. It represents the uniform passage of time and is the only one of the three that is unique. Machine time is measured by generating a series of "fixed-frequency" signal pulses from special electronic devices that perceive natural time. It has a dual nature: first, it is based on physical components, and its pulse timing characteristics are relatively fixed; second, the simulation system reserves the right to interpret the pulses generated by the physical components, making machine time partially correctable.

[0058] Simulation time is the time in the virtual world introduced by the simulation. It is intermittent and advances under the direct control of the simulation system. The mechanism used by the simulation system to advance simulation time depends solely on the needs of the simulation system. Therefore, simulation time is completely controllable. The simulation system controls the simulated virtual space and time by controlling simulation time.

[0059] Simulation can include unconstrained simulation and real-time simulation. In unconstrained simulation, all simulated objects are modeled using software algorithms. These software models form a closed simulation environment, and the simulation models run completely in an independent virtual spacetime. There is no information exchange between the simulated virtual spacetime and the natural spacetime, and no constraints are required between the simulated time and the natural time. This type of simulation is often called analytical simulation or mathematical simulation.

[0060] In real-time simulation, only some of the simulated objects are implemented using software algorithms, while others are physical models or real people. The former is often referred to as hardware-in-the-loop (HIL) simulation, and the latter as human-in-the-loop (HIL). In both cases, objects in natural spacetime are integrated into the simulated virtual spacetime, linking natural and simulated time. In this project's dynamic co-simulation of engine tests, flight and control hardware in the loop participated in the joint tests, integrating the actual equipment hardware in natural spacetime into the simulated virtual spacetime, linking natural and simulated time. Therefore, the dynamic co-simulation platform must maintain real-time simulation with consistent simulation time.

[0061] According to the current definition commonly used in the simulation community, a typical real-time simulation system requires that the simulation time ST and natural time RT remain consistent, that is, ST = RT. Further expanding the scope of real-time simulation, a simulation system is considered real-time when there exists a constant λ = 1 such that ST and RT satisfy the proportional relationship ST = λ × RT. Therefore, a simulation system achieves real-time performance through the control of simulation time.

[0062] However, in essence, natural time flows continuously and evenly; while simulation time is determined by the simulation system based on the calculation process of the simulation model. Since the calculation of the simulation model is carried out step by step according to certain rules, simulation time is actually a discrete, finitely enumerable time series {ts0, ts1, ts2, ..., tsi, ..., tsn}. Therefore, in a strict sense, there is no proportional relationship between the two. Thus, the ambiguity of the time definition leads to the uncertainty of the definition of real-time simulation, which is not conducive to further analysis of the embodiments of the present disclosure. Therefore, the embodiments of the present disclosure first specifically analyze the time constraint relationship in real-time simulation based on the clear time definition proposed in the embodiments of the present disclosure.

[0063] For example, real-time simulation relates natural time to simulation time. Considering the discrete nature of simulation time, the concept of time pair is proposed:

[0064] Nature-simulation time pair: Assume that the simulation system advances the simulation time to t si The natural time is t i , then t i and t si The set {t i ,t si} is a natural-simulation time pair, and the natural time point in the time pair is called t i is the simulation time advancement point. And the corresponding simulation time series {t s0 ,t s1 ,t s2 ,…,t si ,…,t sn}, there is also a corresponding time point sequence {t0, t1, t2,…, t i ,…,t n}, the two time series correspond one to one to form a time pair {t i ,t si The set of natural-simulation time pairs CT r-s CT r-s The mapping relationship between simulation time and natural time is defined, which constitutes the simulation time model f ST (t).

[0065] It follows that the necessary and sufficient condition for any simulation system to be a real-time simulation system is: for any member {t i ,t si}, there exists a constant T that satisfies the equation t si =T+λ×t i , λ=1 for the real-time simulation system.

[0066] However, simulation systems cannot directly access natural time. Therefore, in engineering practice, the above conditions cannot be directly achieved through programs or algorithms. Machine time can perceive natural time through physical components and convert this perception into time counts that can be obtained by the simulation system. The disclosed embodiments construct natural-machine time pairs and machine-simulation time pairs based on natural-simulation time pairs.

[0067] Natural-machine time pair: Let the machine time advance to t mi The natural time is t i , then t i and t mi The set {t i ,t mi} is a natural-machine time pair, and the natural time point t in the time pair is called i is the machine time advancement point. And the corresponding machine time series {t m0 ,t m1 ,t m2 ,…,t mi ,…,t mn}, there is also a corresponding time point sequence {t0, t1, t2,…, t i ,…,t n}, the two time series correspond one to one to form a time pair {t i ,t mi The set of natural-machine time pairs CT r-m CT r-m The mapping relationship between machine time and natural time is defined, which constitutes the machine time model f MT (t).

[0068] Machine-simulation time pair: Assume that the simulation system advances the simulation time to t si The machine time at this time is t mi , then t mi and t si The set {t mi ,t si} is the machine-simulation time pair. The simulation time series {t s0 ,t s1 ,t s2 ,…,t si ,…,t sn} and the machine time series {t m0 ,t m1 ,t m2 ,…,t mi ,…,t mn} one-to-one correspondence constitutes a time pair {t mi ,t si The set of machine-simulation time pairs CTm-s CT m-s Defines the mapping relationship between simulation time and natural time, which constitutes the indirect expression form f' of the simulation time model ST (f MT (t)).

[0069] By introducing machine time, the constraints on simulation time are transformed into two levels of implementation. First, at the machine time level, through limited control and practice, machine time is made to accurately reflect natural time, resulting in the so-called ideal machine time. Second, at the simulation time level, simulation time is controlled so that it satisfies the specified constraints with machine time.

[0070] Because machine time is available and computer equipment also provides a means to obtain natural time, this method is feasible.

[0071] The embodiment of the present disclosure obtains the ideal machine time through a time server, and then aligns the simulation time of each simulation unit 210 with the machine time of each module.

[0072] In a possible implementation, the simulation control information includes a simulation advancement instruction. Controlling the time management unit 110 to send the simulation control information to each simulation unit 210 according to a preset simulation time step to control each simulation unit 210 to perform simulation operations may include:

[0073] When the timing duration of the ideal machine time from the starting moment reaches the preset simulation time step and each simulation unit 210 returns a simulation completion message, a simulation advance instruction is sent to each simulation unit 210 to control each simulation unit 210 to perform simulation operations.

[0074] Exemplarily, the time management unit 110 uses a time server to control the time advancement of the entire real-time simulation system, and sends simulation advancement instructions to the simulation module 20 according to a pre-set simulation step to advance the simulation process. During the simulation process, the time management unit 110 sends time synchronization information (or simulation advancement instructions) to each simulation unit 210 according to a predetermined period. The simulation unit 210 completes the simulation calculation according to the local clock. When a simulation unit 210 completes the calculation, the simulation unit 210 temporarily does not implement the simulation advancement of the next step, but waits for the command of the time management unit 110. The time management unit 110 controls the advancement of the simulation unit 210 according to the set simulation step. When the timing reaches the simulation step from the starting time, it sends an advancement control command to each simulation unit 210 to achieve the advancement of the simulation and complete the clock synchronization of the system.

[0075] See also Figure 2 , Figure 2 A schematic diagram of simulation advancement according to an embodiment of the present disclosure is shown.

[0076] In one example, if Figure 2 As shown, when the simulation unit completes the simulation calculation at time t1, it needs to wait synchronously. When the simulation step (t1'-t0') is reached, the simulation of the next simulation step is advanced. Of course, the synchronization error also needs to be considered, which will not be elaborated here.

[0077] A prerequisite for achieving real-time simulation is that the simulation tool's solver can achieve super-real-time model solution calculations, meaning the simulation time is faster than the ideal machine time. In this case, the time management thread controls the execution of a set of simulation advance instructions each time the ideal machine time exceeds a simulation step. After completing a simulation step, the simulation process sends a "Single Step Simulation Completed" message to the time management unit 110 and then enters a waiting state until it receives a simulation advance instruction before starting the next simulation step.

[0078] If the simulation tool cannot achieve super real-time solution calculation of the model and the model simulation time is longer than the physical time, you should consider optimizing the model or solution algorithm.

[0079] Real-time simulation requires ensuring real-time performance, meaning that the simulation model calculations must be completed within a predetermined simulation step size. If certain calculation models cannot be completed within a single simulation step size, a simplified calculation model can be used. Once the simulation model is determined, the speed of the simulation computer is a fundamental factor, and improving the computer's hardware performance can be considered to enhance the simulation's computational capabilities. If the calculation speed still fails to meet the required performance, the simulation step size should be increased while maintaining the required system performance.

[0080] The simulation step size is a key indicator of the real-time performance of a simulation system. The smaller the simulation step size, the better the real-time performance. Generally, the simulation step size is calculated based on the computation time of the most time-consuming model in the simulation system. However, if the computation of individual models in the simulation system is too complex and the computation time far exceeds that of other models in the system, using the maximum model computation time as the simulation step size can affect simulation accuracy. For models whose state information changes slowly, frequent computation is unnecessary. To reduce network traffic, the model computation cycle can be set to a longer value.

[0081] In the joint simulation of the disclosed embodiments, a centralized simulation mode can be employed. In this mode, real-time control management is implemented using a single thread, and the simulation model can be implemented as a function within the same thread, a separate simulation thread, or as a DLL. For functions within the same thread, real-time control management can directly call them without synchronization. For separate simulation threads, a time management thread can transmit messages via the thread communication mechanism, passing the current time to the simulation thread to trigger the simulation calculation.

[0082] In centralized simulation mode, the system has a universal global clock. The management thread is responsible for advancing the entire system time and receiving and distributing events. The time of each model calculation module is consistent with the management thread. When the simulation calculation is completed, the status is returned to the management thread. After receiving the return status of all simulation models, the management thread advances the system time to the next time point.

[0083] For example, in centralized simulation mode, each simulation model in the joint simulation can be exported to a unified model file format or an easily integrated model interface, and then imported into the main control program of the main control unit 120 to be integrated into a single model. During simulation, this integrated model is run by a separate simulation thread, eliminating the need for communicating single-step simulation results between models and thus eliminating the need for timing control.

[0084] Exemplarily, the joint simulation of the solver coupling of the simulation unit 210 can import the models of other meaning solvers into the dynamic joint simulation platform for simulation. The characteristic of this simulation type is that the dynamic joint simulation platform needs to simulate the solvers of each sub-model for scheduling and control. It is very important to study the timing control technology of the solver coupling of the dynamic joint simulation platform. During the simulation operation, the main control end (main control unit 120) of the joint simulation will detect whether each simulation model on each simulation communication point (simulation unit 210) needs data interaction. If data interaction is required, the data transmission interface of the main control end software is used to perform data interaction between simulation models; when the data interaction is completed, the process is promoted to continue to execute the solution calculation of the next simulation time step, and execute the calculation-related components. By continuously advancing the simulation time step in sequence, dynamic information exchange between simulation models can be realized at each simulation time step, and the scheduling execution of the sequential process can be completed. The principle of sequential process modeling and simulation is described.

[0085] The concepts of communication moment and integration moment are introduced here: Communication moment: The time when data communication or data exchange occurs during the simulation process is called the communication moment; Communication step: The time interval between two adjacent communication moments is a communication step; Integration moment: In the fixed-step solution algorithm, the time point that is an integer multiple of the solution step, where the fixed step can refer to the integration step of the integration algorithm in the simulation calculation as a preset value.

[0086] In a possible implementation, controlling the simulation models to perform data interaction may include:

[0087] At a preset communication time, a data interaction instruction is sent to the simulation unit 210 that needs to interact with data, so that the simulation unit 210 that needs to interact with data interacts with data at a preset communication step.

[0088] Among them, the communication step is an integer multiple of the integration step of the integration algorithm adopted by the simulation unit 210, the communication step is larger than the simulation time step, the communication step represents the time length between two adjacent communication moments, and the integration step represents the time length for performing integral solution in the integration algorithm.

[0089] See also Figure 3 , Figure 3 A schematic diagram showing joint simulation of various simulation units is shown.

[0090] In the joint simulation, each simulation unit 210 can use different communication steps, such as Figure 3 As shown, it is assumed that the communication step of simulation unit 1 is equal to the integration step, that is, data is exchanged once for each simulation step; the communication step of simulation unit 2 relative to simulation unit 1 is two integration steps, and the communication step relative to simulation unit 3 is equal to one integration step. Therefore, in such a joint simulation system, simulation unit 2 and simulation unit 3 exchange data once for each simulation step, and simulation unit 2 communicates with simulation unit 1 once when simulating two steps.

[0091] Each simulation unit is usually only responsible for integral calculation, while the control communication is implemented by the main control unit. The main control unit issues data interaction instructions at the communication time of each simulation unit according to the pre-specified joint simulation communication rules. Each simulation unit communicates after receiving this instruction, otherwise it continues to wait.

[0092] In one example, the integration step size and integration algorithm used by the simulation unit 210 for simulation can be set in advance.

[0093] In one example, the communication step size is set to an integer multiple of the integration step size.

[0094] In one example, the process-coupled joint simulation is to deploy different subsystems of the system to different processes for joint simulation. The problem brought about by this is that each process needs to be controlled to be synchronized in simulation time. The advantage is that the computing tasks of the entire system are shared among various processes and parallel computing is performed, which can effectively improve the computing speed of the entire system. The timing control of the process-coupled joint simulation is completed through a synchronous control model library. The synchronous control model library (such as DistributeLib) can be a Modelica external function mechanism that integrates external communication code and control code to transmit control instructions through communication. The synchronous control logic is divided into a master control end (master control unit 120) and a controlled end (simulation unit 210). The main task of the master control end is to receive instructions from each controlled end, organize and judge the next step of sending instructions to all controlled ends; the main task of the controlled end is to receive and execute instructions from the master control end, and return its own status.

[0095] In one example, the simulation step size may be set to be smaller than the communication step size, and the communication step size may be set to be an integer multiple of the simulation step size, so as to improve the accuracy of the simulation.

[0096] The simulation model is introduced as an example below.

[0097] In a possible implementation, the simulation model may include a zero-dimensional model and a three-dimensional model, wherein the zero-dimensional model is used to obtain at least one output based on at least one input, and the three-dimensional model is used to obtain at least three outputs based on at least three inputs.

[0098] In one possible implementation, the simulation model may include an engine model, subsystem models corresponding to each physical high-altitude platform subsystem, a virtual high-altitude platform corresponding to the physical high-altitude platform, middleware, etc. The virtual high-altitude platform is a digital twin model of the physical high-altitude platform in the virtual space, and the middleware is used to realize the communication between the various subsystem models in the virtual high-altitude platform and the communication between the various component models in the various subsystem models.

[0099] See also Figure 4a , Figure 4a A schematic diagram of a physical high-altitude platform and a virtual high-altitude platform according to an embodiment of the present disclosure is shown.

[0100] In one example, if Figure 4aAs shown, the embodiment of the present disclosure can decompose the physical high-altitude platform in advance to obtain multiple subsystems, and decompose each subsystem again to obtain components of each subsystem. By modeling the components and subsystems of each subsystem, multiple subsystem models (corresponding to the subsystems) mapped in the virtual space and multiple component models of the subsystem models (corresponding to the components) can be obtained. Moreover, according to the structural characteristics of the physical high-altitude platform, each subsystem model can be used to establish a virtual high-altitude platform corresponding to the physical high-altitude platform.

[0101] The virtual high-altitude platform model of the embodiment of the present disclosure may include multiple types, and the physical high-altitude platform is exemplarily introduced below.

[0102] See also Figure 4b , Figure 4b A structural schematic diagram of a physical high-altitude platform according to an embodiment of the present disclosure is shown.

[0103] For example, Figure 4b As shown, the physical high-altitude platform may include multiple subsystems such as an air intake subsystem, an exhaust subsystem, a process subsystem, and a test subsystem. Among them, the air intake subsystem may include, for example, an air intake tower, an air supply unit, an air supply main pipe and other components. The air outside is introduced into the air supply unit through the air intake tower to provide compressed air with a certain pressure and flow to the test engine. The air supply unit supplies air to the high-altitude platform test cabin through the air supply main pipe (such as air supply main pipes A and B) to test the aircraft engine in the test cabin; the exhaust subsystem may include, for example, an exhaust tower, an exhaust unit, an exhaust main pipe, etc. The gas exhausted from the high-altitude platform test is discharged through the exhaust main pipe, the exhaust unit, and the exhaust tower. The exhaust subsystem may also include an exhaust diffuser, a direct exhaust section and an exhaust cooler, etc., wherein the exhaust diffuser can convert the kinetic energy of the high-speed airflow exhausted by the engine into pressure energy, which is equivalent to the first "boosting" of the two flows of fuel gas exhausted by the engine and entering the diffuser to reduce the burden on the exhaust fan or expand the direct exhaust boundary. The function of the exhaust cooler is to cool the high-temperature gas exhausted by the engine to a temperature acceptable to the exhaust unit. At the same time, the process of cooling the gas also reduces the exhaust volume flow rate, which is a second "boost" of the gas. For example, the intake subsystem and the exhaust subsystem may also include an air pretreatment subsystem (mainly including a spray tower, a steam-water separator, a silica gel dryer, and a cyclone dust collector, etc.), an air cooling subsystem (cooling through an expansion turbine or supercharging, etc.), and an air heating subsystem (heating through a heating furnace, etc.). Its task is to further heat or cool the high-temperature and low-temperature air supplied by the gas source after dust removal and drying, so as to meet the simulation requirements of the engine inlet temperature.

[0104] For example, the process subsystem can be composed of a fuel supply subsystem (providing aviation kerosene of a certain temperature, pressure and flow rate for engine testing), a fuel heating and cooling subsystem (heating or cooling the aviation kerosene), an oil seal subsystem (used as an internal oil seal in the engine. When the engine is not started for a specified time after starting or is not tested for a long time, oil sealing is required. The oil seal subsystem can provide the engine with clean lubricating oil with a certain pressure and flow rate to prevent the internal parts of the engine from rusting), a hydraulic pump load and tail nozzle control subsystem (when performing a load test on the hydraulic pump on the engine, clean hydraulic oil of a certain temperature, pressure and flow rate is supplied to the hydraulic pump, and the back pressure required in the simulated flight state is created behind the pump. Moreover, when the engine is not working, To check the retraction and extension and size of the tail nozzle, the ground equipment of this subsystem supplies the hydraulic oil of a certain pressure, temperature and flow required for the retraction and extension of the engine tail nozzle actuator), a vacuum subsystem (for example, the "blocking" technology is used. The pressure in the high-altitude test chamber is greater than the static pressure of the simulated altitude. In order to make several air vents of the engine, such as the lubricating oil subsystem and the centrifugal ventilator vent, a local vacuum subsystem is designed to partially simulate the actual altitude), an oxygen supply subsystem (when the engine is conducting high-altitude starting and other test subjects, the combustion chamber is oxygenated to cope with the situation of low oxygen content in the air), an air starting subsystem (providing air of a certain pressure and flow for the engine driven by an air starter), an auxiliary air subsystem, a cooling blowing subsystem, etc.

[0105] For example, the test chamber can include a front cabin and a rear cabin. The front cabin, also known as the aerodynamic pressure stabilization chamber, is equipped with rectifying devices such as a rectifier net and baffles to collect incoming air and even out the flow field. In the front cabin, the total pressure and temperature of the air are adjusted according to the flow conditions at the aircraft inlet outlet under the simulated flight conditions. The air is then introduced into the engine undergoing simulated altitude testing via an air flow tube and intake duct. The air flow tube and intake duct pass through the baffle from the front cabin and are directly connected to the engine undergoing simulated altitude testing. The rear cabin can be the part that establishes the simulated altitude conditions (i.e., the simulated high-altitude atmospheric pressure conditions). It houses a test bench, thrust calibration equipment, exhaust diffuser, and other in-cabin equipment. The engine undergoing simulated altitude testing can be mounted on the test bench.

[0106] certainly, Figure 4bThe composition of the high-altitude platform described above is exemplary. The high-altitude platform may include other parts besides the aforementioned components. For example, it may also include a natural gas / fuel supply subsystem, a water subsystem, a power supply and distribution electronic system, a communication subsystem, a data acquisition and processing subsystem, a pressure regulation subsystem, a hydraulic loading subsystem, an air bleed subsystem, a power extraction subsystem, etc. Among them, the natural gas / fuel supply subsystem can be used to provide natural gas and fuel; the water subsystem is used to supply water to the high-altitude platform for cooling and other operations; the power supply and distribution electronic system is used to provide and manage electrical energy; the communication subsystem is used for communication; the pressure regulation subsystem is used to adjust the pressure in the front room of the test cabin and the pressure in the exhaust main pipe to ensure the inlet airflow pressure, flow and ambient pressure required for the engine test. For the introduction of other subsystems, please refer to the introduction of relevant technologies and will not be repeated here.

[0107] For example, by decomposing the subsystem, it can be seen that the components of the subsystem may include element-type components and flow field-type components. For example, element-type components may include pipes, volumes, valves, mixers, sensors, flow meters, ejectors, diffusers, heat exchangers, control units, pumps, accumulators, fuel tanks, flow resistance, thermal resistance, resistance, voltage, current, capacitance, inductance, medium, etc. For example, flow field-type components may include intake flow field, exhaust flow field, temperature field, etc.

[0108] The embodiments of the present disclosure do not limit the type, category, or specific implementation method of the high-altitude platform. Different types of high-altitude platforms may have different technical parameters (test chamber diameter, simulation altitude, simulated Mach number, maximum air supply flow), test purposes, and subsystems. The embodiments of the present disclosure can realize simulation modeling of high-altitude platforms of various types and implementation methods to conduct virtual tests on aircraft engines, and have the characteristics of a wide range of applications and strong environmental adaptability.

[0109] The above is an exemplary introduction to the physical high-altitude platform, but it should not be regarded as a limitation of the embodiments of the present disclosure. Since there are many types of physical high-altitude platforms and different physical high-altitude platforms have different composition structures, those skilled in the art can refer to the physical high-altitude platforms in related technologies for understanding.

[0110] After modeling each component in the embodiments of the present disclosure, component models corresponding to the components of each subsystem of the physical high-altitude platform can be obtained. For example, the component models can include zero-dimensional models such as pipeline component models, valve component models, volume component models, heat exchanger component models, mixer component models, flow resistance component models, and thermal resistance component models. They can also include three-dimensional models such as intake flow field component models and exhaust flow field component models. The zero-dimensional models can be simulation models of the various component types of the physical high-altitude platform, and the intake flow field and exhaust flow field can be simulation models of the flow field components in the intake subsystem and the exhaust subsystem. Of course, although the embodiments of the present disclosure are exemplified by zero-dimensional models such as pipelines, valves, volumes, heat exchangers, mixers, flow resistances, and thermal resistances, and three-dimensional models such as intake flow field and exhaust flow field, it should be understood that the virtual high-altitude platform model in the embodiments of the present disclosure has the characteristics of corresponding to the physical high-altitude platform. That is, as long as the components and parts existing in the physical high-altitude platform, or the temperature field, pressure field, gas field, etc. during the operation of the physical high-altitude platform, corresponding component models exist in the virtual space. It should be noted that although the embodiments of the present disclosure are exemplarily introduced with zero-dimensional models and three-dimensional models, the embodiments of the present disclosure are not limited to this. In other implementations, the virtual high-altitude platform model can also include models of other dimensions, such as a two-dimensional model. Of course, the zero-dimensional model in the embodiments of the present disclosure can be regarded as having one input and one output, and therefore, the zero-dimensional model can also be regarded as a one-dimensional model.

[0111] In the embodiment of the present disclosure, the system information of the physical high-altitude platform can be the digitized information of the physical high-altitude platform, such as the model and technical parameters of the physical high-altitude platform (diameter of the test chamber, simulation altitude, simulation Mach number, maximum air supply flow rate, etc.), data of each subsystem (such as the air pipe network subsystem (intake subsystem, exhaust subsystem), exhaust cooling subsystem (cooling high-temperature fuel gas), test subsystem (obtaining parameters), electrical subsystem (power supply subsystem, air supply subsystem), supporting process subsystem (fuel subsystem, hydraulic loading subsystem, oil seal subsystem, bleed air subsystem, lubricating oil cooling subsystem, etc.), applicable engines (turboshaft turboprop engine, turbojet turbofan engine, etc.), etc.). The embodiment of the present disclosure does not limit the specific form of the system information of the physical high-altitude platform, and those skilled in the art can set it according to actual conditions and needs.

[0112] The embodiment of the present disclosure can digitize the physical high-altitude platform in advance to obtain corresponding system information, and store it so that it can be called when modeling is needed. For example, the digitized system information can be stored in a database, and the processing component can call the system information in the database and decompose the physical high-altitude platform according to the system information of the physical high-altitude platform to obtain multiple physical high-altitude platform subsystems and multiple components that constitute the physical high-altitude platform subsystems; model each component to map each component to a virtual space to obtain a component model corresponding to each component; according to the structural characteristics of each physical high-altitude platform subsystem, use each component model to establish a subsystem model corresponding to each physical high-altitude platform subsystem; according to the structural characteristics of the physical high-altitude platform, use each subsystem model to establish a virtual high-altitude platform corresponding to the physical high-altitude platform, the virtual high-altitude platform is a digital twin model of the physical high-altitude platform in the virtual space. Through the aircraft engine high-altitude platform modeling method, the embodiment of the present disclosure can accurately and efficiently model the physical high-altitude platform to map the physical high-altitude platform to the virtual space.

[0113] The embodiments of the present disclosure do not limit the specific implementation method of decomposing the physical high-altitude platform. Those skilled in the art can use appropriate decomposition tools to decompose the physical high-altitude platform into multiple physical high-altitude platform subsystems, and further decompose to obtain the components included in the physical high-altitude platform subsystems.

[0114] The embodiments of the present disclosure do not limit the modeling methods of components, subsystems, and aerial platforms. Those skilled in the art may implement them using relevant technologies. For example, the multidisciplinary modeling language Modelica may be used to establish zero-dimensional models, such as pipes, valves, volumes, heat exchangers, mixers, flow resistances, thermal resistances, etc., and the established zero-dimensional models may be analyzed (such as analyzing the parameters and performance of the zero-dimensional models). Three-dimensional models, such as intake models and exhaust models, may be established using models established using simulation methods such as direct numerical simulation (DNS), large eddy simulation (LES), and Reynolds-Averaged Navier equations (RANS).

[0115] For example, when the models of each subsystem are obtained, the embodiment of the present disclosure can obtain a virtual high-altitude platform based on digital twin technology, guide virtual experiments with parallel, iterative and flexible ideas, and realize collaborative work in all stages of the virtual experiment life cycle. For example, first, an initial virtual high-altitude platform based on high-precision physical models, historical data, and sensor data is constructed in the digital space. Then, based on the initial virtual high-altitude platform, according to the construction principle and operation mechanism of the high-altitude platform, a virtual high-altitude platform is built in combination with a scaled-down version of the high-altitude platform equipment, such as Figure 4a As shown, when the initial virtual high-altitude platform is obtained, the embodiment of the present disclosure can combine the various component models to obtain the various subsystem models according to the construction principles and operating mechanisms of the various subsystems and elements of the physical high-altitude platform, and finally obtain the virtual high-altitude platform. By mapping the actions, behaviors, and states of the physical high-altitude platform, i.e., the entity, to the virtual space, it is possible to use virtual experiments to assist or replace physical experiments. It should be noted that the embodiment of the present disclosure does not limit the specific implementation method of the digital twin technology, and those skilled in the art can refer to the relevant technical implementation. The embodiment of the present disclosure also does not limit the specific method of obtaining the virtual high-altitude platform and the virtual engine model.

[0116] In a possible implementation, controlling the simulation models to perform data interaction may include:

[0117] Integrating the three-dimensional parameters in the three-dimensional model on the three-dimensional cross section by using a preset weight factor to achieve mapping of the three-dimensional parameters to zero-dimensional parameters; and / or

[0118] The zero-dimensional parameters in the zero-dimensional model are scaled by a preset multiple, and the scaled zero-dimensional parameters are transferred to each dimension of the three-dimensional parameters to achieve mapping of the zero-dimensional parameters to the three-dimensional parameters.

[0119] The embodiment of the present disclosure integrates the three-dimensional parameters in the three-dimensional model on the three-dimensional cross-section through a preset weight factor to achieve mapping of the three-dimensional parameters to the zero-dimensional parameters. By scaling the zero-dimensional parameters in the zero-dimensional model by a preset multiple, the scaled zero-dimensional parameters are transferred to each dimension of the three-dimensional parameters to achieve mapping of the zero-dimensional parameters to the three-dimensional parameters, so that efficient and accurate data interaction can be achieved between the zero-dimensional model and the three-dimensional model.

[0120] See also Figure 5 , Figure 5 A schematic diagram of data interaction between a zero-dimensional model and a three-dimensional model according to an embodiment of the present disclosure is shown.

[0121] In one example, if Figure 5As shown, in order to realize data interaction between various types of models, such as realizing data interaction between a zero-dimensional model and a three-dimensional model, the zero-dimensional model and the three-dimensional model can be jointly simulated, for example, data is transferred between the 0-dimensional model and the 3-dimensional model (which can be understood as transferring the y output data of the 0-dimensional model to the x1, x2, x3 inputs of the 3-dimensional model, and vice versa). Of course, the embodiments of the present disclosure do not limit how to realize the joint simulation of various types of models, and those skilled in the art can choose the appropriate technology to implement it according to actual conditions and needs.

[0122] In order to more efficiently implement data interaction between models, the embodiments of the present disclosure can perform cross-dimensional numerical scaling to achieve parameter mapping between models of different dimensions, which is exemplified below.

[0123] For example, the integration of the three-dimensional parameters in the three-dimensional model on the three-dimensional cross section by using a preset weight factor can be achieved by using Formula 1:

[0124]

[0125] in, is represented as a zero-dimensional parameter, represents a three-dimensional parameter, ε represents a preset weight factor, and A represents the area.

[0126] For example, the zero-dimensional parameter can be the average physical quantity in the simulation test (such as velocity, pressure, temperature, etc.), and the three-dimensional parameter can be the equivalent value at the geometric section in the simulation test. By integrating the three-dimensional parameter on the three-dimensional section using a preset weight factor, the embodiment of the present disclosure can quickly realize the mapping of the three-dimensional parameter to the zero-dimensional parameter.

[0127] Exemplarily, the mapping of zero-dimensional parameters to three-dimensional parameters can adopt a three-dimensional mapping method. For example, a large number of zero-dimensional parameter and three-dimensional parameter calculations are first performed, and the physical quantities (velocity, pressure, temperature, etc.) of each section in the simulation are pre-stored in a data set. When scaling is required, the 0-dimensional average physical quantity is superimposed on the 3-dimensional physical quantity distribution to give the boundary physical quantity distribution required for the 3-dimensional simulation. After obtaining the 3-dimensional simulation result, if the simulation error is too large, the boundary physical quantity distribution required for the 3-dimensional simulation is re-extracted, and the calculation is repeated until the accuracy is satisfactory. Exemplarily, the boundary physical quantity distribution can be represented by a preset multiple. By scaling the zero-dimensional parameters in the zero-dimensional model by a preset multiple, the scaled zero-dimensional parameters are transferred to each dimension of the three-dimensional parameters to realize the mapping of the zero-dimensional parameters to the three-dimensional parameters. If the three-dimensional parameters obtained by mapping have a large error based on experience or a preset error range, the size of the preset multiple can be adjusted, that is, the boundary physical quantity distribution is adjusted.

[0128] See also Figure 6 , Figure 6A schematic diagram of a virtual communication component according to an embodiment of the present disclosure is shown.

[0129] In one possible implementation, Figure 6 As shown, the middleware includes a virtual communication component, which includes a management terminal, a publishing terminal, and a subscription terminal.

[0130] The management terminal maintains a publisher list and a subscriber list, wherein the publisher list includes the name of the publishing object, the IP address of the publishing object, and the port number of the publishing object, and the subscriber list includes the name of the subscription object, the IP address of the subscription object, and the port number of the subscription object. The management terminal is used to:

[0131] If there is a target publishing object in the publisher list that is subscribed to by a target subscriber in the subscriber list, a communication connection is established between the target publishing object and the target subscriber.

[0132] The embodiment of the present disclosure can realize communication between virtual aerial platform models and any other objects through the virtual communication component. Other objects may include physical models, semi-physical models, other models, etc.

[0133] For example, the virtual communication component can also be called a model bus, which can be based on the TCP / IP communication protocol and the FMI (Functional Mockup Interface) protocol, and is a general tool for implementing cross-disciplinary and cross-domain complex system model integration simulation through a C / S architecture.

[0134] For example, Figure 6 As shown, inter-model communication establishes a subscription mapping relationship based on the TCP or UDP protocol. The publisher uses a declaration port to interact with the receiving port of the operation management (management side). The publisher publishes the object name, IP address, and port number to the operation management through the declaration port. The operation management adds the received information to the publisher list and then queries the subscriber list to see if the object is subscribed. If so, and the transmission mode is TCP, the publisher information of the object is notified to the subscriber. Similarly, the subscriber also uses a declaration port to implement subscription declarations. The subscriber publishes the object name, IP address, and port number to the operation management node through the declaration port. The operation management adds the received information to the subscriber list and then queries the publisher list to see if a publication declaration for the object already exists. If so, the publisher information is notified to the subscriber to establish a TCP connection. If not, the subscriber is suspended and waits for the publisher to appear. It should be noted that when the subscriber declares the transmission mode as UDP, the communication process between the publisher and subscriber is the same as in the TCP mode.

[0135] For example, the interaction between models is achieved through the interface provided by the middleware based on real-time Ethernet interaction to send and receive data. In TCP mode, the publisher sends object data through a TCP port to all connected subscribers' TCP ports; in UDP mode, the sender sends data to a multicast address.

[0136] Of course, although the embodiment of the present disclosure has provided an exemplary introduction to the virtual communication components of the middleware based on the TCP / IP communication protocol and the FMI protocol, the above introduction should not be regarded as a limitation on the embodiment of the present disclosure. In other implementations, the embodiment of the present disclosure can also be used to model virtual communication components based on other communication protocols. For example, it can also be based on wireless networks of communication standards, such as WiFi, 2G, 3G, 4G, 5G, etc., or a combination thereof, and can also be based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, near field communication (NFC) technology and other technologies, etc., and the embodiment of the present disclosure does not limit this.

[0137] The embodiment of the present disclosure uses the model encapsulation component to encapsulate the data of each virtual high-altitude platform model in a unified format, thereby improving the efficiency of data transmission between models.

[0138] Exemplarily, the storage space may be a reflective memory network. By transmitting the memory network, data sharing between multiple systems can be achieved, thereby improving the efficiency of data transmission. Of course, the storage space may also be of other types, which is not limited by the embodiments of the present disclosure. The storage space of the embodiments of the present disclosure may be in any type of storage module. In one example, the storage module may include a computer-readable storage medium, which may be a tangible device that can retain and store instructions used by an instruction execution device. The computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a programmable read-only memory (PROM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or raised structures in grooves having instructions stored thereon, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be construed as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., light pulses through a fiber optic cable), or an electrical signal transmitted through an electrical wire.

[0139] In a possible implementation, the model packaging component may include a model management unit, an iterative simulation unit, a data acquisition unit, and an address application unit, wherein:

[0140] The data acquisition unit can be used to acquire message data and / or object data from the model or the storage space and encapsulate them.

[0141] The model management unit can be used to send the message data and / or object data obtained from the storage space to the corresponding model and perform initialization of the virtual high-altitude platform model.

[0142] The iterative simulation unit can be used to implement iterative simulation of the model.

[0143] The address application unit may be used to apply for a storage address in the storage space to store message data and object data obtained from the model.

[0144] Exemplarily, in the disclosed embodiment, multiple model packaging components can be set up. For example, model packaging components can be established according to subject types, and one subject type can correspond to one model packaging component. The advantage of such a setting is that multiple models under the same subject type can realize rapid data sharing, and can realize rapid initialization and simulation iteration of the model, thereby speeding up the process of model simulation and virtual experiment and improving testing efficiency.

[0145] The embodiments of the present disclosure do not limit the specific implementation methods of the model management unit, iterative simulation unit, data acquisition unit, and address application unit. Those skilled in the art can select a suitable technical solution according to actual conditions and needs, as long as the corresponding functions of the model management unit, iterative simulation unit, data acquisition unit, and address application unit can be realized.

[0146] The above is an exemplary introduction to possible implementations of the middleware, but it should be understood that the above exemplary description should not be regarded as a limitation on the embodiments of the present disclosure, and those skilled in the art can implement it according to actual conditions and needs.

[0147] The disclosed embodiment can establish virtual high-altitude platforms corresponding to various types of physical high-altitude platforms through the above method, and can form a virtual high-altitude platform system model library, and store each virtual high-altitude platform in the same model library for management, which is convenient for subsequent virtual test applications.

[0148] The time server, main control module 10 and simulation module 20 of the embodiment of the present disclosure may be electronic devices, and the electronic devices may be provided as terminals, servers or other forms of devices.

[0149] See also Figure 7 , Figure 7 A block diagram of an electronic device according to an embodiment of the present disclosure is shown.

[0150] For example, the electronic device 1900 may be provided as a server. Figure 7 The electronic device 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions executable by the processing component 1922, such as an application. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute the instructions to perform the above-described method.

[0151] The electronic device 1900 may further include a power supply component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input / output (I / O) interface 1958. The electronic device 1900 may operate based on an operating system stored in the memory 1932, such as a Microsoft Server operating system (Windows Server 2003). TM ), a graphical user interface operating system launched by Apple (Mac OSX TM ), a multi-user, multi-process computer operating system (Unix TM ), a free and open source Unix-like operating system (Linux TM ), an open-source Unix-like operating system (FreeBSD TM ) or similar.

[0152] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions that can be executed by the processing component 1922 of the electronic device 1900 to perform the above method.

[0153] The present disclosure may be a system, method and / or computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0154] Computer-readable storage media can be a tangible device that can hold and store the instructions used by the instruction execution device. Computer-readable storage media can be, for example, (but not limited to) an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, for example, a punch card or a convex structure in a groove on which instructions are stored, and any suitable combination thereof. Computer-readable storage media used herein is not interpreted as a transient signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagated by waveguides or other transmission media (for example, light pulses by fiber optic cables), or electrical signals transmitted by wires.

[0155] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in the computer-readable storage medium in each computing / processing device.

[0156] The computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, and conventional procedural programming languages ​​such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., utilizing an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions. The electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0157] Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.

[0158] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0159] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0160] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and the part of the module, program segment or instruction contains one or more executable instructions for realizing the prescribed logical function. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the prescribed function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0161] The computer program product may be implemented in hardware, software, or a combination thereof. In one embodiment, the computer program product is implemented as a computer storage medium. In another embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).

[0162] While various embodiments of the present disclosure have been described above, the above descriptions are illustrative, non-exhaustive, and not intended to be limiting of the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, their practical applications, or improvements to existing technologies, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A joint simulation device, characterized in that: The device includes a simulation module and a main control module. The simulation module includes a plurality of simulation units, each of which is provided with a simulation model, and the simulation unit is used to run the simulation model; The main control module includes a time management unit and a main control unit. The time management unit is configured to: obtain an ideal machine time for time synchronization through a time server, and synchronize the machine time of each module of the device with the simulation time using the ideal machine time, wherein the machine time represents the time obtained by counting the time of the clock element of each module, and the simulation time represents the virtual time of each simulation unit in simulation; The main control unit is used to: control the time management unit to send simulation control information to each simulation unit according to the preset simulation time step, so as to control each simulation unit to perform simulation operations and realize joint simulation of multiple simulation models; when executing the joint simulation of each simulation unit, control each simulation model to perform data interaction, The simulation model includes a zero-dimensional model and a three-dimensional model, the zero-dimensional model is used to obtain at least one output based on at least one input, and the three-dimensional model is used to obtain at least three outputs based on at least three inputs, and controlling the simulation models to perform data interaction includes: Integrating the three-dimensional parameters in the three-dimensional model on the three-dimensional cross section by using preset weight factors to achieve mapping of the three-dimensional parameters to zero-dimensional parameters; and / or The zero-dimensional parameters in the zero-dimensional model are scaled by a preset multiple, and the scaled zero-dimensional parameters are transferred to each dimension of the three-dimensional parameters to achieve mapping of the zero-dimensional parameters to the three-dimensional parameters. The integration of the three-dimensional parameters in the three-dimensional model on the three-dimensional cross section is achieved by using formula 1 through a preset weight factor: in, is represented as a zero-dimensional parameter, represents a three-dimensional parameter, ε represents a preset weight factor, and A represents the area.

2. The device according to claim 1, characterized in that The simulation control information includes a simulation advancement instruction, and the time management unit is controlled to send the simulation control information to each simulation unit according to a preset simulation time step to control each simulation unit to perform simulation operations, including: When the timing duration of the ideal machine time from the starting moment reaches the preset simulation time step and each simulation unit returns a simulation completion message, a simulation advance instruction is sent to each simulation unit to control each simulation unit to perform simulation operations.

3. The device according to claim 1, characterized in that The controlling of each simulation model to perform data interaction includes: At the preset communication time, a data interaction instruction is sent to the simulation unit that needs to interact with data, so that the simulation unit that needs to interact with data interacts with data at the preset communication step. Among them, the communication step is an integer multiple of the integration step of the integration algorithm adopted by the simulation unit, the communication step is larger than the simulation time step, the communication step represents the time length between two adjacent communication moments, and the integration step represents the time length for performing integral solution in the integration algorithm.

4. The device according to claim 1, characterized in that The simulation model includes an engine model, subsystem models corresponding to each physical high-altitude platform subsystem, a virtual high-altitude platform corresponding to the physical high-altitude platform, and middleware. The virtual high-altitude platform is a digital twin model of the physical high-altitude platform in the virtual space. The middleware is used to realize the communication between the various subsystem models in the virtual high-altitude platform and the communication between the various component models in the various subsystem models.

5. The device according to claim 4, characterized in that The middleware includes a virtual communication component, which includes a management terminal, a publishing terminal, and a subscription terminal. The management terminal maintains a publisher list and a subscriber list, wherein the publisher list includes the name of the publishing object, the IP address of the publishing object, and the port number of the publishing object, and the subscriber list includes the name of the subscription object, the IP address of the subscription object, and the port number of the subscription object. The management terminal is used to: If there is a target publishing object in the publisher list that is subscribed to by a target subscriber in the subscriber list, a communication connection is established between the target publishing object and the target subscriber.

6. The device according to claim 4, characterized in that The middleware further includes a model encapsulation component, which is used to obtain message data and object data from the storage space, and to encapsulate the message data and object data in a preset data format and then transmit them to the virtual high-altitude platform model, and to store the message data and object data obtained from the virtual high-altitude platform model into the storage space. Among them, the message data refers to data whose effective time in iterative simulation is less than the first preset time, and the object data refers to data whose effective time in iterative simulation is greater than the second preset time, and the first preset time is less than the second preset time.

7. The device according to claim 6, characterized in that The model packaging component includes a model management unit, an iterative simulation unit, a data acquisition unit, and an address application unit, wherein: The data acquisition unit is used to acquire message data and / or object data from the model or the storage space and encapsulate them. The model management unit is used to send the message data and / or object data obtained from the storage space to the corresponding model and perform initialization of the virtual high-altitude platform model. The iterative simulation unit is used to implement iterative simulation of the model. The address applying unit is used to apply for a storage address in the storage space to store the message data and object data obtained from the model.

Citation Information

Patent Citations

  • Virtual testing platform of liquid rock engine and testing method thereof

    CN101576440A

  • Software / hardware joint simulation system based on OPC-UA and self-adaptive collaboration method thereof

    CN111897300A

  • Electromagnetic-electromechanical hybrid simulation electromagnetic transient side interface power calculation method and device

    CN112084624A