Export Modelica models as FMU in Activate (preserve model parameters)

Beta
Beta New Altair Community Member
edited May 2021 in Community Q&A

hi,

I am working with Modelica models in Activate and need to export the model as FMU. After exporting, all parameters of Modelica model (such as spring stiffness, damping factors, etc.) disapear and I cannot change them anymore. This doesn't happen if I export the model containing Activate blocks only.

I guess that Activate complies all Modelica model before exporting and result into this problem.

May I ask how to solve this problems? If not yet supported, Can I expect an improvement in the future?

 

Answers

  • RoKet
    RoKet
    Altair Employee
    edited May 2021

    Hi beta,

    The Modelica model is a nested FMU in the Activate model, and all parameters of the Modelica model are inlined, i.e. hidden for the user. That results in an exported FMU without any Modelica parameter.

    I got a feedback from Activate's development team, that this proceeding will change with version 2021.2 (coming in autumn 2021). Then the fmu editor also make sense for FMUs containing Modelica models.

    RoKet