Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

add fmiinitial dependency list in fmiexport #2888

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arun3688
Copy link
Contributor

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

@lochel
Copy link
Member

lochel commented Feb 11, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants