CATIA-Systems / FMPy

Simulate Functional Mockup Units (FMUs) in Python
Other
439 stars 118 forks source link

The FMI for Model Exchange (Version 2.0) capability flag "completedIntegratorStepNotNeeded" is interpreted wrong in read_model_description() #684

Closed TorstenBlochwitz closed 3 months ago

TorstenBlochwitz commented 3 months ago

In FMI 2.0 all capability flags in modelDescription.xml are false by default. For my 2.0 test FMUs modelDescription.modelExchange.needsCompletedIntegratorStep is false after calling read_model_description(). This leads to wrong simulation results.

Please note: we changed this in 3.0. There the flag was negated and is called needsCompletedIntegratorStep.

I could provide a test FMU if needed.

TorstenBlochwitz commented 3 months ago

@t-sommer : Perfect!