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

11 views (last 30 days)
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.

Accepted Answer

Hari Krishna Ravuri
Hari Krishna Ravuri on 2 Aug 2019
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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!