I have been asked to output a model compatiable with AMESIM is that possible

8 次查看(过去 30 天)
I have a hydraulic actuation model simulation that I need to plug into a customers AMESIM model as a black box. Is that possible. If so, how do I do that? My system operates based on their hydraulic supply and return, and electrical control signal from 28 VDC sources, I would need to out put sensor indications from dicrest swtiches and actuator position as precent of stroke with some time step sync. In My current model I have simulated a standard Pump, resivior, system fluid interface and discrete 28 VDC source.

采纳的回答

Hari Krishna Ravuri
Hi,
I understand that you have a SIMULINK model and want to include in a Simcenter Amesim model.
“is that possible”
Yes, it is possible.
“If so, how do I do that?”
Using Simulink model in Amesim depends on the hardware on which you are going to deploy. If the hardware is compatible with both the Amesim and the imported Simulink model, then it is possible to use the Simulink model in Amesim. Simulink model cannot be imported directly into your Amesim model. To do that, you need to generate C-code for your Simulink model with the help of Simulink Code Generator. The C-code generated in such a way can be used in Amesim as a normal submodel. Please refer https://www.mathworks.com/help/dsp/ug/generate-c-code-from-simulink-model.htmlfor C code generation of a Simulink model.
  1 个评论
Matthias Liermann
Matthias Liermann 2025-6-12
We have a similar question. Your solution, Hari, proposes to generate C-Code from your model using the Simulink Code Generator. I can't share the C-Code with my partner because then I would reveal internal parameters that need to be kept confidential. Are there other ways to share Simulink Models as black box with AmeSim users without sharing source code? It should be possible to import FMUs into Amesim, shouldn't it? Is importing FMUs in Amesim a standard capability or an add-on, users have to pay for?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 LEGO MINDSTORMS EV3 Hardware 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by