Simulation model interface adaptation development system and working method thereof

A technology for interface adaptation and system development, applied in the direction of model-driven code, software engineering design, program code conversion, etc., it can solve the problem of difficult and convenient multi-disciplinary cross-system modeling, etc., so as to improve the efficiency and convenience of model design. Effect

Active Publication Date: 2020-07-03
北京中科宇航技术有限公司
View PDF10 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of this application is to provide a simulation model interface adaptation development system and its working method, which solves the problem in the prior art that it is difficult for a single software to conveniently realize the modeling of multidisciplinary interdisciplinary systems, and it can complete the existing model interface The mutual conversion between the data structure and the one-dimensionally expanded interface variables in the FMI model standard interface generates a model description file. This application has a simple and unified function interface, which can support both the FMI model interface standard and the S-Function model interface standard at the same time.

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
  • Simulation model interface adaptation development system and working method thereof
  • Simulation model interface adaptation development system and working method thereof
  • Simulation model interface adaptation development system and working method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] Such as figure 1 and image 3 As shown, the application provides a working method of a simulation model interface adaptation development system, the working method includes the following steps:

[0041] Step S1, creating the content of the model definition file or editing the content of an existing model definition file to generate a model user code file, wherein the model user code file includes: a user model definition file and a user model implementation file.

[0042] Step S1 includes the following sub-steps:

[0043] Step S110, generating a user model definition file.

[0044] Generating a user model definition file includes the following sub-steps:

[0045]Step S111, define model information. Among them, the model information includes model name, author, remarks, and port suffix, etc.

[0046] Step S112, define the external resources, and automatically expand the reference interface of the external resources. Wherein, the external resource includes a path, a...

Embodiment 2

[0085] Such as figure 2 As shown, the present application also provides a simulation model interface adaptation development system 100, including: a wizard-style graphical interface 10 and an interface analysis and code generation tool 20;

[0086] The wizard-style graphical interface 10 is used to generate a model user code file, and the wizard-style graphical interface 10 is used to call a code editing tool, and edit the code in the user model implementation file through the code editing tool. The wizard-style graphical interface 10 is used to call the compilation and construction tool after generating the model user code file. The wizard-style graphical interface 10 is also used to load common data structure definition files.

[0087] The wizard-style graphical interface 10 includes: a public data structure definition file analysis module 11 , a user model definition file analysis module 12 , a build script generation module, a model user code template generation module 1...

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 simulation model interface adaptation development system and a working method thereof, and the working method comprises the following steps: creating model definition file content or editing existing model definition file content, and generating a model user code file; wherein the model user code file comprises a user model definition file and a user model implementation file; after a model user code file is generated, establishing a mapping relationship between an existing model interface data structure and a one-dimensional expanded interface variable required in a model standard interface; and generating interface code files and model description files corresponding to various models according to the mapping relationship. The method is provided with a simple andunified function interface, conversion and generation of the FMU and S-Function models are supported at the same time through one-time coding, and the generation efficiency of the models and the useconvenience of users are improved.

Description

technical field [0001] The present application relates to the technical field of system modeling and simulation, in particular to a simulation model interface adaptation development system and a working method thereof. Background technique [0002] Simulation refers to the method of simulating physical processes with computers. By means of computer simulation, the mathematical model of the designed product can be simulated and studied, the expected dynamic performance can be estimated, and the model-based design can be realized. [0003] In the prior art, when mathematical modeling is performed on complex simulated objects such as aviation, spacecraft, and automobiles, it often includes design features in different fields such as mechanics, thermals, electricity, automatic control, and software, which is a multidisciplinary Systems; different simulation software often target different physical fields, and it is difficult for a single software to conveniently realize the mod...

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): G06F8/35G06F8/41
CPCG06F8/35G06F8/427
Inventor 马玉海吴炜平廉洁袁春贵刘凯张霞杨毅强
Owner 北京中科宇航技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products