OMCompiler icon indicating copy to clipboard operation
OMCompiler copied to clipboard

add fmiinitial dependency list in fmiexport

Open arun3688 opened this issue 7 years ago • 1 comments

Purpose

This implements FMI export for initial unknowns in ModelStructure of the ModelDecription.xml

Files Changed

CodegenFMUCommon.tpl : Check for Variable "ísfixed" inorder to set the initial to be calculated or exact

SimCodeUTil.mo : Added Function getFMIInitialDep which takes the initialization DAE and filter the variables based on causality = "output " and fixed = "false" to be added to the initialunknowns in modelstructure

arun3688 avatar Jan 22 '19 11:01 arun3688

@arun3688 Did you test testsuite\omsimulator\DualMassOscillator_me.mos without using --ignoreInitialUnknowns=true?

lochel avatar Feb 11 '19 11:02 lochel