Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Tight coupling simulation universal model implementation method using IOSEM (input, output, state, event and message) interface mode

A simulation model and interface technology, applied in the field of computer simulation, can solve the problems of poor model portability, complex interface, poor reusability, etc., to reduce the difficulty of modeling and simulation, facilitate modular modeling, improve portability and The effect of reusability

Inactive Publication Date: 2012-08-15
NORTHWESTERN POLYTECHNICAL UNIV
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the interfaces between tightly coupled models are generally customized according to the requirements, and there is no unified interface technology, which makes the interfaces in the existing simulation process complicated, and the models of different functional modules are poor in portability and reusability.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Tight coupling simulation universal model implementation method using IOSEM (input, output, state, event and message) interface mode
  • Tight coupling simulation universal model implementation method using IOSEM (input, output, state, event and message) interface mode
  • Tight coupling simulation universal model implementation method using IOSEM (input, output, state, event and message) interface mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0018] The present embodiment takes a free-fall mathematical model as an example (upward is positive), wherein D is the resistance acceleration in the descent process, then its simulation model differential equation is:

[0019] V · = - g - D H · = V

[0020] To build a simulation model using the IOSEM interface, the following steps are mainly used:

[0021] Step 1: In the C language or C++ language environment, establish a dynamic library compilation environment;

[0022] Step 2: Define the interface function of the simulation model, the function parameters are the event message sent by the external system to the simulation model, the message parameters transmitted by th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a tight coupling simulation universal model implementation method using an IOSEM (input, output, state, event and message) interface mode. The method includes: setting up a dynamic library compiling environment, defining an interface function of a simulation model, and setting up single or multiple events, including a simulation model information event, a simulation initialization event, a state migration event, a model output event, a simulation finish event and a custom event, in the interface function of the simulation model; and allowing the events in the interface function to response and use a switch-case structure, and finally compiling to generate the simulation model. By the method, each submodel can be a standardized model accessory, and all submodels are reasonably assembled to obtain a model of a complex system. Therefore, interface standardization and transparency of each model are realized, modularized modeling can be realized conveniently, transportability and reusability of models are improved, and modeling simulation difficulty of the complex system is greatly lowered.

Description

technical field [0001] The invention relates to the technical field of computer simulation methods, in particular to a method for realizing a general model of tightly coupled simulation using an IOSEM interface. Background technique [0002] Tightly coupled simulation means that in simulation applications, the data interaction relationship between simulation models is complex, the frequency of data interaction is high, the amount of interaction is large, and there is a close corresponding relationship. In the modeling and simulation process, the simulation model accepts the scheduling of the simulation software, and to complete modeling, simulation and other functions required by some other applications, objectively requires the model interface to have certain flexibility and versatility. At present, the interfaces between tightly coupled models are generally customized according to the requirements, and there is no unified interface technology, which makes the interfaces in...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/50
Inventor 闫晓东
Owner NORTHWESTERN POLYTECHNICAL UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products