It is possible to export a simscape fluid model to FMU?

조회 수: 14 (최근 30일)
Gabriel B.
Gabriel B. 2022년 4월 11일
댓글: Yifeng Tang 2022년 8월 31일
I made a simscape fluid model with directional valves and double acting cylinder and I need to export it to a fmu to co-simulate with other software. It is possible to export a simscape fluid model to a FMU?

답변 (1개)

Yifeng Tang
Yifeng Tang 2022년 7월 14일
If you can bring your Simscape model to fixed-step & fixed-cost (see this Doc page), you should then be able to generate a standalone FMU following the example here. Your Simscape part of the model needs to use a local solver with a fixed time-step and finite number of "runtime consistency iterations", both set in the Solver Configuration block.
  댓글 수: 2
Venkatesh Venkadasamy
Venkatesh Venkadasamy 2022년 8월 30일
Does the standalone FMU of simscape model require simscape license during simulation ?
Yifeng Tang
Yifeng Tang 2022년 8월 31일
my impression is that it won't even requires MATLAB or Simulink if you import it into other software for co-simulation, as the FMU should be "standalone". You may try the export, close MATLAB and reopen, import FMU into a Simulink model and run, and then use license('inuse') command to check if a Simscape license was used when running the FMU.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Create Standalone FMU에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by