OMCompiler icon indicating copy to clipboard operation
OMCompiler copied to clipboard

[FMI] add initial implementation for intialUnknowns

Open wibraun opened this issue 8 years ago • 6 comments

wibraun avatar Oct 24 '17 09:10 wibraun

The test suite is unstable according to OpenModelica_TEST_PULL_REQUEST 2017-10-24_11-54-43.

OpenModelica-Hudson avatar Oct 24 '17 10:10 OpenModelica-Hudson

When will this be completed? @wibraun, do you still need any further information?

lochel avatar Nov 27 '17 13:11 lochel

@wibraun What information do you need to proceed?

lochel avatar Dec 06 '17 13:12 lochel

@lochel see ticket:3786

wibraun avatar Dec 06 '17 13:12 wibraun

@wibraun wrote:

@lochel see ticket:3786

All variables are already tagged as states, state derivatives and so on, right? So I guess what you are looking for is a list with all the variables (states, parameters, ...) that are calculated during initialization. I think the function Initialization.selectInitializationVariablesDAE provides that information.

lochel avatar Dec 06 '17 14:12 lochel

So we need the crefs of the variables (states, states derivatives, outputs and parameters) with initial="approx" or initial="calculated" and causality = "calculatedParameter" at this ​line. Collecting this information from the initBDAE should be quite easy for you, since I'm not that familiar with it.

wibraun avatar Dec 06 '17 14:12 wibraun