Does Matlab FMI export will support operating FMU serialisation function ?

Playing with FMU export with 2020b, I have noticed that serialising and accessing FMU State can be invoked but doing nothing. Is it planned to get those two FMI features (Serialising and GetFMUState) available (operating and not empty shell) in the future ?

回答(1 个)

exportToFMU function provides the argument EnableFMUState - Option to export model to FMU with FMUState. This is valid for Co-Simulation FMUs that have a fixed-step solver and are compatible with FMI 2.0 and 3.0 standards. The canGetAndSetFMUState and canSerializeFMUState flags in modelDescription.xml are set to true when FMU state is enabled. This enables enhanced simulation control like fast restart, model operating point, and backward simulation stepping.

类别

帮助中心File Exchange 中查找有关 Create Standalone FMU 的更多信息

产品

标签

回答:

2025-1-20

Community Treasure Hunt

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

Start Hunting!

Translated by