electricalman 发表于 2018-1-25 22:46

simplorer simulink cosimulation

我按照网上例子,把网上论坛说的设置细节都注意了,设置路径,设置仿真步长。
仿真也能顺利没有错误的运行下去,不过就是输出波形始终没有变,即使我施加了一个阶跃信号,然后系统是简单的二阶系统。
希望大家可以看看,找出问题。 我开始想给ansys 技术部门发邮件的,但是没有人理我。大家就看看我蹩脚的英语把

I am trying to learn the simplorer simulink cosimulation.The version of simplorer is AnsysEM18 and the matlab is 2016b.
In the following you can see my model and configuration.
Simulink model :



Inside the simulink block „AnsoftSFunction“ like:



The set Path is correctly set up as follows:




In Simplorer:
Model like: the step signal has step time in 20ms and end value of 1
Gain has the value 1,in the block sum is “+-”


The configuration of the Simulink interface is:


The path in simplorer is also set up like:





The simulation time is 40ms for both. The step length in Simulink is variable.
After starting the simulation from the simplorer, the massage Manager show it is successful like:


Now the problem is coming: the out-signal from the Simulink model stay constant as the value at the beginning. NO Change. I thought, that the out-signal is a step signal answer of a two-order system:


One thing to mention:
I use the computer in the institut and I am not the administrator. I thought, that it doesn’t matter, because the simulation is executed successfully.



electricalman 发表于 2018-1-26 17:20

怎么没有人来啊~

electricalman 发表于 2018-1-27 01:26

没人能够解答么~真伤心

electricalman 发表于 2018-1-29 17:52

最后证实,我的这个是正确了,我的仿真时间设置太短,应该设置到10s, 就可以出来波形了。

栀子花12352 发表于 2018-6-8 17:15

我搭的和文档里给出的波形也不一致,不过出波形了

哦o哦 发表于 2019-1-8 16:40

求楼主联合仿真软件的版本       我在做sim2sim联合仿真时AnsoftSFunction没有弹出,看好多人说 是版本的问题, 我用的是simplorer11+matlab2014a   64位操作系统    万分感谢万分感谢
页: [1]
查看完整版本: simplorer simulink cosimulation