搜索
查看: 3004|回复: 1

关于AMESim与MATLAB的两种接口

[复制链接]
发表于 2014-3-31 18:51:13 | 显示全部楼层 |阅读模式
请问两种接口的区别是什么?我的模型用cosim接口可以仿真,用standard接口就提示零极点错误
发表于 2014-4-1 14:00:35 | 显示全部楼层
This manual presents the AMESim to Simulink and Simulink to AMESim interfaces in the
following chapters:
Using the AMESim to Simulink Interface
Using the Simulink to AMESim Interface
The AMESim - Simulink and Simulink - AMESim interfaces makes it possible to perform
simulations with a combination of AMESim and Simulink models. Since there are two software
packages involved, the interfaces provide two main options: importing the AMESim model into
Simulink, or importing the Simulink model into AMESim.
With the AMESim-Simulink interface the user has the choice of these two methods. In addition
to these two methods, it is also possible to export the AMESim solver (with the AMESim model)
to Simulink. This is sometimes called co-simulation since we use the solvers from the two
software packages, and they perform the simulation together.
In this manual we first describe the process of importing the AMESim model into Simulink, with
or without the solver. After this we describe the process of importing the Simulink model into
AMESim.
There is no single answer to this question. The answer depends on many things. There are
AMESim systems that are difficult or impossible to solve using the Simulink solver. If this is the
case the user has two choices:
● use co-simulation (in Simulink), or
● import the Simulink model into AMESim and use the AMESim solver for everything.
Sometimes the Simulink system is very complex and importing it into AMESim is in this case
probably not the best solution.
In addition to the technical reasons, one must also consider what the model is to be used for. If
the main purpose is to test/develop the AMESim model, it might be the best strategy to import
the Simulink model into AMESim. If the main purpose is to test/develop a controller in Simulink
with a physical model written in AMESim obviously it is a better idea to work in Simulink.
In many cases, one person develops the Simulink model, and another develops the AMESim
model. The person responsible for integrating the models will obviously prefer to work in “his”
environment.
There are some obvious “rules”: if the Simulink model is small and the AMESim model is large,
you would put the Simulink model into AMESim. If access is required to unique features in
AMESim you would also put the Simulink model in AMESim. If there are special features in
Matlab/Simulink that you need to use, you would put the AMESim model into Simulink.
以上为lms公司官方答复。简单点说主要取决与amesim和simulink的模型谁更复杂就选择谁作为主平台。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则