Opened 9 years ago

Last modified 9 years ago

#3406 new defect

Problem with initial values / parameters in FMU generation from Simulink

Reported by: antoine.vandamme@… Owned by: Adeel Asghar
Priority: high Milestone: Future
Component: FMI Version: trunk
Keywords: fmu Cc:

Description

Dear Sir/Madam,

when generating FMUs with the Simulink coder target (2.1.1 patch 15.07.22, see rtwsfcnfmi_ver2.1.1_patch_150722.zip), we face the following problem which can be reproduced by the attached file (const_integrator.zip). We have a very simple Simulink model : a contant value that is integrated. The Constant value and the initial value of the integrator are the parameters of the model.

Importing the FMU in Simulink: Initial value of integrator does not have an influence on the result, treated as zero.
Importing the FMU in Simulink in OMEdit: Neither of the both parameters (constant value to be integrated, initial value of the integrator) has an influence.

Do we make something wrong or where is the bug to be located?

Thank you for your support and regards,

Antoine Vandamme

Change History (2)

comment:1 by Adeel Asghar, 9 years ago

The attachment is missing. Attach the file using this link https://trac.openmodelica.org/OpenModelica/attachment/ticket/3406/?action=new

comment:2 by Adeel Asghar, 9 years ago

Component: OMEditFMI
Note: See TracTickets for help on using tickets.