フィルターのクリア

FMU file Import Simulink (incorrect output values)

1 回表示 (過去 30 日間)
Malte Becker
Malte Becker 2022 年 7 月 7 日
回答済み: Githin George 2023 年 10 月 4 日
Hallo,
I want to import a model from another program into Simulink via an FMU. The program outputs the values in SI units. The FMU has been testing imported in the same program and outputs the correct values. In Simulink, however, other values are output, which does not match the original ones. Are there specific restrictions in Simulink which are relevant for FMUs?

回答 (1 件)

Githin George
Githin George 2023 年 10 月 4 日
Hello Malte,
I understand that Simulink is providing a different output when using an FMU block. This could be an issue caused by the FMU mode. The following 2 modes are listed in MATLAB documentation.
  • Co-Simulation — Integrate FMUs that implement a Functional Mock-up Interface (FMI) Co-Simulation interface. These FMUs may contain local solvers that are used for tool coupling.
  • Model Exchange — Integrate FMUs that implement an FMI Model Exchange interface. These FMUs do not contain local solvers. Instead, they inherit solvers from Simulink.
If the FMU is operating in “Model Exchange” mode, it is likely that the inherited solver from Simulink might be giving different output values.
You could provide additional information here in case this doesn’t help.

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by